cluster

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for cluster API

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterCreated, error)

CreateCluster creates a cluster if the given ID already exists a conflict is returned

func (*Client) DeleteCluster

func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)

DeleteCluster deletes an cluster and returns the deleted entity

func (*Client) FindCluster

func (a *Client) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClusterOK, error)

FindCluster gets cluster by id

func (*Client) FindClusters

func (a *Client) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClustersOK, error)

FindClusters finds clusters by multiple criteria

func (*Client) GetClusterKubeconfigTpl

func (a *Client) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterKubeconfigTplOK, error)

GetClusterKubeconfigTpl gets the kubeconfig template just with cluster infos for the cluster

func (*Client) GetSSHKeyPair

func (a *Client) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSSHKeyPairOK, error)

GetSSHKeyPair gets all the ssh keypairs of the cluster

func (*Client) ListClusters

func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)

ListClusters gets all clusters

func (*Client) ListConstraints

func (a *Client) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConstraintsOK, error)

ListConstraints gets constraints for cluster create

func (*Client) ReconcileCluster

func (a *Client) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReconcileClusterOK, error)

ReconcileCluster triggers cluster reconcilation

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCluster

func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, error)

UpdateCluster updates a cluster if the cluster was changed since this one was read a conflict is returned

type ClientOption added in v0.15.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.9.1

type ClientService interface {
	CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterCreated, error)

	DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)

	FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClusterOK, error)

	FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClustersOK, error)

	GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterKubeconfigTplOK, error)

	GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSSHKeyPairOK, error)

	ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)

	ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConstraintsOK, error)

	ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReconcileClusterOK, error)

	UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new cluster API client.

type CreateClusterConflict

type CreateClusterConflict struct {
	Payload *httperrors.HTTPErrorResponse
}
CreateClusterConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateClusterConflict

func NewCreateClusterConflict() *CreateClusterConflict

NewCreateClusterConflict creates a CreateClusterConflict with default headers values

func (*CreateClusterConflict) Error

func (o *CreateClusterConflict) Error() string

func (*CreateClusterConflict) GetPayload added in v0.9.1

type CreateClusterCreated

type CreateClusterCreated struct {
	Payload *models.V1ClusterResponse
}
CreateClusterCreated describes a response with status code 201, with default header values.

Created

func NewCreateClusterCreated

func NewCreateClusterCreated() *CreateClusterCreated

NewCreateClusterCreated creates a CreateClusterCreated with default headers values

func (*CreateClusterCreated) Error

func (o *CreateClusterCreated) Error() string

func (*CreateClusterCreated) GetPayload added in v0.9.1

type CreateClusterDefault

type CreateClusterDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
CreateClusterDefault describes a response with status code -1, with default header values.

Error

func NewCreateClusterDefault

func NewCreateClusterDefault(code int) *CreateClusterDefault

NewCreateClusterDefault creates a CreateClusterDefault with default headers values

func (*CreateClusterDefault) Code

func (o *CreateClusterDefault) Code() int

Code gets the status code for the create cluster default response

func (*CreateClusterDefault) Error

func (o *CreateClusterDefault) Error() string

func (*CreateClusterDefault) GetPayload added in v0.9.1

type CreateClusterParams

type CreateClusterParams struct {

	// Body.
	Body *models.V1ClusterCreateRequest

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateClusterParamsWithContext

func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams

NewCreateClusterParamsWithContext creates a new CreateClusterParams object with 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 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 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) SetDefaults added in v0.12.0

func (o *CreateClusterParams) SetDefaults()

SetDefaults hydrates default values in the create cluster params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v0.12.0

func (o *CreateClusterParams) WithDefaults() *CreateClusterParams

WithDefaults hydrates default values in the create cluster params (not the query body).

All values with no default are reset to their zero value.

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 DeleteClusterDefault

type DeleteClusterDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
DeleteClusterDefault describes a response with status code -1, with default header values.

Error

func NewDeleteClusterDefault

func NewDeleteClusterDefault(code int) *DeleteClusterDefault

NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values

func (*DeleteClusterDefault) Code

func (o *DeleteClusterDefault) Code() int

Code gets the status code for the delete cluster default response

func (*DeleteClusterDefault) Error

func (o *DeleteClusterDefault) Error() string

func (*DeleteClusterDefault) GetPayload added in v0.9.1

type DeleteClusterOK

