Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateBundle ¶
type CertificateBundle struct { AuthorityPEM []byte BundlePEM []byte ServerCertificatePEM []byte ServerKeyPEM []byte }
func GenerateCertificateBundle ¶
func GenerateCertificateBundle(opts ...CertificateBundleOption) (*CertificateBundle, error)
type CertificateBundleOption ¶
type CertificateBundleOption interface {
ApplyToCertificateBundleOptions(target *CertificateBundleOptions)
}
type CertificateBundleOptions ¶
type CertificateBundleOptions struct { Organization string CACommonName string CertificateDNSNames []string Validity time.Duration }
func (*CertificateBundleOptions) ApplyOptions ¶
func (o *CertificateBundleOptions) ApplyOptions(opts []CertificateBundleOption)
type CertificateBundleWithCACommonName ¶
type CertificateBundleWithCACommonName string
func (CertificateBundleWithCACommonName) ApplyToCertificateBundleOptions ¶
func (wccn CertificateBundleWithCACommonName) ApplyToCertificateBundleOptions(target *CertificateBundleOptions)
type CertificateBundleWithCertificateDNSNames ¶
type CertificateBundleWithCertificateDNSNames []string
func (CertificateBundleWithCertificateDNSNames) ApplyToCertificateBundleOptions ¶
func (wcdn CertificateBundleWithCertificateDNSNames) ApplyToCertificateBundleOptions(target *CertificateBundleOptions)
type CertificateBundleWithOrganization ¶
type CertificateBundleWithOrganization string
func (CertificateBundleWithOrganization) ApplyToCertificateBundleOptions ¶
func (wo CertificateBundleWithOrganization) ApplyToCertificateBundleOptions(target *CertificateBundleOptions)
type CertificateBundleWithValidity ¶
func (CertificateBundleWithValidity) ApplyToCertificateBundleOptions ¶
func (wv CertificateBundleWithValidity) ApplyToCertificateBundleOptions(target *CertificateBundleOptions)
Click to show internal directories.
Click to hide internal directories.