Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHKeyClient ¶
type SSHKeyClient interface {
List() ([]SSHKey, error)
Get(keyID string) (*SSHKey, error)
Add(key []byte, algorithm, comment string) (*SSHKey, error)
Delete(keyID string) error
}
func NewSSHKeyClient ¶
func NewSSHKeyClient(client *lowlevel.SpacesLowlevelClient, logger *log.Logger) SSHKeyClient
Click to show internal directories.
Click to hide internal directories.