v1clusters

package
v2.2.0-dev.133+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for v1clusters API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v1clusters 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 {

	/*DeleteDependencies*/
	DeleteDependencies *bool
	/*ID*/
	ID int64
	/*WithStackDelete*/
	WithStackDelete *bool

	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) SetDeleteDependencies

func (o *DeleteClusterParams) SetDeleteDependencies(deleteDependencies *bool)

SetDeleteDependencies adds the deleteDependencies 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) SetWithStackDelete

func (o *DeleteClusterParams) SetWithStackDelete(withStackDelete *bool)

SetWithStackDelete adds the withStackDelete to the delete cluster params

func (*DeleteClusterParams) WithContext

WithContext adds the context to the delete cluster params

func (*DeleteClusterParams) WithDeleteDependencies

func (o *DeleteClusterParams) WithDeleteDependencies(deleteDependencies *bool) *DeleteClusterParams

WithDeleteDependencies adds the deleteDependencies 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

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) WithWithStackDelete

func (o *DeleteClusterParams) WithWithStackDelete(withStackDelete *bool) *DeleteClusterParams

WithWithStackDelete adds the withStackDelete 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

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

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

WithBody adds the body to the failure report cluster params

func (*FailureReportClusterParams) WithContext

WithContext adds the context to the failure report cluster params

func (*FailureReportClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the failure report cluster params

func (*FailureReportClusterParams) WithID

WithID adds the id to the failure report cluster params

func (*FailureReportClusterParams) WithTimeout

WithTimeout adds the timeout to the failure report cluster params

func (*FailureReportClusterParams) WriteToRequest

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

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

WithBody adds the body to the get configs cluster params

func (*GetConfigsClusterParams) WithContext

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

WithID adds the id to the get configs cluster params

func (*GetConfigsClusterParams) WithTimeout

WithTimeout adds the timeout to the get configs cluster params

func (*GetConfigsClusterParams) WriteToRequest

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

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

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

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

WithName adds the name to the get private cluster params

func (*GetPrivateClusterParams) WithTimeout

WithTimeout adds the timeout to the get private cluster params

func (*GetPrivateClusterParams) WriteToRequest

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

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

WithName adds the name to the get public cluster params

func (*GetPublicClusterParams) WithTimeout

WithTimeout adds the timeout to the get public cluster params

func (*GetPublicClusterParams) WriteToRequest

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

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

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

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

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 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

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

WithBody adds the body to the repair cluster params

func (*RepairClusterParams) WithContext

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

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

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

WithBody adds the body to the upgrade cluster params

func (*UpgradeClusterParams) WithContext

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

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.

Jump to

Keyboard shortcuts

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