Documentation ¶
Index ¶
- type Client
- func (a *Client) ListDigitaloceanSizes(params *ListDigitaloceanSizesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDigitaloceanSizesOK, error)
- func (a *Client) ListDigitaloceanSizesNoCredentials(params *ListDigitaloceanSizesNoCredentialsParams, ...) (*ListDigitaloceanSizesNoCredentialsOK, error)
- func (a *Client) ListDigitaloceanSizesNoCredentialsV2(params *ListDigitaloceanSizesNoCredentialsV2Params, ...) (*ListDigitaloceanSizesNoCredentialsV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListDigitaloceanSizesDefault
- func (o *ListDigitaloceanSizesDefault) Code() int
- func (o *ListDigitaloceanSizesDefault) Error() string
- func (o *ListDigitaloceanSizesDefault) GetPayload() *models.ErrorResponse
- func (o *ListDigitaloceanSizesDefault) IsClientError() bool
- func (o *ListDigitaloceanSizesDefault) IsCode(code int) bool
- func (o *ListDigitaloceanSizesDefault) IsRedirect() bool
- func (o *ListDigitaloceanSizesDefault) IsServerError() bool
- func (o *ListDigitaloceanSizesDefault) IsSuccess() bool
- func (o *ListDigitaloceanSizesDefault) String() string
- type ListDigitaloceanSizesNoCredentialsDefault
- func (o *ListDigitaloceanSizesNoCredentialsDefault) Code() int
- func (o *ListDigitaloceanSizesNoCredentialsDefault) Error() string
- func (o *ListDigitaloceanSizesNoCredentialsDefault) GetPayload() *models.ErrorResponse
- func (o *ListDigitaloceanSizesNoCredentialsDefault) IsClientError() bool
- func (o *ListDigitaloceanSizesNoCredentialsDefault) IsCode(code int) bool
- func (o *ListDigitaloceanSizesNoCredentialsDefault) IsRedirect() bool
- func (o *ListDigitaloceanSizesNoCredentialsDefault) IsServerError() bool
- func (o *ListDigitaloceanSizesNoCredentialsDefault) IsSuccess() bool
- func (o *ListDigitaloceanSizesNoCredentialsDefault) String() string
- type ListDigitaloceanSizesNoCredentialsOK
- func (o *ListDigitaloceanSizesNoCredentialsOK) Error() string
- func (o *ListDigitaloceanSizesNoCredentialsOK) GetPayload() *models.DigitaloceanSizeList
- func (o *ListDigitaloceanSizesNoCredentialsOK) IsClientError() bool
- func (o *ListDigitaloceanSizesNoCredentialsOK) IsCode(code int) bool
- func (o *ListDigitaloceanSizesNoCredentialsOK) IsRedirect() bool
- func (o *ListDigitaloceanSizesNoCredentialsOK) IsServerError() bool
- func (o *ListDigitaloceanSizesNoCredentialsOK) IsSuccess() bool
- func (o *ListDigitaloceanSizesNoCredentialsOK) String() string
- type ListDigitaloceanSizesNoCredentialsParams
- func NewListDigitaloceanSizesNoCredentialsParams() *ListDigitaloceanSizesNoCredentialsParams
- func NewListDigitaloceanSizesNoCredentialsParamsWithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsParams
- func NewListDigitaloceanSizesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsParams
- func NewListDigitaloceanSizesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetDC(dc string)
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetDefaults()
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListDigitaloceanSizesNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithClusterID(clusterID string) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithDC(dc string) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithDefaults() *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithProjectID(projectID string) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsParams
- func (o *ListDigitaloceanSizesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDigitaloceanSizesNoCredentialsReader
- type ListDigitaloceanSizesNoCredentialsV2Default
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) Code() int
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) Error() string
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) GetPayload() *models.ErrorResponse
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsClientError() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsCode(code int) bool
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsRedirect() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsServerError() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsSuccess() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2Default) String() string
- type ListDigitaloceanSizesNoCredentialsV2OK
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) Error() string
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) GetPayload() *models.DigitaloceanSizeList
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsClientError() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsCode(code int) bool
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsRedirect() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsServerError() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsSuccess() bool
- func (o *ListDigitaloceanSizesNoCredentialsV2OK) String() string
- type ListDigitaloceanSizesNoCredentialsV2Params
- func NewListDigitaloceanSizesNoCredentialsV2Params() *ListDigitaloceanSizesNoCredentialsV2Params
- func NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsV2Params
- func NewListDigitaloceanSizesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsV2Params
- func NewListDigitaloceanSizesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetClusterID(clusterID string)
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetContext(ctx context.Context)
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetDefaults()
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetProjectID(projectID string)
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithClusterID(clusterID string) *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithDefaults() *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithProjectID(projectID string) *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsV2Params
- func (o *ListDigitaloceanSizesNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDigitaloceanSizesNoCredentialsV2Reader
- type ListDigitaloceanSizesOK
- func (o *ListDigitaloceanSizesOK) Error() string
- func (o *ListDigitaloceanSizesOK) GetPayload() *models.DigitaloceanSizeList
- func (o *ListDigitaloceanSizesOK) IsClientError() bool
- func (o *ListDigitaloceanSizesOK) IsCode(code int) bool
- func (o *ListDigitaloceanSizesOK) IsRedirect() bool
- func (o *ListDigitaloceanSizesOK) IsServerError() bool
- func (o *ListDigitaloceanSizesOK) IsSuccess() bool
- func (o *ListDigitaloceanSizesOK) String() string
- type ListDigitaloceanSizesParams
- func NewListDigitaloceanSizesParams() *ListDigitaloceanSizesParams
- func NewListDigitaloceanSizesParamsWithContext(ctx context.Context) *ListDigitaloceanSizesParams
- func NewListDigitaloceanSizesParamsWithHTTPClient(client *http.Client) *ListDigitaloceanSizesParams
- func NewListDigitaloceanSizesParamsWithTimeout(timeout time.Duration) *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) SetContext(ctx context.Context)
- func (o *ListDigitaloceanSizesParams) SetCredential(credential *string)
- func (o *ListDigitaloceanSizesParams) SetDefaults()
- func (o *ListDigitaloceanSizesParams) SetDoToken(doToken *string)
- func (o *ListDigitaloceanSizesParams) SetHTTPClient(client *http.Client)
- func (o *ListDigitaloceanSizesParams) SetTimeout(timeout time.Duration)
- func (o *ListDigitaloceanSizesParams) WithContext(ctx context.Context) *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) WithCredential(credential *string) *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) WithDefaults() *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) WithDoToken(doToken *string) *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) WithHTTPClient(client *http.Client) *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) WithTimeout(timeout time.Duration) *ListDigitaloceanSizesParams
- func (o *ListDigitaloceanSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDigitaloceanSizesReader
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 for digitalocean API
func (*Client) ListDigitaloceanSizes ¶
func (a *Client) ListDigitaloceanSizes(params *ListDigitaloceanSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDigitaloceanSizesOK, error)
ListDigitaloceanSizes Lists sizes from digitalocean
func (*Client) ListDigitaloceanSizesNoCredentials ¶
func (a *Client) ListDigitaloceanSizesNoCredentials(params *ListDigitaloceanSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDigitaloceanSizesNoCredentialsOK, error)
ListDigitaloceanSizesNoCredentials Lists sizes from digitalocean
func (*Client) ListDigitaloceanSizesNoCredentialsV2 ¶
func (a *Client) ListDigitaloceanSizesNoCredentialsV2(params *ListDigitaloceanSizesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDigitaloceanSizesNoCredentialsV2OK, error)
ListDigitaloceanSizesNoCredentialsV2 Lists sizes from digitalocean
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListDigitaloceanSizes(params *ListDigitaloceanSizesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDigitaloceanSizesOK, error) ListDigitaloceanSizesNoCredentials(params *ListDigitaloceanSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDigitaloceanSizesNoCredentialsOK, error) ListDigitaloceanSizesNoCredentialsV2(params *ListDigitaloceanSizesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDigitaloceanSizesNoCredentialsV2OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new digitalocean API client.
type ListDigitaloceanSizesDefault ¶
type ListDigitaloceanSizesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDigitaloceanSizesDefault describes a response with status code -1, with default header values.
errorResponse
func NewListDigitaloceanSizesDefault ¶
func NewListDigitaloceanSizesDefault(code int) *ListDigitaloceanSizesDefault
NewListDigitaloceanSizesDefault creates a ListDigitaloceanSizesDefault with default headers values
func (*ListDigitaloceanSizesDefault) Code ¶
func (o *ListDigitaloceanSizesDefault) Code() int
Code gets the status code for the list digitalocean sizes default response
func (*ListDigitaloceanSizesDefault) Error ¶
func (o *ListDigitaloceanSizesDefault) Error() string
func (*ListDigitaloceanSizesDefault) GetPayload ¶
func (o *ListDigitaloceanSizesDefault) GetPayload() *models.ErrorResponse
func (*ListDigitaloceanSizesDefault) IsClientError ¶
func (o *ListDigitaloceanSizesDefault) IsClientError() bool
IsClientError returns true when this list digitalocean sizes default response has a 4xx status code
func (*ListDigitaloceanSizesDefault) IsCode ¶
func (o *ListDigitaloceanSizesDefault) IsCode(code int) bool
IsCode returns true when this list digitalocean sizes default response a status code equal to that given
func (*ListDigitaloceanSizesDefault) IsRedirect ¶
func (o *ListDigitaloceanSizesDefault) IsRedirect() bool
IsRedirect returns true when this list digitalocean sizes default response has a 3xx status code
func (*ListDigitaloceanSizesDefault) IsServerError ¶
func (o *ListDigitaloceanSizesDefault) IsServerError() bool
IsServerError returns true when this list digitalocean sizes default response has a 5xx status code
func (*ListDigitaloceanSizesDefault) IsSuccess ¶
func (o *ListDigitaloceanSizesDefault) IsSuccess() bool
IsSuccess returns true when this list digitalocean sizes default response has a 2xx status code
func (*ListDigitaloceanSizesDefault) String ¶
func (o *ListDigitaloceanSizesDefault) String() string
type ListDigitaloceanSizesNoCredentialsDefault ¶
type ListDigitaloceanSizesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDigitaloceanSizesNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListDigitaloceanSizesNoCredentialsDefault ¶
func NewListDigitaloceanSizesNoCredentialsDefault(code int) *ListDigitaloceanSizesNoCredentialsDefault
NewListDigitaloceanSizesNoCredentialsDefault creates a ListDigitaloceanSizesNoCredentialsDefault with default headers values
func (*ListDigitaloceanSizesNoCredentialsDefault) Code ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) Code() int
Code gets the status code for the list digitalocean sizes no credentials default response
func (*ListDigitaloceanSizesNoCredentialsDefault) Error ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) Error() string
func (*ListDigitaloceanSizesNoCredentialsDefault) GetPayload ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) GetPayload() *models.ErrorResponse
func (*ListDigitaloceanSizesNoCredentialsDefault) IsClientError ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) IsClientError() bool
IsClientError returns true when this list digitalocean sizes no credentials default response has a 4xx status code
func (*ListDigitaloceanSizesNoCredentialsDefault) IsCode ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) IsCode(code int) bool
IsCode returns true when this list digitalocean sizes no credentials default response a status code equal to that given
func (*ListDigitaloceanSizesNoCredentialsDefault) IsRedirect ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) IsRedirect() bool
IsRedirect returns true when this list digitalocean sizes no credentials default response has a 3xx status code
func (*ListDigitaloceanSizesNoCredentialsDefault) IsServerError ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) IsServerError() bool
IsServerError returns true when this list digitalocean sizes no credentials default response has a 5xx status code
func (*ListDigitaloceanSizesNoCredentialsDefault) IsSuccess ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this list digitalocean sizes no credentials default response has a 2xx status code
func (*ListDigitaloceanSizesNoCredentialsDefault) String ¶
func (o *ListDigitaloceanSizesNoCredentialsDefault) String() string
type ListDigitaloceanSizesNoCredentialsOK ¶
type ListDigitaloceanSizesNoCredentialsOK struct {
Payload *models.DigitaloceanSizeList
}
ListDigitaloceanSizesNoCredentialsOK describes a response with status code 200, with default header values.
DigitaloceanSizeList
func NewListDigitaloceanSizesNoCredentialsOK ¶
func NewListDigitaloceanSizesNoCredentialsOK() *ListDigitaloceanSizesNoCredentialsOK
NewListDigitaloceanSizesNoCredentialsOK creates a ListDigitaloceanSizesNoCredentialsOK with default headers values
func (*ListDigitaloceanSizesNoCredentialsOK) Error ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) Error() string
func (*ListDigitaloceanSizesNoCredentialsOK) GetPayload ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) GetPayload() *models.DigitaloceanSizeList
func (*ListDigitaloceanSizesNoCredentialsOK) IsClientError ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) IsClientError() bool
IsClientError returns true when this list digitalocean sizes no credentials o k response has a 4xx status code
func (*ListDigitaloceanSizesNoCredentialsOK) IsCode ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) IsCode(code int) bool
IsCode returns true when this list digitalocean sizes no credentials o k response a status code equal to that given
func (*ListDigitaloceanSizesNoCredentialsOK) IsRedirect ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) IsRedirect() bool
IsRedirect returns true when this list digitalocean sizes no credentials o k response has a 3xx status code
func (*ListDigitaloceanSizesNoCredentialsOK) IsServerError ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) IsServerError() bool
IsServerError returns true when this list digitalocean sizes no credentials o k response has a 5xx status code
func (*ListDigitaloceanSizesNoCredentialsOK) IsSuccess ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) IsSuccess() bool
IsSuccess returns true when this list digitalocean sizes no credentials o k response has a 2xx status code
func (*ListDigitaloceanSizesNoCredentialsOK) String ¶
func (o *ListDigitaloceanSizesNoCredentialsOK) String() string
type ListDigitaloceanSizesNoCredentialsParams ¶
type ListDigitaloceanSizesNoCredentialsParams struct { // ClusterID. ClusterID string // Dc. DC string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDigitaloceanSizesNoCredentialsParams contains all the parameters to send to the API endpoint
for the list digitalocean sizes no credentials operation. Typically these are written to a http.Request.
func NewListDigitaloceanSizesNoCredentialsParams ¶
func NewListDigitaloceanSizesNoCredentialsParams() *ListDigitaloceanSizesNoCredentialsParams
NewListDigitaloceanSizesNoCredentialsParams creates a new ListDigitaloceanSizesNoCredentialsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListDigitaloceanSizesNoCredentialsParamsWithContext ¶
func NewListDigitaloceanSizesNoCredentialsParamsWithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsParams
NewListDigitaloceanSizesNoCredentialsParamsWithContext creates a new ListDigitaloceanSizesNoCredentialsParams object with the ability to set a context for a request.
func NewListDigitaloceanSizesNoCredentialsParamsWithHTTPClient ¶
func NewListDigitaloceanSizesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsParams
NewListDigitaloceanSizesNoCredentialsParamsWithHTTPClient creates a new ListDigitaloceanSizesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewListDigitaloceanSizesNoCredentialsParamsWithTimeout ¶
func NewListDigitaloceanSizesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsParams
NewListDigitaloceanSizesNoCredentialsParamsWithTimeout creates a new ListDigitaloceanSizesNoCredentialsParams object with the ability to set a timeout on a request.
func (*ListDigitaloceanSizesNoCredentialsParams) SetClusterID ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) SetContext ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) SetDC ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetDC(dc string)
SetDC adds the dc to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) SetDefaults ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list digitalocean sizes no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListDigitaloceanSizesNoCredentialsParams) SetHTTPClient ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) SetProjectID ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) SetTimeout ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WithClusterID ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithClusterID(clusterID string) *ListDigitaloceanSizesNoCredentialsParams
WithClusterID adds the clusterID to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WithContext ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsParams
WithContext adds the context to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WithDC ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithDC(dc string) *ListDigitaloceanSizesNoCredentialsParams
WithDC adds the dc to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WithDefaults ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithDefaults() *ListDigitaloceanSizesNoCredentialsParams
WithDefaults hydrates default values in the list digitalocean sizes no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListDigitaloceanSizesNoCredentialsParams) WithHTTPClient ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WithProjectID ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithProjectID(projectID string) *ListDigitaloceanSizesNoCredentialsParams
WithProjectID adds the projectID to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WithTimeout ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsParams
WithTimeout adds the timeout to the list digitalocean sizes no credentials params
func (*ListDigitaloceanSizesNoCredentialsParams) WriteToRequest ¶
func (o *ListDigitaloceanSizesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDigitaloceanSizesNoCredentialsReader ¶
type ListDigitaloceanSizesNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListDigitaloceanSizesNoCredentialsReader is a Reader for the ListDigitaloceanSizesNoCredentials structure.
func (*ListDigitaloceanSizesNoCredentialsReader) ReadResponse ¶
func (o *ListDigitaloceanSizesNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDigitaloceanSizesNoCredentialsV2Default ¶
type ListDigitaloceanSizesNoCredentialsV2Default struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDigitaloceanSizesNoCredentialsV2Default describes a response with status code -1, with default header values.
errorResponse
func NewListDigitaloceanSizesNoCredentialsV2Default ¶
func NewListDigitaloceanSizesNoCredentialsV2Default(code int) *ListDigitaloceanSizesNoCredentialsV2Default
NewListDigitaloceanSizesNoCredentialsV2Default creates a ListDigitaloceanSizesNoCredentialsV2Default with default headers values
func (*ListDigitaloceanSizesNoCredentialsV2Default) Code ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) Code() int
Code gets the status code for the list digitalocean sizes no credentials v2 default response
func (*ListDigitaloceanSizesNoCredentialsV2Default) Error ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) Error() string
func (*ListDigitaloceanSizesNoCredentialsV2Default) GetPayload ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) GetPayload() *models.ErrorResponse
func (*ListDigitaloceanSizesNoCredentialsV2Default) IsClientError ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsClientError() bool
IsClientError returns true when this list digitalocean sizes no credentials v2 default response has a 4xx status code
func (*ListDigitaloceanSizesNoCredentialsV2Default) IsCode ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsCode(code int) bool
IsCode returns true when this list digitalocean sizes no credentials v2 default response a status code equal to that given
func (*ListDigitaloceanSizesNoCredentialsV2Default) IsRedirect ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsRedirect() bool
IsRedirect returns true when this list digitalocean sizes no credentials v2 default response has a 3xx status code
func (*ListDigitaloceanSizesNoCredentialsV2Default) IsServerError ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsServerError() bool
IsServerError returns true when this list digitalocean sizes no credentials v2 default response has a 5xx status code
func (*ListDigitaloceanSizesNoCredentialsV2Default) IsSuccess ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) IsSuccess() bool
IsSuccess returns true when this list digitalocean sizes no credentials v2 default response has a 2xx status code
func (*ListDigitaloceanSizesNoCredentialsV2Default) String ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Default) String() string
type ListDigitaloceanSizesNoCredentialsV2OK ¶
type ListDigitaloceanSizesNoCredentialsV2OK struct {
Payload *models.DigitaloceanSizeList
}
ListDigitaloceanSizesNoCredentialsV2OK describes a response with status code 200, with default header values.
DigitaloceanSizeList
func NewListDigitaloceanSizesNoCredentialsV2OK ¶
func NewListDigitaloceanSizesNoCredentialsV2OK() *ListDigitaloceanSizesNoCredentialsV2OK
NewListDigitaloceanSizesNoCredentialsV2OK creates a ListDigitaloceanSizesNoCredentialsV2OK with default headers values
func (*ListDigitaloceanSizesNoCredentialsV2OK) Error ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) Error() string
func (*ListDigitaloceanSizesNoCredentialsV2OK) GetPayload ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) GetPayload() *models.DigitaloceanSizeList
func (*ListDigitaloceanSizesNoCredentialsV2OK) IsClientError ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsClientError() bool
IsClientError returns true when this list digitalocean sizes no credentials v2 o k response has a 4xx status code
func (*ListDigitaloceanSizesNoCredentialsV2OK) IsCode ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsCode(code int) bool
IsCode returns true when this list digitalocean sizes no credentials v2 o k response a status code equal to that given
func (*ListDigitaloceanSizesNoCredentialsV2OK) IsRedirect ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsRedirect() bool
IsRedirect returns true when this list digitalocean sizes no credentials v2 o k response has a 3xx status code
func (*ListDigitaloceanSizesNoCredentialsV2OK) IsServerError ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsServerError() bool
IsServerError returns true when this list digitalocean sizes no credentials v2 o k response has a 5xx status code
func (*ListDigitaloceanSizesNoCredentialsV2OK) IsSuccess ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) IsSuccess() bool
IsSuccess returns true when this list digitalocean sizes no credentials v2 o k response has a 2xx status code
func (*ListDigitaloceanSizesNoCredentialsV2OK) String ¶
func (o *ListDigitaloceanSizesNoCredentialsV2OK) String() string
type ListDigitaloceanSizesNoCredentialsV2Params ¶
type ListDigitaloceanSizesNoCredentialsV2Params struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDigitaloceanSizesNoCredentialsV2Params contains all the parameters to send to the API endpoint
for the list digitalocean sizes no credentials v2 operation. Typically these are written to a http.Request.
func NewListDigitaloceanSizesNoCredentialsV2Params ¶
func NewListDigitaloceanSizesNoCredentialsV2Params() *ListDigitaloceanSizesNoCredentialsV2Params
NewListDigitaloceanSizesNoCredentialsV2Params creates a new ListDigitaloceanSizesNoCredentialsV2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext ¶
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsV2Params
NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext creates a new ListDigitaloceanSizesNoCredentialsV2Params object with the ability to set a context for a request.
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithHTTPClient ¶
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsV2Params
NewListDigitaloceanSizesNoCredentialsV2ParamsWithHTTPClient creates a new ListDigitaloceanSizesNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithTimeout ¶
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsV2Params
NewListDigitaloceanSizesNoCredentialsV2ParamsWithTimeout creates a new ListDigitaloceanSizesNoCredentialsV2Params object with the ability to set a timeout on a request.
func (*ListDigitaloceanSizesNoCredentialsV2Params) SetClusterID ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) SetContext ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) SetDefaults ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetDefaults()
SetDefaults hydrates default values in the list digitalocean sizes no credentials v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListDigitaloceanSizesNoCredentialsV2Params) SetHTTPClient ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) SetProjectID ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetProjectID(projectID string)
SetProjectID adds the projectId to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) SetTimeout ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) WithClusterID ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithClusterID(clusterID string) *ListDigitaloceanSizesNoCredentialsV2Params
WithClusterID adds the clusterID to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) WithContext ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsV2Params
WithContext adds the context to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) WithDefaults ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithDefaults() *ListDigitaloceanSizesNoCredentialsV2Params
WithDefaults hydrates default values in the list digitalocean sizes no credentials v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListDigitaloceanSizesNoCredentialsV2Params) WithHTTPClient ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListDigitaloceanSizesNoCredentialsV2Params
WithHTTPClient adds the HTTPClient to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) WithProjectID ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithProjectID(projectID string) *ListDigitaloceanSizesNoCredentialsV2Params
WithProjectID adds the projectID to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) WithTimeout ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListDigitaloceanSizesNoCredentialsV2Params
WithTimeout adds the timeout to the list digitalocean sizes no credentials v2 params
func (*ListDigitaloceanSizesNoCredentialsV2Params) WriteToRequest ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDigitaloceanSizesNoCredentialsV2Reader ¶
type ListDigitaloceanSizesNoCredentialsV2Reader struct {
// contains filtered or unexported fields
}
ListDigitaloceanSizesNoCredentialsV2Reader is a Reader for the ListDigitaloceanSizesNoCredentialsV2 structure.
func (*ListDigitaloceanSizesNoCredentialsV2Reader) ReadResponse ¶
func (o *ListDigitaloceanSizesNoCredentialsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDigitaloceanSizesOK ¶
type ListDigitaloceanSizesOK struct {
Payload *models.DigitaloceanSizeList
}
ListDigitaloceanSizesOK describes a response with status code 200, with default header values.
DigitaloceanSizeList
func NewListDigitaloceanSizesOK ¶
func NewListDigitaloceanSizesOK() *ListDigitaloceanSizesOK
NewListDigitaloceanSizesOK creates a ListDigitaloceanSizesOK with default headers values
func (*ListDigitaloceanSizesOK) Error ¶
func (o *ListDigitaloceanSizesOK) Error() string
func (*ListDigitaloceanSizesOK) GetPayload ¶
func (o *ListDigitaloceanSizesOK) GetPayload() *models.DigitaloceanSizeList
func (*ListDigitaloceanSizesOK) IsClientError ¶
func (o *ListDigitaloceanSizesOK) IsClientError() bool
IsClientError returns true when this list digitalocean sizes o k response has a 4xx status code
func (*ListDigitaloceanSizesOK) IsCode ¶
func (o *ListDigitaloceanSizesOK) IsCode(code int) bool
IsCode returns true when this list digitalocean sizes o k response a status code equal to that given
func (*ListDigitaloceanSizesOK) IsRedirect ¶
func (o *ListDigitaloceanSizesOK) IsRedirect() bool
IsRedirect returns true when this list digitalocean sizes o k response has a 3xx status code
func (*ListDigitaloceanSizesOK) IsServerError ¶
func (o *ListDigitaloceanSizesOK) IsServerError() bool
IsServerError returns true when this list digitalocean sizes o k response has a 5xx status code
func (*ListDigitaloceanSizesOK) IsSuccess ¶
func (o *ListDigitaloceanSizesOK) IsSuccess() bool
IsSuccess returns true when this list digitalocean sizes o k response has a 2xx status code
func (*ListDigitaloceanSizesOK) String ¶
func (o *ListDigitaloceanSizesOK) String() string
type ListDigitaloceanSizesParams ¶
type ListDigitaloceanSizesParams struct { // Credential. Credential *string // DoToken. DoToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDigitaloceanSizesParams contains all the parameters to send to the API endpoint
for the list digitalocean sizes operation. Typically these are written to a http.Request.
func NewListDigitaloceanSizesParams ¶
func NewListDigitaloceanSizesParams() *ListDigitaloceanSizesParams
NewListDigitaloceanSizesParams creates a new ListDigitaloceanSizesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListDigitaloceanSizesParamsWithContext ¶
func NewListDigitaloceanSizesParamsWithContext(ctx context.Context) *ListDigitaloceanSizesParams
NewListDigitaloceanSizesParamsWithContext creates a new ListDigitaloceanSizesParams object with the ability to set a context for a request.
func NewListDigitaloceanSizesParamsWithHTTPClient ¶
func NewListDigitaloceanSizesParamsWithHTTPClient(client *http.Client) *ListDigitaloceanSizesParams
NewListDigitaloceanSizesParamsWithHTTPClient creates a new ListDigitaloceanSizesParams object with the ability to set a custom HTTPClient for a request.
func NewListDigitaloceanSizesParamsWithTimeout ¶
func NewListDigitaloceanSizesParamsWithTimeout(timeout time.Duration) *ListDigitaloceanSizesParams
NewListDigitaloceanSizesParamsWithTimeout creates a new ListDigitaloceanSizesParams object with the ability to set a timeout on a request.
func (*ListDigitaloceanSizesParams) SetContext ¶
func (o *ListDigitaloceanSizesParams) SetContext(ctx context.Context)
SetContext adds the context to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) SetCredential ¶
func (o *ListDigitaloceanSizesParams) SetCredential(credential *string)
SetCredential adds the credential to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) SetDefaults ¶
func (o *ListDigitaloceanSizesParams) SetDefaults()
SetDefaults hydrates default values in the list digitalocean sizes params (not the query body).
All values with no default are reset to their zero value.
func (*ListDigitaloceanSizesParams) SetDoToken ¶
func (o *ListDigitaloceanSizesParams) SetDoToken(doToken *string)
SetDoToken adds the doToken to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) SetHTTPClient ¶
func (o *ListDigitaloceanSizesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) SetTimeout ¶
func (o *ListDigitaloceanSizesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) WithContext ¶
func (o *ListDigitaloceanSizesParams) WithContext(ctx context.Context) *ListDigitaloceanSizesParams
WithContext adds the context to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) WithCredential ¶
func (o *ListDigitaloceanSizesParams) WithCredential(credential *string) *ListDigitaloceanSizesParams
WithCredential adds the credential to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) WithDefaults ¶
func (o *ListDigitaloceanSizesParams) WithDefaults() *ListDigitaloceanSizesParams
WithDefaults hydrates default values in the list digitalocean sizes params (not the query body).
All values with no default are reset to their zero value.
func (*ListDigitaloceanSizesParams) WithDoToken ¶
func (o *ListDigitaloceanSizesParams) WithDoToken(doToken *string) *ListDigitaloceanSizesParams
WithDoToken adds the doToken to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) WithHTTPClient ¶
func (o *ListDigitaloceanSizesParams) WithHTTPClient(client *http.Client) *ListDigitaloceanSizesParams
WithHTTPClient adds the HTTPClient to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) WithTimeout ¶
func (o *ListDigitaloceanSizesParams) WithTimeout(timeout time.Duration) *ListDigitaloceanSizesParams
WithTimeout adds the timeout to the list digitalocean sizes params
func (*ListDigitaloceanSizesParams) WriteToRequest ¶
func (o *ListDigitaloceanSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDigitaloceanSizesReader ¶
type ListDigitaloceanSizesReader struct {
// contains filtered or unexported fields
}
ListDigitaloceanSizesReader is a Reader for the ListDigitaloceanSizes structure.
func (*ListDigitaloceanSizesReader) ReadResponse ¶
func (o *ListDigitaloceanSizesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- digitalocean_client.go
- list_digitalocean_sizes_no_credentials_parameters.go
- list_digitalocean_sizes_no_credentials_responses.go
- list_digitalocean_sizes_no_credentials_v2_parameters.go
- list_digitalocean_sizes_no_credentials_v2_responses.go
- list_digitalocean_sizes_parameters.go
- list_digitalocean_sizes_responses.go