Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSecretReferenceCmd ¶ added in v1.1.0
func NewSecretReferenceCmd(f client.NewClientFunc) *cobra.Command
Types ¶
type DeleteParams ¶
DeleteParams defines parameters for deleting a single secret reference
func (DeleteParams) GetNamespace ¶
func (p DeleteParams) GetNamespace() string
func (DeleteParams) GetSecretReferenceName ¶
func (p DeleteParams) GetSecretReferenceName() string
type GetParams ¶
GetParams defines parameters for getting a single secret reference
func (GetParams) GetNamespace ¶
type ListParams ¶
type ListParams struct {
Namespace string
}
ListParams defines parameters for listing secret references
func (ListParams) GetNamespace ¶
func (p ListParams) GetNamespace() string
type SecretReference ¶
type SecretReference struct {
// contains filtered or unexported fields
}
SecretReference implements secret reference operations
func New ¶
func New(c client.Interface) *SecretReference
New creates a new secret reference implementation
func (*SecretReference) Delete ¶
func (s *SecretReference) Delete(params DeleteParams) error
Delete deletes a single secret reference
func (*SecretReference) Get ¶
func (s *SecretReference) Get(params GetParams) error
Get retrieves a single secret reference and outputs it as YAML
func (*SecretReference) List ¶
func (s *SecretReference) List(params ListParams) error
List lists all secret references in a namespace
Click to show internal directories.
Click to hide internal directories.