Documentation ¶
Index ¶
- type AddClustersToDatacenterBadRequest
- type AddClustersToDatacenterInternalServerError
- type AddClustersToDatacenterNotFound
- type AddClustersToDatacenterOK
- type AddClustersToDatacenterParams
- func NewAddClustersToDatacenterParams() *AddClustersToDatacenterParams
- func NewAddClustersToDatacenterParamsWithContext(ctx context.Context) *AddClustersToDatacenterParams
- func NewAddClustersToDatacenterParamsWithHTTPClient(client *http.Client) *AddClustersToDatacenterParams
- func NewAddClustersToDatacenterParamsWithTimeout(timeout time.Duration) *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *AddClustersToDatacenterParams) SetContext(ctx context.Context)
- func (o *AddClustersToDatacenterParams) SetDefaults()
- func (o *AddClustersToDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *AddClustersToDatacenterParams) SetRequestBody(requestBody []*models.AddClustersToDatacenterParams)
- func (o *AddClustersToDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *AddClustersToDatacenterParams) WithContentLanguage(contentLanguage *string) *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) WithContext(ctx context.Context) *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) WithDefaults() *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) WithHTTPClient(client *http.Client) *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) WithRequestBody(requestBody []*models.AddClustersToDatacenterParams) *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) WithTimeout(timeout time.Duration) *AddClustersToDatacenterParams
- func (o *AddClustersToDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddClustersToDatacenterReader
- type Client
- func (a *Client) AddClustersToDatacenter(params *AddClustersToDatacenterParams, opts ...ClientOption) (*AddClustersToDatacenterOK, error)
- func (a *Client) CreateDatacenter(params *CreateDatacenterParams, opts ...ClientOption) (*CreateDatacenterOK, error)
- func (a *Client) DeleteDatacenter(params *DeleteDatacenterParams, opts ...ClientOption) (*DeleteDatacenterOK, error)
- func (a *Client) GetDatacenters(params *GetDatacentersParams, opts ...ClientOption) (*GetDatacentersOK, error)
- func (a *Client) GetDatacentersConnection(params *GetDatacentersConnectionParams, opts ...ClientOption) (*GetDatacentersConnectionOK, error)
- func (a *Client) RemoveClustersFromDatacenter(params *RemoveClustersFromDatacenterParams, opts ...ClientOption) (*RemoveClustersFromDatacenterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDatacenter(params *UpdateDatacenterParams, opts ...ClientOption) (*UpdateDatacenterOK, error)
- type ClientOption
- type ClientService
- type CreateDatacenterBadRequest
- type CreateDatacenterInternalServerError
- type CreateDatacenterNotFound
- type CreateDatacenterOK
- type CreateDatacenterParams
- func NewCreateDatacenterParams() *CreateDatacenterParams
- func NewCreateDatacenterParamsWithContext(ctx context.Context) *CreateDatacenterParams
- func NewCreateDatacenterParamsWithHTTPClient(client *http.Client) *CreateDatacenterParams
- func NewCreateDatacenterParamsWithTimeout(timeout time.Duration) *CreateDatacenterParams
- func (o *CreateDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateDatacenterParams) SetContext(ctx context.Context)
- func (o *CreateDatacenterParams) SetDefaults()
- func (o *CreateDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatacenterParams) SetRequestBody(requestBody []*models.DatacenterCreationParams)
- func (o *CreateDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatacenterParams) WithContentLanguage(contentLanguage *string) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithContext(ctx context.Context) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithDefaults() *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithHTTPClient(client *http.Client) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithRequestBody(requestBody []*models.DatacenterCreationParams) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WithTimeout(timeout time.Duration) *CreateDatacenterParams
- func (o *CreateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatacenterReader
- type DeleteDatacenterBadRequest
- type DeleteDatacenterInternalServerError
- type DeleteDatacenterNotFound
- type DeleteDatacenterOK
- type DeleteDatacenterParams
- func NewDeleteDatacenterParams() *DeleteDatacenterParams
- func NewDeleteDatacenterParamsWithContext(ctx context.Context) *DeleteDatacenterParams
- func NewDeleteDatacenterParamsWithHTTPClient(client *http.Client) *DeleteDatacenterParams
- func NewDeleteDatacenterParamsWithTimeout(timeout time.Duration) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteDatacenterParams) SetContext(ctx context.Context)
- func (o *DeleteDatacenterParams) SetDefaults()
- func (o *DeleteDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDatacenterParams) SetRequestBody(requestBody *models.DatacenterDeletionParams)
- func (o *DeleteDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDatacenterParams) WithContentLanguage(contentLanguage *string) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithContext(ctx context.Context) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithDefaults() *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithHTTPClient(client *http.Client) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithRequestBody(requestBody *models.DatacenterDeletionParams) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WithTimeout(timeout time.Duration) *DeleteDatacenterParams
- func (o *DeleteDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDatacenterReader
- type GetDatacentersBadRequest
- type GetDatacentersConnectionBadRequest
- type GetDatacentersConnectionInternalServerError
- type GetDatacentersConnectionNotFound
- type GetDatacentersConnectionOK
- type GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParams() *GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParamsWithContext(ctx context.Context) *GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParamsWithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
- func NewGetDatacentersConnectionParamsWithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDatacentersConnectionParams) SetContext(ctx context.Context)
- func (o *GetDatacentersConnectionParams) SetDefaults()
- func (o *GetDatacentersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetDatacentersConnectionParams) SetRequestBody(requestBody *models.GetDatacentersConnectionRequestBody)
- func (o *GetDatacentersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetDatacentersConnectionParams) WithContentLanguage(contentLanguage *string) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithContext(ctx context.Context) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithDefaults() *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithRequestBody(requestBody *models.GetDatacentersConnectionRequestBody) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
- func (o *GetDatacentersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatacentersConnectionReader
- type GetDatacentersInternalServerError
- type GetDatacentersNotFound
- type GetDatacentersOK
- type GetDatacentersParams
- func NewGetDatacentersParams() *GetDatacentersParams
- func NewGetDatacentersParamsWithContext(ctx context.Context) *GetDatacentersParams
- func NewGetDatacentersParamsWithHTTPClient(client *http.Client) *GetDatacentersParams
- func NewGetDatacentersParamsWithTimeout(timeout time.Duration) *GetDatacentersParams
- func (o *GetDatacentersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDatacentersParams) SetContext(ctx context.Context)
- func (o *GetDatacentersParams) SetDefaults()
- func (o *GetDatacentersParams) SetHTTPClient(client *http.Client)
- func (o *GetDatacentersParams) SetRequestBody(requestBody *models.GetDatacentersRequestBody)
- func (o *GetDatacentersParams) SetTimeout(timeout time.Duration)
- func (o *GetDatacentersParams) WithContentLanguage(contentLanguage *string) *GetDatacentersParams
- func (o *GetDatacentersParams) WithContext(ctx context.Context) *GetDatacentersParams
- func (o *GetDatacentersParams) WithDefaults() *GetDatacentersParams
- func (o *GetDatacentersParams) WithHTTPClient(client *http.Client) *GetDatacentersParams
- func (o *GetDatacentersParams) WithRequestBody(requestBody *models.GetDatacentersRequestBody) *GetDatacentersParams
- func (o *GetDatacentersParams) WithTimeout(timeout time.Duration) *GetDatacentersParams
- func (o *GetDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatacentersReader
- type RemoveClustersFromDatacenterBadRequest
- type RemoveClustersFromDatacenterInternalServerError
- type RemoveClustersFromDatacenterNotFound
- type RemoveClustersFromDatacenterOK
- type RemoveClustersFromDatacenterParams
- func NewRemoveClustersFromDatacenterParams() *RemoveClustersFromDatacenterParams
- func NewRemoveClustersFromDatacenterParamsWithContext(ctx context.Context) *RemoveClustersFromDatacenterParams
- func NewRemoveClustersFromDatacenterParamsWithHTTPClient(client *http.Client) *RemoveClustersFromDatacenterParams
- func NewRemoveClustersFromDatacenterParamsWithTimeout(timeout time.Duration) *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveClustersFromDatacenterParams) SetContext(ctx context.Context)
- func (o *RemoveClustersFromDatacenterParams) SetDefaults()
- func (o *RemoveClustersFromDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *RemoveClustersFromDatacenterParams) SetRequestBody(requestBody []*models.RemoveClustersFromDatacenterParams)
- func (o *RemoveClustersFromDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *RemoveClustersFromDatacenterParams) WithContentLanguage(contentLanguage *string) *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) WithContext(ctx context.Context) *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) WithDefaults() *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) WithHTTPClient(client *http.Client) *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) WithRequestBody(requestBody []*models.RemoveClustersFromDatacenterParams) *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) WithTimeout(timeout time.Duration) *RemoveClustersFromDatacenterParams
- func (o *RemoveClustersFromDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveClustersFromDatacenterReader
- type UpdateDatacenterBadRequest
- type UpdateDatacenterInternalServerError
- type UpdateDatacenterNotFound
- type UpdateDatacenterOK
- type UpdateDatacenterParams
- func NewUpdateDatacenterParams() *UpdateDatacenterParams
- func NewUpdateDatacenterParamsWithContext(ctx context.Context) *UpdateDatacenterParams
- func NewUpdateDatacenterParamsWithHTTPClient(client *http.Client) *UpdateDatacenterParams
- func NewUpdateDatacenterParamsWithTimeout(timeout time.Duration) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateDatacenterParams) SetContext(ctx context.Context)
- func (o *UpdateDatacenterParams) SetDefaults()
- func (o *UpdateDatacenterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDatacenterParams) SetRequestBody(requestBody *models.DatacenterUpdationParams)
- func (o *UpdateDatacenterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDatacenterParams) WithContentLanguage(contentLanguage *string) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithContext(ctx context.Context) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithDefaults() *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithHTTPClient(client *http.Client) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithRequestBody(requestBody *models.DatacenterUpdationParams) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WithTimeout(timeout time.Duration) *UpdateDatacenterParams
- func (o *UpdateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDatacenterReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddClustersToDatacenterBadRequest ¶ added in v2.5.0
AddClustersToDatacenterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddClustersToDatacenterBadRequest ¶ added in v2.5.0
func NewAddClustersToDatacenterBadRequest() *AddClustersToDatacenterBadRequest
NewAddClustersToDatacenterBadRequest creates a AddClustersToDatacenterBadRequest with default headers values
func (*AddClustersToDatacenterBadRequest) Error ¶ added in v2.5.0
func (o *AddClustersToDatacenterBadRequest) Error() string
func (*AddClustersToDatacenterBadRequest) GetPayload ¶ added in v2.5.0
func (o *AddClustersToDatacenterBadRequest) GetPayload() *models.ErrorBody
type AddClustersToDatacenterInternalServerError ¶ added in v2.5.0
type AddClustersToDatacenterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
AddClustersToDatacenterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddClustersToDatacenterInternalServerError ¶ added in v2.5.0
func NewAddClustersToDatacenterInternalServerError() *AddClustersToDatacenterInternalServerError
NewAddClustersToDatacenterInternalServerError creates a AddClustersToDatacenterInternalServerError with default headers values
func (*AddClustersToDatacenterInternalServerError) Error ¶ added in v2.5.0
func (o *AddClustersToDatacenterInternalServerError) Error() string
func (*AddClustersToDatacenterInternalServerError) GetPayload ¶ added in v2.5.0
func (o *AddClustersToDatacenterInternalServerError) GetPayload() *models.ErrorBody
type AddClustersToDatacenterNotFound ¶ added in v2.5.0
AddClustersToDatacenterNotFound describes a response with status code 404, with default header values.
Not found
func NewAddClustersToDatacenterNotFound ¶ added in v2.5.0
func NewAddClustersToDatacenterNotFound() *AddClustersToDatacenterNotFound
NewAddClustersToDatacenterNotFound creates a AddClustersToDatacenterNotFound with default headers values
func (*AddClustersToDatacenterNotFound) Error ¶ added in v2.5.0
func (o *AddClustersToDatacenterNotFound) Error() string
func (*AddClustersToDatacenterNotFound) GetPayload ¶ added in v2.5.0
func (o *AddClustersToDatacenterNotFound) GetPayload() *models.ErrorBody
type AddClustersToDatacenterOK ¶ added in v2.5.0
type AddClustersToDatacenterOK struct { XTowerRequestID string Payload []*models.WithTaskDatacenter }
AddClustersToDatacenterOK describes a response with status code 200, with default header values.
AddClustersToDatacenterOK add clusters to datacenter o k
func NewAddClustersToDatacenterOK ¶ added in v2.5.0
func NewAddClustersToDatacenterOK() *AddClustersToDatacenterOK
NewAddClustersToDatacenterOK creates a AddClustersToDatacenterOK with default headers values
func (*AddClustersToDatacenterOK) Error ¶ added in v2.5.0
func (o *AddClustersToDatacenterOK) Error() string
func (*AddClustersToDatacenterOK) GetPayload ¶ added in v2.5.0
func (o *AddClustersToDatacenterOK) GetPayload() []*models.WithTaskDatacenter
type AddClustersToDatacenterParams ¶ added in v2.5.0
type AddClustersToDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.AddClustersToDatacenterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddClustersToDatacenterParams contains all the parameters to send to the API endpoint
for the add clusters to datacenter operation. Typically these are written to a http.Request.
func NewAddClustersToDatacenterParams ¶ added in v2.5.0
func NewAddClustersToDatacenterParams() *AddClustersToDatacenterParams
NewAddClustersToDatacenterParams creates a new AddClustersToDatacenterParams 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 NewAddClustersToDatacenterParamsWithContext ¶ added in v2.5.0
func NewAddClustersToDatacenterParamsWithContext(ctx context.Context) *AddClustersToDatacenterParams
NewAddClustersToDatacenterParamsWithContext creates a new AddClustersToDatacenterParams object with the ability to set a context for a request.
func NewAddClustersToDatacenterParamsWithHTTPClient ¶ added in v2.5.0
func NewAddClustersToDatacenterParamsWithHTTPClient(client *http.Client) *AddClustersToDatacenterParams
NewAddClustersToDatacenterParamsWithHTTPClient creates a new AddClustersToDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewAddClustersToDatacenterParamsWithTimeout ¶ added in v2.5.0
func NewAddClustersToDatacenterParamsWithTimeout(timeout time.Duration) *AddClustersToDatacenterParams
NewAddClustersToDatacenterParamsWithTimeout creates a new AddClustersToDatacenterParams object with the ability to set a timeout on a request.
func (*AddClustersToDatacenterParams) SetContentLanguage ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) SetContext ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) SetDefaults ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the add clusters to datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*AddClustersToDatacenterParams) SetHTTPClient ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) SetRequestBody ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) SetRequestBody(requestBody []*models.AddClustersToDatacenterParams)
SetRequestBody adds the requestBody to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) SetTimeout ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) WithContentLanguage ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WithContentLanguage(contentLanguage *string) *AddClustersToDatacenterParams
WithContentLanguage adds the contentLanguage to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) WithContext ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WithContext(ctx context.Context) *AddClustersToDatacenterParams
WithContext adds the context to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) WithDefaults ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WithDefaults() *AddClustersToDatacenterParams
WithDefaults hydrates default values in the add clusters to datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*AddClustersToDatacenterParams) WithHTTPClient ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WithHTTPClient(client *http.Client) *AddClustersToDatacenterParams
WithHTTPClient adds the HTTPClient to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) WithRequestBody ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WithRequestBody(requestBody []*models.AddClustersToDatacenterParams) *AddClustersToDatacenterParams
WithRequestBody adds the requestBody to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) WithTimeout ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WithTimeout(timeout time.Duration) *AddClustersToDatacenterParams
WithTimeout adds the timeout to the add clusters to datacenter params
func (*AddClustersToDatacenterParams) WriteToRequest ¶ added in v2.5.0
func (o *AddClustersToDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddClustersToDatacenterReader ¶ added in v2.5.0
type AddClustersToDatacenterReader struct {
// contains filtered or unexported fields
}
AddClustersToDatacenterReader is a Reader for the AddClustersToDatacenter structure.
func (*AddClustersToDatacenterReader) ReadResponse ¶ added in v2.5.0
func (o *AddClustersToDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for datacenter API
func (*Client) AddClustersToDatacenter ¶ added in v2.5.0
func (a *Client) AddClustersToDatacenter(params *AddClustersToDatacenterParams, opts ...ClientOption) (*AddClustersToDatacenterOK, error)
AddClustersToDatacenter add clusters to datacenter API
func (*Client) CreateDatacenter ¶
func (a *Client) CreateDatacenter(params *CreateDatacenterParams, opts ...ClientOption) (*CreateDatacenterOK, error)
CreateDatacenter create datacenter API
func (*Client) DeleteDatacenter ¶
func (a *Client) DeleteDatacenter(params *DeleteDatacenterParams, opts ...ClientOption) (*DeleteDatacenterOK, error)
DeleteDatacenter delete datacenter API
func (*Client) GetDatacenters ¶
func (a *Client) GetDatacenters(params *GetDatacentersParams, opts ...ClientOption) (*GetDatacentersOK, error)
GetDatacenters get datacenters API
func (*Client) GetDatacentersConnection ¶
func (a *Client) GetDatacentersConnection(params *GetDatacentersConnectionParams, opts ...ClientOption) (*GetDatacentersConnectionOK, error)
GetDatacentersConnection get datacenters connection API
func (*Client) RemoveClustersFromDatacenter ¶ added in v2.5.0
func (a *Client) RemoveClustersFromDatacenter(params *RemoveClustersFromDatacenterParams, opts ...ClientOption) (*RemoveClustersFromDatacenterOK, error)
RemoveClustersFromDatacenter remove clusters from datacenter API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDatacenter ¶
func (a *Client) UpdateDatacenter(params *UpdateDatacenterParams, opts ...ClientOption) (*UpdateDatacenterOK, error)
UpdateDatacenter update datacenter API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddClustersToDatacenter(params *AddClustersToDatacenterParams, opts ...ClientOption) (*AddClustersToDatacenterOK, error) CreateDatacenter(params *CreateDatacenterParams, opts ...ClientOption) (*CreateDatacenterOK, error) DeleteDatacenter(params *DeleteDatacenterParams, opts ...ClientOption) (*DeleteDatacenterOK, error) GetDatacenters(params *GetDatacentersParams, opts ...ClientOption) (*GetDatacentersOK, error) GetDatacentersConnection(params *GetDatacentersConnectionParams, opts ...ClientOption) (*GetDatacentersConnectionOK, error) RemoveClustersFromDatacenter(params *RemoveClustersFromDatacenterParams, opts ...ClientOption) (*RemoveClustersFromDatacenterOK, error) UpdateDatacenter(params *UpdateDatacenterParams, opts ...ClientOption) (*UpdateDatacenterOK, 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 datacenter API client.
type CreateDatacenterBadRequest ¶
CreateDatacenterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateDatacenterBadRequest ¶
func NewCreateDatacenterBadRequest() *CreateDatacenterBadRequest
NewCreateDatacenterBadRequest creates a CreateDatacenterBadRequest with default headers values
func (*CreateDatacenterBadRequest) Error ¶
func (o *CreateDatacenterBadRequest) Error() string
func (*CreateDatacenterBadRequest) GetPayload ¶
func (o *CreateDatacenterBadRequest) GetPayload() *models.ErrorBody
type CreateDatacenterInternalServerError ¶
type CreateDatacenterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateDatacenterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateDatacenterInternalServerError ¶
func NewCreateDatacenterInternalServerError() *CreateDatacenterInternalServerError
NewCreateDatacenterInternalServerError creates a CreateDatacenterInternalServerError with default headers values
func (*CreateDatacenterInternalServerError) Error ¶
func (o *CreateDatacenterInternalServerError) Error() string
func (*CreateDatacenterInternalServerError) GetPayload ¶
func (o *CreateDatacenterInternalServerError) GetPayload() *models.ErrorBody
type CreateDatacenterNotFound ¶
CreateDatacenterNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateDatacenterNotFound ¶
func NewCreateDatacenterNotFound() *CreateDatacenterNotFound
NewCreateDatacenterNotFound creates a CreateDatacenterNotFound with default headers values
func (*CreateDatacenterNotFound) Error ¶
func (o *CreateDatacenterNotFound) Error() string
func (*CreateDatacenterNotFound) GetPayload ¶
func (o *CreateDatacenterNotFound) GetPayload() *models.ErrorBody
type CreateDatacenterOK ¶
type CreateDatacenterOK struct { XTowerRequestID string Payload []*models.WithTaskDatacenter }
CreateDatacenterOK describes a response with status code 200, with default header values.
CreateDatacenterOK create datacenter o k
func NewCreateDatacenterOK ¶
func NewCreateDatacenterOK() *CreateDatacenterOK
NewCreateDatacenterOK creates a CreateDatacenterOK with default headers values
func (*CreateDatacenterOK) Error ¶
func (o *CreateDatacenterOK) Error() string
func (*CreateDatacenterOK) GetPayload ¶
func (o *CreateDatacenterOK) GetPayload() []*models.WithTaskDatacenter
type CreateDatacenterParams ¶
type CreateDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.DatacenterCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatacenterParams contains all the parameters to send to the API endpoint
for the create datacenter operation. Typically these are written to a http.Request.
func NewCreateDatacenterParams ¶
func NewCreateDatacenterParams() *CreateDatacenterParams
NewCreateDatacenterParams creates a new CreateDatacenterParams 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 NewCreateDatacenterParamsWithContext ¶
func NewCreateDatacenterParamsWithContext(ctx context.Context) *CreateDatacenterParams
NewCreateDatacenterParamsWithContext creates a new CreateDatacenterParams object with the ability to set a context for a request.
func NewCreateDatacenterParamsWithHTTPClient ¶
func NewCreateDatacenterParamsWithHTTPClient(client *http.Client) *CreateDatacenterParams
NewCreateDatacenterParamsWithHTTPClient creates a new CreateDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDatacenterParamsWithTimeout ¶
func NewCreateDatacenterParamsWithTimeout(timeout time.Duration) *CreateDatacenterParams
NewCreateDatacenterParamsWithTimeout creates a new CreateDatacenterParams object with the ability to set a timeout on a request.
func (*CreateDatacenterParams) SetContentLanguage ¶
func (o *CreateDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create datacenter params
func (*CreateDatacenterParams) SetContext ¶
func (o *CreateDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the create datacenter params
func (*CreateDatacenterParams) SetDefaults ¶
func (o *CreateDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the create datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatacenterParams) SetHTTPClient ¶
func (o *CreateDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create datacenter params
func (*CreateDatacenterParams) SetRequestBody ¶
func (o *CreateDatacenterParams) SetRequestBody(requestBody []*models.DatacenterCreationParams)
SetRequestBody adds the requestBody to the create datacenter params
func (*CreateDatacenterParams) SetTimeout ¶
func (o *CreateDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create datacenter params
func (*CreateDatacenterParams) WithContentLanguage ¶
func (o *CreateDatacenterParams) WithContentLanguage(contentLanguage *string) *CreateDatacenterParams
WithContentLanguage adds the contentLanguage to the create datacenter params
func (*CreateDatacenterParams) WithContext ¶
func (o *CreateDatacenterParams) WithContext(ctx context.Context) *CreateDatacenterParams
WithContext adds the context to the create datacenter params
func (*CreateDatacenterParams) WithDefaults ¶
func (o *CreateDatacenterParams) WithDefaults() *CreateDatacenterParams
WithDefaults hydrates default values in the create datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatacenterParams) WithHTTPClient ¶
func (o *CreateDatacenterParams) WithHTTPClient(client *http.Client) *CreateDatacenterParams
WithHTTPClient adds the HTTPClient to the create datacenter params
func (*CreateDatacenterParams) WithRequestBody ¶
func (o *CreateDatacenterParams) WithRequestBody(requestBody []*models.DatacenterCreationParams) *CreateDatacenterParams
WithRequestBody adds the requestBody to the create datacenter params
func (*CreateDatacenterParams) WithTimeout ¶
func (o *CreateDatacenterParams) WithTimeout(timeout time.Duration) *CreateDatacenterParams
WithTimeout adds the timeout to the create datacenter params
func (*CreateDatacenterParams) WriteToRequest ¶
func (o *CreateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatacenterReader ¶
type CreateDatacenterReader struct {
// contains filtered or unexported fields
}
CreateDatacenterReader is a Reader for the CreateDatacenter structure.
func (*CreateDatacenterReader) ReadResponse ¶
func (o *CreateDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDatacenterBadRequest ¶
DeleteDatacenterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteDatacenterBadRequest ¶
func NewDeleteDatacenterBadRequest() *DeleteDatacenterBadRequest
NewDeleteDatacenterBadRequest creates a DeleteDatacenterBadRequest with default headers values
func (*DeleteDatacenterBadRequest) Error ¶
func (o *DeleteDatacenterBadRequest) Error() string
func (*DeleteDatacenterBadRequest) GetPayload ¶
func (o *DeleteDatacenterBadRequest) GetPayload() *models.ErrorBody
type DeleteDatacenterInternalServerError ¶
type DeleteDatacenterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteDatacenterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteDatacenterInternalServerError ¶
func NewDeleteDatacenterInternalServerError() *DeleteDatacenterInternalServerError
NewDeleteDatacenterInternalServerError creates a DeleteDatacenterInternalServerError with default headers values
func (*DeleteDatacenterInternalServerError) Error ¶
func (o *DeleteDatacenterInternalServerError) Error() string
func (*DeleteDatacenterInternalServerError) GetPayload ¶
func (o *DeleteDatacenterInternalServerError) GetPayload() *models.ErrorBody
type DeleteDatacenterNotFound ¶
DeleteDatacenterNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteDatacenterNotFound ¶
func NewDeleteDatacenterNotFound() *DeleteDatacenterNotFound
NewDeleteDatacenterNotFound creates a DeleteDatacenterNotFound with default headers values
func (*DeleteDatacenterNotFound) Error ¶
func (o *DeleteDatacenterNotFound) Error() string
func (*DeleteDatacenterNotFound) GetPayload ¶
func (o *DeleteDatacenterNotFound) GetPayload() *models.ErrorBody
type DeleteDatacenterOK ¶
type DeleteDatacenterOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteDatacenter }
DeleteDatacenterOK describes a response with status code 200, with default header values.
DeleteDatacenterOK delete datacenter o k
func NewDeleteDatacenterOK ¶
func NewDeleteDatacenterOK() *DeleteDatacenterOK
NewDeleteDatacenterOK creates a DeleteDatacenterOK with default headers values
func (*DeleteDatacenterOK) Error ¶
func (o *DeleteDatacenterOK) Error() string
func (*DeleteDatacenterOK) GetPayload ¶
func (o *DeleteDatacenterOK) GetPayload() []*models.WithTaskDeleteDatacenter
type DeleteDatacenterParams ¶
type DeleteDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.DatacenterDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDatacenterParams contains all the parameters to send to the API endpoint
for the delete datacenter operation. Typically these are written to a http.Request.
func NewDeleteDatacenterParams ¶
func NewDeleteDatacenterParams() *DeleteDatacenterParams
NewDeleteDatacenterParams creates a new DeleteDatacenterParams 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 NewDeleteDatacenterParamsWithContext ¶
func NewDeleteDatacenterParamsWithContext(ctx context.Context) *DeleteDatacenterParams
NewDeleteDatacenterParamsWithContext creates a new DeleteDatacenterParams object with the ability to set a context for a request.
func NewDeleteDatacenterParamsWithHTTPClient ¶
func NewDeleteDatacenterParamsWithHTTPClient(client *http.Client) *DeleteDatacenterParams
NewDeleteDatacenterParamsWithHTTPClient creates a new DeleteDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDatacenterParamsWithTimeout ¶
func NewDeleteDatacenterParamsWithTimeout(timeout time.Duration) *DeleteDatacenterParams
NewDeleteDatacenterParamsWithTimeout creates a new DeleteDatacenterParams object with the ability to set a timeout on a request.
func (*DeleteDatacenterParams) SetContentLanguage ¶
func (o *DeleteDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete datacenter params
func (*DeleteDatacenterParams) SetContext ¶
func (o *DeleteDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete datacenter params
func (*DeleteDatacenterParams) SetDefaults ¶
func (o *DeleteDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the delete datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatacenterParams) SetHTTPClient ¶
func (o *DeleteDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete datacenter params
func (*DeleteDatacenterParams) SetRequestBody ¶
func (o *DeleteDatacenterParams) SetRequestBody(requestBody *models.DatacenterDeletionParams)
SetRequestBody adds the requestBody to the delete datacenter params
func (*DeleteDatacenterParams) SetTimeout ¶
func (o *DeleteDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete datacenter params
func (*DeleteDatacenterParams) WithContentLanguage ¶
func (o *DeleteDatacenterParams) WithContentLanguage(contentLanguage *string) *DeleteDatacenterParams
WithContentLanguage adds the contentLanguage to the delete datacenter params
func (*DeleteDatacenterParams) WithContext ¶
func (o *DeleteDatacenterParams) WithContext(ctx context.Context) *DeleteDatacenterParams
WithContext adds the context to the delete datacenter params
func (*DeleteDatacenterParams) WithDefaults ¶
func (o *DeleteDatacenterParams) WithDefaults() *DeleteDatacenterParams
WithDefaults hydrates default values in the delete datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatacenterParams) WithHTTPClient ¶
func (o *DeleteDatacenterParams) WithHTTPClient(client *http.Client) *DeleteDatacenterParams
WithHTTPClient adds the HTTPClient to the delete datacenter params
func (*DeleteDatacenterParams) WithRequestBody ¶
func (o *DeleteDatacenterParams) WithRequestBody(requestBody *models.DatacenterDeletionParams) *DeleteDatacenterParams
WithRequestBody adds the requestBody to the delete datacenter params
func (*DeleteDatacenterParams) WithTimeout ¶
func (o *DeleteDatacenterParams) WithTimeout(timeout time.Duration) *DeleteDatacenterParams
WithTimeout adds the timeout to the delete datacenter params
func (*DeleteDatacenterParams) WriteToRequest ¶
func (o *DeleteDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDatacenterReader ¶
type DeleteDatacenterReader struct {
// contains filtered or unexported fields
}
DeleteDatacenterReader is a Reader for the DeleteDatacenter structure.
func (*DeleteDatacenterReader) ReadResponse ¶
func (o *DeleteDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatacentersBadRequest ¶
GetDatacentersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDatacentersBadRequest ¶
func NewGetDatacentersBadRequest() *GetDatacentersBadRequest
NewGetDatacentersBadRequest creates a GetDatacentersBadRequest with default headers values
func (*GetDatacentersBadRequest) Error ¶
func (o *GetDatacentersBadRequest) Error() string
func (*GetDatacentersBadRequest) GetPayload ¶
func (o *GetDatacentersBadRequest) GetPayload() *models.ErrorBody
type GetDatacentersConnectionBadRequest ¶
GetDatacentersConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDatacentersConnectionBadRequest ¶
func NewGetDatacentersConnectionBadRequest() *GetDatacentersConnectionBadRequest
NewGetDatacentersConnectionBadRequest creates a GetDatacentersConnectionBadRequest with default headers values
func (*GetDatacentersConnectionBadRequest) Error ¶
func (o *GetDatacentersConnectionBadRequest) Error() string
func (*GetDatacentersConnectionBadRequest) GetPayload ¶
func (o *GetDatacentersConnectionBadRequest) GetPayload() *models.ErrorBody
type GetDatacentersConnectionInternalServerError ¶
type GetDatacentersConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetDatacentersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetDatacentersConnectionInternalServerError ¶
func NewGetDatacentersConnectionInternalServerError() *GetDatacentersConnectionInternalServerError
NewGetDatacentersConnectionInternalServerError creates a GetDatacentersConnectionInternalServerError with default headers values
func (*GetDatacentersConnectionInternalServerError) Error ¶
func (o *GetDatacentersConnectionInternalServerError) Error() string
func (*GetDatacentersConnectionInternalServerError) GetPayload ¶
func (o *GetDatacentersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetDatacentersConnectionNotFound ¶
GetDatacentersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDatacentersConnectionNotFound ¶
func NewGetDatacentersConnectionNotFound() *GetDatacentersConnectionNotFound
NewGetDatacentersConnectionNotFound creates a GetDatacentersConnectionNotFound with default headers values
func (*GetDatacentersConnectionNotFound) Error ¶
func (o *GetDatacentersConnectionNotFound) Error() string
func (*GetDatacentersConnectionNotFound) GetPayload ¶
func (o *GetDatacentersConnectionNotFound) GetPayload() *models.ErrorBody
type GetDatacentersConnectionOK ¶
type GetDatacentersConnectionOK struct { XTowerRequestID string Payload *models.DatacenterConnection }
GetDatacentersConnectionOK describes a response with status code 200, with default header values.
GetDatacentersConnectionOK get datacenters connection o k
func NewGetDatacentersConnectionOK ¶
func NewGetDatacentersConnectionOK() *GetDatacentersConnectionOK
NewGetDatacentersConnectionOK creates a GetDatacentersConnectionOK with default headers values
func (*GetDatacentersConnectionOK) Error ¶
func (o *GetDatacentersConnectionOK) Error() string
func (*GetDatacentersConnectionOK) GetPayload ¶
func (o *GetDatacentersConnectionOK) GetPayload() *models.DatacenterConnection
type GetDatacentersConnectionParams ¶
type GetDatacentersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetDatacentersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatacentersConnectionParams contains all the parameters to send to the API endpoint
for the get datacenters connection operation. Typically these are written to a http.Request.
func NewGetDatacentersConnectionParams ¶
func NewGetDatacentersConnectionParams() *GetDatacentersConnectionParams
NewGetDatacentersConnectionParams creates a new GetDatacentersConnectionParams 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 NewGetDatacentersConnectionParamsWithContext ¶
func NewGetDatacentersConnectionParamsWithContext(ctx context.Context) *GetDatacentersConnectionParams
NewGetDatacentersConnectionParamsWithContext creates a new GetDatacentersConnectionParams object with the ability to set a context for a request.
func NewGetDatacentersConnectionParamsWithHTTPClient ¶
func NewGetDatacentersConnectionParamsWithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
NewGetDatacentersConnectionParamsWithHTTPClient creates a new GetDatacentersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetDatacentersConnectionParamsWithTimeout ¶
func NewGetDatacentersConnectionParamsWithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
NewGetDatacentersConnectionParamsWithTimeout creates a new GetDatacentersConnectionParams object with the ability to set a timeout on a request.
func (*GetDatacentersConnectionParams) SetContentLanguage ¶
func (o *GetDatacentersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetContext ¶
func (o *GetDatacentersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetDefaults ¶
func (o *GetDatacentersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get datacenters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersConnectionParams) SetHTTPClient ¶
func (o *GetDatacentersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetRequestBody ¶
func (o *GetDatacentersConnectionParams) SetRequestBody(requestBody *models.GetDatacentersConnectionRequestBody)
SetRequestBody adds the requestBody to the get datacenters connection params
func (*GetDatacentersConnectionParams) SetTimeout ¶
func (o *GetDatacentersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithContentLanguage ¶
func (o *GetDatacentersConnectionParams) WithContentLanguage(contentLanguage *string) *GetDatacentersConnectionParams
WithContentLanguage adds the contentLanguage to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithContext ¶
func (o *GetDatacentersConnectionParams) WithContext(ctx context.Context) *GetDatacentersConnectionParams
WithContext adds the context to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithDefaults ¶
func (o *GetDatacentersConnectionParams) WithDefaults() *GetDatacentersConnectionParams
WithDefaults hydrates default values in the get datacenters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersConnectionParams) WithHTTPClient ¶
func (o *GetDatacentersConnectionParams) WithHTTPClient(client *http.Client) *GetDatacentersConnectionParams
WithHTTPClient adds the HTTPClient to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithRequestBody ¶
func (o *GetDatacentersConnectionParams) WithRequestBody(requestBody *models.GetDatacentersConnectionRequestBody) *GetDatacentersConnectionParams
WithRequestBody adds the requestBody to the get datacenters connection params
func (*GetDatacentersConnectionParams) WithTimeout ¶
func (o *GetDatacentersConnectionParams) WithTimeout(timeout time.Duration) *GetDatacentersConnectionParams
WithTimeout adds the timeout to the get datacenters connection params
func (*GetDatacentersConnectionParams) WriteToRequest ¶
func (o *GetDatacentersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatacentersConnectionReader ¶
type GetDatacentersConnectionReader struct {
// contains filtered or unexported fields
}
GetDatacentersConnectionReader is a Reader for the GetDatacentersConnection structure.
func (*GetDatacentersConnectionReader) ReadResponse ¶
func (o *GetDatacentersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatacentersInternalServerError ¶
GetDatacentersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetDatacentersInternalServerError ¶
func NewGetDatacentersInternalServerError() *GetDatacentersInternalServerError
NewGetDatacentersInternalServerError creates a GetDatacentersInternalServerError with default headers values
func (*GetDatacentersInternalServerError) Error ¶
func (o *GetDatacentersInternalServerError) Error() string
func (*GetDatacentersInternalServerError) GetPayload ¶
func (o *GetDatacentersInternalServerError) GetPayload() *models.ErrorBody
type GetDatacentersNotFound ¶
GetDatacentersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDatacentersNotFound ¶
func NewGetDatacentersNotFound() *GetDatacentersNotFound
NewGetDatacentersNotFound creates a GetDatacentersNotFound with default headers values
func (*GetDatacentersNotFound) Error ¶
func (o *GetDatacentersNotFound) Error() string
func (*GetDatacentersNotFound) GetPayload ¶
func (o *GetDatacentersNotFound) GetPayload() *models.ErrorBody
type GetDatacentersOK ¶
type GetDatacentersOK struct { XTowerRequestID string Payload []*models.Datacenter }
GetDatacentersOK describes a response with status code 200, with default header values.
GetDatacentersOK get datacenters o k
func NewGetDatacentersOK ¶
func NewGetDatacentersOK() *GetDatacentersOK
NewGetDatacentersOK creates a GetDatacentersOK with default headers values
func (*GetDatacentersOK) Error ¶
func (o *GetDatacentersOK) Error() string
func (*GetDatacentersOK) GetPayload ¶
func (o *GetDatacentersOK) GetPayload() []*models.Datacenter
type GetDatacentersParams ¶
type GetDatacentersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetDatacentersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatacentersParams contains all the parameters to send to the API endpoint
for the get datacenters operation. Typically these are written to a http.Request.
func NewGetDatacentersParams ¶
func NewGetDatacentersParams() *GetDatacentersParams
NewGetDatacentersParams creates a new GetDatacentersParams 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 NewGetDatacentersParamsWithContext ¶
func NewGetDatacentersParamsWithContext(ctx context.Context) *GetDatacentersParams
NewGetDatacentersParamsWithContext creates a new GetDatacentersParams object with the ability to set a context for a request.
func NewGetDatacentersParamsWithHTTPClient ¶
func NewGetDatacentersParamsWithHTTPClient(client *http.Client) *GetDatacentersParams
NewGetDatacentersParamsWithHTTPClient creates a new GetDatacentersParams object with the ability to set a custom HTTPClient for a request.
func NewGetDatacentersParamsWithTimeout ¶
func NewGetDatacentersParamsWithTimeout(timeout time.Duration) *GetDatacentersParams
NewGetDatacentersParamsWithTimeout creates a new GetDatacentersParams object with the ability to set a timeout on a request.
func (*GetDatacentersParams) SetContentLanguage ¶
func (o *GetDatacentersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get datacenters params
func (*GetDatacentersParams) SetContext ¶
func (o *GetDatacentersParams) SetContext(ctx context.Context)
SetContext adds the context to the get datacenters params
func (*GetDatacentersParams) SetDefaults ¶
func (o *GetDatacentersParams) SetDefaults()
SetDefaults hydrates default values in the get datacenters params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersParams) SetHTTPClient ¶
func (o *GetDatacentersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datacenters params
func (*GetDatacentersParams) SetRequestBody ¶
func (o *GetDatacentersParams) SetRequestBody(requestBody *models.GetDatacentersRequestBody)
SetRequestBody adds the requestBody to the get datacenters params
func (*GetDatacentersParams) SetTimeout ¶
func (o *GetDatacentersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datacenters params
func (*GetDatacentersParams) WithContentLanguage ¶
func (o *GetDatacentersParams) WithContentLanguage(contentLanguage *string) *GetDatacentersParams
WithContentLanguage adds the contentLanguage to the get datacenters params
func (*GetDatacentersParams) WithContext ¶
func (o *GetDatacentersParams) WithContext(ctx context.Context) *GetDatacentersParams
WithContext adds the context to the get datacenters params
func (*GetDatacentersParams) WithDefaults ¶
func (o *GetDatacentersParams) WithDefaults() *GetDatacentersParams
WithDefaults hydrates default values in the get datacenters params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatacentersParams) WithHTTPClient ¶
func (o *GetDatacentersParams) WithHTTPClient(client *http.Client) *GetDatacentersParams
WithHTTPClient adds the HTTPClient to the get datacenters params
func (*GetDatacentersParams) WithRequestBody ¶
func (o *GetDatacentersParams) WithRequestBody(requestBody *models.GetDatacentersRequestBody) *GetDatacentersParams
WithRequestBody adds the requestBody to the get datacenters params
func (*GetDatacentersParams) WithTimeout ¶
func (o *GetDatacentersParams) WithTimeout(timeout time.Duration) *GetDatacentersParams
WithTimeout adds the timeout to the get datacenters params
func (*GetDatacentersParams) WriteToRequest ¶
func (o *GetDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatacentersReader ¶
type GetDatacentersReader struct {
// contains filtered or unexported fields
}
GetDatacentersReader is a Reader for the GetDatacenters structure.
func (*GetDatacentersReader) ReadResponse ¶
func (o *GetDatacentersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveClustersFromDatacenterBadRequest ¶ added in v2.5.0
type RemoveClustersFromDatacenterBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveClustersFromDatacenterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveClustersFromDatacenterBadRequest ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterBadRequest() *RemoveClustersFromDatacenterBadRequest
NewRemoveClustersFromDatacenterBadRequest creates a RemoveClustersFromDatacenterBadRequest with default headers values
func (*RemoveClustersFromDatacenterBadRequest) Error ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterBadRequest) Error() string
func (*RemoveClustersFromDatacenterBadRequest) GetPayload ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterBadRequest) GetPayload() *models.ErrorBody
type RemoveClustersFromDatacenterInternalServerError ¶ added in v2.5.0
type RemoveClustersFromDatacenterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveClustersFromDatacenterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveClustersFromDatacenterInternalServerError ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterInternalServerError() *RemoveClustersFromDatacenterInternalServerError
NewRemoveClustersFromDatacenterInternalServerError creates a RemoveClustersFromDatacenterInternalServerError with default headers values
func (*RemoveClustersFromDatacenterInternalServerError) Error ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterInternalServerError) Error() string
func (*RemoveClustersFromDatacenterInternalServerError) GetPayload ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterInternalServerError) GetPayload() *models.ErrorBody
type RemoveClustersFromDatacenterNotFound ¶ added in v2.5.0
type RemoveClustersFromDatacenterNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveClustersFromDatacenterNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveClustersFromDatacenterNotFound ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterNotFound() *RemoveClustersFromDatacenterNotFound
NewRemoveClustersFromDatacenterNotFound creates a RemoveClustersFromDatacenterNotFound with default headers values
func (*RemoveClustersFromDatacenterNotFound) Error ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterNotFound) Error() string
func (*RemoveClustersFromDatacenterNotFound) GetPayload ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterNotFound) GetPayload() *models.ErrorBody
type RemoveClustersFromDatacenterOK ¶ added in v2.5.0
type RemoveClustersFromDatacenterOK struct { XTowerRequestID string Payload []*models.WithTaskDatacenter }
RemoveClustersFromDatacenterOK describes a response with status code 200, with default header values.
RemoveClustersFromDatacenterOK remove clusters from datacenter o k
func NewRemoveClustersFromDatacenterOK ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterOK() *RemoveClustersFromDatacenterOK
NewRemoveClustersFromDatacenterOK creates a RemoveClustersFromDatacenterOK with default headers values
func (*RemoveClustersFromDatacenterOK) Error ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterOK) Error() string
func (*RemoveClustersFromDatacenterOK) GetPayload ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterOK) GetPayload() []*models.WithTaskDatacenter
type RemoveClustersFromDatacenterParams ¶ added in v2.5.0
type RemoveClustersFromDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.RemoveClustersFromDatacenterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveClustersFromDatacenterParams contains all the parameters to send to the API endpoint
for the remove clusters from datacenter operation. Typically these are written to a http.Request.
func NewRemoveClustersFromDatacenterParams ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterParams() *RemoveClustersFromDatacenterParams
NewRemoveClustersFromDatacenterParams creates a new RemoveClustersFromDatacenterParams 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 NewRemoveClustersFromDatacenterParamsWithContext ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterParamsWithContext(ctx context.Context) *RemoveClustersFromDatacenterParams
NewRemoveClustersFromDatacenterParamsWithContext creates a new RemoveClustersFromDatacenterParams object with the ability to set a context for a request.
func NewRemoveClustersFromDatacenterParamsWithHTTPClient ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterParamsWithHTTPClient(client *http.Client) *RemoveClustersFromDatacenterParams
NewRemoveClustersFromDatacenterParamsWithHTTPClient creates a new RemoveClustersFromDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveClustersFromDatacenterParamsWithTimeout ¶ added in v2.5.0
func NewRemoveClustersFromDatacenterParamsWithTimeout(timeout time.Duration) *RemoveClustersFromDatacenterParams
NewRemoveClustersFromDatacenterParamsWithTimeout creates a new RemoveClustersFromDatacenterParams object with the ability to set a timeout on a request.
func (*RemoveClustersFromDatacenterParams) SetContentLanguage ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) SetContext ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) SetDefaults ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the remove clusters from datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveClustersFromDatacenterParams) SetHTTPClient ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) SetRequestBody ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) SetRequestBody(requestBody []*models.RemoveClustersFromDatacenterParams)
SetRequestBody adds the requestBody to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) SetTimeout ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) WithContentLanguage ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WithContentLanguage(contentLanguage *string) *RemoveClustersFromDatacenterParams
WithContentLanguage adds the contentLanguage to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) WithContext ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WithContext(ctx context.Context) *RemoveClustersFromDatacenterParams
WithContext adds the context to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) WithDefaults ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WithDefaults() *RemoveClustersFromDatacenterParams
WithDefaults hydrates default values in the remove clusters from datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveClustersFromDatacenterParams) WithHTTPClient ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WithHTTPClient(client *http.Client) *RemoveClustersFromDatacenterParams
WithHTTPClient adds the HTTPClient to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) WithRequestBody ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WithRequestBody(requestBody []*models.RemoveClustersFromDatacenterParams) *RemoveClustersFromDatacenterParams
WithRequestBody adds the requestBody to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) WithTimeout ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WithTimeout(timeout time.Duration) *RemoveClustersFromDatacenterParams
WithTimeout adds the timeout to the remove clusters from datacenter params
func (*RemoveClustersFromDatacenterParams) WriteToRequest ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveClustersFromDatacenterReader ¶ added in v2.5.0
type RemoveClustersFromDatacenterReader struct {
// contains filtered or unexported fields
}
RemoveClustersFromDatacenterReader is a Reader for the RemoveClustersFromDatacenter structure.
func (*RemoveClustersFromDatacenterReader) ReadResponse ¶ added in v2.5.0
func (o *RemoveClustersFromDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDatacenterBadRequest ¶
UpdateDatacenterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateDatacenterBadRequest ¶
func NewUpdateDatacenterBadRequest() *UpdateDatacenterBadRequest
NewUpdateDatacenterBadRequest creates a UpdateDatacenterBadRequest with default headers values
func (*UpdateDatacenterBadRequest) Error ¶
func (o *UpdateDatacenterBadRequest) Error() string
func (*UpdateDatacenterBadRequest) GetPayload ¶
func (o *UpdateDatacenterBadRequest) GetPayload() *models.ErrorBody
type UpdateDatacenterInternalServerError ¶
type UpdateDatacenterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateDatacenterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateDatacenterInternalServerError ¶
func NewUpdateDatacenterInternalServerError() *UpdateDatacenterInternalServerError
NewUpdateDatacenterInternalServerError creates a UpdateDatacenterInternalServerError with default headers values
func (*UpdateDatacenterInternalServerError) Error ¶
func (o *UpdateDatacenterInternalServerError) Error() string
func (*UpdateDatacenterInternalServerError) GetPayload ¶
func (o *UpdateDatacenterInternalServerError) GetPayload() *models.ErrorBody
type UpdateDatacenterNotFound ¶
UpdateDatacenterNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateDatacenterNotFound ¶
func NewUpdateDatacenterNotFound() *UpdateDatacenterNotFound
NewUpdateDatacenterNotFound creates a UpdateDatacenterNotFound with default headers values
func (*UpdateDatacenterNotFound) Error ¶
func (o *UpdateDatacenterNotFound) Error() string
func (*UpdateDatacenterNotFound) GetPayload ¶
func (o *UpdateDatacenterNotFound) GetPayload() *models.ErrorBody
type UpdateDatacenterOK ¶
type UpdateDatacenterOK struct { XTowerRequestID string Payload []*models.WithTaskDatacenter }
UpdateDatacenterOK describes a response with status code 200, with default header values.
UpdateDatacenterOK update datacenter o k
func NewUpdateDatacenterOK ¶
func NewUpdateDatacenterOK() *UpdateDatacenterOK
NewUpdateDatacenterOK creates a UpdateDatacenterOK with default headers values
func (*UpdateDatacenterOK) Error ¶
func (o *UpdateDatacenterOK) Error() string
func (*UpdateDatacenterOK) GetPayload ¶
func (o *UpdateDatacenterOK) GetPayload() []*models.WithTaskDatacenter
type UpdateDatacenterParams ¶
type UpdateDatacenterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.DatacenterUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDatacenterParams contains all the parameters to send to the API endpoint
for the update datacenter operation. Typically these are written to a http.Request.
func NewUpdateDatacenterParams ¶
func NewUpdateDatacenterParams() *UpdateDatacenterParams
NewUpdateDatacenterParams creates a new UpdateDatacenterParams 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 NewUpdateDatacenterParamsWithContext ¶
func NewUpdateDatacenterParamsWithContext(ctx context.Context) *UpdateDatacenterParams
NewUpdateDatacenterParamsWithContext creates a new UpdateDatacenterParams object with the ability to set a context for a request.
func NewUpdateDatacenterParamsWithHTTPClient ¶
func NewUpdateDatacenterParamsWithHTTPClient(client *http.Client) *UpdateDatacenterParams
NewUpdateDatacenterParamsWithHTTPClient creates a new UpdateDatacenterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDatacenterParamsWithTimeout ¶
func NewUpdateDatacenterParamsWithTimeout(timeout time.Duration) *UpdateDatacenterParams
NewUpdateDatacenterParamsWithTimeout creates a new UpdateDatacenterParams object with the ability to set a timeout on a request.
func (*UpdateDatacenterParams) SetContentLanguage ¶
func (o *UpdateDatacenterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update datacenter params
func (*UpdateDatacenterParams) SetContext ¶
func (o *UpdateDatacenterParams) SetContext(ctx context.Context)
SetContext adds the context to the update datacenter params
func (*UpdateDatacenterParams) SetDefaults ¶
func (o *UpdateDatacenterParams) SetDefaults()
SetDefaults hydrates default values in the update datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatacenterParams) SetHTTPClient ¶
func (o *UpdateDatacenterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update datacenter params
func (*UpdateDatacenterParams) SetRequestBody ¶
func (o *UpdateDatacenterParams) SetRequestBody(requestBody *models.DatacenterUpdationParams)
SetRequestBody adds the requestBody to the update datacenter params
func (*UpdateDatacenterParams) SetTimeout ¶
func (o *UpdateDatacenterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update datacenter params
func (*UpdateDatacenterParams) WithContentLanguage ¶
func (o *UpdateDatacenterParams) WithContentLanguage(contentLanguage *string) *UpdateDatacenterParams
WithContentLanguage adds the contentLanguage to the update datacenter params
func (*UpdateDatacenterParams) WithContext ¶
func (o *UpdateDatacenterParams) WithContext(ctx context.Context) *UpdateDatacenterParams
WithContext adds the context to the update datacenter params
func (*UpdateDatacenterParams) WithDefaults ¶
func (o *UpdateDatacenterParams) WithDefaults() *UpdateDatacenterParams
WithDefaults hydrates default values in the update datacenter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatacenterParams) WithHTTPClient ¶
func (o *UpdateDatacenterParams) WithHTTPClient(client *http.Client) *UpdateDatacenterParams
WithHTTPClient adds the HTTPClient to the update datacenter params
func (*UpdateDatacenterParams) WithRequestBody ¶
func (o *UpdateDatacenterParams) WithRequestBody(requestBody *models.DatacenterUpdationParams) *UpdateDatacenterParams
WithRequestBody adds the requestBody to the update datacenter params
func (*UpdateDatacenterParams) WithTimeout ¶
func (o *UpdateDatacenterParams) WithTimeout(timeout time.Duration) *UpdateDatacenterParams
WithTimeout adds the timeout to the update datacenter params
func (*UpdateDatacenterParams) WriteToRequest ¶
func (o *UpdateDatacenterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDatacenterReader ¶
type UpdateDatacenterReader struct {
// contains filtered or unexported fields
}
UpdateDatacenterReader is a Reader for the UpdateDatacenter structure.
func (*UpdateDatacenterReader) ReadResponse ¶
func (o *UpdateDatacenterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_clusters_to_datacenter_parameters.go
- add_clusters_to_datacenter_responses.go
- create_datacenter_parameters.go
- create_datacenter_responses.go
- datacenter_client.go
- delete_datacenter_parameters.go
- delete_datacenter_responses.go
- get_datacenters_connection_parameters.go
- get_datacenters_connection_responses.go
- get_datacenters_parameters.go
- get_datacenters_responses.go
- remove_clusters_from_datacenter_parameters.go
- remove_clusters_from_datacenter_responses.go
- update_datacenter_parameters.go
- update_datacenter_responses.go