Documentation ¶
Index ¶
- type Client
- func (a *Client) ConnectCluster(params *ConnectClusterParams, opts ...ClientOption) (*ConnectClusterOK, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)
- func (a *Client) GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)
- func (a *Client) GetClustersConnection(params *GetClustersConnectionParams, opts ...ClientOption) (*GetClustersConnectionOK, error)
- func (a *Client) GetMetaLeader(params *GetMetaLeaderParams, opts ...ClientOption) (*GetMetaLeaderOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)
- func (a *Client) UpdateClusterEnableISCSISetting(params *UpdateClusterEnableISCSISettingParams, opts ...ClientOption) (*UpdateClusterEnableISCSISettingOK, error)
- func (a *Client) UpdateClusterHaSetting(params *UpdateClusterHaSettingParams, opts ...ClientOption) (*UpdateClusterHaSettingOK, error)
- func (a *Client) UpdateClusterLicense(params *UpdateClusterLicenseParams, opts ...ClientOption) (*UpdateClusterLicenseOK, error)
- func (a *Client) UpdateClusterNetworkSetting(params *UpdateClusterNetworkSettingParams, opts ...ClientOption) (*UpdateClusterNetworkSettingOK, error)
- func (a *Client) UpdateClusterVirtualizationSetting(params *UpdateClusterVirtualizationSettingParams, opts ...ClientOption) (*UpdateClusterVirtualizationSettingOK, error)
- type ClientOption
- type ClientService
- type ConnectClusterBadRequest
- type ConnectClusterInternalServerError
- type ConnectClusterNotFound
- type ConnectClusterOK
- type ConnectClusterParams
- func NewConnectClusterParams() *ConnectClusterParams
- func NewConnectClusterParamsWithContext(ctx context.Context) *ConnectClusterParams
- func NewConnectClusterParamsWithHTTPClient(client *http.Client) *ConnectClusterParams
- func NewConnectClusterParamsWithTimeout(timeout time.Duration) *ConnectClusterParams
- func (o *ConnectClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *ConnectClusterParams) SetContext(ctx context.Context)
- func (o *ConnectClusterParams) SetDefaults()
- func (o *ConnectClusterParams) SetHTTPClient(client *http.Client)
- func (o *ConnectClusterParams) SetRequestBody(requestBody []*models.ClusterCreationParams)
- func (o *ConnectClusterParams) SetTimeout(timeout time.Duration)
- func (o *ConnectClusterParams) WithContentLanguage(contentLanguage *string) *ConnectClusterParams
- func (o *ConnectClusterParams) WithContext(ctx context.Context) *ConnectClusterParams
- func (o *ConnectClusterParams) WithDefaults() *ConnectClusterParams
- func (o *ConnectClusterParams) WithHTTPClient(client *http.Client) *ConnectClusterParams
- func (o *ConnectClusterParams) WithRequestBody(requestBody []*models.ClusterCreationParams) *ConnectClusterParams
- func (o *ConnectClusterParams) WithTimeout(timeout time.Duration) *ConnectClusterParams
- func (o *ConnectClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConnectClusterReader
- type DeleteClusterBadRequest
- type DeleteClusterInternalServerError
- type DeleteClusterNotFound
- type DeleteClusterOK
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetDefaults()
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetRequestBody(requestBody *models.ClusterDeletionParams)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithContentLanguage(contentLanguage *string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithRequestBody(requestBody *models.ClusterDeletionParams) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type GetClustersBadRequest
- type GetClustersConnectionBadRequest
- type GetClustersConnectionInternalServerError
- type GetClustersConnectionNotFound
- type GetClustersConnectionOK
- type GetClustersConnectionParams
- func NewGetClustersConnectionParams() *GetClustersConnectionParams
- func NewGetClustersConnectionParamsWithContext(ctx context.Context) *GetClustersConnectionParams
- func NewGetClustersConnectionParamsWithHTTPClient(client *http.Client) *GetClustersConnectionParams
- func NewGetClustersConnectionParamsWithTimeout(timeout time.Duration) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClustersConnectionParams) SetContext(ctx context.Context)
- func (o *GetClustersConnectionParams) SetDefaults()
- func (o *GetClustersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetClustersConnectionParams) SetRequestBody(requestBody *models.GetClustersConnectionRequestBody)
- func (o *GetClustersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithContext(ctx context.Context) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithDefaults() *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithHTTPClient(client *http.Client) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithRequestBody(requestBody *models.GetClustersConnectionRequestBody) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WithTimeout(timeout time.Duration) *GetClustersConnectionParams
- func (o *GetClustersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClustersConnectionReader
- type GetClustersInternalServerError
- type GetClustersNotFound
- type GetClustersOK
- type GetClustersParams
- func (o *GetClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClustersParams) SetContext(ctx context.Context)
- func (o *GetClustersParams) SetDefaults()
- func (o *GetClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetClustersParams) SetRequestBody(requestBody *models.GetClustersRequestBody)
- func (o *GetClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetClustersParams) WithContentLanguage(contentLanguage *string) *GetClustersParams
- func (o *GetClustersParams) WithContext(ctx context.Context) *GetClustersParams
- func (o *GetClustersParams) WithDefaults() *GetClustersParams
- func (o *GetClustersParams) WithHTTPClient(client *http.Client) *GetClustersParams
- func (o *GetClustersParams) WithRequestBody(requestBody *models.GetClustersRequestBody) *GetClustersParams
- func (o *GetClustersParams) WithTimeout(timeout time.Duration) *GetClustersParams
- func (o *GetClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClustersReader
- type GetMetaLeaderBadRequest
- type GetMetaLeaderInternalServerError
- type GetMetaLeaderNotFound
- type GetMetaLeaderOK
- type GetMetaLeaderParams
- func (o *GetMetaLeaderParams) SetContext(ctx context.Context)
- func (o *GetMetaLeaderParams) SetDefaults()
- func (o *GetMetaLeaderParams) SetHTTPClient(client *http.Client)
- func (o *GetMetaLeaderParams) SetRequestBody(requestBody *models.GetMetaLeaderRequestBody)
- func (o *GetMetaLeaderParams) SetTimeout(timeout time.Duration)
- func (o *GetMetaLeaderParams) WithContext(ctx context.Context) *GetMetaLeaderParams
- func (o *GetMetaLeaderParams) WithDefaults() *GetMetaLeaderParams
- func (o *GetMetaLeaderParams) WithHTTPClient(client *http.Client) *GetMetaLeaderParams
- func (o *GetMetaLeaderParams) WithRequestBody(requestBody *models.GetMetaLeaderRequestBody) *GetMetaLeaderParams
- func (o *GetMetaLeaderParams) WithTimeout(timeout time.Duration) *GetMetaLeaderParams
- func (o *GetMetaLeaderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetaLeaderReader
- type UpdateClusterBadRequest
- type UpdateClusterEnableISCSISettingBadRequest
- type UpdateClusterEnableISCSISettingInternalServerError
- type UpdateClusterEnableISCSISettingNotFound
- type UpdateClusterEnableISCSISettingOK
- type UpdateClusterEnableISCSISettingParams
- func NewUpdateClusterEnableISCSISettingParams() *UpdateClusterEnableISCSISettingParams
- func NewUpdateClusterEnableISCSISettingParamsWithContext(ctx context.Context) *UpdateClusterEnableISCSISettingParams
- func NewUpdateClusterEnableISCSISettingParamsWithHTTPClient(client *http.Client) *UpdateClusterEnableISCSISettingParams
- func NewUpdateClusterEnableISCSISettingParamsWithTimeout(timeout time.Duration) *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterEnableISCSISettingParams) SetContext(ctx context.Context)
- func (o *UpdateClusterEnableISCSISettingParams) SetDefaults()
- func (o *UpdateClusterEnableISCSISettingParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterEnableISCSISettingParams) SetRequestBody(requestBody *models.ClusterEnableIscsiUpdationParams)
- func (o *UpdateClusterEnableISCSISettingParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterEnableISCSISettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) WithContext(ctx context.Context) *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) WithDefaults() *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) WithHTTPClient(client *http.Client) *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) WithRequestBody(requestBody *models.ClusterEnableIscsiUpdationParams) *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) WithTimeout(timeout time.Duration) *UpdateClusterEnableISCSISettingParams
- func (o *UpdateClusterEnableISCSISettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterEnableISCSISettingReader
- type UpdateClusterHaSettingBadRequest
- type UpdateClusterHaSettingInternalServerError
- type UpdateClusterHaSettingNotFound
- type UpdateClusterHaSettingOK
- type UpdateClusterHaSettingParams
- func NewUpdateClusterHaSettingParams() *UpdateClusterHaSettingParams
- func NewUpdateClusterHaSettingParamsWithContext(ctx context.Context) *UpdateClusterHaSettingParams
- func NewUpdateClusterHaSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterHaSettingParams
- func NewUpdateClusterHaSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterHaSettingParams) SetContext(ctx context.Context)
- func (o *UpdateClusterHaSettingParams) SetDefaults()
- func (o *UpdateClusterHaSettingParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterHaSettingParams) SetRequestBody(requestBody *models.ClusterHaUpdationParams)
- func (o *UpdateClusterHaSettingParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterHaSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) WithContext(ctx context.Context) *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) WithDefaults() *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) WithHTTPClient(client *http.Client) *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) WithRequestBody(requestBody *models.ClusterHaUpdationParams) *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) WithTimeout(timeout time.Duration) *UpdateClusterHaSettingParams
- func (o *UpdateClusterHaSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterHaSettingReader
- type UpdateClusterInternalServerError
- type UpdateClusterLicenseBadRequest
- type UpdateClusterLicenseInternalServerError
- type UpdateClusterLicenseNotFound
- type UpdateClusterLicenseOK
- type UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParams() *UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParamsWithContext(ctx context.Context) *UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParamsWithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
- func NewUpdateClusterLicenseParamsWithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterLicenseParams) SetContext(ctx context.Context)
- func (o *UpdateClusterLicenseParams) SetDefaults()
- func (o *UpdateClusterLicenseParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterLicenseParams) SetRequestBody(requestBody *models.ClusterLicenseUpdationParams)
- func (o *UpdateClusterLicenseParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterLicenseParams) WithContentLanguage(contentLanguage *string) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithContext(ctx context.Context) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithDefaults() *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithRequestBody(requestBody *models.ClusterLicenseUpdationParams) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
- func (o *UpdateClusterLicenseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterLicenseReader
- type UpdateClusterNetworkSettingBadRequest
- type UpdateClusterNetworkSettingInternalServerError
- type UpdateClusterNetworkSettingNotFound
- type UpdateClusterNetworkSettingOK
- type UpdateClusterNetworkSettingParams
- func NewUpdateClusterNetworkSettingParams() *UpdateClusterNetworkSettingParams
- func NewUpdateClusterNetworkSettingParamsWithContext(ctx context.Context) *UpdateClusterNetworkSettingParams
- func NewUpdateClusterNetworkSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterNetworkSettingParams
- func NewUpdateClusterNetworkSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterNetworkSettingParams) SetContext(ctx context.Context)
- func (o *UpdateClusterNetworkSettingParams) SetDefaults()
- func (o *UpdateClusterNetworkSettingParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterNetworkSettingParams) SetRequestBody(requestBody *models.ClusterNetworkSettingUpdationParams)
- func (o *UpdateClusterNetworkSettingParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterNetworkSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) WithContext(ctx context.Context) *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) WithDefaults() *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) WithHTTPClient(client *http.Client) *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) WithRequestBody(requestBody *models.ClusterNetworkSettingUpdationParams) *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) WithTimeout(timeout time.Duration) *UpdateClusterNetworkSettingParams
- func (o *UpdateClusterNetworkSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterNetworkSettingReader
- type UpdateClusterNotFound
- type UpdateClusterOK
- type UpdateClusterParams
- func (o *UpdateClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterParams) SetContext(ctx context.Context)
- func (o *UpdateClusterParams) SetDefaults()
- func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterParams) SetRequestBody(requestBody *models.ClusterUpdationParams)
- func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterParams) WithContentLanguage(contentLanguage *string) *UpdateClusterParams
- func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
- func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
- func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
- func (o *UpdateClusterParams) WithRequestBody(requestBody *models.ClusterUpdationParams) *UpdateClusterParams
- func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
- func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterReader
- type UpdateClusterVirtualizationSettingBadRequest
- type UpdateClusterVirtualizationSettingInternalServerError
- type UpdateClusterVirtualizationSettingNotFound
- type UpdateClusterVirtualizationSettingOK
- type UpdateClusterVirtualizationSettingParams
- func NewUpdateClusterVirtualizationSettingParams() *UpdateClusterVirtualizationSettingParams
- func NewUpdateClusterVirtualizationSettingParamsWithContext(ctx context.Context) *UpdateClusterVirtualizationSettingParams
- func NewUpdateClusterVirtualizationSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterVirtualizationSettingParams
- func NewUpdateClusterVirtualizationSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateClusterVirtualizationSettingParams) SetContext(ctx context.Context)
- func (o *UpdateClusterVirtualizationSettingParams) SetDefaults()
- func (o *UpdateClusterVirtualizationSettingParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterVirtualizationSettingParams) SetRequestBody(requestBody *models.ClusterVirtualizationUpdationParams)
- func (o *UpdateClusterVirtualizationSettingParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterVirtualizationSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) WithContext(ctx context.Context) *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) WithDefaults() *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) WithHTTPClient(client *http.Client) *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) WithRequestBody(requestBody *models.ClusterVirtualizationUpdationParams) *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) WithTimeout(timeout time.Duration) *UpdateClusterVirtualizationSettingParams
- func (o *UpdateClusterVirtualizationSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterVirtualizationSettingReader
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 ¶
ConnectClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewConnectClusterBadRequest ¶
func NewConnectClusterBadRequest() *ConnectClusterBadRequest
NewConnectClusterBadRequest creates a ConnectClusterBadRequest with default headers values
func (*ConnectClusterBadRequest) Error ¶
func (o *ConnectClusterBadRequest) Error() string
func (*ConnectClusterBadRequest) GetPayload ¶
func (o *ConnectClusterBadRequest) GetPayload() *models.ErrorBody
type ConnectClusterInternalServerError ¶
ConnectClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewConnectClusterInternalServerError ¶
func NewConnectClusterInternalServerError() *ConnectClusterInternalServerError
NewConnectClusterInternalServerError creates a ConnectClusterInternalServerError with default headers values
func (*ConnectClusterInternalServerError) Error ¶
func (o *ConnectClusterInternalServerError) Error() string
func (*ConnectClusterInternalServerError) GetPayload ¶
func (o *ConnectClusterInternalServerError) GetPayload() *models.ErrorBody
type ConnectClusterNotFound ¶
ConnectClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewConnectClusterNotFound ¶
func NewConnectClusterNotFound() *ConnectClusterNotFound
NewConnectClusterNotFound creates a ConnectClusterNotFound with default headers values
func (*ConnectClusterNotFound) Error ¶
func (o *ConnectClusterNotFound) Error() string
func (*ConnectClusterNotFound) GetPayload ¶
func (o *ConnectClusterNotFound) GetPayload() *models.ErrorBody
type ConnectClusterOK ¶
type ConnectClusterOK struct { 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 ¶
func (o *ConnectClusterParams) WithContext(ctx context.Context) *ConnectClusterParams
WithContext adds the context to the connect cluster params
func (*ConnectClusterParams) WithDefaults ¶
func (o *ConnectClusterParams) WithDefaults() *ConnectClusterParams
WithDefaults hydrates default values in the connect cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ConnectClusterParams) WithHTTPClient ¶
func (o *ConnectClusterParams) WithHTTPClient(client *http.Client) *ConnectClusterParams
WithHTTPClient adds the HTTPClient to the connect cluster params
func (*ConnectClusterParams) WithRequestBody ¶
func (o *ConnectClusterParams) WithRequestBody(requestBody []*models.ClusterCreationParams) *ConnectClusterParams
WithRequestBody adds the requestBody to the connect cluster params
func (*ConnectClusterParams) WithTimeout ¶
func (o *ConnectClusterParams) WithTimeout(timeout time.Duration) *ConnectClusterParams
WithTimeout adds the timeout to the connect cluster params
func (*ConnectClusterParams) WriteToRequest ¶
func (o *ConnectClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConnectClusterReader ¶
type ConnectClusterReader struct {
// contains filtered or unexported fields
}
ConnectClusterReader is a Reader for the ConnectCluster structure.
func (*ConnectClusterReader) ReadResponse ¶
func (o *ConnectClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterBadRequest ¶
DeleteClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteClusterBadRequest ¶
func NewDeleteClusterBadRequest() *DeleteClusterBadRequest
NewDeleteClusterBadRequest creates a DeleteClusterBadRequest with default headers values
func (*DeleteClusterBadRequest) Error ¶
func (o *DeleteClusterBadRequest) Error() string
func (*DeleteClusterBadRequest) GetPayload ¶
func (o *DeleteClusterBadRequest) GetPayload() *models.ErrorBody
type DeleteClusterInternalServerError ¶
DeleteClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteClusterInternalServerError ¶
func NewDeleteClusterInternalServerError() *DeleteClusterInternalServerError
NewDeleteClusterInternalServerError creates a DeleteClusterInternalServerError with default headers values
func (*DeleteClusterInternalServerError) Error ¶
func (o *DeleteClusterInternalServerError) Error() string
func (*DeleteClusterInternalServerError) GetPayload ¶
func (o *DeleteClusterInternalServerError) GetPayload() *models.ErrorBody
type DeleteClusterNotFound ¶
DeleteClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteClusterNotFound ¶
func NewDeleteClusterNotFound() *DeleteClusterNotFound
NewDeleteClusterNotFound creates a DeleteClusterNotFound with default headers values
func (*DeleteClusterNotFound) Error ¶
func (o *DeleteClusterNotFound) Error() string
func (*DeleteClusterNotFound) GetPayload ¶
func (o *DeleteClusterNotFound) GetPayload() *models.ErrorBody
type DeleteClusterOK ¶
type DeleteClusterOK struct { 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 ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
WithContext adds the context to the delete cluster params
func (*DeleteClusterParams) WithDefaults ¶
func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
WithDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) WithHTTPClient ¶
func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
WithHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) WithRequestBody ¶
func (o *DeleteClusterParams) WithRequestBody(requestBody *models.ClusterDeletionParams) *DeleteClusterParams
WithRequestBody adds the requestBody to the delete cluster params
func (*DeleteClusterParams) WithTimeout ¶
func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
WithTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WriteToRequest ¶
func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterReader ¶
type DeleteClusterReader struct {
// contains filtered or unexported fields
}
DeleteClusterReader is a Reader for the DeleteCluster structure.
func (*DeleteClusterReader) ReadResponse ¶
func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClustersBadRequest ¶
GetClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClustersBadRequest ¶
func NewGetClustersBadRequest() *GetClustersBadRequest
NewGetClustersBadRequest creates a GetClustersBadRequest with default headers values
func (*GetClustersBadRequest) Error ¶
func (o *GetClustersBadRequest) Error() string
func (*GetClustersBadRequest) GetPayload ¶
func (o *GetClustersBadRequest) GetPayload() *models.ErrorBody
type GetClustersConnectionBadRequest ¶
GetClustersConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClustersConnectionBadRequest ¶
func NewGetClustersConnectionBadRequest() *GetClustersConnectionBadRequest
NewGetClustersConnectionBadRequest creates a GetClustersConnectionBadRequest with default headers values
func (*GetClustersConnectionBadRequest) Error ¶
func (o *GetClustersConnectionBadRequest) Error() string
func (*GetClustersConnectionBadRequest) GetPayload ¶
func (o *GetClustersConnectionBadRequest) GetPayload() *models.ErrorBody
type GetClustersConnectionInternalServerError ¶
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 (o *GetClustersConnectionInternalServerError) Error() string
func (*GetClustersConnectionInternalServerError) GetPayload ¶
func (o *GetClustersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetClustersConnectionNotFound ¶
GetClustersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClustersConnectionNotFound ¶
func NewGetClustersConnectionNotFound() *GetClustersConnectionNotFound
NewGetClustersConnectionNotFound creates a GetClustersConnectionNotFound with default headers values
func (*GetClustersConnectionNotFound) Error ¶
func (o *GetClustersConnectionNotFound) Error() string
func (*GetClustersConnectionNotFound) GetPayload ¶
func (o *GetClustersConnectionNotFound) GetPayload() *models.ErrorBody
type GetClustersConnectionOK ¶
type GetClustersConnectionOK struct { 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 ¶
func (o *GetClustersConnectionOK) GetPayload() *models.ClusterConnection
type GetClustersConnectionParams ¶
type GetClustersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClustersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClustersConnectionParams contains all the parameters to send to the API endpoint
for the get clusters connection operation. Typically these are written to a http.Request.
func NewGetClustersConnectionParams ¶
func NewGetClustersConnectionParams() *GetClustersConnectionParams
NewGetClustersConnectionParams creates a new GetClustersConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClustersConnectionParamsWithContext ¶
func NewGetClustersConnectionParamsWithContext(ctx context.Context) *GetClustersConnectionParams
NewGetClustersConnectionParamsWithContext creates a new GetClustersConnectionParams object with the ability to set a context for a request.
func NewGetClustersConnectionParamsWithHTTPClient ¶
func NewGetClustersConnectionParamsWithHTTPClient(client *http.Client) *GetClustersConnectionParams
NewGetClustersConnectionParamsWithHTTPClient creates a new GetClustersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetClustersConnectionParamsWithTimeout ¶
func NewGetClustersConnectionParamsWithTimeout(timeout time.Duration) *GetClustersConnectionParams
NewGetClustersConnectionParamsWithTimeout creates a new GetClustersConnectionParams object with the ability to set a timeout on a request.
func (*GetClustersConnectionParams) SetContentLanguage ¶
func (o *GetClustersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get clusters connection params
func (*GetClustersConnectionParams) SetContext ¶
func (o *GetClustersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get clusters connection params
func (*GetClustersConnectionParams) SetDefaults ¶
func (o *GetClustersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get clusters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClustersConnectionParams) SetHTTPClient ¶
func (o *GetClustersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get clusters connection params
func (*GetClustersConnectionParams) SetRequestBody ¶
func (o *GetClustersConnectionParams) SetRequestBody(requestBody *models.GetClustersConnectionRequestBody)
SetRequestBody adds the requestBody to the get clusters connection params
func (*GetClustersConnectionParams) SetTimeout ¶
func (o *GetClustersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get clusters connection params
func (*GetClustersConnectionParams) WithContentLanguage ¶
func (o *GetClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetClustersConnectionParams
WithContentLanguage adds the contentLanguage to the get clusters connection params
func (*GetClustersConnectionParams) WithContext ¶
func (o *GetClustersConnectionParams) WithContext(ctx context.Context) *GetClustersConnectionParams
WithContext adds the context to the get clusters connection params
func (*GetClustersConnectionParams) WithDefaults ¶
func (o *GetClustersConnectionParams) WithDefaults() *GetClustersConnectionParams
WithDefaults hydrates default values in the get clusters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClustersConnectionParams) WithHTTPClient ¶
func (o *GetClustersConnectionParams) WithHTTPClient(client *http.Client) *GetClustersConnectionParams
WithHTTPClient adds the HTTPClient to the get clusters connection params
func (*GetClustersConnectionParams) WithRequestBody ¶
func (o *GetClustersConnectionParams) WithRequestBody(requestBody *models.GetClustersConnectionRequestBody) *GetClustersConnectionParams
WithRequestBody adds the requestBody to the get clusters connection params
func (*GetClustersConnectionParams) WithTimeout ¶
func (o *GetClustersConnectionParams) WithTimeout(timeout time.Duration) *GetClustersConnectionParams
WithTimeout adds the timeout to the get clusters connection params
func (*GetClustersConnectionParams) WriteToRequest ¶
func (o *GetClustersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClustersConnectionReader ¶
type GetClustersConnectionReader struct {
// contains filtered or unexported fields
}
GetClustersConnectionReader is a Reader for the GetClustersConnection structure.
func (*GetClustersConnectionReader) ReadResponse ¶
func (o *GetClustersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClustersInternalServerError ¶
GetClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClustersInternalServerError ¶
func NewGetClustersInternalServerError() *GetClustersInternalServerError
NewGetClustersInternalServerError creates a GetClustersInternalServerError with default headers values
func (*GetClustersInternalServerError) Error ¶
func (o *GetClustersInternalServerError) Error() string
func (*GetClustersInternalServerError) GetPayload ¶
func (o *GetClustersInternalServerError) GetPayload() *models.ErrorBody
type GetClustersNotFound ¶
GetClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClustersNotFound ¶
func NewGetClustersNotFound() *GetClustersNotFound
NewGetClustersNotFound creates a GetClustersNotFound with default headers values
func (*GetClustersNotFound) Error ¶
func (o *GetClustersNotFound) Error() string
func (*GetClustersNotFound) GetPayload ¶
func (o *GetClustersNotFound) GetPayload() *models.ErrorBody
type GetClustersOK ¶
GetClustersOK describes a response with status code 200, with default header values.
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
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
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 (o *GetMetaLeaderInternalServerError) Error() string
func (*GetMetaLeaderInternalServerError) GetPayload ¶ added in v2.5.0
func (o *GetMetaLeaderInternalServerError) GetPayload() *models.ErrorBody
type GetMetaLeaderNotFound ¶ added in v2.5.0
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
func (o *GetMetaLeaderParams) WithContext(ctx context.Context) *GetMetaLeaderParams
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 ¶
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 (o *UpdateClusterEnableISCSISettingBadRequest) Error() string
func (*UpdateClusterEnableISCSISettingBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingBadRequest) GetPayload() *models.ErrorBody
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 (o *UpdateClusterEnableISCSISettingInternalServerError) Error() string
func (*UpdateClusterEnableISCSISettingInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingInternalServerError) GetPayload() *models.ErrorBody
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 (o *UpdateClusterEnableISCSISettingNotFound) Error() string
func (*UpdateClusterEnableISCSISettingNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingNotFound) GetPayload() *models.ErrorBody
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 (o *UpdateClusterEnableISCSISettingOK) Error() string
func (*UpdateClusterEnableISCSISettingOK) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingOK) GetPayload() []*models.WithTaskClusterSettings
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
func (o *UpdateClusterEnableISCSISettingParams) SetContext(ctx context.Context)
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
func (o *UpdateClusterEnableISCSISettingParams) SetRequestBody(requestBody *models.ClusterEnableIscsiUpdationParams)
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
func (o *UpdateClusterEnableISCSISettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterEnableISCSISettingParams
WithContentLanguage adds the contentLanguage to the update cluster enable i s c s i setting params
func (*UpdateClusterEnableISCSISettingParams) WithContext ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingParams) WithContext(ctx context.Context) *UpdateClusterEnableISCSISettingParams
WithContext adds the context to the update cluster enable i s c s i setting params
func (*UpdateClusterEnableISCSISettingParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingParams) WithDefaults() *UpdateClusterEnableISCSISettingParams
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
func (o *UpdateClusterEnableISCSISettingParams) WithHTTPClient(client *http.Client) *UpdateClusterEnableISCSISettingParams
WithHTTPClient adds the HTTPClient to the update cluster enable i s c s i setting params
func (*UpdateClusterEnableISCSISettingParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingParams) WithRequestBody(requestBody *models.ClusterEnableIscsiUpdationParams) *UpdateClusterEnableISCSISettingParams
WithRequestBody adds the requestBody to the update cluster enable i s c s i setting params
func (*UpdateClusterEnableISCSISettingParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingParams) WithTimeout(timeout time.Duration) *UpdateClusterEnableISCSISettingParams
WithTimeout adds the timeout to the update cluster enable i s c s i setting params
func (*UpdateClusterEnableISCSISettingParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateClusterEnableISCSISettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *UpdateClusterHaSettingBadRequest) Error() string
func (*UpdateClusterHaSettingBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterHaSettingBadRequest) GetPayload() *models.ErrorBody
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 (o *UpdateClusterHaSettingInternalServerError) Error() string
func (*UpdateClusterHaSettingInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterHaSettingInternalServerError) GetPayload() *models.ErrorBody
type UpdateClusterHaSettingNotFound ¶ added in v2.1.0
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 (o *UpdateClusterHaSettingNotFound) Error() string
func (*UpdateClusterHaSettingNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterHaSettingNotFound) GetPayload() *models.ErrorBody
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
func (o *UpdateClusterHaSettingOK) GetPayload() []*models.WithTaskClusterSettings
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
func (o *UpdateClusterHaSettingParams) WithContext(ctx context.Context) *UpdateClusterHaSettingParams
WithContext adds the context to the update cluster ha setting params
func (*UpdateClusterHaSettingParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateClusterHaSettingParams) WithDefaults() *UpdateClusterHaSettingParams
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
func (o *UpdateClusterHaSettingParams) WithHTTPClient(client *http.Client) *UpdateClusterHaSettingParams
WithHTTPClient adds the HTTPClient to the update cluster ha setting params
func (*UpdateClusterHaSettingParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateClusterHaSettingParams) WithRequestBody(requestBody *models.ClusterHaUpdationParams) *UpdateClusterHaSettingParams
WithRequestBody adds the requestBody to the update cluster ha setting params
func (*UpdateClusterHaSettingParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateClusterHaSettingParams) WithTimeout(timeout time.Duration) *UpdateClusterHaSettingParams
WithTimeout adds the timeout to the update cluster ha setting params
func (*UpdateClusterHaSettingParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateClusterHaSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
UpdateClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateClusterInternalServerError ¶
func NewUpdateClusterInternalServerError() *UpdateClusterInternalServerError
NewUpdateClusterInternalServerError creates a UpdateClusterInternalServerError with default headers values
func (*UpdateClusterInternalServerError) Error ¶
func (o *UpdateClusterInternalServerError) Error() string
func (*UpdateClusterInternalServerError) GetPayload ¶
func (o *UpdateClusterInternalServerError) GetPayload() *models.ErrorBody
type UpdateClusterLicenseBadRequest ¶
UpdateClusterLicenseBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateClusterLicenseBadRequest ¶
func NewUpdateClusterLicenseBadRequest() *UpdateClusterLicenseBadRequest
NewUpdateClusterLicenseBadRequest creates a UpdateClusterLicenseBadRequest with default headers values
func (*UpdateClusterLicenseBadRequest) Error ¶
func (o *UpdateClusterLicenseBadRequest) Error() string
func (*UpdateClusterLicenseBadRequest) GetPayload ¶
func (o *UpdateClusterLicenseBadRequest) GetPayload() *models.ErrorBody
type UpdateClusterLicenseInternalServerError ¶
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 (o *UpdateClusterLicenseInternalServerError) Error() string
func (*UpdateClusterLicenseInternalServerError) GetPayload ¶
func (o *UpdateClusterLicenseInternalServerError) GetPayload() *models.ErrorBody
type UpdateClusterLicenseNotFound ¶
UpdateClusterLicenseNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateClusterLicenseNotFound ¶
func NewUpdateClusterLicenseNotFound() *UpdateClusterLicenseNotFound
NewUpdateClusterLicenseNotFound creates a UpdateClusterLicenseNotFound with default headers values
func (*UpdateClusterLicenseNotFound) Error ¶
func (o *UpdateClusterLicenseNotFound) Error() string
func (*UpdateClusterLicenseNotFound) GetPayload ¶
func (o *UpdateClusterLicenseNotFound) GetPayload() *models.ErrorBody
type UpdateClusterLicenseOK ¶
type UpdateClusterLicenseOK struct { 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 ¶
func (o *UpdateClusterLicenseParams) WithContext(ctx context.Context) *UpdateClusterLicenseParams
WithContext adds the context to the update cluster license params
func (*UpdateClusterLicenseParams) WithDefaults ¶
func (o *UpdateClusterLicenseParams) WithDefaults() *UpdateClusterLicenseParams
WithDefaults hydrates default values in the update cluster license params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterLicenseParams) WithHTTPClient ¶
func (o *UpdateClusterLicenseParams) WithHTTPClient(client *http.Client) *UpdateClusterLicenseParams
WithHTTPClient adds the HTTPClient to the update cluster license params
func (*UpdateClusterLicenseParams) WithRequestBody ¶
func (o *UpdateClusterLicenseParams) WithRequestBody(requestBody *models.ClusterLicenseUpdationParams) *UpdateClusterLicenseParams
WithRequestBody adds the requestBody to the update cluster license params
func (*UpdateClusterLicenseParams) WithTimeout ¶
func (o *UpdateClusterLicenseParams) WithTimeout(timeout time.Duration) *UpdateClusterLicenseParams
WithTimeout adds the timeout to the update cluster license params
func (*UpdateClusterLicenseParams) WriteToRequest ¶
func (o *UpdateClusterLicenseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterLicenseReader ¶
type UpdateClusterLicenseReader struct {
// contains filtered or unexported fields
}
UpdateClusterLicenseReader is a Reader for the UpdateClusterLicense structure.
func (*UpdateClusterLicenseReader) ReadResponse ¶
func (o *UpdateClusterLicenseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type 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 (o *UpdateClusterNetworkSettingBadRequest) Error() string
func (*UpdateClusterNetworkSettingBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingBadRequest) GetPayload() *models.ErrorBody
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 (o *UpdateClusterNetworkSettingInternalServerError) Error() string
func (*UpdateClusterNetworkSettingInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingInternalServerError) GetPayload() *models.ErrorBody
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 (o *UpdateClusterNetworkSettingNotFound) Error() string
func (*UpdateClusterNetworkSettingNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingNotFound) GetPayload() *models.ErrorBody
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 (o *UpdateClusterNetworkSettingOK) Error() string
func (*UpdateClusterNetworkSettingOK) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingOK) GetPayload() []*models.WithTaskCluster
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
func (o *UpdateClusterNetworkSettingParams) SetContext(ctx context.Context)
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
func (o *UpdateClusterNetworkSettingParams) SetRequestBody(requestBody *models.ClusterNetworkSettingUpdationParams)
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
func (o *UpdateClusterNetworkSettingParams) WithContext(ctx context.Context) *UpdateClusterNetworkSettingParams
WithContext adds the context to the update cluster network setting params
func (*UpdateClusterNetworkSettingParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingParams) WithDefaults() *UpdateClusterNetworkSettingParams
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
func (o *UpdateClusterNetworkSettingParams) WithHTTPClient(client *http.Client) *UpdateClusterNetworkSettingParams
WithHTTPClient adds the HTTPClient to the update cluster network setting params
func (*UpdateClusterNetworkSettingParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingParams) WithRequestBody(requestBody *models.ClusterNetworkSettingUpdationParams) *UpdateClusterNetworkSettingParams
WithRequestBody adds the requestBody to the update cluster network setting params
func (*UpdateClusterNetworkSettingParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingParams) WithTimeout(timeout time.Duration) *UpdateClusterNetworkSettingParams
WithTimeout adds the timeout to the update cluster network setting params
func (*UpdateClusterNetworkSettingParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateClusterNetworkSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
WithContext adds the context to the update cluster params
func (*UpdateClusterParams) WithDefaults ¶
func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
WithDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) WithHTTPClient ¶
func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
WithHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) WithRequestBody ¶
func (o *UpdateClusterParams) WithRequestBody(requestBody *models.ClusterUpdationParams) *UpdateClusterParams
WithRequestBody adds the requestBody to the update cluster params
func (*UpdateClusterParams) WithTimeout ¶
func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
WithTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WriteToRequest ¶
func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterReader ¶
type UpdateClusterReader struct {
// contains filtered or unexported fields
}
UpdateClusterReader is a Reader for the UpdateCluster structure.
func (*UpdateClusterReader) ReadResponse ¶
func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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 (o *UpdateClusterVirtualizationSettingBadRequest) Error() string
func (*UpdateClusterVirtualizationSettingBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingBadRequest) GetPayload() *models.ErrorBody
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 (o *UpdateClusterVirtualizationSettingInternalServerError) Error() string
func (*UpdateClusterVirtualizationSettingInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingInternalServerError) GetPayload() *models.ErrorBody
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 (o *UpdateClusterVirtualizationSettingNotFound) Error() string
func (*UpdateClusterVirtualizationSettingNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingNotFound) GetPayload() *models.ErrorBody
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 (o *UpdateClusterVirtualizationSettingOK) Error() string
func (*UpdateClusterVirtualizationSettingOK) GetPayload ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingOK) GetPayload() []*models.WithTaskCluster
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
func (o *UpdateClusterVirtualizationSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) SetDefaults ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) SetDefaults()
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
func (o *UpdateClusterVirtualizationSettingParams) SetRequestBody(requestBody *models.ClusterVirtualizationUpdationParams)
SetRequestBody adds the requestBody to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) SetTimeout ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) WithContentLanguage ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterVirtualizationSettingParams
WithContentLanguage adds the contentLanguage to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) WithContext ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) WithContext(ctx context.Context) *UpdateClusterVirtualizationSettingParams
WithContext adds the context to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) WithDefaults() *UpdateClusterVirtualizationSettingParams
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
func (o *UpdateClusterVirtualizationSettingParams) WithHTTPClient(client *http.Client) *UpdateClusterVirtualizationSettingParams
WithHTTPClient adds the HTTPClient to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) WithRequestBody(requestBody *models.ClusterVirtualizationUpdationParams) *UpdateClusterVirtualizationSettingParams
WithRequestBody adds the requestBody to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) WithTimeout(timeout time.Duration) *UpdateClusterVirtualizationSettingParams
WithTimeout adds the timeout to the update cluster virtualization setting params
func (*UpdateClusterVirtualizationSettingParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateClusterVirtualizationSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- cluster_client.go
- connect_cluster_parameters.go
- connect_cluster_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- get_clusters_connection_parameters.go
- get_clusters_connection_responses.go
- get_clusters_parameters.go
- get_clusters_responses.go
- get_meta_leader_parameters.go
- get_meta_leader_responses.go
- update_cluster_enable_i_s_c_s_i_setting_parameters.go
- update_cluster_enable_i_s_c_s_i_setting_responses.go
- update_cluster_ha_setting_parameters.go
- update_cluster_ha_setting_responses.go
- update_cluster_license_parameters.go
- update_cluster_license_responses.go
- update_cluster_network_setting_parameters.go
- update_cluster_network_setting_responses.go
- update_cluster_parameters.go
- update_cluster_responses.go
- update_cluster_virtualization_setting_parameters.go
- update_cluster_virtualization_setting_responses.go