Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAllowedClockSkew = 10 * time.Second DefaultWorkloadCertValidityPeriod = 24 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func NewWorkloadCert ¶
func NewWorkloadCert(ca util_tls.KeyPair, mesh string, tags mesh_proto.MultiValueTagSet, certOpts ...CertOptsFn) (*util_tls.KeyPair, error)
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.