Versions in this module Expand all Collapse all v0 v0.2.2 Feb 4, 2015 Changes in this version + func IPAddressesDNSNames(hosts []string) ([]net.IP, []string) v0.2.1 Jan 28, 2015 Changes in this version + func NewKeyPair() (crypto.PublicKey, crypto.PrivateKey, error) + type CA struct + Config *TLSCertificateConfig + Dir string + Serial int64 + SerialFile string + func InitCA(dir string, name string) (*CA, error) + func (ca *CA) MakeClientConfig(username string, defaults kclient.Config) (kclient.Config, error) + func (ca *CA) MakeServerCert(name string, hostnames []string) (*TLSCertificateConfig, error) + type TLSCertificateConfig struct + CAFile string + CertFile string + Certs []*x509.Certificate + Key crypto.PrivateKey + KeyFile string + Roots []*x509.Certificate