cluster_manager

package
v0.0.0-...-162f8c7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CeaseClustersOK

type CeaseClustersOK struct {
	Payload *models.OpenpitrixCeaseClustersResponse
}

CeaseClustersOK handles this case with default header values.

CeaseClustersOK cease clusters o k

func NewCeaseClustersOK

func NewCeaseClustersOK() *CeaseClustersOK

NewCeaseClustersOK creates a CeaseClustersOK with default headers values

func (*CeaseClustersOK) Error

func (o *CeaseClustersOK) Error() string

type CeaseClustersParams

type CeaseClustersParams struct {

	/*Body*/
	Body *models.OpenpitrixCeaseClustersRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CeaseClustersParams contains all the parameters to send to the API endpoint for the cease clusters operation typically these are written to a http.Request

func NewCeaseClustersParams

func NewCeaseClustersParams() *CeaseClustersParams

NewCeaseClustersParams creates a new CeaseClustersParams object with the default values initialized.

func NewCeaseClustersParamsWithContext

func NewCeaseClustersParamsWithContext(ctx context.Context) *CeaseClustersParams

NewCeaseClustersParamsWithContext creates a new CeaseClustersParams object with the default values initialized, and the ability to set a context for a request

func NewCeaseClustersParamsWithHTTPClient

func NewCeaseClustersParamsWithHTTPClient(client *http.Client) *CeaseClustersParams

NewCeaseClustersParamsWithHTTPClient creates a new CeaseClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCeaseClustersParamsWithTimeout

func NewCeaseClustersParamsWithTimeout(timeout time.Duration) *CeaseClustersParams

NewCeaseClustersParamsWithTimeout creates a new CeaseClustersParams object with the default values initialized, and the ability to set a timeout on a request

func (*CeaseClustersParams) SetBody

SetBody adds the body to the cease clusters params

func (*CeaseClustersParams) SetContext

func (o *CeaseClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the cease clusters params

func (*CeaseClustersParams) SetHTTPClient

func (o *CeaseClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cease clusters params

func (*CeaseClustersParams) SetTimeout

func (o *CeaseClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cease clusters params

func (*CeaseClustersParams) WithBody

WithBody adds the body to the cease clusters params

func (*CeaseClustersParams) WithContext

WithContext adds the context to the cease clusters params

func (*CeaseClustersParams) WithHTTPClient

func (o *CeaseClustersParams) WithHTTPClient(client *http.Client) *CeaseClustersParams

WithHTTPClient adds the HTTPClient to the cease clusters params

func (*CeaseClustersParams) WithTimeout

func (o *CeaseClustersParams) WithTimeout(timeout time.Duration) *CeaseClustersParams

WithTimeout adds the timeout to the cease clusters params

func (*CeaseClustersParams) WriteToRequest

func (o *CeaseClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CeaseClustersReader

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

CeaseClustersReader is a Reader for the CeaseClusters structure.

func (*CeaseClustersReader) ReadResponse

func (o *CeaseClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for cluster manager API

func New

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

New creates a new cluster manager API client.

func (*Client) CeaseClusters

func (a *Client) CeaseClusters(params *CeaseClustersParams) (*CeaseClustersOK, error)

CeaseClusters ceases clusters

func (*Client) DescribeClusterNodes

func (a *Client) DescribeClusterNodes(params *DescribeClusterNodesParams) (*DescribeClusterNodesOK, error)

DescribeClusterNodes describes cluster nodes

func (*Client) RecoverClusters

func (a *Client) RecoverClusters(params *RecoverClustersParams) (*RecoverClustersOK, error)

RecoverClusters recovers clusters

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateClusterEnv

func (a *Client) UpdateClusterEnv(params *UpdateClusterEnvParams) (*UpdateClusterEnvOK, error)

UpdateClusterEnv updates cluster env

type DescribeClusterNodesOK

type DescribeClusterNodesOK struct {
	Payload *models.OpenpitrixDescribeClusterNodesResponse
}

DescribeClusterNodesOK handles this case with default header values.

DescribeClusterNodesOK describe cluster nodes o k

func NewDescribeClusterNodesOK

func NewDescribeClusterNodesOK() *DescribeClusterNodesOK

NewDescribeClusterNodesOK creates a DescribeClusterNodesOK with default headers values

func (*DescribeClusterNodesOK) Error

func (o *DescribeClusterNodesOK) Error() string

type DescribeClusterNodesParams

type DescribeClusterNodesParams struct {

	/*ClusterID*/
	ClusterID *string
	/*Limit
	  default is 20, max value is 200.

	*/
	Limit *int64
	/*NodeID*/
	NodeID []string
	/*Offset
	  default is 0.

	*/
	Offset *int64
	/*Status*/
	Status []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeClusterNodesParams contains all the parameters to send to the API endpoint for the describe cluster nodes operation typically these are written to a http.Request

func NewDescribeClusterNodesParams

func NewDescribeClusterNodesParams() *DescribeClusterNodesParams

NewDescribeClusterNodesParams creates a new DescribeClusterNodesParams object with the default values initialized.

func NewDescribeClusterNodesParamsWithContext

func NewDescribeClusterNodesParamsWithContext(ctx context.Context) *DescribeClusterNodesParams

NewDescribeClusterNodesParamsWithContext creates a new DescribeClusterNodesParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeClusterNodesParamsWithHTTPClient

func NewDescribeClusterNodesParamsWithHTTPClient(client *http.Client) *DescribeClusterNodesParams

NewDescribeClusterNodesParamsWithHTTPClient creates a new DescribeClusterNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeClusterNodesParamsWithTimeout

func NewDescribeClusterNodesParamsWithTimeout(timeout time.Duration) *DescribeClusterNodesParams

NewDescribeClusterNodesParamsWithTimeout creates a new DescribeClusterNodesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeClusterNodesParams) SetClusterID

func (o *DescribeClusterNodesParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetContext

func (o *DescribeClusterNodesParams) SetContext(ctx context.Context)

SetContext adds the context to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetHTTPClient

func (o *DescribeClusterNodesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetLimit

func (o *DescribeClusterNodesParams) SetLimit(limit *int64)

SetLimit adds the limit to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetNodeID

func (o *DescribeClusterNodesParams) SetNodeID(nodeID []string)

SetNodeID adds the nodeId to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetOffset

func (o *DescribeClusterNodesParams) SetOffset(offset *int64)

SetOffset adds the offset to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetStatus

func (o *DescribeClusterNodesParams) SetStatus(status []string)

SetStatus adds the status to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetTimeout

func (o *DescribeClusterNodesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithClusterID

func (o *DescribeClusterNodesParams) WithClusterID(clusterID *string) *DescribeClusterNodesParams

WithClusterID adds the clusterID to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithContext

WithContext adds the context to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithLimit

WithLimit adds the limit to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithNodeID

WithNodeID adds the nodeID to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithOffset

WithOffset adds the offset to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithStatus

WithStatus adds the status to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithTimeout

WithTimeout adds the timeout to the describe cluster nodes params

func (*DescribeClusterNodesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeClusterNodesReader

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

DescribeClusterNodesReader is a Reader for the DescribeClusterNodes structure.

func (*DescribeClusterNodesReader) ReadResponse

func (o *DescribeClusterNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RecoverClustersOK

type RecoverClustersOK struct {
	Payload *models.OpenpitrixRecoverClustersResponse
}

RecoverClustersOK handles this case with default header values.

RecoverClustersOK recover clusters o k

func NewRecoverClustersOK

func NewRecoverClustersOK() *RecoverClustersOK

NewRecoverClustersOK creates a RecoverClustersOK with default headers values

func (*RecoverClustersOK) Error

func (o *RecoverClustersOK) Error() string

type RecoverClustersParams

type RecoverClustersParams struct {

	/*Body*/
	Body *models.OpenpitrixRecoverClustersRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RecoverClustersParams contains all the parameters to send to the API endpoint for the recover clusters operation typically these are written to a http.Request

func NewRecoverClustersParams

func NewRecoverClustersParams() *RecoverClustersParams

NewRecoverClustersParams creates a new RecoverClustersParams object with the default values initialized.

func NewRecoverClustersParamsWithContext

func NewRecoverClustersParamsWithContext(ctx context.Context) *RecoverClustersParams

NewRecoverClustersParamsWithContext creates a new RecoverClustersParams object with the default values initialized, and the ability to set a context for a request

func NewRecoverClustersParamsWithHTTPClient

func NewRecoverClustersParamsWithHTTPClient(client *http.Client) *RecoverClustersParams

NewRecoverClustersParamsWithHTTPClient creates a new RecoverClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRecoverClustersParamsWithTimeout

func NewRecoverClustersParamsWithTimeout(timeout time.Duration) *RecoverClustersParams

NewRecoverClustersParamsWithTimeout creates a new RecoverClustersParams object with the default values initialized, and the ability to set a timeout on a request

func (*RecoverClustersParams) SetBody

SetBody adds the body to the recover clusters params

func (*RecoverClustersParams) SetContext

func (o *RecoverClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the recover clusters params

func (*RecoverClustersParams) SetHTTPClient

func (o *RecoverClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the recover clusters params

func (*RecoverClustersParams) SetTimeout

func (o *RecoverClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the recover clusters params

func (*RecoverClustersParams) WithBody

WithBody adds the body to the recover clusters params

func (*RecoverClustersParams) WithContext

WithContext adds the context to the recover clusters params

func (*RecoverClustersParams) WithHTTPClient

func (o *RecoverClustersParams) WithHTTPClient(client *http.Client) *RecoverClustersParams

WithHTTPClient adds the HTTPClient to the recover clusters params

func (*RecoverClustersParams) WithTimeout

func (o *RecoverClustersParams) WithTimeout(timeout time.Duration) *RecoverClustersParams

WithTimeout adds the timeout to the recover clusters params

func (*RecoverClustersParams) WriteToRequest

func (o *RecoverClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RecoverClustersReader

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

RecoverClustersReader is a Reader for the RecoverClusters structure.

func (*RecoverClustersReader) ReadResponse

func (o *RecoverClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterEnvOK

type UpdateClusterEnvOK struct {
	Payload *models.OpenpitrixUpdateClusterEnvResponse
}

UpdateClusterEnvOK handles this case with default header values.

UpdateClusterEnvOK update cluster env o k

func NewUpdateClusterEnvOK

func NewUpdateClusterEnvOK() *UpdateClusterEnvOK

NewUpdateClusterEnvOK creates a UpdateClusterEnvOK with default headers values

func (*UpdateClusterEnvOK) Error

func (o *UpdateClusterEnvOK) Error() string

type UpdateClusterEnvParams

type UpdateClusterEnvParams struct {

	/*Body*/
	Body *models.OpenpitrixUpdateClusterEnvRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterEnvParams contains all the parameters to send to the API endpoint for the update cluster env operation typically these are written to a http.Request

func NewUpdateClusterEnvParams

func NewUpdateClusterEnvParams() *UpdateClusterEnvParams

NewUpdateClusterEnvParams creates a new UpdateClusterEnvParams object with the default values initialized.

func NewUpdateClusterEnvParamsWithContext

func NewUpdateClusterEnvParamsWithContext(ctx context.Context) *UpdateClusterEnvParams

NewUpdateClusterEnvParamsWithContext creates a new UpdateClusterEnvParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateClusterEnvParamsWithHTTPClient

func NewUpdateClusterEnvParamsWithHTTPClient(client *http.Client) *UpdateClusterEnvParams

NewUpdateClusterEnvParamsWithHTTPClient creates a new UpdateClusterEnvParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateClusterEnvParamsWithTimeout

func NewUpdateClusterEnvParamsWithTimeout(timeout time.Duration) *UpdateClusterEnvParams

NewUpdateClusterEnvParamsWithTimeout creates a new UpdateClusterEnvParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateClusterEnvParams) SetBody

SetBody adds the body to the update cluster env params

func (*UpdateClusterEnvParams) SetContext

func (o *UpdateClusterEnvParams) SetContext(ctx context.Context)

SetContext adds the context to the update cluster env params

func (*UpdateClusterEnvParams) SetHTTPClient

func (o *UpdateClusterEnvParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster env params

func (*UpdateClusterEnvParams) SetTimeout

func (o *UpdateClusterEnvParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster env params

func (*UpdateClusterEnvParams) WithBody

WithBody adds the body to the update cluster env params

func (*UpdateClusterEnvParams) WithContext

WithContext adds the context to the update cluster env params

func (*UpdateClusterEnvParams) WithHTTPClient

func (o *UpdateClusterEnvParams) WithHTTPClient(client *http.Client) *UpdateClusterEnvParams

WithHTTPClient adds the HTTPClient to the update cluster env params

func (*UpdateClusterEnvParams) WithTimeout

WithTimeout adds the timeout to the update cluster env params

func (*UpdateClusterEnvParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateClusterEnvReader

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

UpdateClusterEnvReader is a Reader for the UpdateClusterEnv structure.

func (*UpdateClusterEnvReader) ReadResponse

func (o *UpdateClusterEnvReader) 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