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 ClientService
- type ListDigitaloceanSizesDefault
- type ListDigitaloceanSizesNoCredentialsDefault
- type ListDigitaloceanSizesNoCredentialsOK
- 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) 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) 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
- type ListDigitaloceanSizesNoCredentialsV2OK
- 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) 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) 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
- 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) 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) 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) (*ListDigitaloceanSizesOK, error)
ListDigitaloceanSizes Lists sizes from digitalocean
func (*Client) ListDigitaloceanSizesNoCredentials ¶
func (a *Client) ListDigitaloceanSizesNoCredentials(params *ListDigitaloceanSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListDigitaloceanSizesNoCredentialsOK, error)
ListDigitaloceanSizesNoCredentials Lists sizes from digitalocean
func (*Client) ListDigitaloceanSizesNoCredentialsV2 ¶
func (a *Client) ListDigitaloceanSizesNoCredentialsV2(params *ListDigitaloceanSizesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter) (*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 ClientService ¶
type ClientService interface { ListDigitaloceanSizes(params *ListDigitaloceanSizesParams, authInfo runtime.ClientAuthInfoWriter) (*ListDigitaloceanSizesOK, error) ListDigitaloceanSizesNoCredentials(params *ListDigitaloceanSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListDigitaloceanSizesNoCredentialsOK, error) ListDigitaloceanSizesNoCredentialsV2(params *ListDigitaloceanSizesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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
type ListDigitaloceanSizesNoCredentialsDefault ¶
type ListDigitaloceanSizesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListDigitaloceanSizesNoCredentialsDefault handles this case 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
type ListDigitaloceanSizesNoCredentialsOK ¶
type ListDigitaloceanSizesNoCredentialsOK struct {
Payload *models.DigitaloceanSizeList
}
ListDigitaloceanSizesNoCredentialsOK handles this case 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
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 values initialized.
func NewListDigitaloceanSizesNoCredentialsParamsWithContext ¶
func NewListDigitaloceanSizesNoCredentialsParamsWithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsParams
NewListDigitaloceanSizesNoCredentialsParamsWithContext creates a new ListDigitaloceanSizesNoCredentialsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type ListDigitaloceanSizesNoCredentialsV2OK ¶
type ListDigitaloceanSizesNoCredentialsV2OK struct {
Payload *models.DigitaloceanSizeList
}
ListDigitaloceanSizesNoCredentialsV2OK handles this case 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
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 values initialized.
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext ¶
func NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListDigitaloceanSizesNoCredentialsV2Params
NewListDigitaloceanSizesNoCredentialsV2ParamsWithContext creates a new ListDigitaloceanSizesNoCredentialsV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
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 values initialized.
func NewListDigitaloceanSizesParamsWithContext ¶
func NewListDigitaloceanSizesParamsWithContext(ctx context.Context) *ListDigitaloceanSizesParams
NewListDigitaloceanSizesParamsWithContext creates a new ListDigitaloceanSizesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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