Help us shape the future of Go! Take the 2026 Go Developer Survey

clusters

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddClusterBadRequest

type AddClusterBadRequest struct {
	Payload *models.APIResponse
}

AddClusterBadRequest handles this case with default header values.

Bad Request

func NewAddClusterBadRequest

func NewAddClusterBadRequest() *AddClusterBadRequest

NewAddClusterBadRequest creates a AddClusterBadRequest with default headers values

func (*AddClusterBadRequest) Error

func (o *AddClusterBadRequest) Error() string

type AddClusterCreated

type AddClusterCreated struct {
	Payload *models.APIResponse
}

AddClusterCreated handles this case with default header values.

Created

func NewAddClusterCreated

func NewAddClusterCreated() *AddClusterCreated

NewAddClusterCreated creates a AddClusterCreated with default headers values

func (*AddClusterCreated) Error

func (o *AddClusterCreated) Error() string

type AddClusterInternalServerError

type AddClusterInternalServerError struct {
	Payload *models.APIResponse
}

AddClusterInternalServerError handles this case with default header values.

Internal Server Error

func NewAddClusterInternalServerError

func NewAddClusterInternalServerError() *AddClusterInternalServerError

NewAddClusterInternalServerError creates a AddClusterInternalServerError with default headers values

func (*AddClusterInternalServerError) Error

type AddClusterParams

type AddClusterParams struct {

	/*Body*/
	Body *models.IoK8sClusterRegistryPkgApisClusterregistryV1alpha1Cluster

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

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

func NewAddClusterParams

func NewAddClusterParams() *AddClusterParams

NewAddClusterParams creates a new AddClusterParams object with the default values initialized.

func NewAddClusterParamsWithContext

func NewAddClusterParamsWithContext(ctx context.Context) *AddClusterParams

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

func NewAddClusterParamsWithHTTPClient

func NewAddClusterParamsWithHTTPClient(client *http.Client) *AddClusterParams

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

func NewAddClusterParamsWithTimeout

func NewAddClusterParamsWithTimeout(timeout time.Duration) *AddClusterParams

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

func (*AddClusterParams) SetBody

SetBody adds the body to the add cluster params

func (*AddClusterParams) SetContext

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

SetContext adds the context to the add cluster params

func (*AddClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add cluster params

func (*AddClusterParams) SetTimeout

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

SetTimeout adds the timeout to the add cluster params

func (*AddClusterParams) WithBody

WithBody adds the body to the add cluster params

func (*AddClusterParams) WithContext

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

WithContext adds the context to the add cluster params

func (*AddClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add cluster params

func (*AddClusterParams) WithTimeout

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

WithTimeout adds the timeout to the add cluster params

func (*AddClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddClusterReader

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

AddClusterReader is a Reader for the AddCluster structure.

func (*AddClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddClusterUnauthorized

type AddClusterUnauthorized struct {
	Payload *models.APIResponse
}

AddClusterUnauthorized handles this case with default header values.

Unauthorized

func NewAddClusterUnauthorized

func NewAddClusterUnauthorized() *AddClusterUnauthorized

NewAddClusterUnauthorized creates a AddClusterUnauthorized with default headers values

func (*AddClusterUnauthorized) Error

func (o *AddClusterUnauthorized) Error() string

type Client

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

Client for clusters API

func New

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

New creates a new clusters API client.

func (*Client) AddCluster

func (a *Client) AddCluster(params *AddClusterParams) (*AddClusterCreated, error)

AddCluster adds a new cluster to optikon

func (*Client) DeleteCluster

func (a *Client) DeleteCluster(params *DeleteClusterParams) (*DeleteClusterOK, error)

DeleteCluster deletes a cluster

func (*Client) GetClusterByID

func (a *Client) GetClusterByID(params *GetClusterByIDParams) (*GetClusterByIDOK, error)

GetClusterByID finds cluster by ID

Returns a single cluster

func (*Client) GetClusters

func (a *Client) GetClusters(params *GetClustersParams) (*GetClustersOK, error)

GetClusters returns all clusters

Returns a list of clusters

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) (*UpdateClusterOK, error)

UpdateCluster updates an existing cluster

type DeleteClusterBadRequest

type DeleteClusterBadRequest struct {
	Payload *models.APIResponse
}

DeleteClusterBadRequest handles this case with default header values.

Bad Request

func NewDeleteClusterBadRequest

func NewDeleteClusterBadRequest() *DeleteClusterBadRequest

NewDeleteClusterBadRequest creates a DeleteClusterBadRequest with default headers values

func (*DeleteClusterBadRequest) Error

func (o *DeleteClusterBadRequest) Error() string

type DeleteClusterInternalServerError

type DeleteClusterInternalServerError struct {
	Payload *models.APIResponse
}

DeleteClusterInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteClusterInternalServerError

func NewDeleteClusterInternalServerError() *DeleteClusterInternalServerError

NewDeleteClusterInternalServerError creates a DeleteClusterInternalServerError with default headers values

func (*DeleteClusterInternalServerError) Error

type DeleteClusterNotFound

type DeleteClusterNotFound struct {
	Payload *models.APIResponse
}

DeleteClusterNotFound handles this case with default header values.

The specified resource was not found

func NewDeleteClusterNotFound

func NewDeleteClusterNotFound() *DeleteClusterNotFound

NewDeleteClusterNotFound creates a DeleteClusterNotFound with default headers values

func (*DeleteClusterNotFound) Error

func (o *DeleteClusterNotFound) Error() string

type DeleteClusterOK

type DeleteClusterOK struct {
}

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 {

	/*ClusterID
	  Cluster id to delete

	*/
	ClusterID 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) SetClusterID

func (o *DeleteClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete cluster params

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

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

SetTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WithClusterID

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

WithClusterID adds the clusterID 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) 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 DeleteClusterUnauthorized

type DeleteClusterUnauthorized struct {
	Payload *models.APIResponse
}

DeleteClusterUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteClusterUnauthorized

func NewDeleteClusterUnauthorized() *DeleteClusterUnauthorized

NewDeleteClusterUnauthorized creates a DeleteClusterUnauthorized with default headers values

func (*DeleteClusterUnauthorized) Error

func (o *DeleteClusterUnauthorized) Error() string

type GetClusterByIDBadRequest

type GetClusterByIDBadRequest struct {
	Payload *models.APIResponse
}

GetClusterByIDBadRequest handles this case with default header values.

Bad Request

func NewGetClusterByIDBadRequest

func NewGetClusterByIDBadRequest() *GetClusterByIDBadRequest

NewGetClusterByIDBadRequest creates a GetClusterByIDBadRequest with default headers values

func (*GetClusterByIDBadRequest) Error

func (o *GetClusterByIDBadRequest) Error() string

type GetClusterByIDInternalServerError

type GetClusterByIDInternalServerError struct {
	Payload *models.APIResponse
}

GetClusterByIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetClusterByIDInternalServerError

func NewGetClusterByIDInternalServerError() *GetClusterByIDInternalServerError

NewGetClusterByIDInternalServerError creates a GetClusterByIDInternalServerError with default headers values

func (*GetClusterByIDInternalServerError) Error

type GetClusterByIDNotFound

type GetClusterByIDNotFound struct {
	Payload *models.APIResponse
}

GetClusterByIDNotFound handles this case with default header values.

The specified resource was not found

func NewGetClusterByIDNotFound

func NewGetClusterByIDNotFound() *GetClusterByIDNotFound

NewGetClusterByIDNotFound creates a GetClusterByIDNotFound with default headers values

func (*GetClusterByIDNotFound) Error

func (o *GetClusterByIDNotFound) Error() string

type GetClusterByIDOK

type GetClusterByIDOK struct {
	Payload *models.IoK8sClusterRegistryPkgApisClusterregistryV1alpha1Cluster
}

GetClusterByIDOK handles this case with default header values.

OK

func NewGetClusterByIDOK

func NewGetClusterByIDOK() *GetClusterByIDOK

NewGetClusterByIDOK creates a GetClusterByIDOK with default headers values

func (*GetClusterByIDOK) Error

func (o *GetClusterByIDOK) Error() string

type GetClusterByIDParams

type GetClusterByIDParams struct {

	/*ClusterID
	  ID of cluster to return

	*/
	ClusterID string

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

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

func NewGetClusterByIDParams

func NewGetClusterByIDParams() *GetClusterByIDParams

NewGetClusterByIDParams creates a new GetClusterByIDParams object with the default values initialized.

func NewGetClusterByIDParamsWithContext

func NewGetClusterByIDParamsWithContext(ctx context.Context) *GetClusterByIDParams

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

func NewGetClusterByIDParamsWithHTTPClient

func NewGetClusterByIDParamsWithHTTPClient(client *http.Client) *GetClusterByIDParams

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

func NewGetClusterByIDParamsWithTimeout

func NewGetClusterByIDParamsWithTimeout(timeout time.Duration) *GetClusterByIDParams

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

func (*GetClusterByIDParams) SetClusterID

func (o *GetClusterByIDParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get cluster by Id params

func (*GetClusterByIDParams) SetContext

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

SetContext adds the context to the get cluster by Id params

func (*GetClusterByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cluster by Id params

func (*GetClusterByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get cluster by Id params

func (*GetClusterByIDParams) WithClusterID

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

WithClusterID adds the clusterID to the get cluster by Id params

func (*GetClusterByIDParams) WithContext

WithContext adds the context to the get cluster by Id params

func (*GetClusterByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cluster by Id params

func (*GetClusterByIDParams) WithTimeout

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

WithTimeout adds the timeout to the get cluster by Id params

func (*GetClusterByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClusterByIDReader

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

GetClusterByIDReader is a Reader for the GetClusterByID structure.

func (*GetClusterByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClusterByIDUnauthorized

type GetClusterByIDUnauthorized struct {
	Payload *models.APIResponse
}

GetClusterByIDUnauthorized handles this case with default header values.

Unauthorized

func NewGetClusterByIDUnauthorized

func NewGetClusterByIDUnauthorized() *GetClusterByIDUnauthorized

NewGetClusterByIDUnauthorized creates a GetClusterByIDUnauthorized with default headers values

func (*GetClusterByIDUnauthorized) Error

type GetClustersBadRequest

type GetClustersBadRequest struct {
	Payload *models.APIResponse
}

GetClustersBadRequest handles this case with default header values.

Bad Request

func NewGetClustersBadRequest

func NewGetClustersBadRequest() *GetClustersBadRequest

NewGetClustersBadRequest creates a GetClustersBadRequest with default headers values

func (*GetClustersBadRequest) Error

func (o *GetClustersBadRequest) Error() string

type GetClustersInternalServerError

type GetClustersInternalServerError struct {
	Payload *models.APIResponse
}

GetClustersInternalServerError handles this case with default header values.

Internal Server Error

func NewGetClustersInternalServerError

func NewGetClustersInternalServerError() *GetClustersInternalServerError

NewGetClustersInternalServerError creates a GetClustersInternalServerError with default headers values

func (*GetClustersInternalServerError) Error

type GetClustersOK

type GetClustersOK struct {
	Payload models.GetClustersOKBody
}

GetClustersOK handles this case with default header values.

OK

func NewGetClustersOK

func NewGetClustersOK() *GetClustersOK

NewGetClustersOK creates a GetClustersOK with default headers values

func (*GetClustersOK) Error

func (o *GetClustersOK) Error() string

type GetClustersParams

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

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

func NewGetClustersParams

func NewGetClustersParams() *GetClustersParams

NewGetClustersParams creates a new GetClustersParams object with the default values initialized.

func NewGetClustersParamsWithContext

func NewGetClustersParamsWithContext(ctx context.Context) *GetClustersParams

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

func NewGetClustersParamsWithHTTPClient

func NewGetClustersParamsWithHTTPClient(client *http.Client) *GetClustersParams

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

func NewGetClustersParamsWithTimeout

func NewGetClustersParamsWithTimeout(timeout time.Duration) *GetClustersParams

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

func (*GetClustersParams) SetContext

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

SetContext adds the context to the get clusters params

func (*GetClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get clusters params

func (*GetClustersParams) SetTimeout

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

SetTimeout adds the timeout to the get clusters params

func (*GetClustersParams) WithContext

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

WithContext adds the context to the get clusters params

func (*GetClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get clusters params

func (*GetClustersParams) WithTimeout

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

WithTimeout adds the timeout to the get clusters params

func (*GetClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClustersReader

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

GetClustersReader is a Reader for the GetClusters structure.

func (*GetClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClustersUnauthorized

type GetClustersUnauthorized struct {
	Payload *models.APIResponse
}

GetClustersUnauthorized handles this case with default header values.

Unauthorized

func NewGetClustersUnauthorized

func NewGetClustersUnauthorized() *GetClustersUnauthorized

NewGetClustersUnauthorized creates a GetClustersUnauthorized with default headers values

func (*GetClustersUnauthorized) Error

func (o *GetClustersUnauthorized) Error() string

type UpdateClusterBadRequest

type UpdateClusterBadRequest struct {
	Payload *models.APIResponse
}

UpdateClusterBadRequest handles this case with default header values.

Bad Request

func NewUpdateClusterBadRequest

func NewUpdateClusterBadRequest() *UpdateClusterBadRequest

NewUpdateClusterBadRequest creates a UpdateClusterBadRequest with default headers values

func (*UpdateClusterBadRequest) Error

func (o *UpdateClusterBadRequest) Error() string

type UpdateClusterInternalServerError

type UpdateClusterInternalServerError struct {
	Payload *models.APIResponse
}

UpdateClusterInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateClusterInternalServerError

func NewUpdateClusterInternalServerError() *UpdateClusterInternalServerError

NewUpdateClusterInternalServerError creates a UpdateClusterInternalServerError with default headers values

func (*UpdateClusterInternalServerError) Error

type UpdateClusterNotFound

type UpdateClusterNotFound struct {
	Payload *models.APIResponse
}

UpdateClusterNotFound handles this case with default header values.

The specified resource was not found

func NewUpdateClusterNotFound

func NewUpdateClusterNotFound() *UpdateClusterNotFound

NewUpdateClusterNotFound creates a UpdateClusterNotFound with default headers values

func (*UpdateClusterNotFound) Error

func (o *UpdateClusterNotFound) Error() string

type UpdateClusterOK

type UpdateClusterOK struct {
}

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.IoK8sClusterRegistryPkgApisClusterregistryV1alpha1Cluster
	/*ClusterID
	  Cluster id to update

	*/
	ClusterID string

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

func (o *UpdateClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId 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) WithClusterID

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

WithClusterID adds the clusterID 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.

type UpdateClusterUnauthorized

type UpdateClusterUnauthorized struct {
	Payload *models.APIResponse
}

UpdateClusterUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateClusterUnauthorized

func NewUpdateClusterUnauthorized() *UpdateClusterUnauthorized

NewUpdateClusterUnauthorized creates a UpdateClusterUnauthorized with default headers values

func (*UpdateClusterUnauthorized) Error

func (o *UpdateClusterUnauthorized) Error() string

Jump to

Keyboard shortcuts

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