cluster_manager

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 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.

A successful response.

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 AttachKeyPairsOK added in v0.1.7

type AttachKeyPairsOK struct {
	Payload *models.OpenpitrixAttachKeyPairsResponse
}

AttachKeyPairsOK handles this case with default header values.

A successful response.

func NewAttachKeyPairsOK added in v0.1.7

func NewAttachKeyPairsOK() *AttachKeyPairsOK

NewAttachKeyPairsOK creates a AttachKeyPairsOK with default headers values

func (*AttachKeyPairsOK) Error added in v0.1.7

func (o *AttachKeyPairsOK) Error() string

type AttachKeyPairsParams added in v0.1.7

type AttachKeyPairsParams struct {

	/*Body*/
	Body *models.OpenpitrixAttachKeyPairsRequest

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

AttachKeyPairsParams contains all the parameters to send to the API endpoint for the attach key pairs operation typically these are written to a http.Request

func NewAttachKeyPairsParams added in v0.1.7

func NewAttachKeyPairsParams() *AttachKeyPairsParams

NewAttachKeyPairsParams creates a new AttachKeyPairsParams object with the default values initialized.

func NewAttachKeyPairsParamsWithContext added in v0.1.7

func NewAttachKeyPairsParamsWithContext(ctx context.Context) *AttachKeyPairsParams

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

func NewAttachKeyPairsParamsWithHTTPClient added in v0.1.7

func NewAttachKeyPairsParamsWithHTTPClient(client *http.Client) *AttachKeyPairsParams

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

func NewAttachKeyPairsParamsWithTimeout added in v0.1.7

func NewAttachKeyPairsParamsWithTimeout(timeout time.Duration) *AttachKeyPairsParams

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

func (*AttachKeyPairsParams) SetBody added in v0.1.7

SetBody adds the body to the attach key pairs params

func (*AttachKeyPairsParams) SetContext added in v0.1.7

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

SetContext adds the context to the attach key pairs params

func (*AttachKeyPairsParams) SetHTTPClient added in v0.1.7

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

SetHTTPClient adds the HTTPClient to the attach key pairs params

func (*AttachKeyPairsParams) SetTimeout added in v0.1.7

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

SetTimeout adds the timeout to the attach key pairs params

func (*AttachKeyPairsParams) WithBody added in v0.1.7

WithBody adds the body to the attach key pairs params

func (*AttachKeyPairsParams) WithContext added in v0.1.7

WithContext adds the context to the attach key pairs params

func (*AttachKeyPairsParams) WithHTTPClient added in v0.1.7

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

WithHTTPClient adds the HTTPClient to the attach key pairs params

func (*AttachKeyPairsParams) WithTimeout added in v0.1.7

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

WithTimeout adds the timeout to the attach key pairs params

func (*AttachKeyPairsParams) WriteToRequest added in v0.1.7

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

WriteToRequest writes these params to a swagger request

type AttachKeyPairsReader added in v0.1.7

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

AttachKeyPairsReader is a Reader for the AttachKeyPairs structure.

func (*AttachKeyPairsReader) ReadResponse added in v0.1.7

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

A successful response.

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, authInfo runtime.ClientAuthInfoWriter) (*AddClusterNodesOK, error)

AddClusterNodes adds cluster nodes

func (*Client) AttachKeyPairs added in v0.1.7

func (a *Client) AttachKeyPairs(params *AttachKeyPairsParams, authInfo runtime.ClientAuthInfoWriter) (*AttachKeyPairsOK, error)

AttachKeyPairs attaches key pairs

func (*Client) CeaseClusters

func (a *Client) CeaseClusters(params *CeaseClustersParams, authInfo runtime.ClientAuthInfoWriter) (*CeaseClustersOK, error)

CeaseClusters ceases clusters

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterOK, error)

CreateCluster creates cluster

func (*Client) CreateKeyPair added in v0.1.7

func (a *Client) CreateKeyPair(params *CreateKeyPairParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyPairOK, error)

CreateKeyPair creates key pair

func (*Client) DeleteClusterNodes

func (a *Client) DeleteClusterNodes(params *DeleteClusterNodesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterNodesOK, error)

DeleteClusterNodes deletes cluster nodes

func (*Client) DeleteClusters

func (a *Client) DeleteClusters(params *DeleteClustersParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClustersOK, error)

DeleteClusters deletes clusters

func (*Client) DeleteKeyPairs added in v0.1.7

func (a *Client) DeleteKeyPairs(params *DeleteKeyPairsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteKeyPairsOK, error)

DeleteKeyPairs deletes key pairs

