Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + type Repository struct + UpstreamAuthority UpstreamAuthority + func (repo *Repository) Clear() + func (repo *Repository) ClearUpstreamAuthority() + func (repo *Repository) GetUpstreamAuthority() (UpstreamAuthority, bool) + func (repo *Repository) SetUpstreamAuthority(upstreamAuthority UpstreamAuthority) + type UpstreamAuthority interface + MintX509CA func(ctx context.Context, csr []byte, preferredTTL time.Duration) (x509CA, upstreamX509Authorities []*x509.Certificate, ...) + PublishJWTKey func(ctx context.Context, jwtKey *common.PublicKey) (jwtAuthorities []*common.PublicKey, stream UpstreamJWTAuthorityStream, ...) + type UpstreamJWTAuthorityStream interface + Close func() + RecvUpstreamJWTAuthorities func() ([]*common.PublicKey, error) + type UpstreamX509AuthorityStream interface + Close func() + RecvUpstreamX509Authorities func() ([]*x509.Certificate, error) + type V1 struct + func (v1 *V1) MintX509CA(ctx context.Context, csr []byte, preferredTTL time.Duration) (_, _ []*x509.Certificate, _ UpstreamX509AuthorityStream, err error) + func (v1 *V1) PublishJWTKey(ctx context.Context, jwtKey *common.PublicKey) (_ []*common.PublicKey, _ UpstreamJWTAuthorityStream, err error)