kube

package
v0.0.0-...-42baaad Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApproveCertificateSigningRequest

func ApproveCertificateSigningRequest(client kubernetes.Interface, csr *certv1.CertificateSigningRequest) error

func Certificate

func Certificate(client kubernetes.Interface, name string) ([]byte, error)

Certificate get the certificate from the CertificateSigningRequests status

func CertificateExistsFunc

func CertificateExistsFunc(client kubernetes.Interface, name string) wait.ConditionWithContextFunc

func CreateCertificateSigningRequests

func CreateCertificateSigningRequests(client kubernetes.Interface, csr *certv1.CertificateSigningRequest) error

func DeleteCertificateSigningRequest

func DeleteCertificateSigningRequest(client kubernetes.Interface, name string) error

func NewCertificateRequest

func NewCertificateRequest(key *rsa.PrivateKey, username string, groups []string) ([]byte, error)

func NewCertificateSigningRequest

func NewCertificateSigningRequest(csr []byte, dur time.Duration, userID, username string) *certv1.CertificateSigningRequest

func NewPrivateKey

func NewPrivateKey() (*rsa.PrivateKey, error)

func WaitForCertificate

func WaitForCertificate(client kubernetes.Interface, name string) error

WaitForCertificate wait for certificate field to be generated in CSR's status.certificate field

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL