cluster

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 1

Documentation

Index

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) GetMetaLeader added in v2.5.0

func (a *Client) GetMetaLeader(params *GetMetaLeaderParams, opts ...ClientOption) (*GetMetaLeaderOK, error)

GetMetaLeader get meta leader 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) UpdateClusterEnableISCSISetting added in v2.1.0

func (a *Client) UpdateClusterEnableISCSISetting(params *UpdateClusterEnableISCSISettingParams, opts ...ClientOption) (*UpdateClusterEnableISCSISettingOK, error)

UpdateClusterEnableISCSISetting update cluster enable i s c s i setting API

func (*Client) UpdateClusterHaSetting added in v2.1.0

func (a *Client) UpdateClusterHaSetting(params *UpdateClusterHaSettingParams, opts ...ClientOption) (*UpdateClusterHaSettingOK, error)

UpdateClusterHaSetting update cluster ha setting API

func (*Client) UpdateClusterLicense

func (a *Client) UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, error)

UpdateClusterLicense update cluster license API

func (*Client) UpdateClusterNetworkSetting added in v2.1.0

func (a *Client) UpdateClusterNetworkSetting(params *UpdateClusterNetworkSettingParams, opts ...ClientOption) (*UpdateClusterNetworkSettingOK, error)

UpdateClusterNetworkSetting update cluster network setting API

func (*Client) UpdateClusterVirtualizationSetting added in v2.1.0

func (a *Client) UpdateClusterVirtualizationSetting(params *UpdateClusterVirtualizationSettingParams, opts ...ClientOption) (*UpdateClusterVirtualizationSettingOK, error)

UpdateClusterVirtualizationSetting update cluster virtualization setting 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)

	GetMetaLeader(params *GetMetaLeaderParams, opts ...ClientOption) (*GetMetaLeaderOK, error)

	UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)

	UpdateClusterEnableISCSISetting(params *UpdateClusterEnableISCSISettingParams, opts ...ClientOption) (*UpdateClusterEnableISCSISettingOK, error)

	UpdateClusterHaSetting(params *UpdateClusterHaSettingParams, opts ...ClientOption) (*UpdateClusterHaSettingOK, error)

	UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, error)

	UpdateClusterNetworkSetting(params *UpdateClusterNetworkSettingParams, opts ...ClientOption) (*UpdateClusterNetworkSettingOK, error)

	UpdateClusterVirtualizationSetting(params *UpdateClusterVirtualizationSettingParams, opts ...ClientOption) (*UpdateClusterVirtualizationSettingOK, 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

type ConnectClusterBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type ConnectClusterInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*ConnectClusterInternalServerError) GetPayload

type ConnectClusterNotFound

type ConnectClusterNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 {
	XTowerRequestID string

	Payload []*models.WithTaskCluster
}
ConnectClusterOK describes a response with status code 200, with default header values.

ConnectClusterOK connect cluster o k

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

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

type DeleteClusterBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type DeleteClusterInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*DeleteClusterInternalServerError) GetPayload

type DeleteClusterNotFound

type DeleteClusterNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteCluster
}
DeleteClusterOK describes a response with status code 200, with default header values.

DeleteClusterOK delete cluster o k

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

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

type GetClustersBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type GetClustersConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetClustersConnectionBadRequest) GetPayload

type GetClustersConnectionInternalServerError

type GetClustersConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetClustersConnectionInternalServerError) GetPayload

type GetClustersConnectionNotFound

type GetClustersConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetClustersConnectionNotFound) GetPayload

type GetClustersConnectionOK

type GetClustersConnectionOK struct {
	XTowerRequestID string

	Payload *models.ClusterConnection
}
GetClustersConnectionOK describes a response with status code 200, with default header values.

GetClustersConnectionOK get clusters connection o k

func NewGetClustersConnectionOK

func NewGetClustersConnectionOK() *GetClustersConnectionOK

NewGetClustersConnectionOK creates a GetClustersConnectionOK with default headers values

func (*GetClustersConnectionOK) Error

func (o *GetClustersConnectionOK) Error() string

func (*GetClustersConnectionOK) GetPayload

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

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

WithContext adds the context to the get clusters connection params

