Versions in this module Expand all Collapse all v0 v0.1.1 Mar 15, 2019 v0.1.0 Feb 11, 2019 Changes in this version + func DecodeCertPEM(encoded []byte) (*x509.Certificate, error) + func DecodePrivateKeyPEM(encoded []byte) (*rsa.PrivateKey, error) + func EncodeCertPEM(cert *x509.Certificate) []byte + func EncodePrivateKeyPEM(key *rsa.PrivateKey) []byte + func EncodePublicKeyPEM(key *rsa.PublicKey) ([]byte, error) + func GenerateCertificateHash(encoded []byte) (string, error) + func NewCertificateAuthority() (*x509.Certificate, *rsa.PrivateKey, error) + func NewKubeconfig(clusterName, endpoint string, caCert *x509.Certificate, caKey *rsa.PrivateKey) (*api.Config, error) + func NewPrivateKey() (*rsa.PrivateKey, error) + func NewSelfSignedCACert(key *rsa.PrivateKey) (*x509.Certificate, error) + type AltNames struct + DNSNames []string + IPs []net.IP + type Config struct + AltNames AltNames + CommonName string + Organization []string + Usages []x509.ExtKeyUsage + func (cfg *Config) NewSignedCert(key *rsa.PrivateKey, caCert *x509.Certificate, caKey *rsa.PrivateKey) (*x509.Certificate, error) + type Service struct + func NewService(scope *actuators.Scope) *Service + func (s *Service) ReconcileCertificates() error