encryption

package
v0.0.0-...-53cd1fa Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controllers

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

func NewControllers

func NewControllers(
	component string,
	unsupportedConfigPrefix []string,
	provider controllers.Provider,
	deployer statemachine.Deployer,
	migrator migrators.Migrator,
	operatorClient operatorv1helpers.OperatorClient,
	apiServerClient configv1client.APIServerInterface,
	apiServerInformer configv1informers.APIServerInformer,
	kubeInformersForNamespaces operatorv1helpers.KubeInformersForNamespaces,
	secretsClient corev1.SecretsGetter,
	eventRecorder events.Recorder,
	resourceSyncer *resourcesynccontroller.ResourceSyncController,
) (*Controllers, error)

func (*Controllers) Run

func (c *Controllers) Run(ctx context.Context, workers int)

type StaticEncryptionProvider

type StaticEncryptionProvider []schema.GroupResource

StaticEncryptionProvider always run the encryption controllers and returns a static list of resources to encrypt

func (StaticEncryptionProvider) EncryptedGRs

func (p StaticEncryptionProvider) EncryptedGRs() []schema.GroupResource

func (StaticEncryptionProvider) ShouldRunEncryptionControllers

func (p StaticEncryptionProvider) ShouldRunEncryptionControllers() (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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