Documentation ¶
Index ¶
- func CreateAdminCertificate(rootCerts RootCerts) ([]byte, []byte, []byte, error)
- func CreateNodeCertificate(rootCerts RootCerts, fqdn string, ip string) ([]byte, []byte, []byte, error)
- func CreateRootCertificate(etcd etcd.EtcdClient, token string, key openssl.PrivateKey) *openssl.Certificate
- func CreateRootKeys(etcd etcd.EtcdClient, token string) openssl.PrivateKey
- func CreateServerCertificate(etcd etcd.EtcdClient, token string, rootCerts RootCerts) ([]byte, []byte, []byte)
- func GenerateKeypairs(bytes int) (openssl.PrivateKey, []byte, []byte)
- func LoadCerts(etcd etcd.EtcdClient, token string) (RootCerts, ServerCerts)
- type RootCerts
- type ServerCerts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAdminCertificate ¶
func CreateNodeCertificate ¶
func CreateRootCertificate ¶
func CreateRootCertificate(etcd etcd.EtcdClient, token string, key openssl.PrivateKey) *openssl.Certificate
func CreateRootKeys ¶
func CreateRootKeys(etcd etcd.EtcdClient, token string) openssl.PrivateKey
func CreateServerCertificate ¶
func GenerateKeypairs ¶
func GenerateKeypairs(bytes int) (openssl.PrivateKey, []byte, []byte)
func LoadCerts ¶
func LoadCerts(etcd etcd.EtcdClient, token string) (RootCerts, ServerCerts)
Types ¶
type RootCerts ¶
type RootCerts struct { Certificate *openssl.Certificate Token string // contains filtered or unexported fields }
type ServerCerts ¶
Click to show internal directories.
Click to hide internal directories.