func (*Client) DescribeClusterNodes

func (a *Client) DescribeClusterNodes(params *DescribeClusterNodesParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeClusterNodesOK, error)

DescribeClusterNodes describes cluster nodes

func (*Client) DescribeClusters

func (a *Client) DescribeClusters(params *DescribeClustersParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeClustersOK, error)

DescribeClusters describes clusters

func (*Client) DescribeKeyPairs added in v0.1.7

func (a *Client) DescribeKeyPairs(params *DescribeKeyPairsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeKeyPairsOK, error)

DescribeKeyPairs describes key pairs

func (*Client) DescribeSubnets

func (a *Client) DescribeSubnets(params *DescribeSubnetsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeSubnetsOK, error)

DescribeSubnets describes subnets

func (*Client) DetachKeyPairs added in v0.1.7

func (a *Client) DetachKeyPairs(params *DetachKeyPairsParams, authInfo runtime.ClientAuthInfoWriter) (*DetachKeyPairsOK, error)

DetachKeyPairs detaches key pairs

func (*Client) GetClusterStatistics added in v0.1.5

func (a *Client) GetClusterStatistics(params *GetClusterStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterStatisticsOK, error)

GetClusterStatistics gets cluster statistics

func (*Client) ModifyClusterAttributes added in v0.1.8

func (a *Client) ModifyClusterAttributes(params *ModifyClusterAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAttributesOK, error)

ModifyClusterAttributes modifies cluster attributes

func (*Client) ModifyClusterNodeAttributes added in v0.1.8

func (a *Client) ModifyClusterNodeAttributes(params *ModifyClusterNodeAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterNodeAttributesOK, error)

ModifyClusterNodeAttributes modifies cluster node attributes

func (*Client) RecoverClusters

func (a *Client) RecoverClusters(params *RecoverClustersParams, authInfo runtime.ClientAuthInfoWriter) (*RecoverClustersOK, error)

RecoverClusters recovers clusters

func (*Client) ResizeCluster

func (a *Client) ResizeCluster(params *ResizeClusterParams, authInfo runtime.ClientAuthInfoWriter) (*ResizeClusterOK, error)

ResizeCluster resizes cluster

func (*Client) RollbackCluster

func (a *Client) RollbackCluster(params *RollbackClusterParams, authInfo runtime.ClientAuthInfoWriter) (*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, authInfo runtime.ClientAuthInfoWriter) (*StartClustersOK, error)

StartClusters starts clusters

func (*Client) StopClusters

func (a *Client) StopClusters(params *StopClustersParams, authInfo runtime.ClientAuthInfoWriter) (*StopClustersOK, error)

StopClusters stops clusters

func (*Client) UpdateClusterEnv

func (a *Client) UpdateClusterEnv(params *UpdateClusterEnvParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateClusterEnvOK, error)

UpdateClusterEnv updates cluster env

func (*Client) UpgradeCluster

func (a *Client) UpgradeCluster(params *UpgradeClusterParams, authInfo runtime.ClientAuthInfoWriter) (*UpgradeClusterOK, error)

UpgradeCluster upgrades cluster

type CreateClusterOK

type CreateClusterOK struct {
	Payload *models.OpenpitrixCreateClusterResponse
}

CreateClusterOK handles this case with default header values.

A successful response.

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 CreateKeyPairOK added in v0.1.7

type CreateKeyPairOK struct {
	Payload *models.OpenpitrixCreateKeyPairResponse
}

CreateKeyPairOK handles this case with default header values.

A successful response.

func NewCreateKeyPairOK added in v0.1.7

func NewCreateKeyPairOK() *CreateKeyPairOK

NewCreateKeyPairOK creates a CreateKeyPairOK with default headers values

func (*CreateKeyPairOK) Error added in v0.1.7

func (o *CreateKeyPairOK) Error() string

type CreateKeyPairParams added in v0.1.7

