controller

package
v0.0.0-...-d07e290 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaSecretController

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

CaSecretController manages the self-signed signing CA secret.

func NewCaSecretController

func NewCaSecretController(core corev1.CoreV1Interface) *CaSecretController

NewCaSecretController returns a pointer to a newly constructed SecretController instance.

func (*CaSecretController) LoadCASecretWithRetry

func (csc *CaSecretController) LoadCASecretWithRetry(secretName, namespace string,
	retryInterval, timeout time.Duration,
) (*v1.Secret, error)

LoadCASecretWithRetry reads CA secret with retries until timeout.

func (*CaSecretController) UpdateCASecretWithRetry

func (csc *CaSecretController) UpdateCASecretWithRetry(caSecret *v1.Secret,
	retryInterval, timeout time.Duration,
) error

UpdateCASecretWithRetry updates CA secret with retries until timeout.

Jump to

Keyboard shortcuts

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