Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSecretData ¶
GenerateSecretData generates the content of Secret.Data of the Webhook Secret.
func GetCABundle ¶
GetCABundle returns the CA certificate contained in the provided Secret.Data.
func GetDurationBeforeExpiration ¶
GetDurationBeforeExpiration returns the time.Duration before the TLS certificate contained in the provided Secret.Data expires.
func ParseSecretData ¶
func ParseSecretData(data map[string][]byte) (tls.Certificate, error)
ParseSecretData return the tls.Certificate contained in the provided Secret.Data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.