encryptionensurer

package
v14.24.1-patch1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	Encrypter encrypter.Interface
	Logger    micrologger.Logger
}

type Resource

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

Resource implements the operatorkit Resource interface to ensure an appropriate encryption key for the Tenant Cluster. The resource implementation ensures the creation of the Tenant Cluster's encryption key as well as its deletion. The encryptionensurer resource is reconciled upon the AWSCluster CR which defines the TCCP Cloud Formation stack. With the provider specific Cluster CR we ensure the encryption key. Note that the TCNP stack which is managed for Node Pools also needs the encryption key. It is fetched and put into the controller context by the encryptionsearcher resource.

func New

func New(config Config) (*Resource, error)

func (*Resource) EnsureCreated

func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error

func (*Resource) EnsureDeleted

func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error

func (*Resource) Name

func (r *Resource) Name() string

Jump to

Keyboard shortcuts

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