Documentation ¶
Index ¶
- type Resource
- type ResourceMeta
- func (m *ResourceMeta) GetCreationTime() time.Time
- func (m *ResourceMeta) GetLabels() map[string]string
- func (m *ResourceMeta) GetMesh() string
- func (m *ResourceMeta) GetModificationTime() time.Time
- func (m *ResourceMeta) GetName() string
- func (m *ResourceMeta) GetNameExtensions() core_model.ResourceNameExtensions
- func (m *ResourceMeta) GetVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { Meta core_model.ResourceMeta Spec core_model.ResourceSpec TypeDescriptor core_model.ResourceTypeDescriptor }
func (*Resource) Descriptor ¶
func (r *Resource) Descriptor() core_model.ResourceTypeDescriptor
func (*Resource) GetMeta ¶
func (r *Resource) GetMeta() core_model.ResourceMeta
func (*Resource) GetSpec ¶
func (r *Resource) GetSpec() core_model.ResourceSpec
func (*Resource) SetMeta ¶
func (r *Resource) SetMeta(meta core_model.ResourceMeta)
func (*Resource) SetSpec ¶
func (r *Resource) SetSpec(spec core_model.ResourceSpec) error
type ResourceMeta ¶
type ResourceMeta struct { Mesh string Name string NameExtensions core_model.ResourceNameExtensions Version string CreationTime time.Time ModificationTime time.Time Labels map[string]string }
func (*ResourceMeta) GetCreationTime ¶
func (m *ResourceMeta) GetCreationTime() time.Time
func (*ResourceMeta) GetLabels ¶
func (m *ResourceMeta) GetLabels() map[string]string
func (*ResourceMeta) GetMesh ¶
func (m *ResourceMeta) GetMesh() string
func (*ResourceMeta) GetModificationTime ¶
func (m *ResourceMeta) GetModificationTime() time.Time
func (*ResourceMeta) GetName ¶
func (m *ResourceMeta) GetName() string
func (*ResourceMeta) GetNameExtensions ¶
func (m *ResourceMeta) GetNameExtensions() core_model.ResourceNameExtensions
func (*ResourceMeta) GetVersion ¶
func (m *ResourceMeta) GetVersion() string
Click to show internal directories.
Click to hide internal directories.