Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyStoreKey ¶
type KeyStoreKey struct { Key string `json:"key"` Globalid string `json:"globalid"` Username string `json:"username"` Label string `json:"label"` KeyData KeyData `json:"keydata"` }
func (*KeyStoreKey) Validate ¶
func (key *KeyStoreKey) Validate() bool
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is used to store users
func NewManager ¶
NewManager creates and initializes a new Manager
func (*Manager) Create ¶
func (m *Manager) Create(key *KeyStoreKey) error
Create a new KeyStore key entry.
func (*Manager) GetKeyStoreKey ¶
func (*Manager) ListKeyStoreKeys ¶
func (m *Manager) ListKeyStoreKeys(username string, globalid string) ([]KeyStoreKey, error)
Click to show internal directories.
Click to hide internal directories.