Documentation ¶
Index ¶
- Variables
- func Register(registry facade.FacadeRegistry)
- type BlockChecker
- type KeyManagerAPI
- func (api *KeyManagerAPI) AddKeys(arg params.ModifyUserSSHKeys) (params.ErrorResults, error)
- func (api *KeyManagerAPI) DeleteKeys(arg params.ModifyUserSSHKeys) (params.ErrorResults, error)
- func (api *KeyManagerAPI) ImportKeys(arg params.ModifyUserSSHKeys) (params.ErrorResults, error)
- func (api *KeyManagerAPI) ListKeys(arg params.ListSSHKeys) (params.StringsResults, error)
- type Model
Constants ¶
This section is empty.
Variables ¶
View Source
var RunSSHImportId = runSSHImportId
Override for testing
Functions ¶
func Register ¶
func Register(registry facade.FacadeRegistry)
Register is called to expose a package of facades onto a given registry.
Types ¶
type BlockChecker ¶
type KeyManagerAPI ¶
type KeyManagerAPI struct {
// contains filtered or unexported fields
}
KeyManagerAPI provides api endpoints for manipulating ssh keys
func (*KeyManagerAPI) AddKeys ¶
func (api *KeyManagerAPI) AddKeys(arg params.ModifyUserSSHKeys) (params.ErrorResults, error)
AddKeys adds new authorised ssh keys for the specified user.
func (*KeyManagerAPI) DeleteKeys ¶
func (api *KeyManagerAPI) DeleteKeys(arg params.ModifyUserSSHKeys) (params.ErrorResults, error)
DeleteKeys deletes the authorised ssh keys for the specified user.
func (*KeyManagerAPI) ImportKeys ¶
func (api *KeyManagerAPI) ImportKeys(arg params.ModifyUserSSHKeys) (params.ErrorResults, error)
ImportKeys imports new authorised ssh keys from the specified key ids for the specified user.
func (*KeyManagerAPI) ListKeys ¶
func (api *KeyManagerAPI) ListKeys(arg params.ListSSHKeys) (params.StringsResults, error)
ListKeys returns the authorised ssh keys for the specified users.
Click to show internal directories.
Click to hide internal directories.