Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubmitCSR ¶
func SubmitCSR(ctx context.Context, config *cfg.Config, restClient *RestClient, x509CSR *tls.X509CSR) error
SubmitCSR Submits a CSR in order to obtain a signed certificate for this pod.
Types ¶
type RestClient ¶
type RestClient struct { RestConfig *rest.Config Clientset kubernetes.Interface APIRegistrationClient v1beta1.ApiregistrationV1beta1Interface }
func NewRestClient ¶
func NewRestClient() (*RestClient, error)
GetRestClient returns a bundle of K8s REST client interfaces.
Click to show internal directories.
Click to hide internal directories.