Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AESCBCKeyLength represents the 32 bytes length for AES-CBC with PKCS#7 // padding encryption key. AESCBCKeyLength = 32 )
View Source
const (
// Name is the identifier of the resource.
Name = "encryptionkey"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
Types ¶
type Config ¶
type Config struct { K8sClient kubernetes.Interface Logger micrologger.Logger }
Config represents the configuration used to create a new cloud config resource.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource implements the cloud config resource.
func New ¶
New creates a new configured secret state getter resource managing encryption keys.
https://pkg.go.dev/github.com/giantswarm/operatorkit/v4/pkg/resource/k8s/secretresource#StateGetter
func (*Resource) GetCurrentState ¶
func (*Resource) GetDesiredState ¶
Click to show internal directories.
Click to hide internal directories.