Documentation ¶
Index ¶
- type Client
- func (a *Client) ConnectCluster(params *ConnectClusterParams, opts ...ClientOption) (*ConnectClusterOK, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)
- func (a *Client) GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)
- func (a *Client) GetClustersConnection(params *GetClustersConnectionParams, opts ...ClientOption) (*GetClustersConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)
- func (a *Client) UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, error)
- type ClientOption
- type ClientService
- type ConnectClusterBadRequest
- type ConnectClusterInternalServerError
- type ConnectClusterNotFound
- type ConnectClusterOK
- type ConnectClusterParams
- func NewConnectClusterParams() *ConnectClusterParams
- func NewConnectClusterParamsWithContext(ctx context.Context) *ConnectClusterParams
- func NewConnectClusterParamsWithHTTPClient(client *http.Client) *ConnectClusterParams
- func NewConnectClusterParamsWithTimeout(timeout time.Duration) *ConnectClusterParams
- func (o *ConnectClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *ConnectClusterParams) SetContext(ctx context.Context)
- func (o *ConnectClusterParams) SetDefaults()
- func (o *ConnectClusterParams) SetHTTPClient(client *http.Client)
- func (o *ConnectClusterParams) SetRequestBody(requestBody []*models.ClusterCreationParams)
- func (o *ConnectClusterParams) SetTimeout(timeout time.Duration)
- func (o *ConnectClusterParams) WithContentLanguage(contentLanguage *string) *ConnectClusterParams
- func (o *ConnectClusterParams) WithContext(ctx context.Context) *ConnectClusterParams
- func (o *ConnectClusterParams) WithDefaults() *ConnectClusterParams
- func (o *ConnectClusterParams) WithHTTPClient(client *http.Client) *ConnectClusterParams
- func (o *ConnectClusterParams) WithRequestBody(requestBody []*models.ClusterCreationParams) *ConnectClusterParams
- func (o *ConnectClusterParams) WithTimeout(timeout time.Duration) *ConnectClusterParams
- func (o *ConnectClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConnectClusterReader
- type DeleteClusterBadRequest
- type DeleteClusterInternalServerError
- type DeleteClusterNotFound
- type DeleteClusterOK
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetDefaults()
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetRequestBody(requestBody *models.ClusterDeletionParams)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithContentLanguage(contentLanguage *string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithRequestBody(requestBody *models.ClusterDeletionParams) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type GetClustersBadRequest
- type GetClustersConnectionBadRequest
- type GetClustersConnectionInternalServerError
- type GetClustersConnectionNotFound
- type GetClustersConnectionOK
- type GetClustersConnectionParams
- func NewGetClustersConnectionParams() *GetClustersConnectionParams
- func NewGetClustersConnectionParamsWithContext(ctx context.Context) *GetClustersConnectionParams
- func NewGetClustersConnectionParamsWithHTTPClient(client *http.Client) *GetClustersConnectionParams
- func NewGetClustersConnectionParamsWithTimeout(timeout time.Duration) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClustersConnectionParams) SetContext(ctx context.Context)
- func (o *GetClustersConnectionParams) SetDefaults()
- func (o *GetClustersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetClustersConnectionParams) SetRequestBody(requestBody *models.GetClustersConnectionRequestBody)
- func (o *GetClustersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithContext(ctx context.Context) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithDefaults() *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithHTTPClient(client *http.Client) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithRequestBody(requestBody *models.GetClustersConnectionRequestBody) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithTimeout(timeout time.Duration) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClustersConnectionReader
- type GetClustersInternalServerError
- type GetClustersNotFound
- type GetClustersOK
- type GetClustersParams
- func (o *GetClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClustersParams) SetContext(ctx context.Context)
- func (o *GetClustersParams) SetDefaults()
- func (o *GetClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetClustersParams) SetRequestBody(requestBody *models.GetClustersRequestBody)
- func (o *GetClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetClustersParams) WithContentLanguage(contentLanguage *string) *GetClustersParams
- func (o *GetClustersParams) WithContext(ctx context.Context) *GetClustersParams
- func (o *GetClustersParams) WithDefaults() *GetClustersParams
- func (o *GetClustersParams) WithHTTPClient(client *http.Client) *GetClustersParams
- func (o *GetClustersParams) WithRequestBody(requestBody *models.GetClustersRequestBody) *GetClustersParams
- func (o *GetClustersParams) WithTimeout(timeout time.Duration) *GetClustersParams
- func (o *GetClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClustersReader
- type UpdateClusterBadRequest
- type UpdateClusterInternalServerError
- type UpdateClusterLicenseBadRequest
- type UpdateClusterLicenseInternalServerError
- type UpdateClusterLicenseNotFound
- type UpdateClusterLicenseOK
- type UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParams() *UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParamsWithContext(ctx context.Context) *UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParamsWithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParamsWithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterLicenseParams) SetContext(ctx context.Context)
- func (o *UpdateClusterLicenseParams) SetDefaults()
- func (o *UpdateClusterLicenseParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterLicenseParams) SetRequestBody(requestBody *models.ClusterLicenseUpdationParams)
- func (o *UpdateClusterLicenseParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterLicenseParams) WithContentLanguage(contentLanguage *string) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithContext(ctx context.Context) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithDefaults() *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithRequestBody(requestBody *models.ClusterLicenseUpdationParams) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterLicenseReader
- type UpdateClusterNotFound
- type UpdateClusterOK
- type UpdateClusterParams
- func (o *UpdateClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterParams) SetContext(ctx context.Context)
- func (o *UpdateClusterParams) SetDefaults()
- func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterParams) SetRequestBody(requestBody *models.ClusterUpdationParams)
- func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterParams) WithContentLanguage(contentLanguage *string) *UpdateClusterParams
- func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
- func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
- func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
- func (o *UpdateClusterParams) WithRequestBody(requestBody *models.ClusterUpdationParams) *UpdateClusterParams
- func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
- func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterReader
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 cluster API
func (*Client) ConnectCluster ¶
func (a *Client) ConnectCluster(params *ConnectClusterParams, opts ...ClientOption) (*ConnectClusterOK, error)
ConnectCluster connect cluster API
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)
DeleteCluster delete cluster API
func (*Client) GetClusters ¶
func (a *Client) GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)
GetClusters get clusters API
func (*Client) GetClustersConnection ¶
func (a *Client) GetClustersConnection(params *GetClustersConnectionParams, opts ...ClientOption) (*GetClustersConnectionOK, error)
GetClustersConnection get clusters connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCluster ¶
func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)
UpdateCluster update cluster API
func (*Client) UpdateClusterLicense ¶
func (a *Client) UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, error)
UpdateClusterLicense update cluster license API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ConnectCluster(params *ConnectClusterParams, opts ...ClientOption) (*ConnectClusterOK, error) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error) GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error) GetClustersConnection(params *GetClustersConnectionParams, opts ...ClientOption) (*GetClustersConnectionOK, error) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error) UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, 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 cluster API client.
type ConnectClusterBadRequest ¶
ConnectClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewConnectClusterBadRequest ¶
func NewConnectClusterBadRequest() *ConnectClusterBadRequest
NewConnectClusterBadRequest creates a ConnectClusterBadRequest with default headers values
func (*ConnectClusterBadRequest) Error ¶
func (o *ConnectClusterBadRequest) Error() string
func (*ConnectClusterBadRequest) GetPayload ¶
func (o *ConnectClusterBadRequest) GetPayload() *models.ErrorBody
type ConnectClusterInternalServerError ¶
ConnectClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewConnectClusterInternalServerError ¶
func NewConnectClusterInternalServerError() *ConnectClusterInternalServerError
NewConnectClusterInternalServerError creates a ConnectClusterInternalServerError with default headers values
func (*ConnectClusterInternalServerError) Error ¶
func (o *ConnectClusterInternalServerError) Error() string
func (*ConnectClusterInternalServerError) GetPayload ¶
func (o *ConnectClusterInternalServerError) GetPayload() *models.ErrorBody
type ConnectClusterNotFound ¶
ConnectClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewConnectClusterNotFound ¶
func NewConnectClusterNotFound() *ConnectClusterNotFound
NewConnectClusterNotFound creates a ConnectClusterNotFound with default headers values
func (*ConnectClusterNotFound) Error ¶
func (o *ConnectClusterNotFound) Error() string
func (*ConnectClusterNotFound) GetPayload ¶
func (o *ConnectClusterNotFound) GetPayload() *models.ErrorBody
type ConnectClusterOK ¶
type ConnectClusterOK struct {
Payload []*models.WithTaskCluster
}
ConnectClusterOK describes a response with status code 200, with default header values.
Ok
func NewConnectClusterOK ¶
func NewConnectClusterOK() *ConnectClusterOK
NewConnectClusterOK creates a ConnectClusterOK with default headers values
func (*ConnectClusterOK) Error ¶
func (o *ConnectClusterOK) Error() string
func (*ConnectClusterOK) GetPayload ¶
func (o *ConnectClusterOK) GetPayload() []*models.WithTaskCluster
type ConnectClusterParams ¶
type ConnectClusterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ClusterCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConnectClusterParams contains all the parameters to send to the API endpoint
for the connect cluster operation. Typically these are written to a http.Request.
func NewConnectClusterParams ¶
func NewConnectClusterParams() *ConnectClusterParams
NewConnectClusterParams creates a new ConnectClusterParams 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 NewConnectClusterParamsWithContext ¶
func NewConnectClusterParamsWithContext(ctx context.Context) *ConnectClusterParams
NewConnectClusterParamsWithContext creates a new ConnectClusterParams object with the ability to set a context for a request.
func NewConnectClusterParamsWithHTTPClient ¶
func NewConnectClusterParamsWithHTTPClient(client *http.Client) *ConnectClusterParams
NewConnectClusterParamsWithHTTPClient creates a new ConnectClusterParams object with the ability to set a custom HTTPClient for a request.
func NewConnectClusterParamsWithTimeout ¶
func NewConnectClusterParamsWithTimeout(timeout time.Duration) *ConnectClusterParams
NewConnectClusterParamsWithTimeout creates a new ConnectClusterParams object with the ability to set a timeout on a request.
func (*ConnectClusterParams) SetContentLanguage ¶
func (o *ConnectClusterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the connect cluster params
func (*ConnectClusterParams) SetContext ¶
func (o *ConnectClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the connect cluster params
func (*ConnectClusterParams) SetDefaults ¶
func (o *ConnectClusterParams) SetDefaults()
SetDefaults hydrates default values in the connect cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ConnectClusterParams) SetHTTPClient ¶
func (o *ConnectClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the connect cluster params
func (*ConnectClusterParams) SetRequestBody ¶
func (o *ConnectClusterParams) SetRequestBody(requestBody []*models.ClusterCreationParams)
SetRequestBody adds the requestBody to the connect cluster params
func (*ConnectClusterParams) SetTimeout ¶
func (o *ConnectClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the connect cluster params
func (*ConnectClusterParams) WithContentLanguage ¶
func (o *ConnectClusterParams) WithContentLanguage(contentLanguage *string) *ConnectClusterParams
WithContentLanguage adds the contentLanguage to the connect cluster params
func (*ConnectClusterParams) WithContext ¶
func (o *ConnectClusterParams) WithContext(ctx context.Context) *ConnectClusterParams
WithContext adds the context to the connect cluster params
func (*ConnectClusterParams) WithDefaults ¶
func (o *ConnectClusterParams) WithDefaults() *ConnectClusterParams
WithDefaults hydrates default values in the connect cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ConnectClusterParams) WithHTTPClient ¶
func (o *ConnectClusterParams) WithHTTPClient(client *http.Client) *ConnectClusterParams
WithHTTPClient adds the HTTPClient to the connect cluster params
func (*ConnectClusterParams) WithRequestBody ¶
func (o *ConnectClusterParams) WithRequestBody(requestBody []*models.ClusterCreationParams) *ConnectClusterParams
WithRequestBody adds the requestBody to the connect cluster params
func (*ConnectClusterParams) WithTimeout ¶
func (o *ConnectClusterParams) WithTimeout(timeout time.Duration) *ConnectClusterParams
WithTimeout adds the timeout to the connect cluster params
func (*ConnectClusterParams) WriteToRequest ¶
func (o *ConnectClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConnectClusterReader ¶
type ConnectClusterReader struct {
// contains filtered or unexported fields
}
ConnectClusterReader is a Reader for the ConnectCluster structure.
func (*ConnectClusterReader) ReadResponse ¶
func (o *ConnectClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterBadRequest ¶
DeleteClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteClusterBadRequest ¶
func NewDeleteClusterBadRequest() *DeleteClusterBadRequest
NewDeleteClusterBadRequest creates a DeleteClusterBadRequest with default headers values
func (*DeleteClusterBadRequest) Error ¶
func (o *DeleteClusterBadRequest) Error() string
func (*DeleteClusterBadRequest) GetPayload ¶
func (o *DeleteClusterBadRequest) GetPayload() *models.ErrorBody
type DeleteClusterInternalServerError ¶
DeleteClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteClusterInternalServerError ¶
func NewDeleteClusterInternalServerError() *DeleteClusterInternalServerError
NewDeleteClusterInternalServerError creates a DeleteClusterInternalServerError with default headers values
func (*DeleteClusterInternalServerError) Error ¶
func (o *DeleteClusterInternalServerError) Error() string
func (*DeleteClusterInternalServerError) GetPayload ¶
func (o *DeleteClusterInternalServerError) GetPayload() *models.ErrorBody
type DeleteClusterNotFound ¶
DeleteClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteClusterNotFound ¶
func NewDeleteClusterNotFound() *DeleteClusterNotFound
NewDeleteClusterNotFound creates a DeleteClusterNotFound with default headers values
func (*DeleteClusterNotFound) Error ¶
func (o *DeleteClusterNotFound) Error() string
func (*DeleteClusterNotFound) GetPayload ¶
func (o *DeleteClusterNotFound) GetPayload() *models.ErrorBody
type DeleteClusterOK ¶
type DeleteClusterOK struct {
Payload []*models.WithTaskDeleteCluster
}
DeleteClusterOK describes a response with status code 200, with default header values.
Ok
func NewDeleteClusterOK ¶
func NewDeleteClusterOK() *DeleteClusterOK
NewDeleteClusterOK creates a DeleteClusterOK with default headers values
func (*DeleteClusterOK) Error ¶
func (o *DeleteClusterOK) Error() string
func (*DeleteClusterOK) GetPayload ¶
func (o *DeleteClusterOK) GetPayload() []*models.WithTaskDeleteCluster
type DeleteClusterParams ¶
type DeleteClusterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ClusterDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterParams contains all the parameters to send to the API endpoint
for the delete cluster operation. Typically these are written to a http.Request.
func NewDeleteClusterParams ¶
func NewDeleteClusterParams() *DeleteClusterParams
NewDeleteClusterParams creates a new DeleteClusterParams 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 NewDeleteClusterParamsWithContext ¶
func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams
NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.
func NewDeleteClusterParamsWithHTTPClient ¶
func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams
NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterParamsWithTimeout ¶
func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams
NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.
func (*DeleteClusterParams) SetContentLanguage ¶
func (o *DeleteClusterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete cluster params
func (*DeleteClusterParams) SetContext ¶
func (o *DeleteClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster params
func (*DeleteClusterParams) SetDefaults ¶
func (o *DeleteClusterParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) SetHTTPClient ¶
func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) SetRequestBody ¶
func (o *DeleteClusterParams) SetRequestBody(requestBody *models.ClusterDeletionParams)
SetRequestBody adds the requestBody to the delete cluster params
func (*DeleteClusterParams) SetTimeout ¶
func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WithContentLanguage ¶
func (o *DeleteClusterParams) WithContentLanguage(contentLanguage *string) *DeleteClusterParams
WithContentLanguage adds the contentLanguage to the delete cluster params
func (*DeleteClusterParams) WithContext ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
WithContext adds the context to the delete cluster params
func (*DeleteClusterParams) WithDefaults ¶
func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
WithDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) WithHTTPClient ¶
func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
WithHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) WithRequestBody ¶
func (o *DeleteClusterParams) WithRequestBody(requestBody *models.ClusterDeletionParams) *DeleteClusterParams
WithRequestBody adds the requestBody to the delete cluster params
func (*DeleteClusterParams) WithTimeout ¶
func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
WithTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WriteToRequest ¶
func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterReader ¶
type DeleteClusterReader struct {
// contains filtered or unexported fields
}
DeleteClusterReader is a Reader for the DeleteCluster structure.
func (*DeleteClusterReader) ReadResponse ¶
func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClustersBadRequest ¶
GetClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClustersBadRequest ¶
func NewGetClustersBadRequest() *GetClustersBadRequest
NewGetClustersBadRequest creates a GetClustersBadRequest with default headers values
func (*GetClustersBadRequest) Error ¶
func (o *GetClustersBadRequest) Error() string
func (*GetClustersBadRequest) GetPayload ¶
func (o *GetClustersBadRequest) GetPayload() *models.ErrorBody
type GetClustersConnectionBadRequest ¶
GetClustersConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClustersConnectionBadRequest ¶
func NewGetClustersConnectionBadRequest() *GetClustersConnectionBadRequest
NewGetClustersConnectionBadRequest creates a GetClustersConnectionBadRequest with default headers values
func (*GetClustersConnectionBadRequest) Error ¶
func (o *GetClustersConnectionBadRequest) Error() string
func (*GetClustersConnectionBadRequest) GetPayload ¶
func (o *GetClustersConnectionBadRequest) GetPayload() *models.ErrorBody
type GetClustersConnectionInternalServerError ¶
GetClustersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClustersConnectionInternalServerError ¶
func NewGetClustersConnectionInternalServerError() *GetClustersConnectionInternalServerError
NewGetClustersConnectionInternalServerError creates a GetClustersConnectionInternalServerError with default headers values
func (*GetClustersConnectionInternalServerError) Error ¶
func (o *GetClustersConnectionInternalServerError) Error() string
func (*GetClustersConnectionInternalServerError) GetPayload ¶
func (o *GetClustersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetClustersConnectionNotFound ¶
GetClustersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClustersConnectionNotFound ¶
func NewGetClustersConnectionNotFound() *GetClustersConnectionNotFound
NewGetClustersConnectionNotFound creates a GetClustersConnectionNotFound with default headers values
func (*GetClustersConnectionNotFound) Error ¶
func (o *GetClustersConnectionNotFound) Error() string
func (*GetClustersConnectionNotFound) GetPayload ¶
func (o *GetClustersConnectionNotFound) GetPayload() *models.ErrorBody
type GetClustersConnectionOK ¶
type GetClustersConnectionOK struct {
Payload *models.ClusterConnection
}
GetClustersConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetClustersConnectionOK ¶
func NewGetClustersConnectionOK() *GetClustersConnectionOK
NewGetClustersConnectionOK creates a GetClustersConnectionOK with default headers values
func (*GetClustersConnectionOK) Error ¶
func (o *GetClustersConnectionOK) Error() string
func (*GetClustersConnectionOK) GetPayload ¶
func (o *GetClustersConnectionOK) GetPayload() *models.ClusterConnection
type GetClustersConnectionParams ¶
type GetClustersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClustersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClustersConnectionParams contains all the parameters to send to the API endpoint
for the get clusters connection operation. Typically these are written to a http.Request.
func NewGetClustersConnectionParams ¶
func NewGetClustersConnectionParams() *GetClustersConnectionParams
NewGetClustersConnectionParams creates a new GetClustersConnectionParams 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 NewGetClustersConnectionParamsWithContext ¶
func NewGetClustersConnectionParamsWithContext(ctx context.Context) *GetClustersConnectionParams
NewGetClustersConnectionParamsWithContext creates a new GetClustersConnectionParams object with the ability to set a context for a request.
func NewGetClustersConnectionParamsWithHTTPClient ¶
func NewGetClustersConnectionParamsWithHTTPClient(client *http.Client) *GetClustersConnectionParams
NewGetClustersConnectionParamsWithHTTPClient creates a new GetClustersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetClustersConnectionParamsWithTimeout ¶
func NewGetClustersConnectionParamsWithTimeout(timeout time.Duration) *GetClustersConnectionParams
NewGetClustersConnectionParamsWithTimeout creates a new GetClustersConnectionParams object with the ability to set a timeout on a request.
func (*GetClustersConnectionParams) SetContentLanguage ¶
func (o *GetClustersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get clusters connection params
func (*GetClustersConnectionParams) SetContext ¶
func (o *GetClustersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get clusters connection params
func (*GetClustersConnectionParams) SetDefaults ¶
func (o *GetClustersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get clusters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClustersConnectionParams) SetHTTPClient ¶
func (o *GetClustersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get clusters connection params
func (*GetClustersConnectionParams) SetRequestBody ¶
func (o *GetClustersConnectionParams) SetRequestBody(requestBody *models.GetClustersConnectionRequestBody)
SetRequestBody adds the requestBody to the get clusters connection params
func (*GetClustersConnectionParams) SetTimeout ¶
func (o *GetClustersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get clusters connection params
func (*GetClustersConnectionParams) WithContentLanguage ¶
func (o *GetClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetClustersConnectionParams
WithContentLanguage adds the contentLanguage to the get clusters connection params
func (*GetClustersConnectionParams) WithContext ¶
func (o *GetClustersConnectionParams) WithContext(ctx context.Context) *GetClustersConnectionParams
WithContext adds the context to the get clusters connection params
func (*GetClustersConnectionParams) WithDefaults ¶
func (o *GetClustersConnectionParams) WithDefaults() *GetClustersConnectionParams
WithDefaults hydrates default values in the get clusters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClustersConnectionParams) WithHTTPClient ¶
func (o *GetClustersConnectionParams) WithHTTPClient(client *http.Client) *GetClustersConnectionParams
WithHTTPClient adds the HTTPClient to the get clusters connection params
func (*GetClustersConnectionParams) WithRequestBody ¶
func (o *GetClustersConnectionParams) WithRequestBody(requestBody *models.GetClustersConnectionRequestBody) *GetClustersConnectionParams
WithRequestBody adds the requestBody to the get clusters connection params
func (*GetClustersConnectionParams) WithTimeout ¶
func (o *GetClustersConnectionParams) WithTimeout(timeout time.Duration) *GetClustersConnectionParams
WithTimeout adds the timeout to the get clusters connection params
func (*GetClustersConnectionParams) WriteToRequest ¶
func (o *GetClustersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClustersConnectionReader ¶
type GetClustersConnectionReader struct {
// contains filtered or unexported fields
}
GetClustersConnectionReader is a Reader for the GetClustersConnection structure.
func (*GetClustersConnectionReader) ReadResponse ¶
func (o *GetClustersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClustersInternalServerError ¶
GetClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClustersInternalServerError ¶
func NewGetClustersInternalServerError() *GetClustersInternalServerError
NewGetClustersInternalServerError creates a GetClustersInternalServerError with default headers values
func (*GetClustersInternalServerError) Error ¶
func (o *GetClustersInternalServerError) Error() string
func (*GetClustersInternalServerError) GetPayload ¶
func (o *GetClustersInternalServerError) GetPayload() *models.ErrorBody
type GetClustersNotFound ¶
GetClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClustersNotFound ¶
func NewGetClustersNotFound() *GetClustersNotFound
NewGetClustersNotFound creates a GetClustersNotFound with default headers values
func (*GetClustersNotFound) Error ¶
func (o *GetClustersNotFound) Error() string
func (*GetClustersNotFound) GetPayload ¶
func (o *GetClustersNotFound) GetPayload() *models.ErrorBody
type GetClustersOK ¶
GetClustersOK describes a response with status code 200, with default header values.
Ok
func NewGetClustersOK ¶
func NewGetClustersOK() *GetClustersOK
NewGetClustersOK creates a GetClustersOK with default headers values
func (*GetClustersOK) Error ¶
func (o *GetClustersOK) Error() string
func (*GetClustersOK) GetPayload ¶
func (o *GetClustersOK) GetPayload() []*models.Cluster
type GetClustersParams ¶
type GetClustersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClustersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClustersParams contains all the parameters to send to the API endpoint
for the get clusters operation. Typically these are written to a http.Request.
func NewGetClustersParams ¶
func NewGetClustersParams() *GetClustersParams
NewGetClustersParams creates a new GetClustersParams 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 NewGetClustersParamsWithContext ¶
func NewGetClustersParamsWithContext(ctx context.Context) *GetClustersParams
NewGetClustersParamsWithContext creates a new GetClustersParams object with the ability to set a context for a request.
func NewGetClustersParamsWithHTTPClient ¶
func NewGetClustersParamsWithHTTPClient(client *http.Client) *GetClustersParams
NewGetClustersParamsWithHTTPClient creates a new GetClustersParams object with the ability to set a custom HTTPClient for a request.
func NewGetClustersParamsWithTimeout ¶
func NewGetClustersParamsWithTimeout(timeout time.Duration) *GetClustersParams
NewGetClustersParamsWithTimeout creates a new GetClustersParams object with the ability to set a timeout on a request.
func (*GetClustersParams) SetContentLanguage ¶
func (o *GetClustersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get clusters params
func (*GetClustersParams) SetContext ¶
func (o *GetClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the get clusters params
func (*GetClustersParams) SetDefaults ¶
func (o *GetClustersParams) SetDefaults()
SetDefaults hydrates default values in the get clusters params (not the query body).
All values with no default are reset to their zero value.
func (*GetClustersParams) SetHTTPClient ¶
func (o *GetClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get clusters params
func (*GetClustersParams) SetRequestBody ¶
func (o *GetClustersParams) SetRequestBody(requestBody *models.GetClustersRequestBody)
SetRequestBody adds the requestBody to the get clusters params
func (*GetClustersParams) SetTimeout ¶
func (o *GetClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get clusters params
func (*GetClustersParams) WithContentLanguage ¶
func (o *GetClustersParams) WithContentLanguage(contentLanguage *string) *GetClustersParams
WithContentLanguage adds the contentLanguage to the get clusters params
func (*GetClustersParams) WithContext ¶
func (o *GetClustersParams) WithContext(ctx context.Context) *GetClustersParams
WithContext adds the context to the get clusters params
func (*GetClustersParams) WithDefaults ¶
func (o *GetClustersParams) WithDefaults() *GetClustersParams
WithDefaults hydrates default values in the get clusters params (not the query body).
All values with no default are reset to their zero value.
func (*GetClustersParams) WithHTTPClient ¶
func (o *GetClustersParams) WithHTTPClient(client *http.Client) *GetClustersParams
WithHTTPClient adds the HTTPClient to the get clusters params
func (*GetClustersParams) WithRequestBody ¶
func (o *GetClustersParams) WithRequestBody(requestBody *models.GetClustersRequestBody) *GetClustersParams
WithRequestBody adds the requestBody to the get clusters params
func (*GetClustersParams) WithTimeout ¶
func (o *GetClustersParams) WithTimeout(timeout time.Duration) *GetClustersParams
WithTimeout adds the timeout to the get clusters params
func (*GetClustersParams) WriteToRequest ¶
func (o *GetClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClustersReader ¶
type GetClustersReader struct {
// contains filtered or unexported fields
}
GetClustersReader is a Reader for the GetClusters structure.
func (*GetClustersReader) ReadResponse ¶
func (o *GetClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterBadRequest ¶
UpdateClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateClusterBadRequest ¶
func NewUpdateClusterBadRequest() *UpdateClusterBadRequest
NewUpdateClusterBadRequest creates a UpdateClusterBadRequest with default headers values
func (*UpdateClusterBadRequest) Error ¶
func (o *UpdateClusterBadRequest) Error() string
func (*UpdateClusterBadRequest) GetPayload ¶
func (o *UpdateClusterBadRequest) GetPayload() *models.ErrorBody
type UpdateClusterInternalServerError ¶
UpdateClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateClusterInternalServerError ¶
func NewUpdateClusterInternalServerError() *UpdateClusterInternalServerError
NewUpdateClusterInternalServerError creates a UpdateClusterInternalServerError with default headers values
func (*UpdateClusterInternalServerError) Error ¶
func (o *UpdateClusterInternalServerError) Error() string
func (*UpdateClusterInternalServerError) GetPayload ¶
func (o *UpdateClusterInternalServerError) GetPayload() *models.ErrorBody
type UpdateClusterLicenseBadRequest ¶
UpdateClusterLicenseBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateClusterLicenseBadRequest ¶
func NewUpdateClusterLicenseBadRequest() *UpdateClusterLicenseBadRequest
NewUpdateClusterLicenseBadRequest creates a UpdateClusterLicenseBadRequest with default headers values
func (*UpdateClusterLicenseBadRequest) Error ¶
func (o *UpdateClusterLicenseBadRequest) Error() string
func (*UpdateClusterLicenseBadRequest) GetPayload ¶
func (o *UpdateClusterLicenseBadRequest) GetPayload() *models.ErrorBody
type UpdateClusterLicenseInternalServerError ¶
UpdateClusterLicenseInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateClusterLicenseInternalServerError ¶
func NewUpdateClusterLicenseInternalServerError() *UpdateClusterLicenseInternalServerError
NewUpdateClusterLicenseInternalServerError creates a UpdateClusterLicenseInternalServerError with default headers values
func (*UpdateClusterLicenseInternalServerError) Error ¶
func (o *UpdateClusterLicenseInternalServerError) Error() string
func (*UpdateClusterLicenseInternalServerError) GetPayload ¶
func (o *UpdateClusterLicenseInternalServerError) GetPayload() *models.ErrorBody
type UpdateClusterLicenseNotFound ¶
UpdateClusterLicenseNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateClusterLicenseNotFound ¶
func NewUpdateClusterLicenseNotFound() *UpdateClusterLicenseNotFound
NewUpdateClusterLicenseNotFound creates a UpdateClusterLicenseNotFound with default headers values
func (*UpdateClusterLicenseNotFound) Error ¶
func (o *UpdateClusterLicenseNotFound) Error() string
func (*UpdateClusterLicenseNotFound) GetPayload ¶
func (o *UpdateClusterLicenseNotFound) GetPayload() *models.ErrorBody
type UpdateClusterLicenseOK ¶
type UpdateClusterLicenseOK struct {
Payload []*models.WithTaskCluster
}
UpdateClusterLicenseOK describes a response with status code 200, with default header values.
Ok
func NewUpdateClusterLicenseOK ¶
func NewUpdateClusterLicenseOK() *UpdateClusterLicenseOK
NewUpdateClusterLicenseOK creates a UpdateClusterLicenseOK with default headers values
func (*UpdateClusterLicenseOK) Error ¶
func (o *UpdateClusterLicenseOK) Error() string
func (*UpdateClusterLicenseOK) GetPayload ¶
func (o *UpdateClusterLicenseOK) GetPayload() []*models.WithTaskCluster
type UpdateClusterLicenseParams ¶
type UpdateClusterLicenseParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ClusterLicenseUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterLicenseParams contains all the parameters to send to the API endpoint
for the update cluster license operation. Typically these are written to a http.Request.
func NewUpdateClusterLicenseParams ¶
func NewUpdateClusterLicenseParams() *UpdateClusterLicenseParams
NewUpdateClusterLicenseParams creates a new UpdateClusterLicenseParams 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 NewUpdateClusterLicenseParamsWithContext ¶
func NewUpdateClusterLicenseParamsWithContext(ctx context.Context) *UpdateClusterLicenseParams
NewUpdateClusterLicenseParamsWithContext creates a new UpdateClusterLicenseParams object with the ability to set a context for a request.
func NewUpdateClusterLicenseParamsWithHTTPClient ¶
func NewUpdateClusterLicenseParamsWithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
NewUpdateClusterLicenseParamsWithHTTPClient creates a new UpdateClusterLicenseParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClusterLicenseParamsWithTimeout ¶
func NewUpdateClusterLicenseParamsWithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
NewUpdateClusterLicenseParamsWithTimeout creates a new UpdateClusterLicenseParams object with the ability to set a timeout on a request.
func (*UpdateClusterLicenseParams) SetContentLanguage ¶
func (o *UpdateClusterLicenseParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update cluster license params
func (*UpdateClusterLicenseParams) SetContext ¶
func (o *UpdateClusterLicenseParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster license params
func (*UpdateClusterLicenseParams) SetDefaults ¶
func (o *UpdateClusterLicenseParams) SetDefaults()
SetDefaults hydrates default values in the update cluster license params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterLicenseParams) SetHTTPClient ¶
func (o *UpdateClusterLicenseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster license params
func (*UpdateClusterLicenseParams) SetRequestBody ¶
func (o *UpdateClusterLicenseParams) SetRequestBody(requestBody *models.ClusterLicenseUpdationParams)
SetRequestBody adds the requestBody to the update cluster license params
func (*UpdateClusterLicenseParams) SetTimeout ¶
func (o *UpdateClusterLicenseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster license params
func (*UpdateClusterLicenseParams) WithContentLanguage ¶
func (o *UpdateClusterLicenseParams) WithContentLanguage(contentLanguage *string) *UpdateClusterLicenseParams
WithContentLanguage adds the contentLanguage to the update cluster license params
func (*UpdateClusterLicenseParams) WithContext ¶
func (o *UpdateClusterLicenseParams) WithContext(ctx context.Context) *UpdateClusterLicenseParams
WithContext adds the context to the update cluster license params
func (*UpdateClusterLicenseParams) WithDefaults ¶
func (o *UpdateClusterLicenseParams) WithDefaults() *UpdateClusterLicenseParams
WithDefaults hydrates default values in the update cluster license params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterLicenseParams) WithHTTPClient ¶
func (o *UpdateClusterLicenseParams) WithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
WithHTTPClient adds the HTTPClient to the update cluster license params
func (*UpdateClusterLicenseParams) WithRequestBody ¶
func (o *UpdateClusterLicenseParams) WithRequestBody(requestBody *models.ClusterLicenseUpdationParams) *UpdateClusterLicenseParams
WithRequestBody adds the requestBody to the update cluster license params
func (*UpdateClusterLicenseParams) WithTimeout ¶
func (o *UpdateClusterLicenseParams) WithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
WithTimeout adds the timeout to the update cluster license params
func (*UpdateClusterLicenseParams) WriteToRequest ¶
func (o *UpdateClusterLicenseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterLicenseReader ¶
type UpdateClusterLicenseReader struct {
// contains filtered or unexported fields
}
UpdateClusterLicenseReader is a Reader for the UpdateClusterLicense structure.
func (*UpdateClusterLicenseReader) ReadResponse ¶
func (o *UpdateClusterLicenseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterNotFound ¶
UpdateClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateClusterNotFound ¶
func NewUpdateClusterNotFound() *UpdateClusterNotFound
NewUpdateClusterNotFound creates a UpdateClusterNotFound with default headers values
func (*UpdateClusterNotFound) Error ¶
func (o *UpdateClusterNotFound) Error() string
func (*UpdateClusterNotFound) GetPayload ¶
func (o *UpdateClusterNotFound) GetPayload() *models.ErrorBody
type UpdateClusterOK ¶
type UpdateClusterOK struct {
Payload []*models.WithTaskCluster
}
UpdateClusterOK describes a response with status code 200, with default header values.
Ok
func NewUpdateClusterOK ¶
func NewUpdateClusterOK() *UpdateClusterOK
NewUpdateClusterOK creates a UpdateClusterOK with default headers values
func (*UpdateClusterOK) Error ¶
func (o *UpdateClusterOK) Error() string
func (*UpdateClusterOK) GetPayload ¶
func (o *UpdateClusterOK) GetPayload() []*models.WithTaskCluster
type UpdateClusterParams ¶
type UpdateClusterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ClusterUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterParams contains all the parameters to send to the API endpoint
for the update cluster operation. Typically these are written to a http.Request.
func NewUpdateClusterParams ¶
func NewUpdateClusterParams() *UpdateClusterParams
NewUpdateClusterParams creates a new UpdateClusterParams 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 NewUpdateClusterParamsWithContext ¶
func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams
NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.
func NewUpdateClusterParamsWithHTTPClient ¶
func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams
NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClusterParamsWithTimeout ¶
func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams
NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.
func (*UpdateClusterParams) SetContentLanguage ¶
func (o *UpdateClusterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update cluster params
func (*UpdateClusterParams) SetContext ¶
func (o *UpdateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster params
func (*UpdateClusterParams) SetDefaults ¶
func (o *UpdateClusterParams) SetDefaults()
SetDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) SetHTTPClient ¶
func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) SetRequestBody ¶
func (o *UpdateClusterParams) SetRequestBody(requestBody *models.ClusterUpdationParams)
SetRequestBody adds the requestBody to the update cluster params
func (*UpdateClusterParams) SetTimeout ¶
func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WithContentLanguage ¶
func (o *UpdateClusterParams) WithContentLanguage(contentLanguage *string) *UpdateClusterParams
WithContentLanguage adds the contentLanguage to the update cluster params
func (*UpdateClusterParams) WithContext ¶
func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
WithContext adds the context to the update cluster params
func (*UpdateClusterParams) WithDefaults ¶
func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
WithDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) WithHTTPClient ¶
func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
WithHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) WithRequestBody ¶
func (o *UpdateClusterParams) WithRequestBody(requestBody *models.ClusterUpdationParams) *UpdateClusterParams
WithRequestBody adds the requestBody to the update cluster params
func (*UpdateClusterParams) WithTimeout ¶
func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
WithTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WriteToRequest ¶
func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterReader ¶
type UpdateClusterReader struct {
// contains filtered or unexported fields
}
UpdateClusterReader is a Reader for the UpdateCluster structure.
func (*UpdateClusterReader) ReadResponse ¶
func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cluster_client.go
- connect_cluster_parameters.go
- connect_cluster_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- get_clusters_connection_parameters.go
- get_clusters_connection_responses.go
- get_clusters_parameters.go
- get_clusters_responses.go
- update_cluster_license_parameters.go
- update_cluster_license_responses.go
- update_cluster_parameters.go
- update_cluster_responses.go