secretreference

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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

type DeleteParams struct {
	Namespace           string
	SecretReferenceName string
}

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

type GetParams struct {
	Namespace           string
	SecretReferenceName string
}

GetParams defines parameters for getting a single secret reference

func (GetParams) GetNamespace

func (p GetParams) GetNamespace() string

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

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

Jump to

Keyboard shortcuts

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