Documentation ¶
Index ¶
- func WithCache(ctx context.Context) context.Context
- type DatastoreCache
- func (ds *DatastoreCache) AppendBundle(ctx context.Context, b *common.Bundle) (bundle *common.Bundle, err error)
- func (ds *DatastoreCache) DeleteBundle(ctx context.Context, td string, mode datastore.DeleteMode) (err error)
- func (ds *DatastoreCache) FetchBundle(ctx context.Context, trustDomain string) (*common.Bundle, error)
- func (ds *DatastoreCache) PruneBundle(ctx context.Context, trustDomainID string, expiresBefore time.Time) (changed bool, err error)
- func (ds *DatastoreCache) RevokeJWTKey(ctx context.Context, trustDomainID string, authorityID string) (revokedKey *common.PublicKey, err error)
- func (ds *DatastoreCache) RevokeX509CA(ctx context.Context, trustDomainID string, publicKeyToRevoke crypto.PublicKey) (err error)
- func (ds *DatastoreCache) SetBundle(ctx context.Context, b *common.Bundle) (bundle *common.Bundle, err error)
- func (ds *DatastoreCache) TaintJWTKey(ctx context.Context, trustDomainID string, authorityID string) (taintedKey *common.PublicKey, err error)
- func (ds *DatastoreCache) TaintX509CA(ctx context.Context, trustDomainID string, publicKeyToTaint crypto.PublicKey) (err error)
- func (ds *DatastoreCache) UpdateBundle(ctx context.Context, b *common.Bundle, mask *common.BundleMask) (bundle *common.Bundle, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatastoreCache ¶
func (*DatastoreCache) AppendBundle ¶
func (*DatastoreCache) DeleteBundle ¶
func (ds *DatastoreCache) DeleteBundle(ctx context.Context, td string, mode datastore.DeleteMode) (err error)
func (*DatastoreCache) FetchBundle ¶
func (*DatastoreCache) PruneBundle ¶
func (*DatastoreCache) RevokeJWTKey ¶ added in v1.6.3
func (*DatastoreCache) RevokeX509CA ¶ added in v1.6.3
func (*DatastoreCache) TaintJWTKey ¶ added in v1.6.3
func (*DatastoreCache) TaintX509CA ¶ added in v1.6.3
func (*DatastoreCache) UpdateBundle ¶
func (ds *DatastoreCache) UpdateBundle(ctx context.Context, b *common.Bundle, mask *common.BundleMask) (bundle *common.Bundle, err error)
Click to show internal directories.
Click to hide internal directories.