Documentation ¶
Index ¶
- type Resource
- type ResourceMeta
- func (r ResourceMeta) GetCreationTime() time.Time
- func (r ResourceMeta) GetLabels() map[string]string
- func (r ResourceMeta) GetMesh() string
- func (r ResourceMeta) GetModificationTime() time.Time
- func (r ResourceMeta) GetName() string
- func (r ResourceMeta) GetNameExtensions() core_model.ResourceNameExtensions
- func (r ResourceMeta) GetVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { ResourceMeta Spec core_model.ResourceSpec `json:"spec,omitempty"` }
func (*Resource) GetMeta ¶
func (r *Resource) GetMeta() ResourceMeta
func (*Resource) GetSpec ¶
func (r *Resource) GetSpec() core_model.ResourceSpec
type ResourceMeta ¶
type ResourceMeta struct { Type string `json:"type"` Mesh string `json:"mesh,omitempty"` Name string `json:"name"` CreationTime time.Time `json:"creationTime"` ModificationTime time.Time `json:"modificationTime"` Labels map[string]string `json:"labels,omitempty"` }
func (ResourceMeta) GetCreationTime ¶
func (r ResourceMeta) GetCreationTime() time.Time
func (ResourceMeta) GetLabels ¶
func (r ResourceMeta) GetLabels() map[string]string
func (ResourceMeta) GetMesh ¶
func (r ResourceMeta) GetMesh() string
func (ResourceMeta) GetModificationTime ¶
func (r ResourceMeta) GetModificationTime() time.Time
func (ResourceMeta) GetName ¶
func (r ResourceMeta) GetName() string
func (ResourceMeta) GetNameExtensions ¶
func (r ResourceMeta) GetNameExtensions() core_model.ResourceNameExtensions
func (ResourceMeta) GetVersion ¶
func (r ResourceMeta) GetVersion() string
Click to show internal directories.
Click to hide internal directories.