Documentation
¶
Index ¶
- func CheckOrRegenerateClientCertAndKey(client kubernetes.Interface, log func(msg string, keysAndValues ...any), ...) (bool, string, string, error)
- func Expired(csr *certv1.CertificateSigningRequest, leaseExpirationMargin time.Duration) bool
- func GenerateClientCertAndKey(client kubernetes.Interface, log func(msg string, keysAndValues ...any), ...) (string, string, error)
- func UpdateCerts(crt string, key string, certsPath string) error
- type GenerateClientCertAndKeyOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOrRegenerateClientCertAndKey ¶
func CheckOrRegenerateClientCertAndKey(client kubernetes.Interface, log func(msg string, keysAndValues ...any), o GenerateClientCertAndKeyOpts) (bool, string, string, error)
func Expired ¶
func Expired(csr *certv1.CertificateSigningRequest, leaseExpirationMargin time.Duration) bool
func GenerateClientCertAndKey ¶
func GenerateClientCertAndKey(client kubernetes.Interface, log func(msg string, keysAndValues ...any), o GenerateClientCertAndKeyOpts) (string, string, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.