type CreateKeyPairParams struct {

	/*Body*/
	Body *models.OpenpitrixCreateKeyPairRequest

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

CreateKeyPairParams contains all the parameters to send to the API endpoint for the create key pair operation typically these are written to a http.Request

func NewCreateKeyPairParams added in v0.1.7

func NewCreateKeyPairParams() *CreateKeyPairParams

NewCreateKeyPairParams creates a new CreateKeyPairParams object with the default values initialized.

func NewCreateKeyPairParamsWithContext added in v0.1.7

func NewCreateKeyPairParamsWithContext(ctx context.Context) *CreateKeyPairParams

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

func NewCreateKeyPairParamsWithHTTPClient added in v0.1.7

func NewCreateKeyPairParamsWithHTTPClient(client *http.Client) *CreateKeyPairParams

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

func NewCreateKeyPairParamsWithTimeout added in v0.1.7

func NewCreateKeyPairParamsWithTimeout(timeout time.Duration) *CreateKeyPairParams

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

func (*CreateKeyPairParams) SetBody added in v0.1.7

SetBody adds the body to the create key pair params

func (*CreateKeyPairParams) SetContext added in v0.1.7

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

SetContext adds the context to the create key pair params

func (*CreateKeyPairParams) SetHTTPClient added in v0.1.7

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

SetHTTPClient adds the HTTPClient to the create key pair params

func (*CreateKeyPairParams) SetTimeout added in v0.1.7

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

SetTimeout adds the timeout to the create key pair params

func (*CreateKeyPairParams) WithBody added in v0.1.7

WithBody adds the body to the create key pair params

func (*CreateKeyPairParams) WithContext added in v0.1.7

WithContext adds the context to the create key pair params

func (*CreateKeyPairParams) WithHTTPClient added in v0.1.7

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

WithHTTPClient adds the HTTPClient to the create key pair params

func (*CreateKeyPairParams) WithTimeout added in v0.1.7

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

WithTimeout adds the timeout to the create key pair params

func (*CreateKeyPairParams) WriteToRequest added in v0.1.7

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

WriteToRequest writes these params to a swagger request

type CreateKeyPairReader added in v0.1.7

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

CreateKeyPairReader is a Reader for the CreateKeyPair structure.

func (*CreateKeyPairReader) ReadResponse added in v0.1.7

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

A successful response.

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.

A successful response.

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 DeleteKeyPairsOK added in v0.1.7

type DeleteKeyPairsOK struct {
	Payload *models.OpenpitrixDeleteKeyPairsResponse
}

DeleteKeyPairsOK handles this case with default header values.

A successful response.

func NewDeleteKeyPairsOK added in v0.1.7

func NewDeleteKeyPairsOK() *DeleteKeyPairsOK

NewDeleteKeyPairsOK creates a DeleteKeyPairsOK with default headers values

func (*DeleteKeyPairsOK) Error added in v0.1.7

func (o *DeleteKeyPairsOK) Error() string

type DeleteKeyPairsParams added in v0.1.7

type DeleteKeyPairsParams struct {

	/*Body*/
	Body *models.OpenpitrixDeleteKeyPairsRequest

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

DeleteKeyPairsParams contains all the parameters to send to the API endpoint for the delete key pairs operation typically these are written to a http.Request

func NewDeleteKeyPairsParams added in v0.1.7

func NewDeleteKeyPairsParams() *DeleteKeyPairsParams

NewDeleteKeyPairsParams creates a new DeleteKeyPairsParams object with the default values initialized.

func NewDeleteKeyPairsParamsWithContext added in v0.1.7

func NewDeleteKeyPairsParamsWithContext(ctx context.Context) *DeleteKeyPairsParams

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

func NewDeleteKeyPairsParamsWithHTTPClient added in v0.1.7

func NewDeleteKeyPairsParamsWithHTTPClient(client *http.Client) *DeleteKeyPairsParams

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

func NewDeleteKeyPairsParamsWithTimeout added in v0.1.7

func NewDeleteKeyPairsParamsWithTimeout(timeout time.Duration) *DeleteKeyPairsParams

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

func (*DeleteKeyPairsParams) SetBody added in v0.1.7

SetBody adds the body to the delete key pairs params

func (*DeleteKeyPairsParams) SetContext added in v0.1.7

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

SetContext adds the context to the delete key pairs params

func (*DeleteKeyPairsParams) SetHTTPClient added in v0.1.7

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

SetHTTPClient adds the HTTPClient to the delete key pairs params

func (*DeleteKeyPairsParams) SetTimeout added in v0.1.7

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

SetTimeout adds the timeout to the delete key pairs params

func (*DeleteKeyPairsParams) WithBody added in v0.1.7

WithBody adds the body to the delete key pairs params

func (*DeleteKeyPairsParams) WithContext added in v0.1.7

WithContext adds the context to the delete key pairs params

func (*DeleteKeyPairsParams) WithHTTPClient added in v0.1.7

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

WithHTTPClient adds the HTTPClient to the delete key pairs params

func (*DeleteKeyPairsParams) WithTimeout added in v0.1.7

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

WithTimeout adds the timeout to the delete key pairs params

func (*DeleteKeyPairsParams) WriteToRequest added in v0.1.7

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

WriteToRequest writes these params to a swagger request

type DeleteKeyPairsReader added in v0.1.7

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

DeleteKeyPairsReader is a Reader for the DeleteKeyPairs structure.

func (*DeleteKeyPairsReader) ReadResponse added in v0.1.7

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

A successful response.

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*/
	Limit *int64
	/*NodeID*/
	NodeID []string
	/*Offset*/
	Offset *int64
	/*Owner*/
	Owner []string
	/*Reverse*/
	Reverse *bool
	/*SearchWord*/
	SearchWord *string
	/*SortKey*/
	SortKey *string
	/*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) SetOwner added in v0.2.3

func (o *DescribeClusterNodesParams) SetOwner(owner []string)

SetOwner adds the owner to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetReverse added in v0.2.0

func (o *DescribeClusterNodesParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetSearchWord added in v0.1.5

func (o *DescribeClusterNodesParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe cluster nodes params

func (*DescribeClusterNodesParams) SetSortKey added in v0.2.0

func (o *DescribeClusterNodesParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey 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) WithOwner added in v0.2.3

WithOwner adds the owner to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithReverse added in v0.2.0

WithReverse adds the reverse to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithSearchWord added in v0.1.5

func (o *DescribeClusterNodesParams) WithSearchWord(searchWord *string) *DescribeClusterNodesParams

WithSearchWord adds the searchWord to the describe cluster nodes params

func (*DescribeClusterNodesParams) WithSortKey added in v0.2.0

WithSortKey adds the sortKey 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.

A successful response.

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
	/*ClusterType*/
	ClusterType *string
	/*ExternalClusterID*/
	ExternalClusterID *string
	/*FrontgateID*/
	FrontgateID []string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*Owner*/
	Owner []string
	/*Reverse*/
	Reverse *bool
	/*RuntimeID*/
	RuntimeID []string
	/*SearchWord*/
	SearchWord *string
	/*SortKey*/
	SortKey *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) SetClusterType added in v0.2.3

func (o *DescribeClustersParams) SetClusterType(clusterType *string)

SetClusterType adds the clusterType 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) SetOwner added in v0.2.3

