injector

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 Provider

type Provider interface {
	// Inject the specified CA certificate.
	// Cert is the data bytes of the self-signed certificate.
	// The underlying injector will be created and updated into the injection status object.
	Inject(ctx context.Context, injection *v1alpha1.CertInjection) error

	// DesiredInjector indicates the desired injector object align with the provided injection.
	DesiredInjector(injection *v1alpha1.CertInjection) *appv1.DaemonSet
}

Provider for injecting self-signed CA.

func NewDaemonSetProvider

func NewDaemonSetProvider(client client.Client, scheme *runtime.Scheme) Provider

NewDaemonSetProvider news a daemonset provider.

Jump to

Keyboard shortcuts

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