type DeleteClusterOK struct {
	Payload *models.V1ClusterResponse
}
DeleteClusterOK describes a response with status code 200, with default header values.

OK

func NewDeleteClusterOK

func NewDeleteClusterOK() *DeleteClusterOK

NewDeleteClusterOK creates a DeleteClusterOK with default headers values

func (*DeleteClusterOK) Error

func (o *DeleteClusterOK) Error() string

func (*DeleteClusterOK) GetPayload added in v0.9.1

func (o *DeleteClusterOK) GetPayload() *models.V1ClusterResponse

type DeleteClusterParams

type DeleteClusterParams struct {

	/* ID.

	   identifier of the cluster
	*/
	ID string

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

DeleteClusterParams contains all the parameters to send to the API endpoint

for the delete cluster operation.

Typically these are written to a http.Request.

func NewDeleteClusterParams

func NewDeleteClusterParams() *DeleteClusterParams

NewDeleteClusterParams creates a new DeleteClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteClusterParamsWithContext

func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams

NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.

func NewDeleteClusterParamsWithHTTPClient

func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams

NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterParamsWithTimeout

func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams

NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.

func (*DeleteClusterParams) SetContext

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

SetContext adds the context to the delete cluster params

func (*DeleteClusterParams) SetDefaults added in v0.12.0

func (o *DeleteClusterParams) SetDefaults()

SetDefaults hydrates default values in the delete cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) SetID

func (o *DeleteClusterParams) SetID(id string)

SetID adds the id to the delete cluster params

func (*DeleteClusterParams) SetTimeout

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

SetTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WithContext

WithContext adds the context to the delete cluster params

func (*DeleteClusterParams) WithDefaults added in v0.12.0

func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams

WithDefaults hydrates default values in the delete cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) WithID

WithID adds the id to the delete cluster params

func (*DeleteClusterParams) WithTimeout

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

WithTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteClusterReader

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

DeleteClusterReader is a Reader for the DeleteCluster structure.

