Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertificate ¶
func NewCertificate() *certificate
NewCertificate creates a new instance of a certificate object.
func NewCertificateAuthority ¶
func NewCertificateAuthority(caKey *key) *certificateAuthority
NewCertificateAuthority generates a new certificate authority object given a key.
Types ¶
type CertificateInput ¶
type CertificateInput struct { Force bool KubernetesServiceName string KubernetesServiceNamespace string KeyBits int ValidDays int CommonName string Organization string Country string State string City string SubjectAlternativeNames []string CertificateFilePath string KeyFilePath string }
CertificateInput represents the input needed to work with certificate objects.
func (*CertificateInput) SetCertificateFields ¶ added in v0.1.0
func (input *CertificateInput) SetCertificateFields(cert *x509.Certificate)
SetCertificateFields sets x509 certificate object fields from a CertificateInput object.
Click to show internal directories.
Click to hide internal directories.