Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteCluster(params *DeleteClusterParams) error
- func (a *Client) FailureReportCluster(params *FailureReportClusterParams) error
- func (a *Client) GetCluster(params *GetClusterParams) (*GetClusterOK, error)
- func (a *Client) GetConfigsCluster(params *GetConfigsClusterParams) (*GetConfigsClusterOK, error)
- func (a *Client) GetFullCluster(params *GetFullClusterParams) (*GetFullClusterOK, error)
- func (a *Client) GetPrivateCluster(params *GetPrivateClusterParams) (*GetPrivateClusterOK, error)
- func (a *Client) GetPublicCluster(params *GetPublicClusterParams) (*GetPublicClusterOK, error)
- func (a *Client) PostCluster(params *PostClusterParams) (*PostClusterOK, error)
- func (a *Client) PutCluster(params *PutClusterParams) error
- func (a *Client) RepairCluster(params *RepairClusterParams) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpgradeCluster(params *UpgradeClusterParams) error
- type DeleteClusterDefault
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetID(id int64)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithID(id int64) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type FailureReportClusterDefault
- type FailureReportClusterParams
- func NewFailureReportClusterParams() *FailureReportClusterParams
- func NewFailureReportClusterParamsWithContext(ctx context.Context) *FailureReportClusterParams
- func NewFailureReportClusterParamsWithHTTPClient(client *http.Client) *FailureReportClusterParams
- func NewFailureReportClusterParamsWithTimeout(timeout time.Duration) *FailureReportClusterParams
- func (o *FailureReportClusterParams) SetBody(body *models_cloudbreak.FailureReport)
- func (o *FailureReportClusterParams) SetContext(ctx context.Context)
- func (o *FailureReportClusterParams) SetHTTPClient(client *http.Client)
- func (o *FailureReportClusterParams) SetID(id int64)
- func (o *FailureReportClusterParams) SetTimeout(timeout time.Duration)
- func (o *FailureReportClusterParams) WithBody(body *models_cloudbreak.FailureReport) *FailureReportClusterParams
- func (o *FailureReportClusterParams) WithContext(ctx context.Context) *FailureReportClusterParams
- func (o *FailureReportClusterParams) WithHTTPClient(client *http.Client) *FailureReportClusterParams
- func (o *FailureReportClusterParams) WithID(id int64) *FailureReportClusterParams
- func (o *FailureReportClusterParams) WithTimeout(timeout time.Duration) *FailureReportClusterParams
- func (o *FailureReportClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FailureReportClusterReader
- type GetClusterOK
- type GetClusterParams
- func (o *GetClusterParams) SetContext(ctx context.Context)
- func (o *GetClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterParams) SetID(id int64)
- func (o *GetClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
- func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
- func (o *GetClusterParams) WithID(id int64) *GetClusterParams
- func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
- func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterReader
- type GetConfigsClusterOK
- type GetConfigsClusterParams
- func NewGetConfigsClusterParams() *GetConfigsClusterParams
- func NewGetConfigsClusterParamsWithContext(ctx context.Context) *GetConfigsClusterParams
- func NewGetConfigsClusterParamsWithHTTPClient(client *http.Client) *GetConfigsClusterParams
- func NewGetConfigsClusterParamsWithTimeout(timeout time.Duration) *GetConfigsClusterParams
- func (o *GetConfigsClusterParams) SetBody(body *models_cloudbreak.ConfigsRequest)
- func (o *GetConfigsClusterParams) SetContext(ctx context.Context)
- func (o *GetConfigsClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigsClusterParams) SetID(id int64)
- func (o *GetConfigsClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigsClusterParams) WithBody(body *models_cloudbreak.ConfigsRequest) *GetConfigsClusterParams
- func (o *GetConfigsClusterParams) WithContext(ctx context.Context) *GetConfigsClusterParams
- func (o *GetConfigsClusterParams) WithHTTPClient(client *http.Client) *GetConfigsClusterParams
- func (o *GetConfigsClusterParams) WithID(id int64) *GetConfigsClusterParams
- func (o *GetConfigsClusterParams) WithTimeout(timeout time.Duration) *GetConfigsClusterParams
- func (o *GetConfigsClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigsClusterReader
- type GetFullClusterOK
- type GetFullClusterParams
- func NewGetFullClusterParams() *GetFullClusterParams
- func NewGetFullClusterParamsWithContext(ctx context.Context) *GetFullClusterParams
- func NewGetFullClusterParamsWithHTTPClient(client *http.Client) *GetFullClusterParams
- func NewGetFullClusterParamsWithTimeout(timeout time.Duration) *GetFullClusterParams
- func (o *GetFullClusterParams) SetContext(ctx context.Context)
- func (o *GetFullClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetFullClusterParams) SetID(id int64)
- func (o *GetFullClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetFullClusterParams) WithContext(ctx context.Context) *GetFullClusterParams
- func (o *GetFullClusterParams) WithHTTPClient(client *http.Client) *GetFullClusterParams
- func (o *GetFullClusterParams) WithID(id int64) *GetFullClusterParams
- func (o *GetFullClusterParams) WithTimeout(timeout time.Duration) *GetFullClusterParams
- func (o *GetFullClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFullClusterReader
- type GetPrivateClusterOK
- type GetPrivateClusterParams
- func NewGetPrivateClusterParams() *GetPrivateClusterParams
- func NewGetPrivateClusterParamsWithContext(ctx context.Context) *GetPrivateClusterParams
- func NewGetPrivateClusterParamsWithHTTPClient(client *http.Client) *GetPrivateClusterParams
- func NewGetPrivateClusterParamsWithTimeout(timeout time.Duration) *GetPrivateClusterParams
- func (o *GetPrivateClusterParams) SetContext(ctx context.Context)
- func (o *GetPrivateClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateClusterParams) SetName(name string)
- func (o *GetPrivateClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateClusterParams) WithContext(ctx context.Context) *GetPrivateClusterParams
- func (o *GetPrivateClusterParams) WithHTTPClient(client *http.Client) *GetPrivateClusterParams
- func (o *GetPrivateClusterParams) WithName(name string) *GetPrivateClusterParams
- func (o *GetPrivateClusterParams) WithTimeout(timeout time.Duration) *GetPrivateClusterParams
- func (o *GetPrivateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateClusterReader
- type GetPublicClusterOK
- type GetPublicClusterParams
- func NewGetPublicClusterParams() *GetPublicClusterParams
- func NewGetPublicClusterParamsWithContext(ctx context.Context) *GetPublicClusterParams
- func NewGetPublicClusterParamsWithHTTPClient(client *http.Client) *GetPublicClusterParams
- func NewGetPublicClusterParamsWithTimeout(timeout time.Duration) *GetPublicClusterParams
- func (o *GetPublicClusterParams) SetContext(ctx context.Context)
- func (o *GetPublicClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicClusterParams) SetName(name string)
- func (o *GetPublicClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicClusterParams) WithContext(ctx context.Context) *GetPublicClusterParams
- func (o *GetPublicClusterParams) WithHTTPClient(client *http.Client) *GetPublicClusterParams
- func (o *GetPublicClusterParams) WithName(name string) *GetPublicClusterParams
- func (o *GetPublicClusterParams) WithTimeout(timeout time.Duration) *GetPublicClusterParams
- func (o *GetPublicClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicClusterReader
- type PostClusterOK
- type PostClusterParams
- func (o *PostClusterParams) SetBody(body *models_cloudbreak.ClusterRequest)
- func (o *PostClusterParams) SetContext(ctx context.Context)
- func (o *PostClusterParams) SetHTTPClient(client *http.Client)
- func (o *PostClusterParams) SetID(id int64)
- func (o *PostClusterParams) SetTimeout(timeout time.Duration)
- func (o *PostClusterParams) WithBody(body *models_cloudbreak.ClusterRequest) *PostClusterParams
- func (o *PostClusterParams) WithContext(ctx context.Context) *PostClusterParams
- func (o *PostClusterParams) WithHTTPClient(client *http.Client) *PostClusterParams
- func (o *PostClusterParams) WithID(id int64) *PostClusterParams
- func (o *PostClusterParams) WithTimeout(timeout time.Duration) *PostClusterParams
- func (o *PostClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostClusterReader
- type PutClusterDefault
- type PutClusterParams
- func (o *PutClusterParams) SetBody(body *models_cloudbreak.UpdateCluster)
- func (o *PutClusterParams) SetContext(ctx context.Context)
- func (o *PutClusterParams) SetHTTPClient(client *http.Client)
- func (o *PutClusterParams) SetID(id int64)
- func (o *PutClusterParams) SetTimeout(timeout time.Duration)
- func (o *PutClusterParams) WithBody(body *models_cloudbreak.UpdateCluster) *PutClusterParams
- func (o *PutClusterParams) WithContext(ctx context.Context) *PutClusterParams
- func (o *PutClusterParams) WithHTTPClient(client *http.Client) *PutClusterParams
- func (o *PutClusterParams) WithID(id int64) *PutClusterParams
- func (o *PutClusterParams) WithTimeout(timeout time.Duration) *PutClusterParams
- func (o *PutClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutClusterReader
- type PutClusterV2Default
- type PutClusterV2Params
- func (o *PutClusterV2Params) SetBody(body *models_cloudbreak.UpdateClusterV2)
- func (o *PutClusterV2Params) SetContext(ctx context.Context)
- func (o *PutClusterV2Params) SetHTTPClient(client *http.Client)
- func (o *PutClusterV2Params) SetName(name string)
- func (o *PutClusterV2Params) SetTimeout(timeout time.Duration)
- func (o *PutClusterV2Params) WithBody(body *models_cloudbreak.UpdateClusterV2) *PutClusterV2Params
- func (o *PutClusterV2Params) WithContext(ctx context.Context) *PutClusterV2Params
- func (o *PutClusterV2Params) WithHTTPClient(client *http.Client) *PutClusterV2Params
- func (o *PutClusterV2Params) WithName(name string) *PutClusterV2Params
- func (o *PutClusterV2Params) WithTimeout(timeout time.Duration) *PutClusterV2Params
- func (o *PutClusterV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutClusterV2Reader
- type RepairClusterDefault
- type RepairClusterParams
- func (o *RepairClusterParams) SetBody(body *models_cloudbreak.ClusterRepairRequest)
- func (o *RepairClusterParams) SetContext(ctx context.Context)
- func (o *RepairClusterParams) SetHTTPClient(client *http.Client)
- func (o *RepairClusterParams) SetID(id int64)
- func (o *RepairClusterParams) SetTimeout(timeout time.Duration)
- func (o *RepairClusterParams) WithBody(body *models_cloudbreak.ClusterRepairRequest) *RepairClusterParams
- func (o *RepairClusterParams) WithContext(ctx context.Context) *RepairClusterParams
- func (o *RepairClusterParams) WithHTTPClient(client *http.Client) *RepairClusterParams
- func (o *RepairClusterParams) WithID(id int64) *RepairClusterParams
- func (o *RepairClusterParams) WithTimeout(timeout time.Duration) *RepairClusterParams
- func (o *RepairClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RepairClusterReader
- type UpgradeClusterDefault
- type UpgradeClusterParams
- func NewUpgradeClusterParams() *UpgradeClusterParams
- func NewUpgradeClusterParamsWithContext(ctx context.Context) *UpgradeClusterParams
- func NewUpgradeClusterParamsWithHTTPClient(client *http.Client) *UpgradeClusterParams
- func NewUpgradeClusterParamsWithTimeout(timeout time.Duration) *UpgradeClusterParams
- func (o *UpgradeClusterParams) SetBody(body *models_cloudbreak.AmbariRepoDetails)
- func (o *UpgradeClusterParams) SetContext(ctx context.Context)
- func (o *UpgradeClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeClusterParams) SetID(id int64)
- func (o *UpgradeClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeClusterParams) WithBody(body *models_cloudbreak.AmbariRepoDetails) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithContext(ctx context.Context) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithHTTPClient(client *http.Client) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithID(id int64) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WithTimeout(timeout time.Duration) *UpgradeClusterParams
- func (o *UpgradeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeClusterReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new cluster API client.
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(params *DeleteClusterParams) error
DeleteCluster deletes cluster on a specific stack
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) FailureReportCluster ¶
func (a *Client) FailureReportCluster(params *FailureReportClusterParams) error
FailureReportCluster failures report
Endpoint to report the failed nodes in the given cluster. If recovery mode for the node's hostgroup is AUTO then autorecovery would be started. If recovery mode for the node's hostgroup is MANUAL, the nodes will be marked as unhealthy.
func (*Client) GetCluster ¶
func (a *Client) GetCluster(params *GetClusterParams) (*GetClusterOK, error)
GetCluster retrieves cluster by stack id
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) GetConfigsCluster ¶
func (a *Client) GetConfigsCluster(params *GetConfigsClusterParams) (*GetConfigsClusterOK, error)
GetConfigsCluster gets cluster properties with blueprint outputs
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) GetFullCluster ¶
func (a *Client) GetFullCluster(params *GetFullClusterParams) (*GetFullClusterOK, error)
GetFullCluster retrieves cluster by stack id
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) GetPrivateCluster ¶
func (a *Client) GetPrivateCluster(params *GetPrivateClusterParams) (*GetPrivateClusterOK, error)
GetPrivateCluster retrieves cluster by stack name private
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) GetPublicCluster ¶
func (a *Client) GetPublicCluster(params *GetPublicClusterParams) (*GetPublicClusterOK, error)
GetPublicCluster retrieves cluster by stack name public
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) PostCluster ¶
func (a *Client) PostCluster(params *PostClusterParams) (*PostClusterOK, error)
PostCluster creates cluster for stack
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) PutCluster ¶
func (a *Client) PutCluster(params *PutClusterParams) error
PutCluster updates cluster by stack id
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) RepairCluster ¶
func (a *Client) RepairCluster(params *RepairClusterParams) error
RepairCluster repairs the cluster
Removing the failed nodes and starting new nodes to substitute them.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpgradeCluster ¶
func (a *Client) UpgradeCluster(params *UpgradeClusterParams) error
UpgradeCluster upgrades the ambari version
Ambari is used to provision the Hadoop clusters.
type DeleteClusterDefault ¶
type DeleteClusterDefault struct {
// contains filtered or unexported fields
}
DeleteClusterDefault handles this case with default header values.
successful operation
func NewDeleteClusterDefault ¶
func NewDeleteClusterDefault(code int) *DeleteClusterDefault
NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values
func (*DeleteClusterDefault) Code ¶
func (o *DeleteClusterDefault) Code() int
Code gets the status code for the delete cluster default response
func (*DeleteClusterDefault) Error ¶
func (o *DeleteClusterDefault) Error() string
type DeleteClusterParams ¶
type DeleteClusterParams struct { /*ID*/ ID int64 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 values initialized.
func NewDeleteClusterParamsWithContext ¶
func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams
NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterParams) SetContext ¶
func (o *DeleteClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster params
func (*DeleteClusterParams) SetHTTPClient ¶
func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) SetID ¶
func (o *DeleteClusterParams) SetID(id int64)
SetID adds the id 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) WithContext ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
WithContext adds the context to the delete cluster params
func (*DeleteClusterParams) WithHTTPClient ¶
func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
WithHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) WithID ¶
func (o *DeleteClusterParams) WithID(id int64) *DeleteClusterParams
WithID adds the id 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 FailureReportClusterDefault ¶
type FailureReportClusterDefault struct {
// contains filtered or unexported fields
}
FailureReportClusterDefault handles this case with default header values.
successful operation
func NewFailureReportClusterDefault ¶
func NewFailureReportClusterDefault(code int) *FailureReportClusterDefault
NewFailureReportClusterDefault creates a FailureReportClusterDefault with default headers values
func (*FailureReportClusterDefault) Code ¶
func (o *FailureReportClusterDefault) Code() int
Code gets the status code for the failure report cluster default response
func (*FailureReportClusterDefault) Error ¶
func (o *FailureReportClusterDefault) Error() string
type FailureReportClusterParams ¶
type FailureReportClusterParams struct { /*Body*/ Body *models_cloudbreak.FailureReport /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FailureReportClusterParams contains all the parameters to send to the API endpoint for the failure report cluster operation typically these are written to a http.Request
func NewFailureReportClusterParams ¶
func NewFailureReportClusterParams() *FailureReportClusterParams
NewFailureReportClusterParams creates a new FailureReportClusterParams object with the default values initialized.
func NewFailureReportClusterParamsWithContext ¶
func NewFailureReportClusterParamsWithContext(ctx context.Context) *FailureReportClusterParams
NewFailureReportClusterParamsWithContext creates a new FailureReportClusterParams object with the default values initialized, and the ability to set a context for a request
func NewFailureReportClusterParamsWithHTTPClient ¶
func NewFailureReportClusterParamsWithHTTPClient(client *http.Client) *FailureReportClusterParams
NewFailureReportClusterParamsWithHTTPClient creates a new FailureReportClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFailureReportClusterParamsWithTimeout ¶
func NewFailureReportClusterParamsWithTimeout(timeout time.Duration) *FailureReportClusterParams
NewFailureReportClusterParamsWithTimeout creates a new FailureReportClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*FailureReportClusterParams) SetBody ¶
func (o *FailureReportClusterParams) SetBody(body *models_cloudbreak.FailureReport)
SetBody adds the body to the failure report cluster params
func (*FailureReportClusterParams) SetContext ¶
func (o *FailureReportClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the failure report cluster params
func (*FailureReportClusterParams) SetHTTPClient ¶
func (o *FailureReportClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the failure report cluster params
func (*FailureReportClusterParams) SetID ¶
func (o *FailureReportClusterParams) SetID(id int64)
SetID adds the id to the failure report cluster params
func (*FailureReportClusterParams) SetTimeout ¶
func (o *FailureReportClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the failure report cluster params
func (*FailureReportClusterParams) WithBody ¶
func (o *FailureReportClusterParams) WithBody(body *models_cloudbreak.FailureReport) *FailureReportClusterParams
WithBody adds the body to the failure report cluster params
func (*FailureReportClusterParams) WithContext ¶
func (o *FailureReportClusterParams) WithContext(ctx context.Context) *FailureReportClusterParams
WithContext adds the context to the failure report cluster params
func (*FailureReportClusterParams) WithHTTPClient ¶
func (o *FailureReportClusterParams) WithHTTPClient(client *http.Client) *FailureReportClusterParams
WithHTTPClient adds the HTTPClient to the failure report cluster params
func (*FailureReportClusterParams) WithID ¶
func (o *FailureReportClusterParams) WithID(id int64) *FailureReportClusterParams
WithID adds the id to the failure report cluster params
func (*FailureReportClusterParams) WithTimeout ¶
func (o *FailureReportClusterParams) WithTimeout(timeout time.Duration) *FailureReportClusterParams
WithTimeout adds the timeout to the failure report cluster params
func (*FailureReportClusterParams) WriteToRequest ¶
func (o *FailureReportClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FailureReportClusterReader ¶
type FailureReportClusterReader struct {
// contains filtered or unexported fields
}
FailureReportClusterReader is a Reader for the FailureReportCluster structure.
func (*FailureReportClusterReader) ReadResponse ¶
func (o *FailureReportClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterOK ¶
type GetClusterOK struct {
Payload *models_cloudbreak.ClusterResponse
}
GetClusterOK handles this case with default header values.
successful operation
func NewGetClusterOK ¶
func NewGetClusterOK() *GetClusterOK
NewGetClusterOK creates a GetClusterOK with default headers values
func (*GetClusterOK) Error ¶
func (o *GetClusterOK) Error() string
type GetClusterParams ¶
type GetClusterParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterParams contains all the parameters to send to the API endpoint for the get cluster operation typically these are written to a http.Request
func NewGetClusterParams ¶
func NewGetClusterParams() *GetClusterParams
NewGetClusterParams creates a new GetClusterParams object with the default values initialized.
func NewGetClusterParamsWithContext ¶
func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams
NewGetClusterParamsWithContext creates a new GetClusterParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterParamsWithHTTPClient ¶
func NewGetClusterParamsWithHTTPClient(client *http.Client) *GetClusterParams
NewGetClusterParamsWithHTTPClient creates a new GetClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterParamsWithTimeout ¶
func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams
NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterParams) SetContext ¶
func (o *GetClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster params
func (*GetClusterParams) SetHTTPClient ¶
func (o *GetClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster params
func (*GetClusterParams) SetID ¶
func (o *GetClusterParams) SetID(id int64)
SetID adds the id to the get cluster params
func (*GetClusterParams) SetTimeout ¶
func (o *GetClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster params
func (*GetClusterParams) WithContext ¶
func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams
WithContext adds the context to the get cluster params
func (*GetClusterParams) WithHTTPClient ¶
func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams
WithHTTPClient adds the HTTPClient to the get cluster params
func (*GetClusterParams) WithID ¶
func (o *GetClusterParams) WithID(id int64) *GetClusterParams
WithID adds the id to the get cluster params
func (*GetClusterParams) WithTimeout ¶
func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams
WithTimeout adds the timeout to the get cluster params
func (*GetClusterParams) WriteToRequest ¶
func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterReader ¶
type GetClusterReader struct {
// contains filtered or unexported fields
}
GetClusterReader is a Reader for the GetCluster structure.
func (*GetClusterReader) ReadResponse ¶
func (o *GetClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigsClusterOK ¶
type GetConfigsClusterOK struct {
Payload *models_cloudbreak.ConfigsResponse
}
GetConfigsClusterOK handles this case with default header values.
successful operation
func NewGetConfigsClusterOK ¶
func NewGetConfigsClusterOK() *GetConfigsClusterOK
NewGetConfigsClusterOK creates a GetConfigsClusterOK with default headers values
func (*GetConfigsClusterOK) Error ¶
func (o *GetConfigsClusterOK) Error() string
type GetConfigsClusterParams ¶
type GetConfigsClusterParams struct { /*Body*/ Body *models_cloudbreak.ConfigsRequest /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigsClusterParams contains all the parameters to send to the API endpoint for the get configs cluster operation typically these are written to a http.Request
func NewGetConfigsClusterParams ¶
func NewGetConfigsClusterParams() *GetConfigsClusterParams
NewGetConfigsClusterParams creates a new GetConfigsClusterParams object with the default values initialized.
func NewGetConfigsClusterParamsWithContext ¶
func NewGetConfigsClusterParamsWithContext(ctx context.Context) *GetConfigsClusterParams
NewGetConfigsClusterParamsWithContext creates a new GetConfigsClusterParams object with the default values initialized, and the ability to set a context for a request
func NewGetConfigsClusterParamsWithHTTPClient ¶
func NewGetConfigsClusterParamsWithHTTPClient(client *http.Client) *GetConfigsClusterParams
NewGetConfigsClusterParamsWithHTTPClient creates a new GetConfigsClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfigsClusterParamsWithTimeout ¶
func NewGetConfigsClusterParamsWithTimeout(timeout time.Duration) *GetConfigsClusterParams
NewGetConfigsClusterParamsWithTimeout creates a new GetConfigsClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfigsClusterParams) SetBody ¶
func (o *GetConfigsClusterParams) SetBody(body *models_cloudbreak.ConfigsRequest)
SetBody adds the body to the get configs cluster params
func (*GetConfigsClusterParams) SetContext ¶
func (o *GetConfigsClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get configs cluster params
func (*GetConfigsClusterParams) SetHTTPClient ¶
func (o *GetConfigsClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get configs cluster params
func (*GetConfigsClusterParams) SetID ¶
func (o *GetConfigsClusterParams) SetID(id int64)
SetID adds the id to the get configs cluster params
func (*GetConfigsClusterParams) SetTimeout ¶
func (o *GetConfigsClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get configs cluster params
func (*GetConfigsClusterParams) WithBody ¶
func (o *GetConfigsClusterParams) WithBody(body *models_cloudbreak.ConfigsRequest) *GetConfigsClusterParams
WithBody adds the body to the get configs cluster params
func (*GetConfigsClusterParams) WithContext ¶
func (o *GetConfigsClusterParams) WithContext(ctx context.Context) *GetConfigsClusterParams
WithContext adds the context to the get configs cluster params
func (*GetConfigsClusterParams) WithHTTPClient ¶
func (o *GetConfigsClusterParams) WithHTTPClient(client *http.Client) *GetConfigsClusterParams
WithHTTPClient adds the HTTPClient to the get configs cluster params
func (*GetConfigsClusterParams) WithID ¶
func (o *GetConfigsClusterParams) WithID(id int64) *GetConfigsClusterParams
WithID adds the id to the get configs cluster params
func (*GetConfigsClusterParams) WithTimeout ¶
func (o *GetConfigsClusterParams) WithTimeout(timeout time.Duration) *GetConfigsClusterParams
WithTimeout adds the timeout to the get configs cluster params
func (*GetConfigsClusterParams) WriteToRequest ¶
func (o *GetConfigsClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigsClusterReader ¶
type GetConfigsClusterReader struct {
// contains filtered or unexported fields
}
GetConfigsClusterReader is a Reader for the GetConfigsCluster structure.
func (*GetConfigsClusterReader) ReadResponse ¶
func (o *GetConfigsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFullClusterOK ¶
type GetFullClusterOK struct {
Payload *models_cloudbreak.AutoscaleClusterResponse
}
GetFullClusterOK handles this case with default header values.
successful operation
func NewGetFullClusterOK ¶
func NewGetFullClusterOK() *GetFullClusterOK
NewGetFullClusterOK creates a GetFullClusterOK with default headers values
func (*GetFullClusterOK) Error ¶
func (o *GetFullClusterOK) Error() string
type GetFullClusterParams ¶
type GetFullClusterParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFullClusterParams contains all the parameters to send to the API endpoint for the get full cluster operation typically these are written to a http.Request
func NewGetFullClusterParams ¶
func NewGetFullClusterParams() *GetFullClusterParams
NewGetFullClusterParams creates a new GetFullClusterParams object with the default values initialized.
func NewGetFullClusterParamsWithContext ¶
func NewGetFullClusterParamsWithContext(ctx context.Context) *GetFullClusterParams
NewGetFullClusterParamsWithContext creates a new GetFullClusterParams object with the default values initialized, and the ability to set a context for a request
func NewGetFullClusterParamsWithHTTPClient ¶
func NewGetFullClusterParamsWithHTTPClient(client *http.Client) *GetFullClusterParams
NewGetFullClusterParamsWithHTTPClient creates a new GetFullClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFullClusterParamsWithTimeout ¶
func NewGetFullClusterParamsWithTimeout(timeout time.Duration) *GetFullClusterParams
NewGetFullClusterParamsWithTimeout creates a new GetFullClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFullClusterParams) SetContext ¶
func (o *GetFullClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get full cluster params
func (*GetFullClusterParams) SetHTTPClient ¶
func (o *GetFullClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get full cluster params
func (*GetFullClusterParams) SetID ¶
func (o *GetFullClusterParams) SetID(id int64)
SetID adds the id to the get full cluster params
func (*GetFullClusterParams) SetTimeout ¶
func (o *GetFullClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get full cluster params
func (*GetFullClusterParams) WithContext ¶
func (o *GetFullClusterParams) WithContext(ctx context.Context) *GetFullClusterParams
WithContext adds the context to the get full cluster params
func (*GetFullClusterParams) WithHTTPClient ¶
func (o *GetFullClusterParams) WithHTTPClient(client *http.Client) *GetFullClusterParams
WithHTTPClient adds the HTTPClient to the get full cluster params
func (*GetFullClusterParams) WithID ¶
func (o *GetFullClusterParams) WithID(id int64) *GetFullClusterParams
WithID adds the id to the get full cluster params
func (*GetFullClusterParams) WithTimeout ¶
func (o *GetFullClusterParams) WithTimeout(timeout time.Duration) *GetFullClusterParams
WithTimeout adds the timeout to the get full cluster params
func (*GetFullClusterParams) WriteToRequest ¶
func (o *GetFullClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFullClusterReader ¶
type GetFullClusterReader struct {
// contains filtered or unexported fields
}
GetFullClusterReader is a Reader for the GetFullCluster structure.
func (*GetFullClusterReader) ReadResponse ¶
func (o *GetFullClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateClusterOK ¶
type GetPrivateClusterOK struct {
Payload *models_cloudbreak.ClusterResponse
}
GetPrivateClusterOK handles this case with default header values.
successful operation
func NewGetPrivateClusterOK ¶
func NewGetPrivateClusterOK() *GetPrivateClusterOK
NewGetPrivateClusterOK creates a GetPrivateClusterOK with default headers values
func (*GetPrivateClusterOK) Error ¶
func (o *GetPrivateClusterOK) Error() string
type GetPrivateClusterParams ¶
type GetPrivateClusterParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateClusterParams contains all the parameters to send to the API endpoint for the get private cluster operation typically these are written to a http.Request
func NewGetPrivateClusterParams ¶
func NewGetPrivateClusterParams() *GetPrivateClusterParams
NewGetPrivateClusterParams creates a new GetPrivateClusterParams object with the default values initialized.
func NewGetPrivateClusterParamsWithContext ¶
func NewGetPrivateClusterParamsWithContext(ctx context.Context) *GetPrivateClusterParams
NewGetPrivateClusterParamsWithContext creates a new GetPrivateClusterParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateClusterParamsWithHTTPClient ¶
func NewGetPrivateClusterParamsWithHTTPClient(client *http.Client) *GetPrivateClusterParams
NewGetPrivateClusterParamsWithHTTPClient creates a new GetPrivateClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateClusterParamsWithTimeout ¶
func NewGetPrivateClusterParamsWithTimeout(timeout time.Duration) *GetPrivateClusterParams
NewGetPrivateClusterParamsWithTimeout creates a new GetPrivateClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateClusterParams) SetContext ¶
func (o *GetPrivateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cluster params
func (*GetPrivateClusterParams) SetHTTPClient ¶
func (o *GetPrivateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cluster params
func (*GetPrivateClusterParams) SetName ¶
func (o *GetPrivateClusterParams) SetName(name string)
SetName adds the name to the get private cluster params
func (*GetPrivateClusterParams) SetTimeout ¶
func (o *GetPrivateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cluster params
func (*GetPrivateClusterParams) WithContext ¶
func (o *GetPrivateClusterParams) WithContext(ctx context.Context) *GetPrivateClusterParams
WithContext adds the context to the get private cluster params
func (*GetPrivateClusterParams) WithHTTPClient ¶
func (o *GetPrivateClusterParams) WithHTTPClient(client *http.Client) *GetPrivateClusterParams
WithHTTPClient adds the HTTPClient to the get private cluster params
func (*GetPrivateClusterParams) WithName ¶
func (o *GetPrivateClusterParams) WithName(name string) *GetPrivateClusterParams
WithName adds the name to the get private cluster params
func (*GetPrivateClusterParams) WithTimeout ¶
func (o *GetPrivateClusterParams) WithTimeout(timeout time.Duration) *GetPrivateClusterParams
WithTimeout adds the timeout to the get private cluster params
func (*GetPrivateClusterParams) WriteToRequest ¶
func (o *GetPrivateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateClusterReader ¶
type GetPrivateClusterReader struct {
// contains filtered or unexported fields
}
GetPrivateClusterReader is a Reader for the GetPrivateCluster structure.
func (*GetPrivateClusterReader) ReadResponse ¶
func (o *GetPrivateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicClusterOK ¶
type GetPublicClusterOK struct {
Payload *models_cloudbreak.ClusterResponse
}
GetPublicClusterOK handles this case with default header values.
successful operation
func NewGetPublicClusterOK ¶
func NewGetPublicClusterOK() *GetPublicClusterOK
NewGetPublicClusterOK creates a GetPublicClusterOK with default headers values
func (*GetPublicClusterOK) Error ¶
func (o *GetPublicClusterOK) Error() string
type GetPublicClusterParams ¶
type GetPublicClusterParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicClusterParams contains all the parameters to send to the API endpoint for the get public cluster operation typically these are written to a http.Request
func NewGetPublicClusterParams ¶
func NewGetPublicClusterParams() *GetPublicClusterParams
NewGetPublicClusterParams creates a new GetPublicClusterParams object with the default values initialized.
func NewGetPublicClusterParamsWithContext ¶
func NewGetPublicClusterParamsWithContext(ctx context.Context) *GetPublicClusterParams
NewGetPublicClusterParamsWithContext creates a new GetPublicClusterParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicClusterParamsWithHTTPClient ¶
func NewGetPublicClusterParamsWithHTTPClient(client *http.Client) *GetPublicClusterParams
NewGetPublicClusterParamsWithHTTPClient creates a new GetPublicClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicClusterParamsWithTimeout ¶
func NewGetPublicClusterParamsWithTimeout(timeout time.Duration) *GetPublicClusterParams
NewGetPublicClusterParamsWithTimeout creates a new GetPublicClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicClusterParams) SetContext ¶
func (o *GetPublicClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get public cluster params
func (*GetPublicClusterParams) SetHTTPClient ¶
func (o *GetPublicClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public cluster params
func (*GetPublicClusterParams) SetName ¶
func (o *GetPublicClusterParams) SetName(name string)
SetName adds the name to the get public cluster params
func (*GetPublicClusterParams) SetTimeout ¶
func (o *GetPublicClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public cluster params
func (*GetPublicClusterParams) WithContext ¶
func (o *GetPublicClusterParams) WithContext(ctx context.Context) *GetPublicClusterParams
WithContext adds the context to the get public cluster params
func (*GetPublicClusterParams) WithHTTPClient ¶
func (o *GetPublicClusterParams) WithHTTPClient(client *http.Client) *GetPublicClusterParams
WithHTTPClient adds the HTTPClient to the get public cluster params
func (*GetPublicClusterParams) WithName ¶
func (o *GetPublicClusterParams) WithName(name string) *GetPublicClusterParams
WithName adds the name to the get public cluster params
func (*GetPublicClusterParams) WithTimeout ¶
func (o *GetPublicClusterParams) WithTimeout(timeout time.Duration) *GetPublicClusterParams
WithTimeout adds the timeout to the get public cluster params
func (*GetPublicClusterParams) WriteToRequest ¶
func (o *GetPublicClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicClusterReader ¶
type GetPublicClusterReader struct {
// contains filtered or unexported fields
}
GetPublicClusterReader is a Reader for the GetPublicCluster structure.
func (*GetPublicClusterReader) ReadResponse ¶
func (o *GetPublicClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostClusterOK ¶
type PostClusterOK struct {
Payload *models_cloudbreak.ClusterResponse
}
PostClusterOK handles this case with default header values.
successful operation
func NewPostClusterOK ¶
func NewPostClusterOK() *PostClusterOK
NewPostClusterOK creates a PostClusterOK with default headers values
func (*PostClusterOK) Error ¶
func (o *PostClusterOK) Error() string
type PostClusterParams ¶
type PostClusterParams struct { /*Body*/ Body *models_cloudbreak.ClusterRequest /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostClusterParams contains all the parameters to send to the API endpoint for the post cluster operation typically these are written to a http.Request
func NewPostClusterParams ¶
func NewPostClusterParams() *PostClusterParams
NewPostClusterParams creates a new PostClusterParams object with the default values initialized.
func NewPostClusterParamsWithContext ¶
func NewPostClusterParamsWithContext(ctx context.Context) *PostClusterParams
NewPostClusterParamsWithContext creates a new PostClusterParams object with the default values initialized, and the ability to set a context for a request
func NewPostClusterParamsWithHTTPClient ¶
func NewPostClusterParamsWithHTTPClient(client *http.Client) *PostClusterParams
NewPostClusterParamsWithHTTPClient creates a new PostClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostClusterParamsWithTimeout ¶
func NewPostClusterParamsWithTimeout(timeout time.Duration) *PostClusterParams
NewPostClusterParamsWithTimeout creates a new PostClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostClusterParams) SetBody ¶
func (o *PostClusterParams) SetBody(body *models_cloudbreak.ClusterRequest)
SetBody adds the body to the post cluster params
func (*PostClusterParams) SetContext ¶
func (o *PostClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the post cluster params
func (*PostClusterParams) SetHTTPClient ¶
func (o *PostClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post cluster params
func (*PostClusterParams) SetID ¶
func (o *PostClusterParams) SetID(id int64)
SetID adds the id to the post cluster params
func (*PostClusterParams) SetTimeout ¶
func (o *PostClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post cluster params
func (*PostClusterParams) WithBody ¶
func (o *PostClusterParams) WithBody(body *models_cloudbreak.ClusterRequest) *PostClusterParams
WithBody adds the body to the post cluster params
func (*PostClusterParams) WithContext ¶
func (o *PostClusterParams) WithContext(ctx context.Context) *PostClusterParams
WithContext adds the context to the post cluster params
func (*PostClusterParams) WithHTTPClient ¶
func (o *PostClusterParams) WithHTTPClient(client *http.Client) *PostClusterParams
WithHTTPClient adds the HTTPClient to the post cluster params
func (*PostClusterParams) WithID ¶
func (o *PostClusterParams) WithID(id int64) *PostClusterParams
WithID adds the id to the post cluster params
func (*PostClusterParams) WithTimeout ¶
func (o *PostClusterParams) WithTimeout(timeout time.Duration) *PostClusterParams
WithTimeout adds the timeout to the post cluster params
func (*PostClusterParams) WriteToRequest ¶
func (o *PostClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostClusterReader ¶
type PostClusterReader struct {
// contains filtered or unexported fields
}
PostClusterReader is a Reader for the PostCluster structure.
func (*PostClusterReader) ReadResponse ¶
func (o *PostClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutClusterDefault ¶
type PutClusterDefault struct {
// contains filtered or unexported fields
}
PutClusterDefault handles this case with default header values.
successful operation
func NewPutClusterDefault ¶
func NewPutClusterDefault(code int) *PutClusterDefault
NewPutClusterDefault creates a PutClusterDefault with default headers values
func (*PutClusterDefault) Code ¶
func (o *PutClusterDefault) Code() int
Code gets the status code for the put cluster default response
func (*PutClusterDefault) Error ¶
func (o *PutClusterDefault) Error() string
type PutClusterParams ¶
type PutClusterParams struct { /*Body*/ Body *models_cloudbreak.UpdateCluster /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutClusterParams contains all the parameters to send to the API endpoint for the put cluster operation typically these are written to a http.Request
func NewPutClusterParams ¶
func NewPutClusterParams() *PutClusterParams
NewPutClusterParams creates a new PutClusterParams object with the default values initialized.
func NewPutClusterParamsWithContext ¶
func NewPutClusterParamsWithContext(ctx context.Context) *PutClusterParams
NewPutClusterParamsWithContext creates a new PutClusterParams object with the default values initialized, and the ability to set a context for a request
func NewPutClusterParamsWithHTTPClient ¶
func NewPutClusterParamsWithHTTPClient(client *http.Client) *PutClusterParams
NewPutClusterParamsWithHTTPClient creates a new PutClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutClusterParamsWithTimeout ¶
func NewPutClusterParamsWithTimeout(timeout time.Duration) *PutClusterParams
NewPutClusterParamsWithTimeout creates a new PutClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutClusterParams) SetBody ¶
func (o *PutClusterParams) SetBody(body *models_cloudbreak.UpdateCluster)
SetBody adds the body to the put cluster params
func (*PutClusterParams) SetContext ¶
func (o *PutClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the put cluster params
func (*PutClusterParams) SetHTTPClient ¶
func (o *PutClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put cluster params
func (*PutClusterParams) SetID ¶
func (o *PutClusterParams) SetID(id int64)
SetID adds the id to the put cluster params
func (*PutClusterParams) SetTimeout ¶
func (o *PutClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put cluster params
func (*PutClusterParams) WithBody ¶
func (o *PutClusterParams) WithBody(body *models_cloudbreak.UpdateCluster) *PutClusterParams
WithBody adds the body to the put cluster params
func (*PutClusterParams) WithContext ¶
func (o *PutClusterParams) WithContext(ctx context.Context) *PutClusterParams
WithContext adds the context to the put cluster params
func (*PutClusterParams) WithHTTPClient ¶
func (o *PutClusterParams) WithHTTPClient(client *http.Client) *PutClusterParams
WithHTTPClient adds the HTTPClient to the put cluster params
func (*PutClusterParams) WithID ¶
func (o *PutClusterParams) WithID(id int64) *PutClusterParams
WithID adds the id to the put cluster params
func (*PutClusterParams) WithTimeout ¶
func (o *PutClusterParams) WithTimeout(timeout time.Duration) *PutClusterParams
WithTimeout adds the timeout to the put cluster params
func (*PutClusterParams) WriteToRequest ¶
func (o *PutClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutClusterReader ¶
type PutClusterReader struct {
// contains filtered or unexported fields
}
PutClusterReader is a Reader for the PutCluster structure.
func (*PutClusterReader) ReadResponse ¶
func (o *PutClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutClusterV2Default ¶
type PutClusterV2Default struct {
// contains filtered or unexported fields
}
PutClusterV2Default handles this case with default header values.
successful operation
func NewPutClusterV2Default ¶
func NewPutClusterV2Default(code int) *PutClusterV2Default
NewPutClusterV2Default creates a PutClusterV2Default with default headers values
func (*PutClusterV2Default) Code ¶
func (o *PutClusterV2Default) Code() int
Code gets the status code for the put cluster v2 default response
func (*PutClusterV2Default) Error ¶
func (o *PutClusterV2Default) Error() string
type PutClusterV2Params ¶
type PutClusterV2Params struct { /*Body*/ Body *models_cloudbreak.UpdateClusterV2 /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutClusterV2Params contains all the parameters to send to the API endpoint for the put cluster v2 operation typically these are written to a http.Request
func NewPutClusterV2Params ¶
func NewPutClusterV2Params() *PutClusterV2Params
NewPutClusterV2Params creates a new PutClusterV2Params object with the default values initialized.
func NewPutClusterV2ParamsWithContext ¶
func NewPutClusterV2ParamsWithContext(ctx context.Context) *PutClusterV2Params
NewPutClusterV2ParamsWithContext creates a new PutClusterV2Params object with the default values initialized, and the ability to set a context for a request
func NewPutClusterV2ParamsWithHTTPClient ¶
func NewPutClusterV2ParamsWithHTTPClient(client *http.Client) *PutClusterV2Params
NewPutClusterV2ParamsWithHTTPClient creates a new PutClusterV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutClusterV2ParamsWithTimeout ¶
func NewPutClusterV2ParamsWithTimeout(timeout time.Duration) *PutClusterV2Params
NewPutClusterV2ParamsWithTimeout creates a new PutClusterV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*PutClusterV2Params) SetBody ¶
func (o *PutClusterV2Params) SetBody(body *models_cloudbreak.UpdateClusterV2)
SetBody adds the body to the put cluster v2 params
func (*PutClusterV2Params) SetContext ¶
func (o *PutClusterV2Params) SetContext(ctx context.Context)
SetContext adds the context to the put cluster v2 params
func (*PutClusterV2Params) SetHTTPClient ¶
func (o *PutClusterV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put cluster v2 params
func (*PutClusterV2Params) SetName ¶
func (o *PutClusterV2Params) SetName(name string)
SetName adds the name to the put cluster v2 params
func (*PutClusterV2Params) SetTimeout ¶
func (o *PutClusterV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put cluster v2 params
func (*PutClusterV2Params) WithBody ¶
func (o *PutClusterV2Params) WithBody(body *models_cloudbreak.UpdateClusterV2) *PutClusterV2Params
WithBody adds the body to the put cluster v2 params
func (*PutClusterV2Params) WithContext ¶
func (o *PutClusterV2Params) WithContext(ctx context.Context) *PutClusterV2Params
WithContext adds the context to the put cluster v2 params
func (*PutClusterV2Params) WithHTTPClient ¶
func (o *PutClusterV2Params) WithHTTPClient(client *http.Client) *PutClusterV2Params
WithHTTPClient adds the HTTPClient to the put cluster v2 params
func (*PutClusterV2Params) WithName ¶
func (o *PutClusterV2Params) WithName(name string) *PutClusterV2Params
WithName adds the name to the put cluster v2 params
func (*PutClusterV2Params) WithTimeout ¶
func (o *PutClusterV2Params) WithTimeout(timeout time.Duration) *PutClusterV2Params
WithTimeout adds the timeout to the put cluster v2 params
func (*PutClusterV2Params) WriteToRequest ¶
func (o *PutClusterV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutClusterV2Reader ¶
type PutClusterV2Reader struct {
// contains filtered or unexported fields
}
PutClusterV2Reader is a Reader for the PutClusterV2 structure.
func (*PutClusterV2Reader) ReadResponse ¶
func (o *PutClusterV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RepairClusterDefault ¶
type RepairClusterDefault struct {
// contains filtered or unexported fields
}
RepairClusterDefault handles this case with default header values.
successful operation
func NewRepairClusterDefault ¶
func NewRepairClusterDefault(code int) *RepairClusterDefault
NewRepairClusterDefault creates a RepairClusterDefault with default headers values
func (*RepairClusterDefault) Code ¶
func (o *RepairClusterDefault) Code() int
Code gets the status code for the repair cluster default response
func (*RepairClusterDefault) Error ¶
func (o *RepairClusterDefault) Error() string
type RepairClusterParams ¶
type RepairClusterParams struct { /*Body*/ Body *models_cloudbreak.ClusterRepairRequest /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RepairClusterParams contains all the parameters to send to the API endpoint for the repair cluster operation typically these are written to a http.Request
func NewRepairClusterParams ¶
func NewRepairClusterParams() *RepairClusterParams
NewRepairClusterParams creates a new RepairClusterParams object with the default values initialized.
func NewRepairClusterParamsWithContext ¶
func NewRepairClusterParamsWithContext(ctx context.Context) *RepairClusterParams
NewRepairClusterParamsWithContext creates a new RepairClusterParams object with the default values initialized, and the ability to set a context for a request
func NewRepairClusterParamsWithHTTPClient ¶
func NewRepairClusterParamsWithHTTPClient(client *http.Client) *RepairClusterParams
NewRepairClusterParamsWithHTTPClient creates a new RepairClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRepairClusterParamsWithTimeout ¶
func NewRepairClusterParamsWithTimeout(timeout time.Duration) *RepairClusterParams
NewRepairClusterParamsWithTimeout creates a new RepairClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*RepairClusterParams) SetBody ¶
func (o *RepairClusterParams) SetBody(body *models_cloudbreak.ClusterRepairRequest)
SetBody adds the body to the repair cluster params
func (*RepairClusterParams) SetContext ¶
func (o *RepairClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the repair cluster params
func (*RepairClusterParams) SetHTTPClient ¶
func (o *RepairClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the repair cluster params
func (*RepairClusterParams) SetID ¶
func (o *RepairClusterParams) SetID(id int64)
SetID adds the id to the repair cluster params
func (*RepairClusterParams) SetTimeout ¶
func (o *RepairClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the repair cluster params
func (*RepairClusterParams) WithBody ¶
func (o *RepairClusterParams) WithBody(body *models_cloudbreak.ClusterRepairRequest) *RepairClusterParams
WithBody adds the body to the repair cluster params
func (*RepairClusterParams) WithContext ¶
func (o *RepairClusterParams) WithContext(ctx context.Context) *RepairClusterParams
WithContext adds the context to the repair cluster params
func (*RepairClusterParams) WithHTTPClient ¶
func (o *RepairClusterParams) WithHTTPClient(client *http.Client) *RepairClusterParams
WithHTTPClient adds the HTTPClient to the repair cluster params
func (*RepairClusterParams) WithID ¶
func (o *RepairClusterParams) WithID(id int64) *RepairClusterParams
WithID adds the id to the repair cluster params
func (*RepairClusterParams) WithTimeout ¶
func (o *RepairClusterParams) WithTimeout(timeout time.Duration) *RepairClusterParams
WithTimeout adds the timeout to the repair cluster params
func (*RepairClusterParams) WriteToRequest ¶
func (o *RepairClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RepairClusterReader ¶
type RepairClusterReader struct {
// contains filtered or unexported fields
}
RepairClusterReader is a Reader for the RepairCluster structure.
func (*RepairClusterReader) ReadResponse ¶
func (o *RepairClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeClusterDefault ¶
type UpgradeClusterDefault struct {
// contains filtered or unexported fields
}
UpgradeClusterDefault handles this case with default header values.
successful operation
func NewUpgradeClusterDefault ¶
func NewUpgradeClusterDefault(code int) *UpgradeClusterDefault
NewUpgradeClusterDefault creates a UpgradeClusterDefault with default headers values
func (*UpgradeClusterDefault) Code ¶
func (o *UpgradeClusterDefault) Code() int
Code gets the status code for the upgrade cluster default response
func (*UpgradeClusterDefault) Error ¶
func (o *UpgradeClusterDefault) Error() string
type UpgradeClusterParams ¶
type UpgradeClusterParams struct { /*Body*/ Body *models_cloudbreak.AmbariRepoDetails /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeClusterParams contains all the parameters to send to the API endpoint for the upgrade cluster operation typically these are written to a http.Request
func NewUpgradeClusterParams ¶
func NewUpgradeClusterParams() *UpgradeClusterParams
NewUpgradeClusterParams creates a new UpgradeClusterParams object with the default values initialized.
func NewUpgradeClusterParamsWithContext ¶
func NewUpgradeClusterParamsWithContext(ctx context.Context) *UpgradeClusterParams
NewUpgradeClusterParamsWithContext creates a new UpgradeClusterParams object with the default values initialized, and the ability to set a context for a request
func NewUpgradeClusterParamsWithHTTPClient ¶
func NewUpgradeClusterParamsWithHTTPClient(client *http.Client) *UpgradeClusterParams
NewUpgradeClusterParamsWithHTTPClient creates a new UpgradeClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpgradeClusterParamsWithTimeout ¶
func NewUpgradeClusterParamsWithTimeout(timeout time.Duration) *UpgradeClusterParams
NewUpgradeClusterParamsWithTimeout creates a new UpgradeClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpgradeClusterParams) SetBody ¶
func (o *UpgradeClusterParams) SetBody(body *models_cloudbreak.AmbariRepoDetails)
SetBody adds the body to the upgrade cluster params
func (*UpgradeClusterParams) SetContext ¶
func (o *UpgradeClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade cluster params
func (*UpgradeClusterParams) SetHTTPClient ¶
func (o *UpgradeClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade cluster params
func (*UpgradeClusterParams) SetID ¶
func (o *UpgradeClusterParams) SetID(id int64)
SetID adds the id to the upgrade cluster params
func (*UpgradeClusterParams) SetTimeout ¶
func (o *UpgradeClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade cluster params
func (*UpgradeClusterParams) WithBody ¶
func (o *UpgradeClusterParams) WithBody(body *models_cloudbreak.AmbariRepoDetails) *UpgradeClusterParams
WithBody adds the body to the upgrade cluster params
func (*UpgradeClusterParams) WithContext ¶
func (o *UpgradeClusterParams) WithContext(ctx context.Context) *UpgradeClusterParams
WithContext adds the context to the upgrade cluster params
func (*UpgradeClusterParams) WithHTTPClient ¶
func (o *UpgradeClusterParams) WithHTTPClient(client *http.Client) *UpgradeClusterParams
WithHTTPClient adds the HTTPClient to the upgrade cluster params
func (*UpgradeClusterParams) WithID ¶
func (o *UpgradeClusterParams) WithID(id int64) *UpgradeClusterParams
WithID adds the id to the upgrade cluster params
func (*UpgradeClusterParams) WithTimeout ¶
func (o *UpgradeClusterParams) WithTimeout(timeout time.Duration) *UpgradeClusterParams
WithTimeout adds the timeout to the upgrade cluster params
func (*UpgradeClusterParams) WriteToRequest ¶
func (o *UpgradeClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeClusterReader ¶
type UpgradeClusterReader struct {
// contains filtered or unexported fields
}
UpgradeClusterReader is a Reader for the UpgradeCluster structure.
func (*UpgradeClusterReader) ReadResponse ¶
func (o *UpgradeClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cluster_client.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- failure_report_cluster_parameters.go
- failure_report_cluster_responses.go
- get_cluster_parameters.go
- get_cluster_responses.go
- get_configs_cluster_parameters.go
- get_configs_cluster_responses.go
- get_full_cluster_parameters.go
- get_full_cluster_responses.go
- get_private_cluster_parameters.go
- get_private_cluster_responses.go
- get_public_cluster_parameters.go
- get_public_cluster_responses.go
- post_cluster_parameters.go
- post_cluster_responses.go
- put_cluster_parameters.go
- put_cluster_responses.go
- put_cluster_v2_parameters.go
- put_cluster_v2_responses.go
- repair_cluster_parameters.go
- repair_cluster_responses.go
- upgrade_cluster_parameters.go
- upgrade_cluster_responses.go