secret

package
v0.0.0-...-981e2ef Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// CreateOrUpdate creates or updates the secret containing the CA data.
	// Secret local reference is returned.
	CreateOrUpdate(ctx context.Context, owner *v1alpha1.CertInjection, injection *mytypes.Injection) (corev1.LocalObjectReference, error)

	// AssignOwner set the owner reference of the secret.
	AssignOwner(ctx context.Context, owner *v1alpha1.CertInjection, secret corev1.LocalObjectReference) error
}

Manager creates or updates the secret containing the injecting CA data.

func NewManager

func NewManager(client client.Client, scheme *runtime.Scheme) Manager

NewManager news a secret creator.

Jump to

Keyboard shortcuts

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