func (*GetClustersConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get clusters connection params

func (*GetClustersConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get clusters connection params

func (*GetClustersConnectionParams) WithTimeout

WithTimeout adds the timeout to the get clusters connection params

func (*GetClustersConnectionParams) WriteToRequest

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

type GetClustersInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetClustersInternalServerError) GetPayload

type GetClustersNotFound

type GetClustersNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type GetClustersOK struct {
	XTowerRequestID string

	Payload []*models.Cluster
}
GetClustersOK describes a response with status code 200, with default header values.

GetClustersOK get clusters o k

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 GetMetaLeaderBadRequest added in v2.5.0

type GetMetaLeaderBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetMetaLeaderBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetMetaLeaderBadRequest added in v2.5.0

func NewGetMetaLeaderBadRequest() *GetMetaLeaderBadRequest

NewGetMetaLeaderBadRequest creates a GetMetaLeaderBadRequest with default headers values

func (*GetMetaLeaderBadRequest) Error added in v2.5.0

func (o *GetMetaLeaderBadRequest) Error() string

func (*GetMetaLeaderBadRequest) GetPayload added in v2.5.0

func (o *GetMetaLeaderBadRequest) GetPayload() *models.ErrorBody

type GetMetaLeaderInternalServerError added in v2.5.0

type GetMetaLeaderInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetMetaLeaderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetMetaLeaderInternalServerError added in v2.5.0

func NewGetMetaLeaderInternalServerError() *GetMetaLeaderInternalServerError

NewGetMetaLeaderInternalServerError creates a GetMetaLeaderInternalServerError with default headers values

func (*GetMetaLeaderInternalServerError) Error added in v2.5.0

func (*GetMetaLeaderInternalServerError) GetPayload added in v2.5.0

type GetMetaLeaderNotFound added in v2.5.0

type GetMetaLeaderNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetMetaLeaderNotFound describes a response with status code 404, with default header values.

Not found

func NewGetMetaLeaderNotFound added in v2.5.0

func NewGetMetaLeaderNotFound() *GetMetaLeaderNotFound

NewGetMetaLeaderNotFound creates a GetMetaLeaderNotFound with default headers values

func (*GetMetaLeaderNotFound) Error added in v2.5.0

func (o *GetMetaLeaderNotFound) Error() string

func (*GetMetaLeaderNotFound) GetPayload added in v2.5.0

func (o *GetMetaLeaderNotFound) GetPayload() *models.ErrorBody

type GetMetaLeaderOK added in v2.5.0

type GetMetaLeaderOK struct {
	XTowerRequestID string

	Payload []*models.MetaLeader
}
GetMetaLeaderOK describes a response with status code 200, with default header values.

GetMetaLeaderOK get meta leader o k

func NewGetMetaLeaderOK added in v2.5.0

func NewGetMetaLeaderOK() *GetMetaLeaderOK

NewGetMetaLeaderOK creates a GetMetaLeaderOK with default headers values

func (*GetMetaLeaderOK) Error added in v2.5.0

func (o *GetMetaLeaderOK) Error() string

func (*GetMetaLeaderOK) GetPayload added in v2.5.0

func (o *GetMetaLeaderOK) GetPayload() []*models.MetaLeader

type GetMetaLeaderParams added in v2.5.0

type GetMetaLeaderParams struct {

	// RequestBody.
	RequestBody *models.GetMetaLeaderRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMetaLeaderParams contains all the parameters to send to the API endpoint

for the get meta leader operation.

Typically these are written to a http.Request.

func NewGetMetaLeaderParams added in v2.5.0

func NewGetMetaLeaderParams() *GetMetaLeaderParams

NewGetMetaLeaderParams creates a new GetMetaLeaderParams 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 NewGetMetaLeaderParamsWithContext added in v2.5.0

func NewGetMetaLeaderParamsWithContext(ctx context.Context) *GetMetaLeaderParams

NewGetMetaLeaderParamsWithContext creates a new GetMetaLeaderParams object with the ability to set a context for a request.

func NewGetMetaLeaderParamsWithHTTPClient added in v2.5.0

func NewGetMetaLeaderParamsWithHTTPClient(client *http.Client) *GetMetaLeaderParams

NewGetMetaLeaderParamsWithHTTPClient creates a new GetMetaLeaderParams object with the ability to set a custom HTTPClient for a request.

func NewGetMetaLeaderParamsWithTimeout added in v2.5.0

func NewGetMetaLeaderParamsWithTimeout(timeout time.Duration) *GetMetaLeaderParams

NewGetMetaLeaderParamsWithTimeout creates a new GetMetaLeaderParams object with the ability to set a timeout on a request.

func (*GetMetaLeaderParams) SetContext added in v2.5.0

func (o *GetMetaLeaderParams) SetContext(ctx context.Context)

SetContext adds the context to the get meta leader params

func (*GetMetaLeaderParams) SetDefaults added in v2.5.0

func (o *GetMetaLeaderParams) SetDefaults()

SetDefaults hydrates default values in the get meta leader params (not the query body).

All values with no default are reset to their zero value.

func (*GetMetaLeaderParams) SetHTTPClient added in v2.5.0

func (o *GetMetaLeaderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get meta leader params

func (*GetMetaLeaderParams) SetRequestBody added in v2.5.0

func (o *GetMetaLeaderParams) SetRequestBody(requestBody *models.GetMetaLeaderRequestBody)

SetRequestBody adds the requestBody to the get meta leader params

func (*GetMetaLeaderParams) SetTimeout added in v2.5.0

func (o *GetMetaLeaderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get meta leader params

func (*GetMetaLeaderParams) WithContext added in v2.5.0

WithContext adds the context to the get meta leader params

func (*GetMetaLeaderParams) WithDefaults added in v2.5.0

func (o *GetMetaLeaderParams) WithDefaults() *GetMetaLeaderParams

WithDefaults hydrates default values in the get meta leader params (not the query body).

All values with no default are reset to their zero value.

func (*GetMetaLeaderParams) WithHTTPClient added in v2.5.0

func (o *GetMetaLeaderParams) WithHTTPClient(client *http.Client) *GetMetaLeaderParams

WithHTTPClient adds the HTTPClient to the get meta leader params

func (*GetMetaLeaderParams) WithRequestBody added in v2.5.0

func (o *GetMetaLeaderParams) WithRequestBody(requestBody *models.GetMetaLeaderRequestBody) *GetMetaLeaderParams

WithRequestBody adds the requestBody to the get meta leader params

func (*GetMetaLeaderParams) WithTimeout added in v2.5.0

func (o *GetMetaLeaderParams) WithTimeout(timeout time.Duration) *GetMetaLeaderParams

WithTimeout adds the timeout to the get meta leader params

func (*GetMetaLeaderParams) WriteToRequest added in v2.5.0

func (o *GetMetaLeaderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMetaLeaderReader added in v2.5.0

type GetMetaLeaderReader struct {
	// contains filtered or unexported fields
}

GetMetaLeaderReader is a Reader for the GetMetaLeader structure.

func (*GetMetaLeaderReader) ReadResponse added in v2.5.0

func (o *GetMetaLeaderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterBadRequest

type UpdateClusterBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 UpdateClusterEnableISCSISettingBadRequest added in v2.1.0

type UpdateClusterEnableISCSISettingBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterEnableISCSISettingBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateClusterEnableISCSISettingBadRequest added in v2.1.0

func NewUpdateClusterEnableISCSISettingBadRequest() *UpdateClusterEnableISCSISettingBadRequest

NewUpdateClusterEnableISCSISettingBadRequest creates a UpdateClusterEnableISCSISettingBadRequest with default headers values

func (*UpdateClusterEnableISCSISettingBadRequest) Error added in v2.1.0

func (*UpdateClusterEnableISCSISettingBadRequest) GetPayload added in v2.1.0

type UpdateClusterEnableISCSISettingInternalServerError added in v2.1.0

type UpdateClusterEnableISCSISettingInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterEnableISCSISettingInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateClusterEnableISCSISettingInternalServerError added in v2.1.0

func NewUpdateClusterEnableISCSISettingInternalServerError() *UpdateClusterEnableISCSISettingInternalServerError

NewUpdateClusterEnableISCSISettingInternalServerError creates a UpdateClusterEnableISCSISettingInternalServerError with default headers values

func (*UpdateClusterEnableISCSISettingInternalServerError) Error added in v2.1.0

func (*UpdateClusterEnableISCSISettingInternalServerError) GetPayload added in v2.1.0

type UpdateClusterEnableISCSISettingNotFound added in v2.1.0

type UpdateClusterEnableISCSISettingNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterEnableISCSISettingNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateClusterEnableISCSISettingNotFound added in v2.1.0

func NewUpdateClusterEnableISCSISettingNotFound() *UpdateClusterEnableISCSISettingNotFound

NewUpdateClusterEnableISCSISettingNotFound creates a UpdateClusterEnableISCSISettingNotFound with default headers values

func (*UpdateClusterEnableISCSISettingNotFound) Error added in v2.1.0

func (*UpdateClusterEnableISCSISettingNotFound) GetPayload added in v2.1.0

type UpdateClusterEnableISCSISettingOK added in v2.1.0

type UpdateClusterEnableISCSISettingOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskClusterSettings
}
UpdateClusterEnableISCSISettingOK describes a response with status code 200, with default header values.

UpdateClusterEnableISCSISettingOK update cluster enable i s c s i setting o k

func NewUpdateClusterEnableISCSISettingOK added in v2.1.0

func NewUpdateClusterEnableISCSISettingOK() *UpdateClusterEnableISCSISettingOK

NewUpdateClusterEnableISCSISettingOK creates a UpdateClusterEnableISCSISettingOK with default headers values

func (*UpdateClusterEnableISCSISettingOK) Error added in v2.1.0

func (*UpdateClusterEnableISCSISettingOK) GetPayload added in v2.1.0

type UpdateClusterEnableISCSISettingParams added in v2.1.0

type UpdateClusterEnableISCSISettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterEnableIscsiUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterEnableISCSISettingParams contains all the parameters to send to the API endpoint

for the update cluster enable i s c s i setting operation.

Typically these are written to a http.Request.

func NewUpdateClusterEnableISCSISettingParams added in v2.1.0

func NewUpdateClusterEnableISCSISettingParams() *UpdateClusterEnableISCSISettingParams

NewUpdateClusterEnableISCSISettingParams creates a new UpdateClusterEnableISCSISettingParams 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 NewUpdateClusterEnableISCSISettingParamsWithContext added in v2.1.0

func NewUpdateClusterEnableISCSISettingParamsWithContext(ctx context.Context) *UpdateClusterEnableISCSISettingParams

NewUpdateClusterEnableISCSISettingParamsWithContext creates a new UpdateClusterEnableISCSISettingParams object with the ability to set a context for a request.

func NewUpdateClusterEnableISCSISettingParamsWithHTTPClient added in v2.1.0

func NewUpdateClusterEnableISCSISettingParamsWithHTTPClient(client *http.Client) *UpdateClusterEnableISCSISettingParams

NewUpdateClusterEnableISCSISettingParamsWithHTTPClient creates a new UpdateClusterEnableISCSISettingParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterEnableISCSISettingParamsWithTimeout added in v2.1.0

func NewUpdateClusterEnableISCSISettingParamsWithTimeout(timeout time.Duration) *UpdateClusterEnableISCSISettingParams

NewUpdateClusterEnableISCSISettingParamsWithTimeout creates a new UpdateClusterEnableISCSISettingParams object with the ability to set a timeout on a request.

func (*UpdateClusterEnableISCSISettingParams) SetContentLanguage added in v2.1.0

func (o *UpdateClusterEnableISCSISettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) SetContext added in v2.1.0

SetContext adds the context to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) SetDefaults added in v2.1.0

func (o *UpdateClusterEnableISCSISettingParams) SetDefaults()

SetDefaults hydrates default values in the update cluster enable i s c s i setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterEnableISCSISettingParams) SetHTTPClient added in v2.1.0

func (o *UpdateClusterEnableISCSISettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) SetRequestBody added in v2.1.0

SetRequestBody adds the requestBody to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) SetTimeout added in v2.1.0

func (o *UpdateClusterEnableISCSISettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) WithContentLanguage added in v2.1.0

WithContentLanguage adds the contentLanguage to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) WithContext added in v2.1.0

WithContext adds the context to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the update cluster enable i s c s i setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterEnableISCSISettingParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the update cluster enable i s c s i setting params

func (*UpdateClusterEnableISCSISettingParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type UpdateClusterEnableISCSISettingReader added in v2.1.0

type UpdateClusterEnableISCSISettingReader struct {
	// contains filtered or unexported fields
}

UpdateClusterEnableISCSISettingReader is a Reader for the UpdateClusterEnableISCSISetting structure.

func (*UpdateClusterEnableISCSISettingReader) ReadResponse added in v2.1.0

func (o *UpdateClusterEnableISCSISettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterHaSettingBadRequest added in v2.1.0

type UpdateClusterHaSettingBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterHaSettingBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateClusterHaSettingBadRequest added in v2.1.0

func NewUpdateClusterHaSettingBadRequest() *UpdateClusterHaSettingBadRequest

NewUpdateClusterHaSettingBadRequest creates a UpdateClusterHaSettingBadRequest with default headers values

func (*UpdateClusterHaSettingBadRequest) Error added in v2.1.0

func (*UpdateClusterHaSettingBadRequest) GetPayload added in v2.1.0

type UpdateClusterHaSettingInternalServerError added in v2.1.0

type UpdateClusterHaSettingInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterHaSettingInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateClusterHaSettingInternalServerError added in v2.1.0

func NewUpdateClusterHaSettingInternalServerError() *UpdateClusterHaSettingInternalServerError

NewUpdateClusterHaSettingInternalServerError creates a UpdateClusterHaSettingInternalServerError with default headers values

func (*UpdateClusterHaSettingInternalServerError) Error added in v2.1.0

func (*UpdateClusterHaSettingInternalServerError) GetPayload added in v2.1.0

type UpdateClusterHaSettingNotFound added in v2.1.0

type UpdateClusterHaSettingNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterHaSettingNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateClusterHaSettingNotFound added in v2.1.0

func NewUpdateClusterHaSettingNotFound() *UpdateClusterHaSettingNotFound

NewUpdateClusterHaSettingNotFound creates a UpdateClusterHaSettingNotFound with default headers values

func (*UpdateClusterHaSettingNotFound) Error added in v2.1.0

func (*UpdateClusterHaSettingNotFound) GetPayload added in v2.1.0

type UpdateClusterHaSettingOK added in v2.1.0

type UpdateClusterHaSettingOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskClusterSettings
}
UpdateClusterHaSettingOK describes a response with status code 200, with default header values.

UpdateClusterHaSettingOK update cluster ha setting o k

func NewUpdateClusterHaSettingOK added in v2.1.0

func NewUpdateClusterHaSettingOK() *UpdateClusterHaSettingOK

NewUpdateClusterHaSettingOK creates a UpdateClusterHaSettingOK with default headers values

func (*UpdateClusterHaSettingOK) Error added in v2.1.0

func (o *UpdateClusterHaSettingOK) Error() string

func (*UpdateClusterHaSettingOK) GetPayload added in v2.1.0

type UpdateClusterHaSettingParams added in v2.1.0

type UpdateClusterHaSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterHaUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterHaSettingParams contains all the parameters to send to the API endpoint

for the update cluster ha setting operation.

Typically these are written to a http.Request.

func NewUpdateClusterHaSettingParams added in v2.1.0

func NewUpdateClusterHaSettingParams() *UpdateClusterHaSettingParams

NewUpdateClusterHaSettingParams creates a new UpdateClusterHaSettingParams 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 NewUpdateClusterHaSettingParamsWithContext added in v2.1.0

func NewUpdateClusterHaSettingParamsWithContext(ctx context.Context) *UpdateClusterHaSettingParams

NewUpdateClusterHaSettingParamsWithContext creates a new UpdateClusterHaSettingParams object with the ability to set a context for a request.

func NewUpdateClusterHaSettingParamsWithHTTPClient added in v2.1.0

func NewUpdateClusterHaSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterHaSettingParams

NewUpdateClusterHaSettingParamsWithHTTPClient creates a new UpdateClusterHaSettingParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterHaSettingParamsWithTimeout added in v2.1.0

func NewUpdateClusterHaSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterHaSettingParams

NewUpdateClusterHaSettingParamsWithTimeout creates a new UpdateClusterHaSettingParams object with the ability to set a timeout on a request.

func (*UpdateClusterHaSettingParams) SetContentLanguage added in v2.1.0

func (o *UpdateClusterHaSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) SetContext added in v2.1.0

func (o *UpdateClusterHaSettingParams) SetContext(ctx context.Context)

SetContext adds the context to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) SetDefaults added in v2.1.0

func (o *UpdateClusterHaSettingParams) SetDefaults()

SetDefaults hydrates default values in the update cluster ha setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterHaSettingParams) SetHTTPClient added in v2.1.0

