cluster

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 8 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 cluster API

func New

func New(transport client.Transport, formats strfmt.Registry) *Client

New creates a new cluster API client.

func (*Client) DeleteStacksIDCluster

func (a *Client) DeleteStacksIDCluster(params *DeleteStacksIDClusterParams) error

DeleteStacksIDCluster 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) GetStacksAccountNameCluster

func (a *Client) GetStacksAccountNameCluster(params *GetStacksAccountNameClusterParams) (*GetStacksAccountNameClusterOK, error)

GetStacksAccountNameCluster 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) GetStacksIDCluster

func (a *Client) GetStacksIDCluster(params *GetStacksIDClusterParams) (*GetStacksIDClusterOK, error)

GetStacksIDCluster 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) GetStacksUserNameCluster

func (a *Client) GetStacksUserNameCluster(params *GetStacksUserNameClusterParams) (*GetStacksUserNameClusterOK, error)

GetStacksUserNameCluster 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) PostStacksIDCluster

func (a *Client) PostStacksIDCluster(params *PostStacksIDClusterParams) (*PostStacksIDClusterOK, error)

PostStacksIDCluster 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) PutStacksIDCluster

func (a *Client) PutStacksIDCluster(params *PutStacksIDClusterParams) error

PutStacksIDCluster 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) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

type DeleteStacksIDClusterDefault

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

DeleteStacksIDClusterDefault handles this case with default header values.

successful operation

func NewDeleteStacksIDClusterDefault

func NewDeleteStacksIDClusterDefault(code int) *DeleteStacksIDClusterDefault

NewDeleteStacksIDClusterDefault creates a DeleteStacksIDClusterDefault with default headers values

func (*DeleteStacksIDClusterDefault) Code

Code gets the status code for the delete stacks ID cluster default response

func (*DeleteStacksIDClusterDefault) Error

type DeleteStacksIDClusterParams

type DeleteStacksIDClusterParams struct {

	/*ID*/
	ID int64
}

DeleteStacksIDClusterParams contains all the parameters to send to the API endpoint for the delete stacks ID cluster operation typically these are written to a http.Request

func NewDeleteStacksIDClusterParams

func NewDeleteStacksIDClusterParams() *DeleteStacksIDClusterParams

NewDeleteStacksIDClusterParams creates a new DeleteStacksIDClusterParams object with the default values initialized.

func (*DeleteStacksIDClusterParams) WithID

WithID adds the id to the delete stacks ID cluster params

func (*DeleteStacksIDClusterParams) WriteToRequest

func (o *DeleteStacksIDClusterParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteStacksIDClusterReader

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

DeleteStacksIDClusterReader is a Reader for the DeleteStacksIDCluster structure.

func (*DeleteStacksIDClusterReader) ReadResponse

func (o *DeleteStacksIDClusterReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetStacksAccountNameClusterOK

type GetStacksAccountNameClusterOK struct {
	Payload *models.ClusterResponse
}

GetStacksAccountNameClusterOK handles this case with default header values.

successful operation

func NewGetStacksAccountNameClusterOK

func NewGetStacksAccountNameClusterOK() *GetStacksAccountNameClusterOK

NewGetStacksAccountNameClusterOK creates a GetStacksAccountNameClusterOK with default headers values

func (*GetStacksAccountNameClusterOK) Error

type GetStacksAccountNameClusterParams

type GetStacksAccountNameClusterParams struct {

	/*Name*/
	Name string
}

GetStacksAccountNameClusterParams contains all the parameters to send to the API endpoint for the get stacks account name cluster operation typically these are written to a http.Request

func NewGetStacksAccountNameClusterParams

func NewGetStacksAccountNameClusterParams() *GetStacksAccountNameClusterParams

NewGetStacksAccountNameClusterParams creates a new GetStacksAccountNameClusterParams object with the default values initialized.

func (*GetStacksAccountNameClusterParams) WithName

WithName adds the name to the get stacks account name cluster params

func (*GetStacksAccountNameClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStacksAccountNameClusterReader

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

GetStacksAccountNameClusterReader is a Reader for the GetStacksAccountNameCluster structure.

func (*GetStacksAccountNameClusterReader) ReadResponse

func (o *GetStacksAccountNameClusterReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetStacksIDClusterOK

type GetStacksIDClusterOK struct {
	Payload *models.ClusterResponse
}

GetStacksIDClusterOK handles this case with default header values.

successful operation

func NewGetStacksIDClusterOK

func NewGetStacksIDClusterOK() *GetStacksIDClusterOK

NewGetStacksIDClusterOK creates a GetStacksIDClusterOK with default headers values

func (*GetStacksIDClusterOK) Error

func (o *GetStacksIDClusterOK) Error() string

type GetStacksIDClusterParams

type GetStacksIDClusterParams struct {

	/*ID*/
	ID int64
}

GetStacksIDClusterParams contains all the parameters to send to the API endpoint for the get stacks ID cluster operation typically these are written to a http.Request

func NewGetStacksIDClusterParams

func NewGetStacksIDClusterParams() *GetStacksIDClusterParams

NewGetStacksIDClusterParams creates a new GetStacksIDClusterParams object with the default values initialized.

func (*GetStacksIDClusterParams) WithID

WithID adds the id to the get stacks ID cluster params

func (*GetStacksIDClusterParams) WriteToRequest

func (o *GetStacksIDClusterParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStacksIDClusterReader

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

GetStacksIDClusterReader is a Reader for the GetStacksIDCluster structure.

func (*GetStacksIDClusterReader) ReadResponse

func (o *GetStacksIDClusterReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetStacksUserNameClusterOK

type GetStacksUserNameClusterOK struct {
	Payload *models.ClusterResponse
}

GetStacksUserNameClusterOK handles this case with default header values.

successful operation

func NewGetStacksUserNameClusterOK

func NewGetStacksUserNameClusterOK() *GetStacksUserNameClusterOK

NewGetStacksUserNameClusterOK creates a GetStacksUserNameClusterOK with default headers values

func (*GetStacksUserNameClusterOK) Error

type GetStacksUserNameClusterParams

type GetStacksUserNameClusterParams struct {

	/*Name*/
	Name string
}

GetStacksUserNameClusterParams contains all the parameters to send to the API endpoint for the get stacks user name cluster operation typically these are written to a http.Request

func NewGetStacksUserNameClusterParams

func NewGetStacksUserNameClusterParams() *GetStacksUserNameClusterParams

NewGetStacksUserNameClusterParams creates a new GetStacksUserNameClusterParams object with the default values initialized.

func (*GetStacksUserNameClusterParams) WithName

WithName adds the name to the get stacks user name cluster params

func (*GetStacksUserNameClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStacksUserNameClusterReader

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

GetStacksUserNameClusterReader is a Reader for the GetStacksUserNameCluster structure.

func (*GetStacksUserNameClusterReader) ReadResponse

func (o *GetStacksUserNameClusterReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostStacksIDClusterOK

type PostStacksIDClusterOK struct {
	Payload *models.ID
}

PostStacksIDClusterOK handles this case with default header values.

successful operation

func NewPostStacksIDClusterOK

func NewPostStacksIDClusterOK() *PostStacksIDClusterOK

NewPostStacksIDClusterOK creates a PostStacksIDClusterOK with default headers values

func (*PostStacksIDClusterOK) Error

func (o *PostStacksIDClusterOK) Error() string

type PostStacksIDClusterParams

type PostStacksIDClusterParams struct {

	/*Body*/
	Body *models.ClusterRequest
	/*ID*/
	ID int64
}

PostStacksIDClusterParams contains all the parameters to send to the API endpoint for the post stacks ID cluster operation typically these are written to a http.Request

func NewPostStacksIDClusterParams

func NewPostStacksIDClusterParams() *PostStacksIDClusterParams

NewPostStacksIDClusterParams creates a new PostStacksIDClusterParams object with the default values initialized.

func (*PostStacksIDClusterParams) WithBody

WithBody adds the body to the post stacks ID cluster params

func (*PostStacksIDClusterParams) WithID

WithID adds the id to the post stacks ID cluster params

func (*PostStacksIDClusterParams) WriteToRequest

func (o *PostStacksIDClusterParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostStacksIDClusterReader

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

PostStacksIDClusterReader is a Reader for the PostStacksIDCluster structure.

func (*PostStacksIDClusterReader) ReadResponse

func (o *PostStacksIDClusterReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PutStacksIDClusterDefault

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

PutStacksIDClusterDefault handles this case with default header values.

successful operation

func NewPutStacksIDClusterDefault

func NewPutStacksIDClusterDefault(code int) *PutStacksIDClusterDefault

NewPutStacksIDClusterDefault creates a PutStacksIDClusterDefault with default headers values

func (*PutStacksIDClusterDefault) Code

func (o *PutStacksIDClusterDefault) Code() int

Code gets the status code for the put stacks ID cluster default response

func (*PutStacksIDClusterDefault) Error

func (o *PutStacksIDClusterDefault) Error() string

type PutStacksIDClusterParams

type PutStacksIDClusterParams struct {

	/*Body*/
	Body *models.UpdateCluster
	/*ID*/
	ID int64
}

PutStacksIDClusterParams contains all the parameters to send to the API endpoint for the put stacks ID cluster operation typically these are written to a http.Request

func NewPutStacksIDClusterParams

func NewPutStacksIDClusterParams() *PutStacksIDClusterParams

NewPutStacksIDClusterParams creates a new PutStacksIDClusterParams object with the default values initialized.

func (*PutStacksIDClusterParams) WithBody

WithBody adds the body to the put stacks ID cluster params

func (*PutStacksIDClusterParams) WithID

WithID adds the id to the put stacks ID cluster params

func (*PutStacksIDClusterParams) WriteToRequest

func (o *PutStacksIDClusterParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutStacksIDClusterReader

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

PutStacksIDClusterReader is a Reader for the PutStacksIDCluster structure.

func (*PutStacksIDClusterReader) ReadResponse

func (o *PutStacksIDClusterReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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