Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteStacksIDCluster(params *DeleteStacksIDClusterParams) error
- func (a *Client) GetStacksAccountNameCluster(params *GetStacksAccountNameClusterParams) (*GetStacksAccountNameClusterOK, error)
- func (a *Client) GetStacksIDCluster(params *GetStacksIDClusterParams) (*GetStacksIDClusterOK, error)
- func (a *Client) GetStacksUserNameCluster(params *GetStacksUserNameClusterParams) (*GetStacksUserNameClusterOK, error)
- func (a *Client) PostStacksIDCluster(params *PostStacksIDClusterParams) (*PostStacksIDClusterOK, error)
- func (a *Client) PutStacksIDCluster(params *PutStacksIDClusterParams) error
- func (a *Client) SetTransport(transport client.Transport)
- type DeleteStacksIDClusterDefault
- type DeleteStacksIDClusterParams
- type DeleteStacksIDClusterReader
- type GetStacksAccountNameClusterOK
- type GetStacksAccountNameClusterParams
- type GetStacksAccountNameClusterReader
- type GetStacksIDClusterOK
- type GetStacksIDClusterParams
- type GetStacksIDClusterReader
- type GetStacksUserNameClusterOK
- type GetStacksUserNameClusterParams
- type GetStacksUserNameClusterReader
- type PostStacksIDClusterOK
- type PostStacksIDClusterParams
- type PostStacksIDClusterReader
- type PutStacksIDClusterDefault
- type PutStacksIDClusterParams
- type PutStacksIDClusterReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cluster API
func (*Client) 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 ¶
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 ¶
func (o *DeleteStacksIDClusterDefault) Code() int
Code gets the status code for the delete stacks ID cluster default response
func (*DeleteStacksIDClusterDefault) Error ¶
func (o *DeleteStacksIDClusterDefault) Error() string
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 ¶
func (o *DeleteStacksIDClusterParams) WithID(id int64) *DeleteStacksIDClusterParams
WithID adds the id to the delete stacks ID cluster params
func (*DeleteStacksIDClusterParams) WriteToRequest ¶
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 ¶
func (o *GetStacksAccountNameClusterOK) Error() string
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 ¶
func (o *GetStacksAccountNameClusterParams) WithName(name string) *GetStacksAccountNameClusterParams
WithName adds the name to the get stacks account name cluster params
func (*GetStacksAccountNameClusterParams) WriteToRequest ¶
func (o *GetStacksAccountNameClusterParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
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 ¶
func (o *GetStacksIDClusterParams) WithID(id int64) *GetStacksIDClusterParams
WithID adds the id to the get stacks ID cluster params
func (*GetStacksIDClusterParams) WriteToRequest ¶
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 ¶
func (o *GetStacksUserNameClusterOK) Error() string
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 ¶
func (o *GetStacksUserNameClusterParams) WithName(name string) *GetStacksUserNameClusterParams
WithName adds the name to the get stacks user name cluster params
func (*GetStacksUserNameClusterParams) WriteToRequest ¶
func (o *GetStacksUserNameClusterParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *PostStacksIDClusterParams) WithBody(body *models.ClusterRequest) *PostStacksIDClusterParams
WithBody adds the body to the post stacks ID cluster params
func (*PostStacksIDClusterParams) WithID ¶
func (o *PostStacksIDClusterParams) WithID(id int64) *PostStacksIDClusterParams
WithID adds the id to the post stacks ID cluster params
func (*PostStacksIDClusterParams) WriteToRequest ¶
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 ¶
func (o *PutStacksIDClusterParams) WithBody(body *models.UpdateCluster) *PutStacksIDClusterParams
WithBody adds the body to the put stacks ID cluster params
func (*PutStacksIDClusterParams) WithID ¶
func (o *PutStacksIDClusterParams) WithID(id int64) *PutStacksIDClusterParams
WithID adds the id to the put stacks ID cluster params
func (*PutStacksIDClusterParams) WriteToRequest ¶
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.
Source Files ¶
- cluster_client.go
- delete_stacks_id_cluster_parameters.go
- delete_stacks_id_cluster_responses.go
- get_stacks_account_name_cluster_parameters.go
- get_stacks_account_name_cluster_responses.go
- get_stacks_id_cluster_parameters.go
- get_stacks_id_cluster_responses.go
- get_stacks_user_name_cluster_parameters.go
- get_stacks_user_name_cluster_responses.go
- post_stacks_id_cluster_parameters.go
- post_stacks_id_cluster_responses.go
- put_stacks_id_cluster_parameters.go
- put_stacks_id_cluster_responses.go