system

package
v0.0.0-...-4760111 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretType model.ResourceType = "Secret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretResource

type SecretResource struct {
	Meta model.ResourceMeta
	Spec system_proto.Secret
}

func (*SecretResource) GetMeta

func (t *SecretResource) GetMeta() model.ResourceMeta

func (*SecretResource) GetSpec

func (t *SecretResource) GetSpec() model.ResourceSpec

func (*SecretResource) GetType

func (t *SecretResource) GetType() model.ResourceType

func (*SecretResource) SetMeta

func (t *SecretResource) SetMeta(m model.ResourceMeta)

func (*SecretResource) SetSpec

func (t *SecretResource) SetSpec(spec model.ResourceSpec) error

func (*SecretResource) Validate

func (t *SecretResource) Validate() error

type SecretResourceList

type SecretResourceList struct {
	Items      []*SecretResource
	Pagination model.Pagination
}

func (*SecretResourceList) AddItem

func (l *SecretResourceList) AddItem(r model.Resource) error

func (*SecretResourceList) GetItemType

func (l *SecretResourceList) GetItemType() model.ResourceType

func (*SecretResourceList) GetItems

func (l *SecretResourceList) GetItems() []model.Resource

func (*SecretResourceList) GetPagination

func (l *SecretResourceList) GetPagination() *model.Pagination

func (*SecretResourceList) NewItem

func (l *SecretResourceList) NewItem() model.Resource

Jump to

Keyboard shortcuts

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