secret

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MutateSecret

func MutateSecret(r Mutate, obj *corev1.Secret, m meta.Meta) error

Types

type Mutate

type Mutate interface {
	GetSecretData() map[string][]byte
}

type Secret

type Secret struct {
	*meta.ObjectMeta `json:"meta,omitempty"`
	Data             map[string][]byte `json:"data,omitempty"`
}

+kubebuilder:object:generate=true

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Secret) GetObject

func (o *Secret) GetObject() interfaces.Object

func (*Secret) GetObjectGroup

func (o *Secret) GetObjectGroup() string

func (*Secret) GetObjectKind

func (o *Secret) GetObjectKind() string

func (*Secret) GetSecretData

func (o *Secret) GetSecretData() map[string][]byte

func (*Secret) Init

func (obj *Secret) Init()

func (*Secret) Mutate

func (o *Secret) Mutate(obj interfaces.Object) error

func (*Secret) SetSettings

func (o *Secret) SetSettings(parameters settings.Parameters)

Jump to

Keyboard shortcuts

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