func (o *UpdateClusterHaSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) SetRequestBody added in v2.1.0

func (o *UpdateClusterHaSettingParams) SetRequestBody(requestBody *models.ClusterHaUpdationParams)

SetRequestBody adds the requestBody to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) SetTimeout added in v2.1.0

func (o *UpdateClusterHaSettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) WithContentLanguage added in v2.1.0

func (o *UpdateClusterHaSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterHaSettingParams

WithContentLanguage adds the contentLanguage to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) WithContext added in v2.1.0

WithContext adds the context to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the update cluster ha setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterHaSettingParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the update cluster ha setting params

func (*UpdateClusterHaSettingParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type UpdateClusterHaSettingReader added in v2.1.0

type UpdateClusterHaSettingReader struct {
	// contains filtered or unexported fields
}

UpdateClusterHaSettingReader is a Reader for the UpdateClusterHaSetting structure.

func (*UpdateClusterHaSettingReader) ReadResponse added in v2.1.0

func (o *UpdateClusterHaSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterInternalServerError

type UpdateClusterInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateClusterInternalServerError) GetPayload

type UpdateClusterLicenseBadRequest

type UpdateClusterLicenseBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateClusterLicenseBadRequest) GetPayload

type UpdateClusterLicenseInternalServerError

type UpdateClusterLicenseInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateClusterLicenseInternalServerError) GetPayload

type UpdateClusterLicenseNotFound

type UpdateClusterLicenseNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateClusterLicenseNotFound) GetPayload

type UpdateClusterLicenseOK

type UpdateClusterLicenseOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskCluster
}
UpdateClusterLicenseOK describes a response with status code 200, with default header values.

UpdateClusterLicenseOK update cluster license o k

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

WithContext adds the context to the update cluster license params

func (*UpdateClusterLicenseParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update cluster license params

func (*UpdateClusterLicenseParams) WithRequestBody

WithRequestBody adds the requestBody to the update cluster license params

func (*UpdateClusterLicenseParams) WithTimeout

WithTimeout adds the timeout to the update cluster license params

func (*UpdateClusterLicenseParams) WriteToRequest

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 UpdateClusterNetworkSettingBadRequest added in v2.1.0

type UpdateClusterNetworkSettingBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterNetworkSettingBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateClusterNetworkSettingBadRequest added in v2.1.0

func NewUpdateClusterNetworkSettingBadRequest() *UpdateClusterNetworkSettingBadRequest

NewUpdateClusterNetworkSettingBadRequest creates a UpdateClusterNetworkSettingBadRequest with default headers values

func (*UpdateClusterNetworkSettingBadRequest) Error added in v2.1.0

func (*UpdateClusterNetworkSettingBadRequest) GetPayload added in v2.1.0

type UpdateClusterNetworkSettingInternalServerError added in v2.1.0

type UpdateClusterNetworkSettingInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterNetworkSettingInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateClusterNetworkSettingInternalServerError added in v2.1.0

func NewUpdateClusterNetworkSettingInternalServerError() *UpdateClusterNetworkSettingInternalServerError

NewUpdateClusterNetworkSettingInternalServerError creates a UpdateClusterNetworkSettingInternalServerError with default headers values

func (*UpdateClusterNetworkSettingInternalServerError) Error added in v2.1.0

func (*UpdateClusterNetworkSettingInternalServerError) GetPayload added in v2.1.0

type UpdateClusterNetworkSettingNotFound added in v2.1.0

type UpdateClusterNetworkSettingNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterNetworkSettingNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateClusterNetworkSettingNotFound added in v2.1.0

func NewUpdateClusterNetworkSettingNotFound() *UpdateClusterNetworkSettingNotFound

NewUpdateClusterNetworkSettingNotFound creates a UpdateClusterNetworkSettingNotFound with default headers values

func (*UpdateClusterNetworkSettingNotFound) Error added in v2.1.0

func (*UpdateClusterNetworkSettingNotFound) GetPayload added in v2.1.0

type UpdateClusterNetworkSettingOK added in v2.1.0

type UpdateClusterNetworkSettingOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskCluster
}
UpdateClusterNetworkSettingOK describes a response with status code 200, with default header values.

