encryption

package
v0.0.0-...-82abb01 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 21 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 []factory.Controller

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