Documentation ¶
Index ¶
- func Factory(version string) logical.Factory
- type Cache
- func (c *Cache) Clear(ctx context.Context, storage logical.Storage) error
- func (c *Cache) Create(ctx context.Context, storage logical.Storage, role *role, key string, ...) error
- func (c *Cache) Delete(ctx context.Context, storage logical.Storage, key string) error
- func (c *Cache) List(ctx context.Context, storage logical.Storage) ([]string, error)
- func (c *Cache) Read(ctx context.Context, storage logical.Storage, role *role, key string) (*CacheEntry, error)
- type CacheEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheEntry ¶
type CacheEntry struct { Users int Account string // We have to copy all fields of the cert here as the []byte ones are not // exported in certificate.Resource Domain string CertURL string CertStableURL string PrivateKey []byte Cert []byte IssuerCertificate []byte CSR []byte }
func NewCacheEntry ¶
func NewCacheEntry(account string, cert *certificate.Resource) *CacheEntry
func (*CacheEntry) Certificate ¶
func (ce *CacheEntry) Certificate() *certificate.Resource
Source Files ¶
Click to show internal directories.
Click to hide internal directories.