UpdateClusterNetworkSettingOK update cluster network setting o k

func NewUpdateClusterNetworkSettingOK added in v2.1.0

func NewUpdateClusterNetworkSettingOK() *UpdateClusterNetworkSettingOK

NewUpdateClusterNetworkSettingOK creates a UpdateClusterNetworkSettingOK with default headers values

func (*UpdateClusterNetworkSettingOK) Error added in v2.1.0

func (*UpdateClusterNetworkSettingOK) GetPayload added in v2.1.0

type UpdateClusterNetworkSettingParams added in v2.1.0

type UpdateClusterNetworkSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterNetworkSettingUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterNetworkSettingParams contains all the parameters to send to the API endpoint

for the update cluster network setting operation.

Typically these are written to a http.Request.

func NewUpdateClusterNetworkSettingParams added in v2.1.0

func NewUpdateClusterNetworkSettingParams() *UpdateClusterNetworkSettingParams

NewUpdateClusterNetworkSettingParams creates a new UpdateClusterNetworkSettingParams 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 NewUpdateClusterNetworkSettingParamsWithContext added in v2.1.0

func NewUpdateClusterNetworkSettingParamsWithContext(ctx context.Context) *UpdateClusterNetworkSettingParams

NewUpdateClusterNetworkSettingParamsWithContext creates a new UpdateClusterNetworkSettingParams object with the ability to set a context for a request.

