package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 5, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Filter interface {
String() string
}
type Property struct {
ResourceId string `json:"-" gorm:"primaryKey"`
Name string `json:"name" gorm:"primaryKey"`
Value string `json:"value"`
}
type Resource struct {
Id string `json:"id" gorm:"primaryKey"`
Region string `json:"region"`
Type string `json:"type"`
Tags []Tag `json:"tags"`
Properties []Property `json:"properties"`
}
TODO store provider info in resource (needed when we can have more than one provider)
type Tag struct {
ResourceId string `json:"-" gorm:"primaryKey"`
Key string `json:"key" gorm:"primaryKey"`
Value string `json:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.