Documentation ¶
Index ¶
- Constants
- func AdminKubeconfigClientCertDir(certsDir string) string
- func AdminKubeconfigSignerDir(certsDir string) string
- func AggregatorClientCertDir(certsDir string) string
- func AggregatorSignerDir(certsDir string) string
- func AppendCertsToFile(bundlePath string, certs ...[]byte) error
- func CABundlePath(dir string) string
- func CACertPath(dir string) string
- func CAKeyPath(dir string) string
- func CASerialsPath(dir string) string
- func CSRSignerCertDir(certsDir string) string
- func CertsDirectory(dataPath string) string
- func ClientCertPath(dir string) string
- func ClientKeyPath(dir string) string
- func EtcdAPIServerClientCertDir(certsDir string) string
- func EtcdPeerCertDir(certsDir string) string
- func EtcdServingCertDir(certsDir string) string
- func EtcdSignerDir(certsDir string) string
- func IngressCADir(certsDir string) string
- func IsCertShortLived(c *x509.Certificate) bool
- func KubeAPIServerExternalServingCertDir(certsDir string) string
- func KubeAPIServerExternalSigner(certsDir string) string
- func KubeAPIServerLocalhostServingCertDir(certsDir string) string
- func KubeAPIServerLocalhostSigner(certsDir string) string
- func KubeAPIServerServiceNetworkServingCertDir(certsDir string) string
- func KubeAPIServerServiceNetworkSigner(certsDir string) string
- func KubeAPIServerToKubeletClientCertDir(certsDir string) string
- func KubeAPIServerToKubeletSignerCertDir(certsDir string) string
- func KubeControlPlaneSignerCertDir(certsDir string) string
- func KubeControllerManagerClientCertDir(certsDir string) string
- func KubeSchedulerClientCertDir(certsDir string) string
- func KubeletCSRSignerSignerCertDir(certsDir string) string
- func KubeletClientCAPath(certsDir string) string
- func KubeletClientCertDir(certsDir string) string
- func KubeletServingCertDir(certsDir string) string
- func PeerCertPath(dir string) string
- func PeerKeyPath(dir string) string
- func RouteControllerManagerServingCertDir(certsDir string) string
- func ServiceAccountTokenCABundlePath(certsDir string) string
- func ServiceCADir(certsDir string) string
- func ServingCertPath(dir string) string
- func ServingKeyPath(dir string) string
- func TotalClientCABundlePath(certsDir string) string
- func UltimateTrustBundlePath(certsDir string) string
Constants ¶
View Source
const ( CACertFileName = "ca.crt" CAKeyFileName = "ca.key" CABundleFileName = "ca-bundle.crt" CASerialsFileName = "serial.txt" ServerCertFileName = "server.crt" ServerKeyFileName = "server.key" ClientCertFileName = "client.crt" ClientKeyFileName = "client.key" PeerCertFileName = "peer.crt" PeerKeyFileName = "peer.key" LongLivedCertificateValidityDays = 365 * 10 ShortLivedCertificateValidityDays = 365 )
Variables ¶
This section is empty.
Functions ¶
func AggregatorClientCertDir ¶
func AggregatorSignerDir ¶
func AppendCertsToFile ¶
func CABundlePath ¶
func CACertPath ¶
func CASerialsPath ¶
func CSRSignerCertDir ¶
func CertsDirectory ¶
func ClientCertPath ¶
func ClientKeyPath ¶
func EtcdPeerCertDir ¶
func EtcdServingCertDir ¶
func EtcdSignerDir ¶
func IngressCADir ¶
func IsCertShortLived ¶
func IsCertShortLived(c *x509.Certificate) bool
func KubeletCSRSignerSignerCertDir ¶
KubeletCSRSignerSignerCertDir returns path to the signer that signs kubelet CSRs and the signer that signs CSRs of the CSR API
func KubeletClientCAPath ¶
KubeletClientCAPath returns the path to the cert bundle with all client certificate signers that kubelet should respect
func KubeletClientCertDir ¶
func KubeletServingCertDir ¶
func PeerCertPath ¶
func PeerKeyPath ¶
func ServiceCADir ¶
func ServingCertPath ¶
func ServingKeyPath ¶
func TotalClientCABundlePath ¶
TotalClientCABundlePath returns the path to the cert bundle with all client certificate signers
func UltimateTrustBundlePath ¶
UltimateTrustBundlePath returns the path to the cert bundle with the root certificate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.