func NewUpdateClusterNetworkSettingParamsWithHTTPClient added in v2.1.0

func NewUpdateClusterNetworkSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterNetworkSettingParams

NewUpdateClusterNetworkSettingParamsWithHTTPClient creates a new UpdateClusterNetworkSettingParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterNetworkSettingParamsWithTimeout added in v2.1.0

func NewUpdateClusterNetworkSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterNetworkSettingParams

NewUpdateClusterNetworkSettingParamsWithTimeout creates a new UpdateClusterNetworkSettingParams object with the ability to set a timeout on a request.

func (*UpdateClusterNetworkSettingParams) SetContentLanguage added in v2.1.0

func (o *UpdateClusterNetworkSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) SetContext added in v2.1.0

SetContext adds the context to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) SetDefaults added in v2.1.0

func (o *UpdateClusterNetworkSettingParams) SetDefaults()

SetDefaults hydrates default values in the update cluster network setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterNetworkSettingParams) SetHTTPClient added in v2.1.0

func (o *UpdateClusterNetworkSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) SetRequestBody added in v2.1.0

SetRequestBody adds the requestBody to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) SetTimeout added in v2.1.0

func (o *UpdateClusterNetworkSettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) WithContentLanguage added in v2.1.0

func (o *UpdateClusterNetworkSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterNetworkSettingParams

WithContentLanguage adds the contentLanguage to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) WithContext added in v2.1.0

