Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller manages the CA TLS root cert in ConfigMap.

func NewController

func NewController(namespace string, core corev1.CoreV1Interface) *Controller

NewController creates a new Controller.

func (*Controller) GetCATLSRootCert

func (c *Controller) GetCATLSRootCert() (string, error)

GetCATLSRootCert gets the CA TLS root certificate from the configmap.

func (*Controller) InsertCATLSRootCert

func (c *Controller) InsertCATLSRootCert(value string) error

InsertCATLSRootCert updates the CA TLS root certificate in the configmap.

Source Files