Documentation
¶
Index ¶
Constants ¶
View Source
const (
RESOURCE_META_TABLE_NAME = "resource_meta"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { *ResourceMeta *ResourceSpec *ResourceCost *ResourceStatus Tags []*ResourceTag }
func NewResource ¶
type ResourceCost ¶
type ResourceCost struct { *ResourceId *resource.Cost }
func (*ResourceCost) TableName ¶
func (s *ResourceCost) TableName() string
type ResourceId ¶
type ResourceId struct {
ResourceId string `json:"resource_id"`
}
type ResourceMeta ¶
type ResourceMeta struct { *resource.Meta *resource.ContentHash }
func (*ResourceMeta) TableName ¶
func (s *ResourceMeta) TableName() string
type ResourceRelation ¶
type ResourceRelation struct { *ResourceId TargetId string }
func (*ResourceRelation) TableName ¶
func (s *ResourceRelation) TableName() string
type ResourceSet ¶
func NewResourceSet ¶
func NewResourceSet() *ResourceSet
func (*ResourceSet) ResourceSet ¶
func (s *ResourceSet) ResourceSet() *resource.ResourceSet
type ResourceSpec ¶
type ResourceSpec struct { *ResourceId *resource.Spec }
func (*ResourceSpec) TableName ¶
func (s *ResourceSpec) TableName() string
type ResourceStatus ¶
type ResourceStatus struct { *ResourceId *resource.Status }
func (*ResourceStatus) TableName ¶
func (s *ResourceStatus) TableName() string
type ResourceTag ¶
type ResourceTag struct { *ResourceId *resource.Tag UpdateAt int64 `json:"update_at"` }
func (*ResourceTag) TableName ¶
func (s *ResourceTag) TableName() string
Click to show internal directories.
Click to hide internal directories.