func (*DeleteClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindClusterDefault

type FindClusterDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
FindClusterDefault describes a response with status code -1, with default header values.

Error

func NewFindClusterDefault

func NewFindClusterDefault(code int) *FindClusterDefault

NewFindClusterDefault creates a FindClusterDefault with default headers values

func (*FindClusterDefault) Code

func (o *FindClusterDefault) Code() int

Code gets the status code for the find cluster default response

func (*FindClusterDefault) Error

func (o *FindClusterDefault) Error() string

func (*FindClusterDefault) GetPayload added in v0.9.1

type FindClusterOK

type FindClusterOK struct {
	Payload *models.V1ClusterResponse
}
FindClusterOK describes a response with status code 200, with default header values.

OK

func NewFindClusterOK

func NewFindClusterOK() *FindClusterOK

NewFindClusterOK creates a FindClusterOK with default headers values

func (*FindClusterOK) Error

func (o *FindClusterOK) Error() string

func (*FindClusterOK) GetPayload added in v0.9.1

func (o *FindClusterOK) GetPayload() *models.V1ClusterResponse

type FindClusterParams

type FindClusterParams struct {

	/* ID.

	   identifier of the cluster
	*/
	ID string

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

FindClusterParams contains all the parameters to send to the API endpoint

for the find cluster operation.

Typically these are written to a http.Request.

func NewFindClusterParams

func NewFindClusterParams() *FindClusterParams

NewFindClusterParams creates a new FindClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFindClusterParamsWithContext

func NewFindClusterParamsWithContext(ctx context.Context) *FindClusterParams

NewFindClusterParamsWithContext creates a new FindClusterParams object with the ability to set a context for a request.

func NewFindClusterParamsWithHTTPClient

func NewFindClusterParamsWithHTTPClient(client *http.Client) *FindClusterParams

NewFindClusterParamsWithHTTPClient creates a new FindClusterParams object with the ability to set a custom HTTPClient for a request.

func NewFindClusterParamsWithTimeout

func NewFindClusterParamsWithTimeout(timeout time.Duration) *FindClusterParams

NewFindClusterParamsWithTimeout creates a new FindClusterParams object with the ability to set a timeout on a request.

func (*FindClusterParams) SetContext

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

SetContext adds the context to the find cluster params

func (*FindClusterParams) SetDefaults added in v0.12.0

func (o *FindClusterParams) SetDefaults()

SetDefaults hydrates default values in the find cluster params (not the query body).

All values with no default are reset to their zero value.

func (*FindClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find cluster params

func (*FindClusterParams) SetID

func (o *FindClusterParams) SetID(id string)

SetID adds the id to the find cluster params

func (*FindClusterParams) SetTimeout

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

SetTimeout adds the timeout to the find cluster params

func (*FindClusterParams) WithContext

func (o *FindClusterParams) WithContext(ctx context.Context) *FindClusterParams

WithContext adds the context to the find cluster params

func (*FindClusterParams) WithDefaults added in v0.12.0

func (o *FindClusterParams) WithDefaults() *FindClusterParams

WithDefaults hydrates default values in the find cluster params (not the query body).

All values with no default are reset to their zero value.

func (*FindClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find cluster params

func (*FindClusterParams) WithID

WithID adds the id to the find cluster params

func (*FindClusterParams) WithTimeout

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

WithTimeout adds the timeout to the find cluster params

func (*FindClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindClusterReader

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

FindClusterReader is a Reader for the FindCluster structure.

func (*FindClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindClustersDefault

type FindClustersDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
FindClustersDefault describes a response with status code -1, with default header values.

Error

func NewFindClustersDefault

func NewFindClustersDefault(code int) *FindClustersDefault

NewFindClustersDefault creates a FindClustersDefault with default headers values

func (*FindClustersDefault) Code

func (o *FindClustersDefault) Code() int

Code gets the status code for the find clusters default response

func (*FindClustersDefault) Error

func (o *FindClustersDefault) Error() string

func (*FindClustersDefault) GetPayload added in v0.9.1

type FindClustersOK

type FindClustersOK struct {
	Payload []*models.V1ClusterResponse
}
FindClustersOK describes a response with status code 200, with default header values.

OK

func NewFindClustersOK

func NewFindClustersOK() *FindClustersOK

NewFindClustersOK creates a FindClustersOK with default headers values

func (*FindClustersOK) Error

func (o *FindClustersOK) Error() string

func (*FindClustersOK) GetPayload added in v0.9.1

func (o *FindClustersOK) GetPayload() []*models.V1ClusterResponse

type FindClustersParams

type FindClustersParams struct {

	// Body.
	Body *models.V1ClusterFindRequest

	/* ReturnMachines.

	   returns machines in the response, which is disabled by default for list responses because it makes the request slower
	*/
	ReturnMachines *bool

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

FindClustersParams contains all the parameters to send to the API endpoint

for the find clusters operation.

Typically these are written to a http.Request.

func NewFindClustersParams

func NewFindClustersParams() *FindClustersParams

NewFindClustersParams creates a new FindClustersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFindClustersParamsWithContext

func NewFindClustersParamsWithContext(ctx context.Context) *FindClustersParams

NewFindClustersParamsWithContext creates a new FindClustersParams object with the ability to set a context for a request.

func NewFindClustersParamsWithHTTPClient

func NewFindClustersParamsWithHTTPClient(client *http.Client) *FindClustersParams

NewFindClustersParamsWithHTTPClient creates a new FindClustersParams object with the ability to set a custom HTTPClient for a request.

func NewFindClustersParamsWithTimeout

func NewFindClustersParamsWithTimeout(timeout time.Duration) *FindClustersParams

NewFindClustersParamsWithTimeout creates a new FindClustersParams object with the ability to set a timeout on a request.

func (*FindClustersParams) SetBody

SetBody adds the body to the find clusters params

func (*FindClustersParams) SetContext

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

SetContext adds the context to the find clusters params

func (*FindClustersParams) SetDefaults added in v0.12.0

func (o *FindClustersParams) SetDefaults()

SetDefaults hydrates default values in the find clusters params (not the query body).

All values with no default are reset to their zero value.

func (*FindClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find clusters params

func (*FindClustersParams) SetReturnMachines added in v0.9.1

func (o *FindClustersParams) SetReturnMachines(returnMachines *bool)

SetReturnMachines adds the returnMachines to the find clusters params

func (*FindClustersParams) SetTimeout

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

SetTimeout adds the timeout to the find clusters params

func (*FindClustersParams) WithBody

WithBody adds the body to the find clusters params

func (*FindClustersParams) WithContext

WithContext adds the context to the find clusters params

func (*FindClustersParams) WithDefaults added in v0.12.0

func (o *FindClustersParams) WithDefaults() *FindClustersParams

WithDefaults hydrates default values in the find clusters params (not the query body).

All values with no default are reset to their zero value.

func (*FindClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find clusters params

func (*FindClustersParams) WithReturnMachines added in v0.9.1

func (o *FindClustersParams) WithReturnMachines(returnMachines *bool) *FindClustersParams

WithReturnMachines adds the returnMachines to the find clusters params

func (*FindClustersParams) WithTimeout

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

WithTimeout adds the timeout to the find clusters params

func (*FindClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindClustersReader

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

FindClustersReader is a Reader for the FindClusters structure.

func (*FindClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClusterKubeconfigTplDefault

type GetClusterKubeconfigTplDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
GetClusterKubeconfigTplDefault describes a response with status code -1, with default header values.

Error

func NewGetClusterKubeconfigTplDefault

func NewGetClusterKubeconfigTplDefault(code int) *GetClusterKubeconfigTplDefault

NewGetClusterKubeconfigTplDefault creates a GetClusterKubeconfigTplDefault with default headers values

func (*GetClusterKubeconfigTplDefault) Code

Code gets the status code for the get cluster kubeconfig tpl default response

func (*GetClusterKubeconfigTplDefault) Error

func (*GetClusterKubeconfigTplDefault) GetPayload added in v0.9.1

type GetClusterKubeconfigTplOK

type GetClusterKubeconfigTplOK struct {
	Payload *models.V1ClusterKubeconfigResponse
}
GetClusterKubeconfigTplOK describes a response with status code 200, with default header values.

OK

func NewGetClusterKubeconfigTplOK

func NewGetClusterKubeconfigTplOK() *GetClusterKubeconfigTplOK

NewGetClusterKubeconfigTplOK creates a GetClusterKubeconfigTplOK with default headers values

func (*GetClusterKubeconfigTplOK) Error

func (o *GetClusterKubeconfigTplOK) Error() string

func (*GetClusterKubeconfigTplOK) GetPayload added in v0.9.1

type GetClusterKubeconfigTplParams

type GetClusterKubeconfigTplParams struct {

	/* ID.

	   identifier of the cluster
	*/
	ID string

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

GetClusterKubeconfigTplParams contains all the parameters to send to the API endpoint

for the get cluster kubeconfig tpl operation.

Typically these are written to a http.Request.

func NewGetClusterKubeconfigTplParams

func NewGetClusterKubeconfigTplParams() *GetClusterKubeconfigTplParams

NewGetClusterKubeconfigTplParams creates a new GetClusterKubeconfigTplParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterKubeconfigTplParamsWithContext

func NewGetClusterKubeconfigTplParamsWithContext(ctx context.Context) *GetClusterKubeconfigTplParams

NewGetClusterKubeconfigTplParamsWithContext creates a new GetClusterKubeconfigTplParams object with the ability to set a context for a request.

func NewGetClusterKubeconfigTplParamsWithHTTPClient

func NewGetClusterKubeconfigTplParamsWithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams

NewGetClusterKubeconfigTplParamsWithHTTPClient creates a new GetClusterKubeconfigTplParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterKubeconfigTplParamsWithTimeout

func NewGetClusterKubeconfigTplParamsWithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams

NewGetClusterKubeconfigTplParamsWithTimeout creates a new GetClusterKubeconfigTplParams object with the ability to set a timeout on a request.

func (*GetClusterKubeconfigTplParams) SetContext

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

SetContext adds the context to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) SetDefaults added in v0.12.0

func (o *GetClusterKubeconfigTplParams) SetDefaults()

SetDefaults hydrates default values in the get cluster kubeconfig tpl params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterKubeconfigTplParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) SetID

SetID adds the id to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) SetTimeout

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

SetTimeout adds the timeout to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) WithContext

WithContext adds the context to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the get cluster kubeconfig tpl params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterKubeconfigTplParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) WithID

WithID adds the id to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) WithTimeout

WithTimeout adds the timeout to the get cluster kubeconfig tpl params

func (*GetClusterKubeconfigTplParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterKubeconfigTplReader

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

GetClusterKubeconfigTplReader is a Reader for the GetClusterKubeconfigTpl structure.

func (*GetClusterKubeconfigTplReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSSHKeyPairDefault

type GetSSHKeyPairDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
GetSSHKeyPairDefault describes a response with status code -1, with default header values.

Error

func NewGetSSHKeyPairDefault

func NewGetSSHKeyPairDefault(code int) *GetSSHKeyPairDefault

NewGetSSHKeyPairDefault creates a GetSSHKeyPairDefault with default headers values

func (*GetSSHKeyPairDefault) Code

func (o *GetSSHKeyPairDefault) Code() int

Code gets the status code for the get SSH key pair default response

func (*GetSSHKeyPairDefault) Error

func (o *GetSSHKeyPairDefault) Error() string

func (*GetSSHKeyPairDefault) GetPayload added in v0.9.1

type GetSSHKeyPairOK

type GetSSHKeyPairOK struct {
	Payload *models.V1ClusterCredentialsResponse
}
GetSSHKeyPairOK describes a response with status code 200, with default header values.

OK

func NewGetSSHKeyPairOK

func NewGetSSHKeyPairOK() *GetSSHKeyPairOK

NewGetSSHKeyPairOK creates a GetSSHKeyPairOK with default headers values

func (*GetSSHKeyPairOK) Error

func (o *GetSSHKeyPairOK) Error() string

func (*GetSSHKeyPairOK) GetPayload added in v0.9.1

type GetSSHKeyPairParams

type GetSSHKeyPairParams struct {

	/* ID.

	   identifier of the cluster
	*/
	ID string

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

GetSSHKeyPairParams contains all the parameters to send to the API endpoint

for the get SSH key pair operation.

Typically these are written to a http.Request.

func NewGetSSHKeyPairParams

func NewGetSSHKeyPairParams() *GetSSHKeyPairParams

NewGetSSHKeyPairParams creates a new GetSSHKeyPairParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSSHKeyPairParamsWithContext

func NewGetSSHKeyPairParamsWithContext(ctx context.Context) *GetSSHKeyPairParams

NewGetSSHKeyPairParamsWithContext creates a new GetSSHKeyPairParams object with the ability to set a context for a request.

func NewGetSSHKeyPairParamsWithHTTPClient

func NewGetSSHKeyPairParamsWithHTTPClient(client *http.Client) *GetSSHKeyPairParams

NewGetSSHKeyPairParamsWithHTTPClient creates a new GetSSHKeyPairParams object with the ability to set a custom HTTPClient for a request.

func NewGetSSHKeyPairParamsWithTimeout

func NewGetSSHKeyPairParamsWithTimeout(timeout time.Duration) *GetSSHKeyPairParams

NewGetSSHKeyPairParamsWithTimeout creates a new GetSSHKeyPairParams object with the ability to set a timeout on a request.

func (*GetSSHKeyPairParams) SetContext

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

SetContext adds the context to the get SSH key pair params

func (*GetSSHKeyPairParams) SetDefaults added in v0.12.0

func (o *GetSSHKeyPairParams) SetDefaults()

SetDefaults hydrates default values in the get SSH key pair params (not the query body).

All values with no default are reset to their zero value.

func (*GetSSHKeyPairParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get SSH key pair params

func (*GetSSHKeyPairParams) SetID

func (o *GetSSHKeyPairParams) SetID(id string)

SetID adds the id to the get SSH key pair params

func (*GetSSHKeyPairParams) SetTimeout

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

SetTimeout adds the timeout to the get SSH key pair params

func (*GetSSHKeyPairParams) WithContext

WithContext adds the context to the get SSH key pair params

func (*GetSSHKeyPairParams) WithDefaults added in v0.12.0

func (o *GetSSHKeyPairParams) WithDefaults() *GetSSHKeyPairParams

WithDefaults hydrates default values in the get SSH key pair params (not the query body).

All values with no default are reset to their zero value.

func (*GetSSHKeyPairParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get SSH key pair params

func (*GetSSHKeyPairParams) WithID

WithID adds the id to the get SSH key pair params

func (*GetSSHKeyPairParams) WithTimeout

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

WithTimeout adds the timeout to the get SSH key pair params

func (*GetSSHKeyPairParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSSHKeyPairReader

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

GetSSHKeyPairReader is a Reader for the GetSSHKeyPair structure.

func (*GetSSHKeyPairReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListClustersDefault

type ListClustersDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
ListClustersDefault describes a response with status code -1, with default header values.

Error

func NewListClustersDefault

func NewListClustersDefault(code int) *ListClustersDefault

NewListClustersDefault creates a ListClustersDefault with default headers values

func (*ListClustersDefault) Code

func (o *ListClustersDefault) Code() int

Code gets the status code for the list clusters default response

func (*ListClustersDefault) Error

func (o *ListClustersDefault) Error() string

func (*ListClustersDefault) GetPayload added in v0.9.1

type ListClustersOK

type ListClustersOK struct {
	Payload []*models.V1ClusterResponse
}
ListClustersOK describes a response with status code 200, with default header values.

OK

func NewListClustersOK

func NewListClustersOK() *ListClustersOK

NewListClustersOK creates a ListClustersOK with default headers values

func (*ListClustersOK) Error

func (o *ListClustersOK) Error() string

func (*ListClustersOK) GetPayload added in v0.9.1

func (o *ListClustersOK) GetPayload() []*models.V1ClusterResponse

type ListClustersParams

type ListClustersParams struct {

	/* ReturnMachines.

	   returns machines in the response, which is disabled by default for list responses because it makes the request slower
	*/
	ReturnMachines *bool

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

ListClustersParams contains all the parameters to send to the API endpoint

for the list clusters operation.

Typically these are written to a http.Request.

func NewListClustersParams

func NewListClustersParams() *ListClustersParams

NewListClustersParams creates a new ListClustersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClustersParamsWithContext

func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams

NewListClustersParamsWithContext creates a new ListClustersParams object with the ability to set a context for a request.

func NewListClustersParamsWithHTTPClient

func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams

NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the ability to set a custom HTTPClient for a request.

func NewListClustersParamsWithTimeout

func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams

NewListClustersParamsWithTimeout creates a new ListClustersParams object with the ability to set a timeout on a request.

func (*ListClustersParams) SetContext

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

SetContext adds the context to the list clusters params

func (*ListClustersParams) SetDefaults added in v0.12.0

func (o *ListClustersParams) SetDefaults()

SetDefaults hydrates default values in the list clusters params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list clusters params

func (*ListClustersParams) SetReturnMachines added in v0.9.1

func (o *ListClustersParams) SetReturnMachines(returnMachines *bool)

SetReturnMachines adds the returnMachines to the list clusters params

func (*ListClustersParams) SetTimeout

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

SetTimeout adds the timeout to the list clusters params

func (*ListClustersParams) WithContext

WithContext adds the context to the list clusters params

func (*ListClustersParams) WithDefaults added in v0.12.0

func (o *ListClustersParams) WithDefaults() *ListClustersParams

WithDefaults hydrates default values in the list clusters params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list clusters params

func (*ListClustersParams) WithReturnMachines added in v0.9.1

func (o *ListClustersParams) WithReturnMachines(returnMachines *bool) *ListClustersParams

WithReturnMachines adds the returnMachines to the list clusters params

func (*ListClustersParams) WithTimeout

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

WithTimeout adds the timeout to the list clusters params

func (*ListClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListClustersReader

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

ListClustersReader is a Reader for the ListClusters structure.

func (*ListClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConstraintsDefault

type ListConstraintsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
ListConstraintsDefault describes a response with status code -1, with default header values.

Error

func NewListConstraintsDefault

func NewListConstraintsDefault(code int) *ListConstraintsDefault

NewListConstraintsDefault creates a ListConstraintsDefault with default headers values

func (*ListConstraintsDefault) Code

func (o *ListConstraintsDefault) Code() int

Code gets the status code for the list constraints default response

func (*ListConstraintsDefault) Error

func (o *ListConstraintsDefault) Error() string

func (*ListConstraintsDefault) GetPayload added in v0.9.1

type ListConstraintsOK

type ListConstraintsOK struct {
	Payload *models.V1ShootConstraints
}
ListConstraintsOK describes a response with status code 200, with default header values.

OK

func NewListConstraintsOK

func NewListConstraintsOK() *ListConstraintsOK

NewListConstraintsOK creates a ListConstraintsOK with default headers values

func (*ListConstraintsOK) Error

func (o *ListConstraintsOK) Error() string

func (*ListConstraintsOK) GetPayload added in v0.9.1

func (o *ListConstraintsOK) GetPayload() *models.V1ShootConstraints

type ListConstraintsParams

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

ListConstraintsParams contains all the parameters to send to the API endpoint

for the list constraints operation.

Typically these are written to a http.Request.

func NewListConstraintsParams

func NewListConstraintsParams() *ListConstraintsParams

NewListConstraintsParams creates a new ListConstraintsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListConstraintsParamsWithContext

func NewListConstraintsParamsWithContext(ctx context.Context) *ListConstraintsParams

NewListConstraintsParamsWithContext creates a new ListConstraintsParams object with the ability to set a context for a request.

func NewListConstraintsParamsWithHTTPClient

func NewListConstraintsParamsWithHTTPClient(client *http.Client) *ListConstraintsParams

NewListConstraintsParamsWithHTTPClient creates a new ListConstraintsParams object with the ability to set a custom HTTPClient for a request.

func NewListConstraintsParamsWithTimeout

func NewListConstraintsParamsWithTimeout(timeout time.Duration) *ListConstraintsParams

NewListConstraintsParamsWithTimeout creates a new ListConstraintsParams object with the ability to set a timeout on a request.

func (*ListConstraintsParams) SetContext

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

SetContext adds the context to the list constraints params

func (*ListConstraintsParams) SetDefaults added in v0.12.0

func (o *ListConstraintsParams) SetDefaults()

SetDefaults hydrates default values in the list constraints params (not the query body).

All values with no default are reset to their zero value.

func (*ListConstraintsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list constraints params

func (*ListConstraintsParams) SetTimeout

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

SetTimeout adds the timeout to the list constraints params

func (*ListConstraintsParams) WithContext

WithContext adds the context to the list constraints params

func (*ListConstraintsParams) WithDefaults added in v0.12.0

func (o *ListConstraintsParams) WithDefaults() *ListConstraintsParams

WithDefaults hydrates default values in the list constraints params (not the query body).

All values with no default are reset to their zero value.

func (*ListConstraintsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list constraints params

func (*ListConstraintsParams) WithTimeout

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

WithTimeout adds the timeout to the list constraints params

func (*ListConstraintsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListConstraintsReader

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

ListConstraintsReader is a Reader for the ListConstraints structure.

func (*ListConstraintsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReconcileClusterDefault

type ReconcileClusterDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
ReconcileClusterDefault describes a response with status code -1, with default header values.

Error

func NewReconcileClusterDefault

func NewReconcileClusterDefault(code int) *ReconcileClusterDefault

NewReconcileClusterDefault creates a ReconcileClusterDefault with default headers values

func (*ReconcileClusterDefault) Code

func (o *ReconcileClusterDefault) Code() int

Code gets the status code for the reconcile cluster default response

func (*ReconcileClusterDefault) Error

func (o *ReconcileClusterDefault) Error() string

func (*ReconcileClusterDefault) GetPayload added in v0.9.1

type ReconcileClusterOK

type ReconcileClusterOK struct {
	Payload *models.V1ClusterResponse
}
ReconcileClusterOK describes a response with status code 200, with default header values.

OK

func NewReconcileClusterOK

func NewReconcileClusterOK() *ReconcileClusterOK

NewReconcileClusterOK creates a ReconcileClusterOK with default headers values

func (*ReconcileClusterOK) Error

func (o *ReconcileClusterOK) Error() string

func (*ReconcileClusterOK) GetPayload added in v0.9.1

func (o *ReconcileClusterOK) GetPayload() *models.V1ClusterResponse

type ReconcileClusterParams

type ReconcileClusterParams struct {

	// Body.
	Body *models.V1ClusterReconcileRequest

	/* ID.

	   identifier of the cluster
	*/
	ID string

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

ReconcileClusterParams contains all the parameters to send to the API endpoint

for the reconcile cluster operation.

Typically these are written to a http.Request.

func NewReconcileClusterParams

func NewReconcileClusterParams() *ReconcileClusterParams

NewReconcileClusterParams creates a new ReconcileClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReconcileClusterParamsWithContext

func NewReconcileClusterParamsWithContext(ctx context.Context) *ReconcileClusterParams

NewReconcileClusterParamsWithContext creates a new ReconcileClusterParams object with the ability to set a context for a request.

func NewReconcileClusterParamsWithHTTPClient

func NewReconcileClusterParamsWithHTTPClient(client *http.Client) *ReconcileClusterParams

NewReconcileClusterParamsWithHTTPClient creates a new ReconcileClusterParams object with the ability to set a custom HTTPClient for a request.

func NewReconcileClusterParamsWithTimeout

func NewReconcileClusterParamsWithTimeout(timeout time.Duration) *ReconcileClusterParams

NewReconcileClusterParamsWithTimeout creates a new ReconcileClusterParams object with the ability to set a timeout on a request.

func (*ReconcileClusterParams) SetBody added in v0.8.1

SetBody adds the body to the reconcile cluster params

func (*ReconcileClusterParams) SetContext

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

SetContext adds the context to the reconcile cluster params

func (*ReconcileClusterParams) SetDefaults added in v0.12.0

func (o *ReconcileClusterParams) SetDefaults()

SetDefaults hydrates default values in the reconcile cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ReconcileClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reconcile cluster params

func (*ReconcileClusterParams) SetID

func (o *ReconcileClusterParams) SetID(id string)

SetID adds the id to the reconcile cluster params

func (*ReconcileClusterParams) SetTimeout

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

SetTimeout adds the timeout to the reconcile cluster params

func (*ReconcileClusterParams) WithBody added in v0.8.1

WithBody adds the body to the reconcile cluster params

func (*ReconcileClusterParams) WithContext

WithContext adds the context to the reconcile cluster params

func (*ReconcileClusterParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the reconcile cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ReconcileClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reconcile cluster params

func (*ReconcileClusterParams) WithID

WithID adds the id to the reconcile cluster params

func (*ReconcileClusterParams) WithTimeout

WithTimeout adds the timeout to the reconcile cluster params

func (*ReconcileClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReconcileClusterReader

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

ReconcileClusterReader is a Reader for the ReconcileCluster structure.

func (*ReconcileClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateClusterConflict

type UpdateClusterConflict struct {
	Payload *httperrors.HTTPErrorResponse
}
UpdateClusterConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateClusterConflict

func NewUpdateClusterConflict() *UpdateClusterConflict

NewUpdateClusterConflict creates a UpdateClusterConflict with default headers values

func (*UpdateClusterConflict) Error

func (o *UpdateClusterConflict) Error() string

func (*UpdateClusterConflict) GetPayload added in v0.9.1

type UpdateClusterDefault

type UpdateClusterDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}
UpdateClusterDefault describes a response with status code -1, with default header values.

Error

func NewUpdateClusterDefault

func NewUpdateClusterDefault(code int) *UpdateClusterDefault

NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values

func (*UpdateClusterDefault) Code

func (o *UpdateClusterDefault) Code() int

Code gets the status code for the update cluster default response

func (*UpdateClusterDefault) Error

func (o *UpdateClusterDefault) Error() string

func (*UpdateClusterDefault) GetPayload added in v0.9.1

type UpdateClusterOK

type UpdateClusterOK struct {
	Payload *models.V1ClusterResponse
}
UpdateClusterOK describes a response with status code 200, with default header values.

OK

func NewUpdateClusterOK

func NewUpdateClusterOK() *UpdateClusterOK

NewUpdateClusterOK creates a UpdateClusterOK with default headers values

func (*UpdateClusterOK) Error

func (o *UpdateClusterOK) Error() string

func (*UpdateClusterOK) GetPayload added in v0.9.1

func (o *UpdateClusterOK) GetPayload() *models.V1ClusterResponse

type UpdateClusterParams

type UpdateClusterParams struct {

	// Body.
	Body *models.V1ClusterUpdateRequest

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

UpdateClusterParams contains all the parameters to send to the API endpoint

for the update cluster operation.

Typically these are written to a http.Request.

func NewUpdateClusterParams

func NewUpdateClusterParams() *UpdateClusterParams

NewUpdateClusterParams creates a new UpdateClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateClusterParamsWithContext

func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams

NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.

func NewUpdateClusterParamsWithHTTPClient

func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams

NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterParamsWithTimeout

func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams

NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.

func (*UpdateClusterParams) SetBody

SetBody adds the body to the update cluster params

func (*UpdateClusterParams) SetContext

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

SetContext adds the context to the update cluster params

func (*UpdateClusterParams) SetDefaults added in v0.12.0

func (o *UpdateClusterParams) SetDefaults()

SetDefaults hydrates default values in the update cluster params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) SetTimeout

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

SetTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WithBody

WithBody adds the body to the update cluster params

func (*UpdateClusterParams) WithContext

WithContext adds the context to the update cluster params

func (*UpdateClusterParams) WithDefaults added in v0.12.0

func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams

WithDefaults hydrates default values in the update cluster params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) WithTimeout

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

WithTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateClusterReader

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

UpdateClusterReader is a Reader for the UpdateCluster structure.

func (*UpdateClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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