func (o *DescribeClustersParams) SetOwner(owner []string)

SetOwner adds the owner to the describe clusters params

func (*DescribeClustersParams) SetReverse added in v0.2.0

func (o *DescribeClustersParams) SetReverse(reverse *bool)

SetReverse adds the reverse 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) SetSearchWord added in v0.1.5

func (o *DescribeClustersParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe clusters params

func (*DescribeClustersParams) SetSortKey added in v0.2.0

func (o *DescribeClustersParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey 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) WithClusterType added in v0.2.3

func (o *DescribeClustersParams) WithClusterType(clusterType *string) *DescribeClustersParams

WithClusterType adds the clusterType 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) WithOwner added in v0.2.3

func (o *DescribeClustersParams) WithOwner(owner []string) *DescribeClustersParams

WithOwner adds the owner to the describe clusters params

func (*DescribeClustersParams) WithReverse added in v0.2.0

func (o *DescribeClustersParams) WithReverse(reverse *bool) *DescribeClustersParams

WithReverse adds the reverse 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) WithSearchWord added in v0.1.5

func (o *DescribeClustersParams) WithSearchWord(searchWord *string) *DescribeClustersParams

WithSearchWord adds the searchWord to the describe clusters params

func (*DescribeClustersParams) WithSortKey added in v0.2.0

func (o *DescribeClustersParams) WithSortKey(sortKey *string) *DescribeClustersParams

WithSortKey adds the sortKey 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 DescribeKeyPairsOK added in v0.1.7

type DescribeKeyPairsOK struct {
	Payload *models.OpenpitrixDescribeKeyPairsResponse
}

DescribeKeyPairsOK handles this case with default header values.

A successful response.

func NewDescribeKeyPairsOK added in v0.1.7

func NewDescribeKeyPairsOK() *DescribeKeyPairsOK

NewDescribeKeyPairsOK creates a DescribeKeyPairsOK with default headers values

func (*DescribeKeyPairsOK) Error added in v0.1.7

func (o *DescribeKeyPairsOK) Error() string

type DescribeKeyPairsParams added in v0.1.7

