Documentation
¶
Index ¶
- Constants
- Variables
- type AddSSHKeyResponse
- func (o *AddSSHKeyResponse) GetAddSSHKey() *shared.ResponseAddSSHKey
- func (o *AddSSHKeyResponse) GetContentType() string
- func (o *AddSSHKeyResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *AddSSHKeyResponse) GetRawResponse() *http.Response
- func (o *AddSSHKeyResponse) GetStatusCode() int
- type DeleteSSHKeyRequest
- type DeleteSSHKeyResponse
- type GetInstanceRequest
- type GetInstanceResponse
- func (o *GetInstanceResponse) GetContentType() string
- func (o *GetInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *GetInstanceResponse) GetInstance() *shared.ResponseInstance
- func (o *GetInstanceResponse) GetRawResponse() *http.Response
- func (o *GetInstanceResponse) GetStatusCode() int
- type InstanceTypesResponse
- func (o *InstanceTypesResponse) GetContentType() string
- func (o *InstanceTypesResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *InstanceTypesResponse) GetInstanceTypes() *shared.InstanceTypes
- func (o *InstanceTypesResponse) GetRawResponse() *http.Response
- func (o *InstanceTypesResponse) GetStatusCode() int
- type LaunchInstanceResponse
- func (o *LaunchInstanceResponse) GetContentType() string
- func (o *LaunchInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *LaunchInstanceResponse) GetLaunch() *shared.ResponseLaunch
- func (o *LaunchInstanceResponse) GetRawResponse() *http.Response
- func (o *LaunchInstanceResponse) GetStatusCode() int
- type ListFileSystemsResponse
- func (o *ListFileSystemsResponse) GetContentType() string
- func (o *ListFileSystemsResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *ListFileSystemsResponse) GetFileSystems() *shared.FileSystems
- func (o *ListFileSystemsResponse) GetRawResponse() *http.Response
- func (o *ListFileSystemsResponse) GetStatusCode() int
- type ListInstancesResponse
- func (o *ListInstancesResponse) GetContentType() string
- func (o *ListInstancesResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *ListInstancesResponse) GetInstances() *shared.Instances
- func (o *ListInstancesResponse) GetRawResponse() *http.Response
- func (o *ListInstancesResponse) GetStatusCode() int
- type ListSSHKeysResponse
- func (o *ListSSHKeysResponse) GetContentType() string
- func (o *ListSSHKeysResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *ListSSHKeysResponse) GetRawResponse() *http.Response
- func (o *ListSSHKeysResponse) GetSSHKeys() *shared.SSHKeys
- func (o *ListSSHKeysResponse) GetStatusCode() int
- type Option
- type Options
- type RestartInstanceResponse
- func (o *RestartInstanceResponse) GetContentType() string
- func (o *RestartInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *RestartInstanceResponse) GetRawResponse() *http.Response
- func (o *RestartInstanceResponse) GetRestart() *shared.ResponseRestart
- func (o *RestartInstanceResponse) GetStatusCode() int
- type TerminateInstanceResponse
- func (o *TerminateInstanceResponse) GetContentType() string
- func (o *TerminateInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *TerminateInstanceResponse) GetRawResponse() *http.Response
- func (o *TerminateInstanceResponse) GetStatusCode() int
- func (o *TerminateInstanceResponse) GetTerminate() *shared.ResponseTerminate
- type UpdateInstanceResponse
- func (o *UpdateInstanceResponse) GetContentType() string
- func (o *UpdateInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
- func (o *UpdateInstanceResponse) GetInstance() *shared.ResponseInstance
- func (o *UpdateInstanceResponse) GetRawResponse() *http.Response
- func (o *UpdateInstanceResponse) GetStatusCode() int
Constants ¶
View Source
const ( SupportedOptionServerURL = "serverURL" SupportedOptionRetries = "retries" SupportedOptionTimeout = "timeout" SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride" SupportedOptionURLOverride = "urlOverride" )
Variables ¶
View Source
var ErrUnsupportedOption = errors.New("unsupported option")
Functions ¶
This section is empty.
Types ¶
type AddSSHKeyResponse ¶
type AddSSHKeyResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
AddSSHKey *shared.ResponseAddSSHKey
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*AddSSHKeyResponse) GetAddSSHKey ¶
func (o *AddSSHKeyResponse) GetAddSSHKey() *shared.ResponseAddSSHKey
func (*AddSSHKeyResponse) GetContentType ¶
func (o *AddSSHKeyResponse) GetContentType() string
func (*AddSSHKeyResponse) GetErrorResponseBody ¶
func (o *AddSSHKeyResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*AddSSHKeyResponse) GetRawResponse ¶
func (o *AddSSHKeyResponse) GetRawResponse() *http.Response
func (*AddSSHKeyResponse) GetStatusCode ¶
func (o *AddSSHKeyResponse) GetStatusCode() int
type DeleteSSHKeyRequest ¶
type DeleteSSHKeyRequest struct {
// The unique identifier (ID) of the SSH key
ID string `pathParam:"style=simple,explode=false,name=id"`
}
func (*DeleteSSHKeyRequest) GetID ¶
func (o *DeleteSSHKeyRequest) GetID() string
type DeleteSSHKeyResponse ¶
type DeleteSSHKeyResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// Request parameters were invalid.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*DeleteSSHKeyResponse) GetContentType ¶
func (o *DeleteSSHKeyResponse) GetContentType() string
func (*DeleteSSHKeyResponse) GetErrorResponseBody ¶
func (o *DeleteSSHKeyResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*DeleteSSHKeyResponse) GetRawResponse ¶
func (o *DeleteSSHKeyResponse) GetRawResponse() *http.Response
func (*DeleteSSHKeyResponse) GetStatusCode ¶
func (o *DeleteSSHKeyResponse) GetStatusCode() int
type GetInstanceRequest ¶
type GetInstanceRequest struct {
// The unique identifier (ID) of the instance
ID string `pathParam:"style=simple,explode=false,name=id"`
}
func (*GetInstanceRequest) GetID ¶
func (o *GetInstanceRequest) GetID() string
type GetInstanceResponse ¶
type GetInstanceResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
Instance *shared.ResponseInstance
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*GetInstanceResponse) GetContentType ¶
func (o *GetInstanceResponse) GetContentType() string
func (*GetInstanceResponse) GetErrorResponseBody ¶
func (o *GetInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*GetInstanceResponse) GetInstance ¶
func (o *GetInstanceResponse) GetInstance() *shared.ResponseInstance
func (*GetInstanceResponse) GetRawResponse ¶
func (o *GetInstanceResponse) GetRawResponse() *http.Response
func (*GetInstanceResponse) GetStatusCode ¶
func (o *GetInstanceResponse) GetStatusCode() int
type InstanceTypesResponse ¶
type InstanceTypesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
InstanceTypes *shared.InstanceTypes
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*InstanceTypesResponse) GetContentType ¶
func (o *InstanceTypesResponse) GetContentType() string
func (*InstanceTypesResponse) GetErrorResponseBody ¶
func (o *InstanceTypesResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*InstanceTypesResponse) GetInstanceTypes ¶
func (o *InstanceTypesResponse) GetInstanceTypes() *shared.InstanceTypes
func (*InstanceTypesResponse) GetRawResponse ¶
func (o *InstanceTypesResponse) GetRawResponse() *http.Response
func (*InstanceTypesResponse) GetStatusCode ¶
func (o *InstanceTypesResponse) GetStatusCode() int
type LaunchInstanceResponse ¶
type LaunchInstanceResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
Launch *shared.ResponseLaunch
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*LaunchInstanceResponse) GetContentType ¶
func (o *LaunchInstanceResponse) GetContentType() string
func (*LaunchInstanceResponse) GetErrorResponseBody ¶
func (o *LaunchInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*LaunchInstanceResponse) GetLaunch ¶
func (o *LaunchInstanceResponse) GetLaunch() *shared.ResponseLaunch
func (*LaunchInstanceResponse) GetRawResponse ¶
func (o *LaunchInstanceResponse) GetRawResponse() *http.Response
func (*LaunchInstanceResponse) GetStatusCode ¶
func (o *LaunchInstanceResponse) GetStatusCode() int
type ListFileSystemsResponse ¶
type ListFileSystemsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
FileSystems *shared.FileSystems
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*ListFileSystemsResponse) GetContentType ¶
func (o *ListFileSystemsResponse) GetContentType() string
func (*ListFileSystemsResponse) GetErrorResponseBody ¶
func (o *ListFileSystemsResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*ListFileSystemsResponse) GetFileSystems ¶
func (o *ListFileSystemsResponse) GetFileSystems() *shared.FileSystems
func (*ListFileSystemsResponse) GetRawResponse ¶
func (o *ListFileSystemsResponse) GetRawResponse() *http.Response
func (*ListFileSystemsResponse) GetStatusCode ¶
func (o *ListFileSystemsResponse) GetStatusCode() int
type ListInstancesResponse ¶
type ListInstancesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
Instances *shared.Instances
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*ListInstancesResponse) GetContentType ¶
func (o *ListInstancesResponse) GetContentType() string
func (*ListInstancesResponse) GetErrorResponseBody ¶
func (o *ListInstancesResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*ListInstancesResponse) GetInstances ¶
func (o *ListInstancesResponse) GetInstances() *shared.Instances
func (*ListInstancesResponse) GetRawResponse ¶
func (o *ListInstancesResponse) GetRawResponse() *http.Response
func (*ListInstancesResponse) GetStatusCode ¶
func (o *ListInstancesResponse) GetStatusCode() int
type ListSSHKeysResponse ¶
type ListSSHKeysResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
SSHKeys *shared.SSHKeys
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*ListSSHKeysResponse) GetContentType ¶
func (o *ListSSHKeysResponse) GetContentType() string
func (*ListSSHKeysResponse) GetErrorResponseBody ¶
func (o *ListSSHKeysResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*ListSSHKeysResponse) GetRawResponse ¶
func (o *ListSSHKeysResponse) GetRawResponse() *http.Response
func (*ListSSHKeysResponse) GetSSHKeys ¶
func (o *ListSSHKeysResponse) GetSSHKeys() *shared.SSHKeys
func (*ListSSHKeysResponse) GetStatusCode ¶
func (o *ListSSHKeysResponse) GetStatusCode() int
type Option ¶
func WithOperationTimeout ¶
WithOperationTimeout allows setting the request timeout applied for an operation.
func WithRetries ¶
WithRetries allows customizing the default retry configuration.
func WithServerURL ¶
WithServerURL allows providing an alternative server URL.
func WithTemplatedServerURL ¶
WithTemplatedServerURL allows providing an alternative server URL with templated parameters.
func WithURLOverride ¶
WithURLOverride allows overriding the URL.
type RestartInstanceResponse ¶
type RestartInstanceResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
Restart *shared.ResponseRestart
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*RestartInstanceResponse) GetContentType ¶
func (o *RestartInstanceResponse) GetContentType() string
func (*RestartInstanceResponse) GetErrorResponseBody ¶
func (o *RestartInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*RestartInstanceResponse) GetRawResponse ¶
func (o *RestartInstanceResponse) GetRawResponse() *http.Response
func (*RestartInstanceResponse) GetRestart ¶
func (o *RestartInstanceResponse) GetRestart() *shared.ResponseRestart
func (*RestartInstanceResponse) GetStatusCode ¶
func (o *RestartInstanceResponse) GetStatusCode() int
type TerminateInstanceResponse ¶
type TerminateInstanceResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
Terminate *shared.ResponseTerminate
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*TerminateInstanceResponse) GetContentType ¶
func (o *TerminateInstanceResponse) GetContentType() string
func (*TerminateInstanceResponse) GetErrorResponseBody ¶
func (o *TerminateInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*TerminateInstanceResponse) GetRawResponse ¶
func (o *TerminateInstanceResponse) GetRawResponse() *http.Response
func (*TerminateInstanceResponse) GetStatusCode ¶
func (o *TerminateInstanceResponse) GetStatusCode() int
func (*TerminateInstanceResponse) GetTerminate ¶
func (o *TerminateInstanceResponse) GetTerminate() *shared.ResponseTerminate
type UpdateInstanceResponse ¶ added in v0.1.3
type UpdateInstanceResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// OK
Instance *shared.ResponseInstance
// Unauthorized.
ErrorResponseBody *shared.ErrorResponseBody
}
func (*UpdateInstanceResponse) GetContentType ¶ added in v0.1.3
func (o *UpdateInstanceResponse) GetContentType() string
func (*UpdateInstanceResponse) GetErrorResponseBody ¶ added in v0.1.3
func (o *UpdateInstanceResponse) GetErrorResponseBody() *shared.ErrorResponseBody
func (*UpdateInstanceResponse) GetInstance ¶ added in v0.1.3
func (o *UpdateInstanceResponse) GetInstance() *shared.ResponseInstance
func (*UpdateInstanceResponse) GetRawResponse ¶ added in v0.1.3
func (o *UpdateInstanceResponse) GetRawResponse() *http.Response
func (*UpdateInstanceResponse) GetStatusCode ¶ added in v0.1.3
func (o *UpdateInstanceResponse) GetStatusCode() int
Click to show internal directories.
Click to hide internal directories.