Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultRsaBits = 2048 DefaultAllowedClockSkew = 10 * time.Second DefaultWorkloadCertValidityPeriod = 24 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func NewWorkloadCert ¶
Types ¶
type CertOptsFn ¶
type CertOptsFn = func(*x509.Certificate)
func WithExpirationTime ¶
func WithExpirationTime(expiration time.Duration) CertOptsFn
Click to show internal directories.
Click to hide internal directories.