v1alpha1

package
v0.0.0-...-ca44064 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL