KeysService is the godo KeysService interface.
| 31 | |
| 32 | // KeysService is the godo KeysService interface. |
| 33 | type KeysService interface { |
| 34 | List() (SSHKeys, error) |
| 35 | Get(id string) (*SSHKey, error) |
| 36 | Create(kcr *godo.KeyCreateRequest) (*SSHKey, error) |
| 37 | Update(id string, kur *godo.KeyUpdateRequest) (*SSHKey, error) |
| 38 | Delete(id string) error |
| 39 | } |
| 40 | |
| 41 | type keysService struct { |
| 42 | client *godo.Client |
no outgoing calls
no test coverage detected