Documentation ¶
Index ¶
- Constants
- type SecretResource
- func (t *SecretResource) GetMeta() model.ResourceMeta
- func (t *SecretResource) GetSpec() model.ResourceSpec
- func (t *SecretResource) GetType() model.ResourceType
- func (t *SecretResource) SetMeta(m model.ResourceMeta)
- func (t *SecretResource) SetSpec(spec model.ResourceSpec) error
- func (t *SecretResource) Validate() error
- type SecretResourceList
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) 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
Click to show internal directories.
Click to hide internal directories.