Documentation
¶
Overview ¶
Package key represents our SiteHost `/ssh/key` API endpoint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Service to work with API Jobs.
type GetRequest ¶
type GetRequest struct {
ID string `json:"key_id"`
}
GetRequest represents a request to get a specific SSH key.
type ListResponse ¶
type ListResponse struct {
Return struct {
models.Pagination
SSHKeys []models.SSHKey `json:"data"`
} `json:"return"`
models.APIResponse
}
ListResponse represents the listing of SSHKeys.
Click to show internal directories.
Click to hide internal directories.