type DescribeKeyPairsParams struct {

	/*Description*/
	Description *string
	/*KeyPairID*/
	KeyPairID *string
	/*Limit*/
	Limit *int64
	/*Name*/
	Name *string
	/*Offset*/
	Offset *int64
	/*Owner*/
	Owner []string
	/*PubKey*/
	PubKey *string
	/*SearchWord*/
	SearchWord *string

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

DescribeKeyPairsParams contains all the parameters to send to the API endpoint for the describe key pairs operation typically these are written to a http.Request

func NewDescribeKeyPairsParams added in v0.1.7

func NewDescribeKeyPairsParams() *DescribeKeyPairsParams

NewDescribeKeyPairsParams creates a new DescribeKeyPairsParams object with the default values initialized.

func NewDescribeKeyPairsParamsWithContext added in v0.1.7

func NewDescribeKeyPairsParamsWithContext(ctx context.Context) *DescribeKeyPairsParams

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

func NewDescribeKeyPairsParamsWithHTTPClient added in v0.1.7

func NewDescribeKeyPairsParamsWithHTTPClient(client *http.Client) *DescribeKeyPairsParams

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

func NewDescribeKeyPairsParamsWithTimeout added in v0.1.7

func NewDescribeKeyPairsParamsWithTimeout(timeout time.Duration) *DescribeKeyPairsParams

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

func (*DescribeKeyPairsParams) SetContext added in v0.1.7

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

SetContext adds the context to the describe key pairs params

func (*DescribeKeyPairsParams) SetDescription added in v0.1.7

func (o *DescribeKeyPairsParams) SetDescription(description *string)

SetDescription adds the description to the describe key pairs params

func (*DescribeKeyPairsParams) SetHTTPClient added in v0.1.7

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

SetHTTPClient adds the HTTPClient to the describe key pairs params

func (*DescribeKeyPairsParams) SetKeyPairID added in v0.1.7

func (o *DescribeKeyPairsParams) SetKeyPairID(keyPairID *string)

SetKeyPairID adds the keyPairId to the describe key pairs params

func (*DescribeKeyPairsParams) SetLimit added in v0.1.7

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

SetLimit adds the limit to the describe key pairs params

func (*DescribeKeyPairsParams) SetName added in v0.1.7

func (o *DescribeKeyPairsParams) SetName(name *string)

SetName adds the name to the describe key pairs params

func (*DescribeKeyPairsParams) SetOffset added in v0.1.7

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

SetOffset adds the offset to the describe key pairs params

func (*DescribeKeyPairsParams) SetOwner added in v0.1.7

func (o *DescribeKeyPairsParams) SetOwner(owner []string)

SetOwner adds the owner to the describe key pairs params

func (*DescribeKeyPairsParams) SetPubKey added in v0.1.7

func (o *DescribeKeyPairsParams) SetPubKey(pubKey *string)

SetPubKey adds the pubKey to the describe key pairs params

func (*DescribeKeyPairsParams) SetSearchWord added in v0.1.7

func (o *DescribeKeyPairsParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe key pairs params

func (*DescribeKeyPairsParams) SetTimeout added in v0.1.7

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

SetTimeout adds the timeout to the describe key pairs params

func (*DescribeKeyPairsParams) WithContext added in v0.1.7

WithContext adds the context to the describe key pairs params

func (*DescribeKeyPairsParams) WithDescription added in v0.1.7

func (o *DescribeKeyPairsParams) WithDescription(description *string) *DescribeKeyPairsParams

WithDescription adds the description to the describe key pairs params

func (*DescribeKeyPairsParams) WithHTTPClient added in v0.1.7

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

WithHTTPClient adds the HTTPClient to the describe key pairs params

func (*DescribeKeyPairsParams) WithKeyPairID added in v0.1.7

func (o *DescribeKeyPairsParams) WithKeyPairID(keyPairID *string) *DescribeKeyPairsParams

WithKeyPairID adds the keyPairID to the describe key pairs params

func (*DescribeKeyPairsParams) WithLimit added in v0.1.7

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

WithLimit adds the limit to the describe key pairs params

func (*DescribeKeyPairsParams) WithName added in v0.1.7

WithName adds the name to the describe key pairs params

func (*DescribeKeyPairsParams) WithOffset added in v0.1.7

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

WithOffset adds the offset to the describe key pairs params

func (*DescribeKeyPairsParams) WithOwner added in v0.1.7

func (o *DescribeKeyPairsParams) WithOwner(owner []string) *DescribeKeyPairsParams

WithOwner adds the owner to the describe key pairs params

func (*DescribeKeyPairsParams) WithPubKey added in v0.1.7

func (o *DescribeKeyPairsParams) WithPubKey(pubKey *string) *DescribeKeyPairsParams

WithPubKey adds the pubKey to the describe key pairs params

func (*DescribeKeyPairsParams) WithSearchWord added in v0.1.7

func (o *DescribeKeyPairsParams) WithSearchWord(searchWord *string) *DescribeKeyPairsParams

WithSearchWord adds the searchWord to the describe key pairs params

func (*DescribeKeyPairsParams) WithTimeout added in v0.1.7

WithTimeout adds the timeout to the describe key pairs params

func (*DescribeKeyPairsParams) WriteToRequest added in v0.1.7

WriteToRequest writes these params to a swagger request

type DescribeKeyPairsReader added in v0.1.7

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

DescribeKeyPairsReader is a Reader for the DescribeKeyPairs structure.

func (*DescribeKeyPairsReader) ReadResponse added in v0.1.7

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

A successful response.

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
	/*SubnetType*/
	SubnetType *int64
	/*Zone*/
	Zone []string

	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) SetSubnetType added in v0.1.8

func (o *DescribeSubnetsParams) SetSubnetType(subnetType *int64)

SetSubnetType adds the subnetType 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) SetZone added in v0.1.6

