controller

package
v0.0.0-...-d7df7b9 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 12

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