WithContext adds the context to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the update cluster network setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterNetworkSettingParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the update cluster network setting params

func (*UpdateClusterNetworkSettingParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type UpdateClusterNetworkSettingReader added in v2.1.0

type UpdateClusterNetworkSettingReader struct {
	// contains filtered or unexported fields
}

UpdateClusterNetworkSettingReader is a Reader for the UpdateClusterNetworkSetting structure.

func (*UpdateClusterNetworkSettingReader) ReadResponse added in v2.1.0

func (o *UpdateClusterNetworkSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterNotFound

type UpdateClusterNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 {
	XTowerRequestID string

	Payload []*models.WithTaskCluster
}
UpdateClusterOK describes a response with status code 200, with default header values.

UpdateClusterOK update cluster o k

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

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.

type UpdateClusterVirtualizationSettingBadRequest added in v2.1.0

type UpdateClusterVirtualizationSettingBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterVirtualizationSettingBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateClusterVirtualizationSettingBadRequest added in v2.1.0

func NewUpdateClusterVirtualizationSettingBadRequest() *UpdateClusterVirtualizationSettingBadRequest

NewUpdateClusterVirtualizationSettingBadRequest creates a UpdateClusterVirtualizationSettingBadRequest with default headers values

func (*UpdateClusterVirtualizationSettingBadRequest) Error added in v2.1.0

func (*UpdateClusterVirtualizationSettingBadRequest) GetPayload added in v2.1.0

type UpdateClusterVirtualizationSettingInternalServerError added in v2.1.0

type UpdateClusterVirtualizationSettingInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterVirtualizationSettingInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateClusterVirtualizationSettingInternalServerError added in v2.1.0

func NewUpdateClusterVirtualizationSettingInternalServerError() *UpdateClusterVirtualizationSettingInternalServerError

NewUpdateClusterVirtualizationSettingInternalServerError creates a UpdateClusterVirtualizationSettingInternalServerError with default headers values

func (*UpdateClusterVirtualizationSettingInternalServerError) Error added in v2.1.0

func (*UpdateClusterVirtualizationSettingInternalServerError) GetPayload added in v2.1.0

type UpdateClusterVirtualizationSettingNotFound added in v2.1.0

type UpdateClusterVirtualizationSettingNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateClusterVirtualizationSettingNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateClusterVirtualizationSettingNotFound added in v2.1.0

func NewUpdateClusterVirtualizationSettingNotFound() *UpdateClusterVirtualizationSettingNotFound

NewUpdateClusterVirtualizationSettingNotFound creates a UpdateClusterVirtualizationSettingNotFound with default headers values

func (*UpdateClusterVirtualizationSettingNotFound) Error added in v2.1.0

func (*UpdateClusterVirtualizationSettingNotFound) GetPayload added in v2.1.0

type UpdateClusterVirtualizationSettingOK added in v2.1.0

type UpdateClusterVirtualizationSettingOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskCluster
}
UpdateClusterVirtualizationSettingOK describes a response with status code 200, with default header values.

UpdateClusterVirtualizationSettingOK update cluster virtualization setting o k

func NewUpdateClusterVirtualizationSettingOK added in v2.1.0

func NewUpdateClusterVirtualizationSettingOK() *UpdateClusterVirtualizationSettingOK

NewUpdateClusterVirtualizationSettingOK creates a UpdateClusterVirtualizationSettingOK with default headers values

func (*UpdateClusterVirtualizationSettingOK) Error added in v2.1.0

func (*UpdateClusterVirtualizationSettingOK) GetPayload added in v2.1.0

type UpdateClusterVirtualizationSettingParams added in v2.1.0

type UpdateClusterVirtualizationSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterVirtualizationUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterVirtualizationSettingParams contains all the parameters to send to the API endpoint

for the update cluster virtualization setting operation.

Typically these are written to a http.Request.

func NewUpdateClusterVirtualizationSettingParams added in v2.1.0

func NewUpdateClusterVirtualizationSettingParams() *UpdateClusterVirtualizationSettingParams

NewUpdateClusterVirtualizationSettingParams creates a new UpdateClusterVirtualizationSettingParams 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 NewUpdateClusterVirtualizationSettingParamsWithContext added in v2.1.0

func NewUpdateClusterVirtualizationSettingParamsWithContext(ctx context.Context) *UpdateClusterVirtualizationSettingParams

NewUpdateClusterVirtualizationSettingParamsWithContext creates a new UpdateClusterVirtualizationSettingParams object with the ability to set a context for a request.

func NewUpdateClusterVirtualizationSettingParamsWithHTTPClient added in v2.1.0

func NewUpdateClusterVirtualizationSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterVirtualizationSettingParams

NewUpdateClusterVirtualizationSettingParamsWithHTTPClient creates a new UpdateClusterVirtualizationSettingParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterVirtualizationSettingParamsWithTimeout added in v2.1.0

func NewUpdateClusterVirtualizationSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterVirtualizationSettingParams

NewUpdateClusterVirtualizationSettingParamsWithTimeout creates a new UpdateClusterVirtualizationSettingParams object with the ability to set a timeout on a request.

func (*UpdateClusterVirtualizationSettingParams) SetContentLanguage added in v2.1.0

func (o *UpdateClusterVirtualizationSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) SetContext added in v2.1.0

SetContext adds the context to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) SetDefaults added in v2.1.0

SetDefaults hydrates default values in the update cluster virtualization setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterVirtualizationSettingParams) SetHTTPClient added in v2.1.0

func (o *UpdateClusterVirtualizationSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) SetRequestBody added in v2.1.0

SetRequestBody adds the requestBody to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) SetTimeout added in v2.1.0

SetTimeout adds the timeout to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) WithContentLanguage added in v2.1.0

WithContentLanguage adds the contentLanguage to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) WithContext added in v2.1.0

WithContext adds the context to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the update cluster virtualization setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterVirtualizationSettingParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the update cluster virtualization setting params

func (*UpdateClusterVirtualizationSettingParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type UpdateClusterVirtualizationSettingReader added in v2.1.0

type UpdateClusterVirtualizationSettingReader struct {
	// contains filtered or unexported fields
}

UpdateClusterVirtualizationSettingReader is a Reader for the UpdateClusterVirtualizationSetting structure.

func (*UpdateClusterVirtualizationSettingReader) ReadResponse added in v2.1.0

func (o *UpdateClusterVirtualizationSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL