cluster

package
v0.7.15 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 10 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 New

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

New creates a new cluster API client.

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*DeleteClusterOK, error)

DeleteCluster deletes an cluster and returns the deleted entity

func (*Client) FindCluster

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

FindCluster gets cluster by id

func (*Client) FindClusters

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

FindClusters finds clusters by multiple criteria

func (*Client) GetClusterKubeconfigTpl

func (a *Client) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*GetSSHKeyPairOK, error)

GetSSHKeyPair gets all the ssh keypairs of the cluster

func (*Client) ListClusters

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

ListClusters gets all clusters

func (*Client) ListConstraints

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

ListConstraints gets constraints for cluster create

func (*Client) ReconcileCluster

func (a *Client) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*UpdateClusterOK, error)

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

type CreateClusterConflict

type CreateClusterConflict struct {
	Payload *models.HttperrorsHTTPErrorResponse
}

CreateClusterConflict handles this case 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

type CreateClusterCreated

type CreateClusterCreated struct {
	Payload *models.V1ClusterResponse
}

CreateClusterCreated handles this case 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

type CreateClusterDefault

type CreateClusterDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

CreateClusterDefault handles this case 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

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

type DeleteClusterDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

DeleteClusterDefault handles this case 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

type DeleteClusterOK

type DeleteClusterOK struct {
	Payload *models.V1ClusterResponse
}

DeleteClusterOK handles this case 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

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 values initialized.

func NewDeleteClusterParamsWithContext

func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams

NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindClusterDefault handles this case 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

type FindClusterOK

type FindClusterOK struct {
	Payload *models.V1ClusterResponse
}

FindClusterOK handles this case 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

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 values initialized.

func NewFindClusterParamsWithContext

func NewFindClusterParamsWithContext(ctx context.Context) *FindClusterParams

NewFindClusterParamsWithContext creates a new FindClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindClustersDefault handles this case 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

type FindClustersOK

type FindClustersOK struct {
	Payload []*models.V1ClusterResponse
}

FindClustersOK handles this case 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

type FindClustersParams

type FindClustersParams struct {

	/*Body*/
	Body *models.V1ClusterFindRequest

	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 values initialized.

func NewFindClustersParamsWithContext

func NewFindClustersParamsWithContext(ctx context.Context) *FindClustersParams

NewFindClustersParamsWithContext creates a new FindClustersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

GetClusterKubeconfigTplDefault handles this case 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

type GetClusterKubeconfigTplOK

type GetClusterKubeconfigTplOK struct {
	Payload *models.V1ClusterKubeconfigResponse
}

GetClusterKubeconfigTplOK handles this case 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

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 values initialized.

func NewGetClusterKubeconfigTplParamsWithContext

func NewGetClusterKubeconfigTplParamsWithContext(ctx context.Context) *GetClusterKubeconfigTplParams

NewGetClusterKubeconfigTplParamsWithContext creates a new GetClusterKubeconfigTplParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

GetSSHKeyPairDefault handles this case 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

type GetSSHKeyPairOK

type GetSSHKeyPairOK struct {
	Payload *models.V1ClusterCredentialsResponse
}

GetSSHKeyPairOK handles this case 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

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 values initialized.

func NewGetSSHKeyPairParamsWithContext

func NewGetSSHKeyPairParamsWithContext(ctx context.Context) *GetSSHKeyPairParams

NewGetSSHKeyPairParamsWithContext creates a new GetSSHKeyPairParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ListClustersDefault handles this case 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

type ListClustersOK

type ListClustersOK struct {
	Payload []*models.V1ClusterResponse
}

ListClustersOK handles this case 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

type ListClustersParams

type ListClustersParams struct {
	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 values initialized.

func NewListClustersParamsWithContext

func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams

NewListClustersParamsWithContext creates a new ListClustersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ListConstraintsDefault handles this case 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

type ListConstraintsOK

type ListConstraintsOK struct {
	Payload *models.V1ShootConstraints
}

ListConstraintsOK handles this case 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

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 values initialized.

func NewListConstraintsParamsWithContext

func NewListConstraintsParamsWithContext(ctx context.Context) *ListConstraintsParams

NewListConstraintsParamsWithContext creates a new ListConstraintsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ReconcileClusterDefault handles this case 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

type ReconcileClusterOK

type ReconcileClusterOK struct {
	Payload *models.V1ClusterResponse
}

ReconcileClusterOK handles this case 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

type ReconcileClusterParams

type ReconcileClusterParams struct {

	/*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 values initialized.

func NewReconcileClusterParamsWithContext

func NewReconcileClusterParamsWithContext(ctx context.Context) *ReconcileClusterParams

NewReconcileClusterParamsWithContext creates a new ReconcileClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*ReconcileClusterParams) SetContext

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

SetContext adds the context to the reconcile cluster params

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

WithContext adds the context to the reconcile cluster params

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 *models.HttperrorsHTTPErrorResponse
}

UpdateClusterConflict handles this case 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

type UpdateClusterDefault

type UpdateClusterDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

UpdateClusterDefault handles this case 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

type UpdateClusterOK

type UpdateClusterOK struct {
	Payload *models.V1ClusterResponse
}

UpdateClusterOK handles this case 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

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 values initialized.

func NewUpdateClusterParamsWithContext

func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams

NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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