Documentation ¶
Index ¶
- func AsKeyfile(cert, priv string) string
- func CreateTLSCACertificate(commonName string) (string, string, error)
- func CreateTLSServerCertificate(caCert, caKey string, names KeyfileInput) (string, string, error)
- func CreateTLSServerKeyfile(caCert, caKey string, names KeyfileInput) (string, error)
- type KeyfileInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTLSCACertificate ¶
CreateTLSCACertificate creates a CA certificate
func CreateTLSServerCertificate ¶
func CreateTLSServerCertificate(caCert, caKey string, names KeyfileInput) (string, string, error)
CreateTLSServerCertificate creates Sever Cert in PEM Format
func CreateTLSServerKeyfile ¶
func CreateTLSServerKeyfile(caCert, caKey string, names KeyfileInput) (string, error)
CreateTLSServerKeyfile creates Sever Cert in Keyfile Format
Types ¶
type KeyfileInput ¶
func GetAltNames ¶
func GetAltNames(tls api.TLSSpec) (KeyfileInput, error)
func GetServerAltNames ¶
func GetServerAltNames(deployment meta.Object, spec api.DeploymentSpec, tls api.TLSSpec, service *core.Service, group api.ServerGroup, member api.MemberStatus) (KeyfileInput, error)
func GetSyncAltNames ¶
func GetSyncAltNames(deployment meta.Object, spec api.DeploymentSpec, tls api.TLSSpec, group api.ServerGroup, member api.MemberStatus) (KeyfileInput, error)
func (KeyfileInput) Append ¶
func (k KeyfileInput) Append(b KeyfileInput) KeyfileInput
Click to show internal directories.
Click to hide internal directories.