cluster_manager

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddClusterNodesOK

type AddClusterNodesOK struct {
	Payload *models.OpenpitrixAddClusterNodesResponse
}

AddClusterNodesOK handles this case with default header values.

AddClusterNodesOK add cluster nodes o k

func NewAddClusterNodesOK

func NewAddClusterNodesOK() *AddClusterNodesOK

NewAddClusterNodesOK creates a AddClusterNodesOK with default headers values

func (*AddClusterNodesOK) Error

func (o *AddClusterNodesOK) Error() string

type AddClusterNodesParams

type AddClusterNodesParams struct {

	/*Body*/
	Body *models.OpenpitrixAddClusterNodesRequest

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

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

func NewAddClusterNodesParams

func NewAddClusterNodesParams() *AddClusterNodesParams

NewAddClusterNodesParams creates a new AddClusterNodesParams object with the default values initialized.

func NewAddClusterNodesParamsWithContext

func NewAddClusterNodesParamsWithContext(ctx context.Context) *AddClusterNodesParams

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

func NewAddClusterNodesParamsWithHTTPClient

func NewAddClusterNodesParamsWithHTTPClient(client *http.Client) *AddClusterNodesParams

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

func NewAddClusterNodesParamsWithTimeout

func NewAddClusterNodesParamsWithTimeout(timeout time.Duration) *AddClusterNodesParams

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

func (*AddClusterNodesParams) SetBody

SetBody adds the body to the add cluster nodes params

func (*AddClusterNodesParams) SetContext

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

SetContext adds the context to the add cluster nodes params

func (*AddClusterNodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add cluster nodes params

func (*AddClusterNodesParams) SetTimeout

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

SetTimeout adds the timeout to the add cluster nodes params

func (*AddClusterNodesParams) WithBody

WithBody adds the body to the add cluster nodes params

func (*AddClusterNodesParams) WithContext

WithContext adds the context to the add cluster nodes params

func (*AddClusterNodesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add cluster nodes params

func (*AddClusterNodesParams) WithTimeout

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

WithTimeout adds the timeout to the add cluster nodes params

func (*AddClusterNodesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddClusterNodesReader

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

AddClusterNodesReader is a Reader for the AddClusterNodes structure.

func (*AddClusterNodesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

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

func (a *Client) AddClusterNodes(params *AddClusterNodesParams) (*AddClusterNodesOK, error)

AddClusterNodes adds cluster nodes

func (*Client) CeaseClusters

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

CeaseClusters ceases clusters

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateClusterParams) (*CreateClusterOK, error)

CreateCluster creates cluster

func (*Client) DeleteClusterNodes

func (a *Client) DeleteClusterNodes(params *DeleteClusterNodesParams) (*DeleteClusterNodesOK, error)

DeleteClusterNodes deletes cluster nodes

func (*Client) DeleteClusters

func (a *Client) DeleteClusters(params *DeleteClustersParams) (*DeleteClustersOK, error)

DeleteClusters deletes clusters

func (*Client) DescribeClusterNodes

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

DescribeClusterNodes describes cluster nodes

func (*Client) DescribeClusters

func (a *Client) DescribeClusters(params *DescribeClustersParams) (*DescribeClustersOK, error)

DescribeClusters describes clusters

func (*Client) DescribeSubnets

func (a *Client) DescribeSubnets(params *DescribeSubnetsParams) (*DescribeSubnetsOK, error)

DescribeSubnets describes subnets

func (*Client) RecoverClusters

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

RecoverClusters recovers clusters

func (*Client) ResizeCluster

func (a *Client) ResizeCluster(params *ResizeClusterParams) (*ResizeClusterOK, error)

ResizeCluster resizes cluster

func (*Client) RollbackCluster

func (a *Client) RollbackCluster(params *RollbackClusterParams) (*RollbackClusterOK, error)

RollbackCluster rollbacks cluster

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartClusters

func (a *Client) StartClusters(params *StartClustersParams) (*StartClustersOK, error)

StartClusters starts clusters

func (*Client) StopClusters

func (a *Client) StopClusters(params *StopClustersParams) (*StopClustersOK, error)

StopClusters stops clusters

func (*Client) UpdateClusterEnv

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

UpdateClusterEnv updates cluster env

func (*Client) UpgradeCluster

func (a *Client) UpgradeCluster(params *UpgradeClusterParams) (*UpgradeClusterOK, error)

UpgradeCluster upgrades cluster

type CreateClusterOK

type CreateClusterOK struct {
	Payload *models.OpenpitrixCreateClusterResponse
}

CreateClusterOK handles this case with default header values.

CreateClusterOK create cluster o k

func NewCreateClusterOK

func NewCreateClusterOK() *CreateClusterOK

NewCreateClusterOK creates a CreateClusterOK with default headers values

func (*CreateClusterOK) Error

func (o *CreateClusterOK) Error() string

type CreateClusterParams

type CreateClusterParams struct {

	/*Body*/
	Body *models.OpenpitrixCreateClusterRequest

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

CreateClusterParams contains all the parameters to send to the API endpoint for the create cluster operation typically these are written to a http.Request

func NewCreateClusterParams

func NewCreateClusterParams() *CreateClusterParams

NewCreateClusterParams creates a new CreateClusterParams object with the default values initialized.

func NewCreateClusterParamsWithContext

func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams

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

func NewCreateClusterParamsWithHTTPClient

func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams

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

func NewCreateClusterParamsWithTimeout

func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams

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

func (*CreateClusterParams) SetBody

SetBody adds the body to the create cluster params

func (*CreateClusterParams) SetContext

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

SetContext adds the context to the create cluster params

func (*CreateClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create cluster params

func (*CreateClusterParams) SetTimeout

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

SetTimeout adds the timeout to the create cluster params

func (*CreateClusterParams) WithBody

WithBody adds the body to the create cluster params

func (*CreateClusterParams) WithContext

WithContext adds the context to the create cluster params

func (*CreateClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create cluster params

func (*CreateClusterParams) WithTimeout

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

WithTimeout adds the timeout to the create cluster params

func (*CreateClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateClusterReader

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

CreateClusterReader is a Reader for the CreateCluster structure.

func (*CreateClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClusterNodesOK

type DeleteClusterNodesOK struct {
	Payload *models.OpenpitrixDeleteClusterNodesResponse
}

DeleteClusterNodesOK handles this case with default header values.

DeleteClusterNodesOK delete cluster nodes o k

func NewDeleteClusterNodesOK

func NewDeleteClusterNodesOK() *DeleteClusterNodesOK

NewDeleteClusterNodesOK creates a DeleteClusterNodesOK with default headers values

func (*DeleteClusterNodesOK) Error

func (o *DeleteClusterNodesOK) Error() string

type DeleteClusterNodesParams

type DeleteClusterNodesParams struct {

	/*Body*/
	Body *models.OpenpitrixDeleteClusterNodesRequest

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

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

func NewDeleteClusterNodesParams

func NewDeleteClusterNodesParams() *DeleteClusterNodesParams

NewDeleteClusterNodesParams creates a new DeleteClusterNodesParams object with the default values initialized.

func NewDeleteClusterNodesParamsWithContext

func NewDeleteClusterNodesParamsWithContext(ctx context.Context) *DeleteClusterNodesParams

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

func NewDeleteClusterNodesParamsWithHTTPClient

func NewDeleteClusterNodesParamsWithHTTPClient(client *http.Client) *DeleteClusterNodesParams

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

func NewDeleteClusterNodesParamsWithTimeout

func NewDeleteClusterNodesParamsWithTimeout(timeout time.Duration) *DeleteClusterNodesParams

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

func (*DeleteClusterNodesParams) SetBody

SetBody adds the body to the delete cluster nodes params

func (*DeleteClusterNodesParams) SetContext

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

SetContext adds the context to the delete cluster nodes params

func (*DeleteClusterNodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cluster nodes params

func (*DeleteClusterNodesParams) SetTimeout

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

SetTimeout adds the timeout to the delete cluster nodes params

func (*DeleteClusterNodesParams) WithBody

WithBody adds the body to the delete cluster nodes params

func (*DeleteClusterNodesParams) WithContext

WithContext adds the context to the delete cluster nodes params

func (*DeleteClusterNodesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete cluster nodes params

func (*DeleteClusterNodesParams) WithTimeout

WithTimeout adds the timeout to the delete cluster nodes params

func (*DeleteClusterNodesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterNodesReader

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

DeleteClusterNodesReader is a Reader for the DeleteClusterNodes structure.

func (*DeleteClusterNodesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClustersOK

type DeleteClustersOK struct {
	Payload *models.OpenpitrixDeleteClustersResponse
}

DeleteClustersOK handles this case with default header values.

DeleteClustersOK delete clusters o k

func NewDeleteClustersOK

func NewDeleteClustersOK() *DeleteClustersOK

NewDeleteClustersOK creates a DeleteClustersOK with default headers values

func (*DeleteClustersOK) Error

func (o *DeleteClustersOK) Error() string

type DeleteClustersParams

type DeleteClustersParams struct {

	/*Body*/
	Body *models.OpenpitrixDeleteClustersRequest

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

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

func NewDeleteClustersParams

func NewDeleteClustersParams() *DeleteClustersParams

NewDeleteClustersParams creates a new DeleteClustersParams object with the default values initialized.

func NewDeleteClustersParamsWithContext

func NewDeleteClustersParamsWithContext(ctx context.Context) *DeleteClustersParams

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

func NewDeleteClustersParamsWithHTTPClient

func NewDeleteClustersParamsWithHTTPClient(client *http.Client) *DeleteClustersParams

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

func NewDeleteClustersParamsWithTimeout

func NewDeleteClustersParamsWithTimeout(timeout time.Duration) *DeleteClustersParams

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

func (*DeleteClustersParams) SetBody

SetBody adds the body to the delete clusters params

func (*DeleteClustersParams) SetContext

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

SetContext adds the context to the delete clusters params

func (*DeleteClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete clusters params

func (*DeleteClustersParams) SetTimeout

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

SetTimeout adds the timeout to the delete clusters params

func (*DeleteClustersParams) WithBody

WithBody adds the body to the delete clusters params

func (*DeleteClustersParams) WithContext

WithContext adds the context to the delete clusters params

func (*DeleteClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete clusters params

func (*DeleteClustersParams) WithTimeout

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

WithTimeout adds the timeout to the delete clusters params

func (*DeleteClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteClustersReader

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

DeleteClustersReader is a Reader for the DeleteClusters structure.

func (*DeleteClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

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 DescribeClustersOK

type DescribeClustersOK struct {
	Payload *models.OpenpitrixDescribeClustersResponse
}

DescribeClustersOK handles this case with default header values.

DescribeClustersOK describe clusters o k

func NewDescribeClustersOK

func NewDescribeClustersOK() *DescribeClustersOK

NewDescribeClustersOK creates a DescribeClustersOK with default headers values

func (*DescribeClustersOK) Error

func (o *DescribeClustersOK) Error() string

type DescribeClustersParams

type DescribeClustersParams struct {

	/*AppID*/
	AppID []string
	/*ClusterID*/
	ClusterID []string
	/*ExternalClusterID*/
	ExternalClusterID *string
	/*FrontgateID*/
	FrontgateID []string
	/*Limit
	  default is 20, max value is 200.

	*/
	Limit *int64
	/*Offset
	  default is 0.

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

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

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

func NewDescribeClustersParams

func NewDescribeClustersParams() *DescribeClustersParams

NewDescribeClustersParams creates a new DescribeClustersParams object with the default values initialized.

func NewDescribeClustersParamsWithContext

func NewDescribeClustersParamsWithContext(ctx context.Context) *DescribeClustersParams

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

func NewDescribeClustersParamsWithHTTPClient

func NewDescribeClustersParamsWithHTTPClient(client *http.Client) *DescribeClustersParams

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

func NewDescribeClustersParamsWithTimeout

func NewDescribeClustersParamsWithTimeout(timeout time.Duration) *DescribeClustersParams

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

func (*DescribeClustersParams) SetAppID

func (o *DescribeClustersParams) SetAppID(appID []string)

SetAppID adds the appId to the describe clusters params

func (*DescribeClustersParams) SetClusterID

func (o *DescribeClustersParams) SetClusterID(clusterID []string)

SetClusterID adds the clusterId to the describe clusters params

func (*DescribeClustersParams) SetContext

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

SetContext adds the context to the describe clusters params

func (*DescribeClustersParams) SetExternalClusterID

func (o *DescribeClustersParams) SetExternalClusterID(externalClusterID *string)

SetExternalClusterID adds the externalClusterId to the describe clusters params

func (*DescribeClustersParams) SetFrontgateID

func (o *DescribeClustersParams) SetFrontgateID(frontgateID []string)

SetFrontgateID adds the frontgateId to the describe clusters params

func (*DescribeClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe clusters params

func (*DescribeClustersParams) SetLimit

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

SetLimit adds the limit to the describe clusters params

func (*DescribeClustersParams) SetOffset

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

SetOffset adds the offset to the describe clusters params

func (*DescribeClustersParams) SetRuntimeID

func (o *DescribeClustersParams) SetRuntimeID(runtimeID []string)

SetRuntimeID adds the runtimeId to the describe clusters params

func (*DescribeClustersParams) SetStatus

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

SetStatus adds the status to the describe clusters params

func (*DescribeClustersParams) SetTimeout

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

SetTimeout adds the timeout to the describe clusters params

func (*DescribeClustersParams) SetVersionID

func (o *DescribeClustersParams) SetVersionID(versionID []string)

SetVersionID adds the versionId to the describe clusters params

func (*DescribeClustersParams) WithAppID

func (o *DescribeClustersParams) WithAppID(appID []string) *DescribeClustersParams

WithAppID adds the appID to the describe clusters params

func (*DescribeClustersParams) WithClusterID

func (o *DescribeClustersParams) WithClusterID(clusterID []string) *DescribeClustersParams

WithClusterID adds the clusterID to the describe clusters params

func (*DescribeClustersParams) WithContext

WithContext adds the context to the describe clusters params

func (*DescribeClustersParams) WithExternalClusterID

func (o *DescribeClustersParams) WithExternalClusterID(externalClusterID *string) *DescribeClustersParams

WithExternalClusterID adds the externalClusterID to the describe clusters params

func (*DescribeClustersParams) WithFrontgateID

func (o *DescribeClustersParams) WithFrontgateID(frontgateID []string) *DescribeClustersParams

WithFrontgateID adds the frontgateID to the describe clusters params

func (*DescribeClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe clusters params

func (*DescribeClustersParams) WithLimit

func (o *DescribeClustersParams) WithLimit(limit *int64) *DescribeClustersParams

WithLimit adds the limit to the describe clusters params

func (*DescribeClustersParams) WithOffset

func (o *DescribeClustersParams) WithOffset(offset *int64) *DescribeClustersParams

WithOffset adds the offset to the describe clusters params

func (*DescribeClustersParams) WithRuntimeID

func (o *DescribeClustersParams) WithRuntimeID(runtimeID []string) *DescribeClustersParams

WithRuntimeID adds the runtimeID to the describe clusters params

func (*DescribeClustersParams) WithStatus

func (o *DescribeClustersParams) WithStatus(status []string) *DescribeClustersParams

WithStatus adds the status to the describe clusters params

func (*DescribeClustersParams) WithTimeout

WithTimeout adds the timeout to the describe clusters params

func (*DescribeClustersParams) WithVersionID

func (o *DescribeClustersParams) WithVersionID(versionID []string) *DescribeClustersParams

WithVersionID adds the versionID to the describe clusters params

func (*DescribeClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeClustersReader

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

DescribeClustersReader is a Reader for the DescribeClusters structure.

func (*DescribeClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeSubnetsOK

type DescribeSubnetsOK struct {
	Payload *models.OpenpitrixDescribeSubnetsResponse
}

DescribeSubnetsOK handles this case with default header values.

DescribeSubnetsOK describe subnets o k

func NewDescribeSubnetsOK

func NewDescribeSubnetsOK() *DescribeSubnetsOK

NewDescribeSubnetsOK creates a DescribeSubnetsOK with default headers values

func (*DescribeSubnetsOK) Error

func (o *DescribeSubnetsOK) Error() string

type DescribeSubnetsParams

type DescribeSubnetsParams struct {

	/*AdvancedParam*/
	AdvancedParam []string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*RuntimeID*/
	RuntimeID *string
	/*SubnetID*/
	SubnetID []string
	/*SubnetTypeValue
	  The uint32 value.

	*/
	SubnetTypeValue *int64

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

DescribeSubnetsParams contains all the parameters to send to the API endpoint for the describe subnets operation typically these are written to a http.Request

func NewDescribeSubnetsParams

func NewDescribeSubnetsParams() *DescribeSubnetsParams

NewDescribeSubnetsParams creates a new DescribeSubnetsParams object with the default values initialized.

func NewDescribeSubnetsParamsWithContext

func NewDescribeSubnetsParamsWithContext(ctx context.Context) *DescribeSubnetsParams

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

func NewDescribeSubnetsParamsWithHTTPClient

func NewDescribeSubnetsParamsWithHTTPClient(client *http.Client) *DescribeSubnetsParams

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

func NewDescribeSubnetsParamsWithTimeout

func NewDescribeSubnetsParamsWithTimeout(timeout time.Duration) *DescribeSubnetsParams

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

func (*DescribeSubnetsParams) SetAdvancedParam

func (o *DescribeSubnetsParams) SetAdvancedParam(advancedParam []string)

SetAdvancedParam adds the advancedParam to the describe subnets params

func (*DescribeSubnetsParams) SetContext

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

SetContext adds the context to the describe subnets params

func (*DescribeSubnetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe subnets params

func (*DescribeSubnetsParams) SetLimit

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

SetLimit adds the limit to the describe subnets params

func (*DescribeSubnetsParams) SetOffset

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

SetOffset adds the offset to the describe subnets params

func (*DescribeSubnetsParams) SetRuntimeID

func (o *DescribeSubnetsParams) SetRuntimeID(runtimeID *string)

SetRuntimeID adds the runtimeId to the describe subnets params

func (*DescribeSubnetsParams) SetSubnetID

func (o *DescribeSubnetsParams) SetSubnetID(subnetID []string)

SetSubnetID adds the subnetId to the describe subnets params

func (*DescribeSubnetsParams) SetSubnetTypeValue

func (o *DescribeSubnetsParams) SetSubnetTypeValue(subnetTypeValue *int64)

SetSubnetTypeValue adds the subnetTypeValue to the describe subnets params

func (*DescribeSubnetsParams) SetTimeout

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

SetTimeout adds the timeout to the describe subnets params

func (*DescribeSubnetsParams) WithAdvancedParam

func (o *DescribeSubnetsParams) WithAdvancedParam(advancedParam []string) *DescribeSubnetsParams

WithAdvancedParam adds the advancedParam to the describe subnets params

func (*DescribeSubnetsParams) WithContext

WithContext adds the context to the describe subnets params

func (*DescribeSubnetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe subnets params

func (*DescribeSubnetsParams) WithLimit

func (o *DescribeSubnetsParams) WithLimit(limit *int64) *DescribeSubnetsParams

WithLimit adds the limit to the describe subnets params

func (*DescribeSubnetsParams) WithOffset

func (o *DescribeSubnetsParams) WithOffset(offset *int64) *DescribeSubnetsParams

WithOffset adds the offset to the describe subnets params

func (*DescribeSubnetsParams) WithRuntimeID

func (o *DescribeSubnetsParams) WithRuntimeID(runtimeID *string) *DescribeSubnetsParams

WithRuntimeID adds the runtimeID to the describe subnets params

func (*DescribeSubnetsParams) WithSubnetID

func (o *DescribeSubnetsParams) WithSubnetID(subnetID []string) *DescribeSubnetsParams

WithSubnetID adds the subnetID to the describe subnets params

func (*DescribeSubnetsParams) WithSubnetTypeValue

func (o *DescribeSubnetsParams) WithSubnetTypeValue(subnetTypeValue *int64) *DescribeSubnetsParams

WithSubnetTypeValue adds the subnetTypeValue to the describe subnets params

func (*DescribeSubnetsParams) WithTimeout

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

WithTimeout adds the timeout to the describe subnets params

func (*DescribeSubnetsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DescribeSubnetsReader

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

DescribeSubnetsReader is a Reader for the DescribeSubnets structure.

func (*DescribeSubnetsReader) ReadResponse

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

type ResizeClusterOK struct {
	Payload *models.OpenpitrixResizeClusterResponse
}

ResizeClusterOK handles this case with default header values.

ResizeClusterOK resize cluster o k

func NewResizeClusterOK

func NewResizeClusterOK() *ResizeClusterOK

NewResizeClusterOK creates a ResizeClusterOK with default headers values

func (*ResizeClusterOK) Error

func (o *ResizeClusterOK) Error() string

type ResizeClusterParams

type ResizeClusterParams struct {

	/*Body*/
	Body *models.OpenpitrixResizeClusterRequest

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

ResizeClusterParams contains all the parameters to send to the API endpoint for the resize cluster operation typically these are written to a http.Request

func NewResizeClusterParams

func NewResizeClusterParams() *ResizeClusterParams

NewResizeClusterParams creates a new ResizeClusterParams object with the default values initialized.

func NewResizeClusterParamsWithContext

func NewResizeClusterParamsWithContext(ctx context.Context) *ResizeClusterParams

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

func NewResizeClusterParamsWithHTTPClient

func NewResizeClusterParamsWithHTTPClient(client *http.Client) *ResizeClusterParams

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

func NewResizeClusterParamsWithTimeout

func NewResizeClusterParamsWithTimeout(timeout time.Duration) *ResizeClusterParams

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

func (*ResizeClusterParams) SetBody

SetBody adds the body to the resize cluster params

func (*ResizeClusterParams) SetContext

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

SetContext adds the context to the resize cluster params

func (*ResizeClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resize cluster params

func (*ResizeClusterParams) SetTimeout

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

SetTimeout adds the timeout to the resize cluster params

func (*ResizeClusterParams) WithBody

WithBody adds the body to the resize cluster params

func (*ResizeClusterParams) WithContext

WithContext adds the context to the resize cluster params

func (*ResizeClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resize cluster params

func (*ResizeClusterParams) WithTimeout

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

WithTimeout adds the timeout to the resize cluster params

func (*ResizeClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResizeClusterReader

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

ResizeClusterReader is a Reader for the ResizeCluster structure.

func (*ResizeClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackClusterOK

type RollbackClusterOK struct {
	Payload *models.OpenpitrixRollbackClusterResponse
}

RollbackClusterOK handles this case with default header values.

RollbackClusterOK rollback cluster o k

func NewRollbackClusterOK

func NewRollbackClusterOK() *RollbackClusterOK

NewRollbackClusterOK creates a RollbackClusterOK with default headers values

func (*RollbackClusterOK) Error

func (o *RollbackClusterOK) Error() string

type RollbackClusterParams

type RollbackClusterParams struct {

	/*Body*/
	Body *models.OpenpitrixRollbackClusterRequest

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

RollbackClusterParams contains all the parameters to send to the API endpoint for the rollback cluster operation typically these are written to a http.Request

func NewRollbackClusterParams

func NewRollbackClusterParams() *RollbackClusterParams

NewRollbackClusterParams creates a new RollbackClusterParams object with the default values initialized.

func NewRollbackClusterParamsWithContext

func NewRollbackClusterParamsWithContext(ctx context.Context) *RollbackClusterParams

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

func NewRollbackClusterParamsWithHTTPClient

func NewRollbackClusterParamsWithHTTPClient(client *http.Client) *RollbackClusterParams

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

func NewRollbackClusterParamsWithTimeout

func NewRollbackClusterParamsWithTimeout(timeout time.Duration) *RollbackClusterParams

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

func (*RollbackClusterParams) SetBody

SetBody adds the body to the rollback cluster params

func (*RollbackClusterParams) SetContext

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

SetContext adds the context to the rollback cluster params

func (*RollbackClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback cluster params

func (*RollbackClusterParams) SetTimeout

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

SetTimeout adds the timeout to the rollback cluster params

func (*RollbackClusterParams) WithBody

WithBody adds the body to the rollback cluster params

func (*RollbackClusterParams) WithContext

WithContext adds the context to the rollback cluster params

func (*RollbackClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rollback cluster params

func (*RollbackClusterParams) WithTimeout

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

WithTimeout adds the timeout to the rollback cluster params

func (*RollbackClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RollbackClusterReader

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

RollbackClusterReader is a Reader for the RollbackCluster structure.

func (*RollbackClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartClustersOK

type StartClustersOK struct {
	Payload *models.OpenpitrixStartClustersResponse
}

StartClustersOK handles this case with default header values.

StartClustersOK start clusters o k

func NewStartClustersOK

func NewStartClustersOK() *StartClustersOK

NewStartClustersOK creates a StartClustersOK with default headers values

func (*StartClustersOK) Error

func (o *StartClustersOK) Error() string

type StartClustersParams

type StartClustersParams struct {

	/*Body*/
	Body *models.OpenpitrixStartClustersRequest

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

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

func NewStartClustersParams

func NewStartClustersParams() *StartClustersParams

NewStartClustersParams creates a new StartClustersParams object with the default values initialized.

func NewStartClustersParamsWithContext

func NewStartClustersParamsWithContext(ctx context.Context) *StartClustersParams

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

func NewStartClustersParamsWithHTTPClient

func NewStartClustersParamsWithHTTPClient(client *http.Client) *StartClustersParams

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

func NewStartClustersParamsWithTimeout

func NewStartClustersParamsWithTimeout(timeout time.Duration) *StartClustersParams

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

func (*StartClustersParams) SetBody

SetBody adds the body to the start clusters params

func (*StartClustersParams) SetContext

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

SetContext adds the context to the start clusters params

func (*StartClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start clusters params

func (*StartClustersParams) SetTimeout

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

SetTimeout adds the timeout to the start clusters params

func (*StartClustersParams) WithBody

WithBody adds the body to the start clusters params

func (*StartClustersParams) WithContext

WithContext adds the context to the start clusters params

func (*StartClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start clusters params

func (*StartClustersParams) WithTimeout

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

WithTimeout adds the timeout to the start clusters params

func (*StartClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StartClustersReader

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

StartClustersReader is a Reader for the StartClusters structure.

func (*StartClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopClustersOK

type StopClustersOK struct {
	Payload *models.OpenpitrixStopClustersResponse
}

StopClustersOK handles this case with default header values.

StopClustersOK stop clusters o k

func NewStopClustersOK

func NewStopClustersOK() *StopClustersOK

NewStopClustersOK creates a StopClustersOK with default headers values

func (*StopClustersOK) Error

func (o *StopClustersOK) Error() string

type StopClustersParams

type StopClustersParams struct {

	/*Body*/
	Body *models.OpenpitrixStopClustersRequest

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

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

func NewStopClustersParams

func NewStopClustersParams() *StopClustersParams

NewStopClustersParams creates a new StopClustersParams object with the default values initialized.

func NewStopClustersParamsWithContext

func NewStopClustersParamsWithContext(ctx context.Context) *StopClustersParams

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

func NewStopClustersParamsWithHTTPClient

func NewStopClustersParamsWithHTTPClient(client *http.Client) *StopClustersParams

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

func NewStopClustersParamsWithTimeout

func NewStopClustersParamsWithTimeout(timeout time.Duration) *StopClustersParams

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

func (*StopClustersParams) SetBody

SetBody adds the body to the stop clusters params

func (*StopClustersParams) SetContext

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

SetContext adds the context to the stop clusters params

func (*StopClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop clusters params

func (*StopClustersParams) SetTimeout

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

SetTimeout adds the timeout to the stop clusters params

func (*StopClustersParams) WithBody

WithBody adds the body to the stop clusters params

func (*StopClustersParams) WithContext

WithContext adds the context to the stop clusters params

func (*StopClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop clusters params

func (*StopClustersParams) WithTimeout

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

WithTimeout adds the timeout to the stop clusters params

func (*StopClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopClustersReader

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

StopClustersReader is a Reader for the StopClusters structure.

func (*StopClustersReader) ReadResponse

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

type UpgradeClusterOK

type UpgradeClusterOK struct {
	Payload *models.OpenpitrixUpgradeClusterResponse
}

UpgradeClusterOK handles this case with default header values.

UpgradeClusterOK upgrade cluster o k

func NewUpgradeClusterOK

func NewUpgradeClusterOK() *UpgradeClusterOK

NewUpgradeClusterOK creates a UpgradeClusterOK with default headers values

func (*UpgradeClusterOK) Error

func (o *UpgradeClusterOK) Error() string

type UpgradeClusterParams

type UpgradeClusterParams struct {

	/*Body*/
	Body *models.OpenpitrixUpgradeClusterRequest

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