Documentation ¶
Index ¶
- func NewMemoryKeyRingBackend(namespace *api.Namespace) (api.NamespaceHandler, error)
- type MemoryKeyRingBackend
- func (t *MemoryKeyRingBackend) AddKey(keyring, name string, key *api.Key) error
- func (t *MemoryKeyRingBackend) AddKeyRing(keyring *api.KeyRing) error
- func (t *MemoryKeyRingBackend) CreateKeyRing(name string, ttl int) (*api.KeyRing, error)
- func (t *MemoryKeyRingBackend) DestroyKeyRing(name string) error
- func (t *MemoryKeyRingBackend) DestroyNamespace(name string) error
- func (t *MemoryKeyRingBackend) GetKey(keyring, name string) (*api.Key, error)
- func (t *MemoryKeyRingBackend) GetKeyRing(name string) (*api.KeyRing, error)
- func (t *MemoryKeyRingBackend) Init(namespace *api.Namespace) error
- func (t *MemoryKeyRingBackend) Keys(name string) (map[string]*api.Key, error)
- func (t *MemoryKeyRingBackend) RemoveKey(keyring, name string) error
- func (t *MemoryKeyRingBackend) RotateKeyRing(keyring string, keys map[string]*api.Key) error
- func (t *MemoryKeyRingBackend) UpdateKeyRing(keyring *api.KeyRing) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryKeyRingBackend ¶
func NewMemoryKeyRingBackend(namespace *api.Namespace) (api.NamespaceHandler, error)
Types ¶
type MemoryKeyRingBackend ¶
func (*MemoryKeyRingBackend) AddKey ¶
func (t *MemoryKeyRingBackend) AddKey(keyring, name string, key *api.Key) error
func (*MemoryKeyRingBackend) AddKeyRing ¶
func (t *MemoryKeyRingBackend) AddKeyRing(keyring *api.KeyRing) error
func (*MemoryKeyRingBackend) CreateKeyRing ¶
func (*MemoryKeyRingBackend) DestroyKeyRing ¶
func (t *MemoryKeyRingBackend) DestroyKeyRing(name string) error
func (*MemoryKeyRingBackend) DestroyNamespace ¶
func (t *MemoryKeyRingBackend) DestroyNamespace(name string) error
func (*MemoryKeyRingBackend) GetKey ¶
func (t *MemoryKeyRingBackend) GetKey(keyring, name string) (*api.Key, error)
func (*MemoryKeyRingBackend) GetKeyRing ¶
func (t *MemoryKeyRingBackend) GetKeyRing(name string) (*api.KeyRing, error)
func (*MemoryKeyRingBackend) Init ¶
func (t *MemoryKeyRingBackend) Init(namespace *api.Namespace) error
func (*MemoryKeyRingBackend) RemoveKey ¶
func (t *MemoryKeyRingBackend) RemoveKey(keyring, name string) error
func (*MemoryKeyRingBackend) RotateKeyRing ¶
func (*MemoryKeyRingBackend) UpdateKeyRing ¶
func (t *MemoryKeyRingBackend) UpdateKeyRing(keyring *api.KeyRing) error
Click to show internal directories.
Click to hide internal directories.