func (o *DescribeSubnetsParams) SetZone(zone []string)

SetZone adds the zone 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) WithSubnetType added in v0.1.8

func (o *DescribeSubnetsParams) WithSubnetType(subnetType *int64) *DescribeSubnetsParams

WithSubnetType adds the subnetType 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) WithZone added in v0.1.6

func (o *DescribeSubnetsParams) WithZone(zone []string) *DescribeSubnetsParams

WithZone adds the zone 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 DetachKeyPairsOK added in v0.1.7

type DetachKeyPairsOK struct {
	Payload *models.OpenpitrixDetachKeyPairsResponse
}

DetachKeyPairsOK handles this case with default header values.

A successful response.

func NewDetachKeyPairsOK added in v0.1.7

func NewDetachKeyPairsOK() *DetachKeyPairsOK

NewDetachKeyPairsOK creates a DetachKeyPairsOK with default headers values

func (*DetachKeyPairsOK) Error added in v0.1.7

func (o *DetachKeyPairsOK) Error() string

type DetachKeyPairsParams added in v0.1.7

type DetachKeyPairsParams struct {

	/*Body*/
	Body *models.OpenpitrixDetachKeyPairsRequest

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

DetachKeyPairsParams contains all the parameters to send to the API endpoint for the detach key pairs operation typically these are written to a http.Request

func NewDetachKeyPairsParams added in v0.1.7

func NewDetachKeyPairsParams() *DetachKeyPairsParams

NewDetachKeyPairsParams creates a new DetachKeyPairsParams object with the default values initialized.

func NewDetachKeyPairsParamsWithContext added in v0.1.7

func NewDetachKeyPairsParamsWithContext(ctx context.Context) *DetachKeyPairsParams

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

func NewDetachKeyPairsParamsWithHTTPClient added in v0.1.7

func NewDetachKeyPairsParamsWithHTTPClient(client *http.Client) *DetachKeyPairsParams

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

func NewDetachKeyPairsParamsWithTimeout added in v0.1.7

func NewDetachKeyPairsParamsWithTimeout(timeout time.Duration) *DetachKeyPairsParams

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

func (*DetachKeyPairsParams) SetBody added in v0.1.7

SetBody adds the body to the detach key pairs params

func (*DetachKeyPairsParams) SetContext added in v0.1.7

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

SetContext adds the context to the detach key pairs params

func (*DetachKeyPairsParams) SetHTTPClient added in v0.1.7

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

SetHTTPClient adds the HTTPClient to the detach key pairs params

func (*DetachKeyPairsParams) SetTimeout added in v0.1.7

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

SetTimeout adds the timeout to the detach key pairs params

func (*DetachKeyPairsParams) WithBody added in v0.1.7

WithBody adds the body to the detach key pairs params

func (*DetachKeyPairsParams) WithContext added in v0.1.7

WithContext adds the context to the detach key pairs params

func (*DetachKeyPairsParams) WithHTTPClient added in v0.1.7

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

WithHTTPClient adds the HTTPClient to the detach key pairs params

func (*DetachKeyPairsParams) WithTimeout added in v0.1.7

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

WithTimeout adds the timeout to the detach key pairs params

func (*DetachKeyPairsParams) WriteToRequest added in v0.1.7

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

WriteToRequest writes these params to a swagger request

type DetachKeyPairsReader added in v0.1.7

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

DetachKeyPairsReader is a Reader for the DetachKeyPairs structure.

func (*DetachKeyPairsReader) ReadResponse added in v0.1.7

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

ReadResponse reads a server response into the received o.

type GetClusterStatisticsOK added in v0.1.5

type GetClusterStatisticsOK struct {
	Payload *models.OpenpitrixGetClusterStatisticsResponse
}

GetClusterStatisticsOK handles this case with default header values.

A successful response.

func NewGetClusterStatisticsOK added in v0.1.5

func NewGetClusterStatisticsOK() *GetClusterStatisticsOK

NewGetClusterStatisticsOK creates a GetClusterStatisticsOK with default headers values

func (*GetClusterStatisticsOK) Error added in v0.1.5

func (o *GetClusterStatisticsOK) Error() string

type GetClusterStatisticsParams added in v0.1.5

type GetClusterStatisticsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetClusterStatisticsParams added in v0.1.5

func NewGetClusterStatisticsParams() *GetClusterStatisticsParams

NewGetClusterStatisticsParams creates a new GetClusterStatisticsParams object with the default values initialized.

func NewGetClusterStatisticsParamsWithContext added in v0.1.5

func NewGetClusterStatisticsParamsWithContext(ctx context.Context) *GetClusterStatisticsParams

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

func NewGetClusterStatisticsParamsWithHTTPClient added in v0.1.5

func NewGetClusterStatisticsParamsWithHTTPClient(client *http.Client) *GetClusterStatisticsParams

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

func NewGetClusterStatisticsParamsWithTimeout added in v0.1.5

func NewGetClusterStatisticsParamsWithTimeout(timeout time.Duration) *GetClusterStatisticsParams

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

func (*GetClusterStatisticsParams) SetContext added in v0.1.5

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

SetContext adds the context to the get cluster statistics params

func (*GetClusterStatisticsParams) SetHTTPClient added in v0.1.5

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

SetHTTPClient adds the HTTPClient to the get cluster statistics params

func (*GetClusterStatisticsParams) SetTimeout added in v0.1.5

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

SetTimeout adds the timeout to the get cluster statistics params

func (*GetClusterStatisticsParams) WithContext added in v0.1.5

WithContext adds the context to the get cluster statistics params

func (*GetClusterStatisticsParams) WithHTTPClient added in v0.1.5

WithHTTPClient adds the HTTPClient to the get cluster statistics params

func (*GetClusterStatisticsParams) WithTimeout added in v0.1.5

WithTimeout adds the timeout to the get cluster statistics params

func (*GetClusterStatisticsParams) WriteToRequest added in v0.1.5

WriteToRequest writes these params to a swagger request

type GetClusterStatisticsReader added in v0.1.5

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

GetClusterStatisticsReader is a Reader for the GetClusterStatistics structure.

func (*GetClusterStatisticsReader) ReadResponse added in v0.1.5

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

ReadResponse reads a server response into the received o.

type ModifyClusterAttributesOK added in v0.1.8

type ModifyClusterAttributesOK struct {
	Payload *models.OpenpitrixModifyClusterAttributesResponse
}

ModifyClusterAttributesOK handles this case with default header values.

A successful response.

func NewModifyClusterAttributesOK added in v0.1.8

func NewModifyClusterAttributesOK() *ModifyClusterAttributesOK

NewModifyClusterAttributesOK creates a ModifyClusterAttributesOK with default headers values

func (*ModifyClusterAttributesOK) Error added in v0.1.8

func (o *ModifyClusterAttributesOK) Error() string

type ModifyClusterAttributesParams added in v0.1.8

type ModifyClusterAttributesParams struct {

	/*Body*/
	Body *models.OpenpitrixModifyClusterAttributesRequest

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

ModifyClusterAttributesParams contains all the parameters to send to the API endpoint for the modify cluster attributes operation typically these are written to a http.Request

func NewModifyClusterAttributesParams added in v0.1.8

func NewModifyClusterAttributesParams() *ModifyClusterAttributesParams

NewModifyClusterAttributesParams creates a new ModifyClusterAttributesParams object with the default values initialized.

func NewModifyClusterAttributesParamsWithContext added in v0.1.8

func NewModifyClusterAttributesParamsWithContext(ctx context.Context) *ModifyClusterAttributesParams

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

func NewModifyClusterAttributesParamsWithHTTPClient added in v0.1.8

func NewModifyClusterAttributesParamsWithHTTPClient(client *http.Client) *ModifyClusterAttributesParams

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

func NewModifyClusterAttributesParamsWithTimeout added in v0.1.8

func NewModifyClusterAttributesParamsWithTimeout(timeout time.Duration) *ModifyClusterAttributesParams

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

func (*ModifyClusterAttributesParams) SetBody added in v0.1.8

SetBody adds the body to the modify cluster attributes params

func (*ModifyClusterAttributesParams) SetContext added in v0.1.8

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

SetContext adds the context to the modify cluster attributes params

func (*ModifyClusterAttributesParams) SetHTTPClient added in v0.1.8

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

SetHTTPClient adds the HTTPClient to the modify cluster attributes params

func (*ModifyClusterAttributesParams) SetTimeout added in v0.1.8

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

SetTimeout adds the timeout to the modify cluster attributes params

func (*ModifyClusterAttributesParams) WithBody added in v0.1.8

WithBody adds the body to the modify cluster attributes params

func (*ModifyClusterAttributesParams) WithContext added in v0.1.8

WithContext adds the context to the modify cluster attributes params

func (*ModifyClusterAttributesParams) WithHTTPClient added in v0.1.8

WithHTTPClient adds the HTTPClient to the modify cluster attributes params

func (*ModifyClusterAttributesParams) WithTimeout added in v0.1.8

WithTimeout adds the timeout to the modify cluster attributes params

func (*ModifyClusterAttributesParams) WriteToRequest added in v0.1.8

WriteToRequest writes these params to a swagger request

type ModifyClusterAttributesReader added in v0.1.8

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

ModifyClusterAttributesReader is a Reader for the ModifyClusterAttributes structure.

func (*ModifyClusterAttributesReader) ReadResponse added in v0.1.8

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

ReadResponse reads a server response into the received o.

type ModifyClusterNodeAttributesOK added in v0.1.8

type ModifyClusterNodeAttributesOK struct {
	Payload *models.OpenpitrixModifyClusterNodeAttributesResponse
}

ModifyClusterNodeAttributesOK handles this case with default header values.

A successful response.

func NewModifyClusterNodeAttributesOK added in v0.1.8

func NewModifyClusterNodeAttributesOK() *ModifyClusterNodeAttributesOK

NewModifyClusterNodeAttributesOK creates a ModifyClusterNodeAttributesOK with default headers values

func (*ModifyClusterNodeAttributesOK) Error added in v0.1.8

type ModifyClusterNodeAttributesParams added in v0.1.8

type ModifyClusterNodeAttributesParams struct {

	/*Body*/
	Body *models.OpenpitrixModifyClusterNodeAttributesRequest

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

ModifyClusterNodeAttributesParams contains all the parameters to send to the API endpoint for the modify cluster node attributes operation typically these are written to a http.Request

func NewModifyClusterNodeAttributesParams added in v0.1.8

func NewModifyClusterNodeAttributesParams() *ModifyClusterNodeAttributesParams

NewModifyClusterNodeAttributesParams creates a new ModifyClusterNodeAttributesParams object with the default values initialized.

func NewModifyClusterNodeAttributesParamsWithContext added in v0.1.8

func NewModifyClusterNodeAttributesParamsWithContext(ctx context.Context) *ModifyClusterNodeAttributesParams

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

func NewModifyClusterNodeAttributesParamsWithHTTPClient added in v0.1.8

func NewModifyClusterNodeAttributesParamsWithHTTPClient(client *http.Client) *ModifyClusterNodeAttributesParams

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

func NewModifyClusterNodeAttributesParamsWithTimeout added in v0.1.8

func NewModifyClusterNodeAttributesParamsWithTimeout(timeout time.Duration) *ModifyClusterNodeAttributesParams

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

func (*ModifyClusterNodeAttributesParams) SetBody added in v0.1.8

SetBody adds the body to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) SetContext added in v0.1.8

SetContext adds the context to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) SetHTTPClient added in v0.1.8

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

SetHTTPClient adds the HTTPClient to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) SetTimeout added in v0.1.8

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

SetTimeout adds the timeout to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) WithBody added in v0.1.8

WithBody adds the body to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) WithContext added in v0.1.8

WithContext adds the context to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) WithHTTPClient added in v0.1.8

WithHTTPClient adds the HTTPClient to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) WithTimeout added in v0.1.8

WithTimeout adds the timeout to the modify cluster node attributes params

func (*ModifyClusterNodeAttributesParams) WriteToRequest added in v0.1.8

WriteToRequest writes these params to a swagger request

type ModifyClusterNodeAttributesReader added in v0.1.8

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

ModifyClusterNodeAttributesReader is a Reader for the ModifyClusterNodeAttributes structure.

func (*ModifyClusterNodeAttributesReader) ReadResponse added in v0.1.8

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

A successful response.

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.

A successful response.

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.

A successful response.

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.

A successful response.

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.

A successful response.

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.

A successful response.

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.

A successful response.

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.

Source Files

Jump to

Keyboard shortcuts

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