Documentation
¶
Index ¶
Constants ¶
View Source
const ( // The Istio secret annotation type IstioSecretType = "istio.io/key-and-cert" // The ID/name for the certificate chain file. CertChainID = "cert-chain.pem" // The ID/name for the private key file. PrivateKeyID = "key.pem" // The ID/name for the CA root certificate file. RootCertID = "root-cert.pem" )
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.