encryption

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EncryptionProviderConfig = "encryption"
	KeyNamePrefix            = "key"

	// Poly1305KeyLength represents the 32 bytes length for Poly1305
	// padding encryption key.
	Poly1305KeyLength = 32

	EncryptionProviderConfigShake256SecretName      = "encryption-provider-config-shake256"
	EncryptionProviderConfigShake256SecretNamespace = "kube-system"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppCatalog               string
	Cluster                  *capi.Cluster
	DefaultKeyRotationPeriod time.Duration
	RegistryDomain           string

	CtrlClient ctrlclient.Client
	Logger     logr.Logger
}

type Registry

type Registry struct {
	Domain string `yaml:"domain"`
}

type Service

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

func New

func New(c Config) (*Service, error)

func (*Service) Delete

func (s *Service) Delete() error

func (*Service) Reconcile

func (s *Service) Reconcile() error

type Values

type Values struct {
	Registry Registry `yaml:"registry"`
}

Jump to

Keyboard shortcuts

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