secret

package
v0.0.0-...-4952e1f Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretFacade

type SecretFacade struct {
	// contains filtered or unexported fields
}

func NewSecretFacade

func NewSecretFacade(clioptions *parse.CLIOptions, keys types.SshKeys) (*SecretFacade, error)

func (*SecretFacade) AppendPublicKeySecret

func (s *SecretFacade) AppendPublicKeySecret(secret *corev1.Secret) (*corev1.Secret, error)

func (SecretFacade) CheckPrivateKeySecretExistence

func (s SecretFacade) CheckPrivateKeySecretExistence() error

func (*SecretFacade) CreatePrivateKeySecret

func (s *SecretFacade) CreatePrivateKeySecret() (*corev1.Secret, error)

func (*SecretFacade) CreatePublicKeySecret

func (s *SecretFacade) CreatePublicKeySecret() (*corev1.Secret, error)

func (*SecretFacade) DeleteSecret

func (s *SecretFacade) DeleteSecret(secret *corev1.Secret) error

func (*SecretFacade) GetPublicKeySecret

func (s *SecretFacade) GetPublicKeySecret() (*corev1.Secret, error)

type SecretPatch

type SecretPatch struct {
	Op    string `json:"op"`
	Path  string `json:"path"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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