kubernetes: k8s.io/kubernetes/cmd/kubeadm/app/phases/copycerts Index | Files

package copycerts

import "k8s.io/kubernetes/cmd/kubeadm/app/phases/copycerts"


Package Files


func CreateCertificateKey Uses

func CreateCertificateKey() (string, error)

CreateCertificateKey returns a cryptographically secure random key

func DownloadCerts Uses

func DownloadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error

DownloadCerts downloads the certificates needed to join a new control plane.

func UploadCerts Uses

func UploadCerts(client clientset.Interface, cfg *kubeadmapi.InitConfiguration, key string) error

UploadCerts save certs needs to join a new control-plane on kubeadm-certs sercret.

Package copycerts imports 22 packages (graph) and is imported by 14 packages. Updated 2019-09-29. Refresh now. Tools for package owners.