client-go: k8s.io/client-go/util/certificate/csr Index | Files

package csr

import "k8s.io/client-go/util/certificate/csr"

Index

Package Files

csr.go

func RequestCertificate Uses

func RequestCertificate(client clientset.Interface, csrData []byte, name string, signerName string, usages []certificatesv1.KeyUsage, privateKey interface{}) (reqName string, reqUID types.UID, err error)

RequestCertificate will either use an existing (if this process has run before but not to completion) or create a certificate signing request using the PEM encoded CSR and send it to API server.

func WaitForCertificate Uses

func WaitForCertificate(ctx context.Context, client clientset.Interface, reqName string, reqUID types.UID) (certData []byte, err error)

WaitForCertificate waits for a certificate to be issued until timeout, or returns an error.

Package csr imports 21 packages (graph) and is imported by 11 packages. Updated 2020-06-17. Refresh now. Tools for package owners.