clusters

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 clusters API

func (*Client) GetProvisioningV1InternalClusterClusterID

func (a *Client) GetProvisioningV1InternalClusterClusterID(params *GetProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*GetProvisioningV1InternalClusterClusterIDOK, error)

GetProvisioningV1InternalClusterClusterID gets cluster by ID detailed

Retrieve a cluster by ID with additional details

func (*Client) PatchProvisioningV1InternalClusterClusterID

PatchProvisioningV1InternalClusterClusterID updates cluster

Update the cluster

func (*Client) PostProvisioningV1InternalClusters

func (a *Client) PostProvisioningV1InternalClusters(params *PostProvisioningV1InternalClustersParams, opts ...ClientOption) (*PostProvisioningV1InternalClustersCreated, error)

PostProvisioningV1InternalClusters creates a new cluster

Create a new cluster

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetProvisioningV1InternalClusterClusterID(params *GetProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*GetProvisioningV1InternalClusterClusterIDOK, error)

	PatchProvisioningV1InternalClusterClusterID(params *PatchProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*PatchProvisioningV1InternalClusterClusterIDNoContent, error)

	PostProvisioningV1InternalClusters(params *PostProvisioningV1InternalClustersParams, opts ...ClientOption) (*PostProvisioningV1InternalClustersCreated, 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 clusters API client.

type GetProvisioningV1InternalClusterClusterIDNotFound

type GetProvisioningV1InternalClusterClusterIDNotFound struct {
	Payload *models.ErrrErrorResponse
}
GetProvisioningV1InternalClusterClusterIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetProvisioningV1InternalClusterClusterIDNotFound

func NewGetProvisioningV1InternalClusterClusterIDNotFound() *GetProvisioningV1InternalClusterClusterIDNotFound

NewGetProvisioningV1InternalClusterClusterIDNotFound creates a GetProvisioningV1InternalClusterClusterIDNotFound with default headers values

func (*GetProvisioningV1InternalClusterClusterIDNotFound) Error

func (*GetProvisioningV1InternalClusterClusterIDNotFound) GetPayload

type GetProvisioningV1InternalClusterClusterIDOK

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

OK

func NewGetProvisioningV1InternalClusterClusterIDOK

func NewGetProvisioningV1InternalClusterClusterIDOK() *GetProvisioningV1InternalClusterClusterIDOK

NewGetProvisioningV1InternalClusterClusterIDOK creates a GetProvisioningV1InternalClusterClusterIDOK with default headers values

func (*GetProvisioningV1InternalClusterClusterIDOK) Error

func (*GetProvisioningV1InternalClusterClusterIDOK) GetPayload

type GetProvisioningV1InternalClusterClusterIDParams

type GetProvisioningV1InternalClusterClusterIDParams struct {

	/* ClusterID.

	   Identifier for a services
	*/
	ClusterID string

	/* Detailed.

	   detailed
	*/
	Detailed *bool

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

GetProvisioningV1InternalClusterClusterIDParams contains all the parameters to send to the API endpoint

for the get provisioning v1 internal cluster cluster ID operation.

Typically these are written to a http.Request.

func NewGetProvisioningV1InternalClusterClusterIDParams

func NewGetProvisioningV1InternalClusterClusterIDParams() *GetProvisioningV1InternalClusterClusterIDParams

NewGetProvisioningV1InternalClusterClusterIDParams creates a new GetProvisioningV1InternalClusterClusterIDParams 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 NewGetProvisioningV1InternalClusterClusterIDParamsWithContext

func NewGetProvisioningV1InternalClusterClusterIDParamsWithContext(ctx context.Context) *GetProvisioningV1InternalClusterClusterIDParams

NewGetProvisioningV1InternalClusterClusterIDParamsWithContext creates a new GetProvisioningV1InternalClusterClusterIDParams object with the ability to set a context for a request.

func NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient

func NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient(client *http.Client) *GetProvisioningV1InternalClusterClusterIDParams

NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient creates a new GetProvisioningV1InternalClusterClusterIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout

func NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout(timeout time.Duration) *GetProvisioningV1InternalClusterClusterIDParams

NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout creates a new GetProvisioningV1InternalClusterClusterIDParams object with the ability to set a timeout on a request.

func (*GetProvisioningV1InternalClusterClusterIDParams) SetClusterID

func (o *GetProvisioningV1InternalClusterClusterIDParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) SetContext

SetContext adds the context to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) SetDefaults

SetDefaults hydrates default values in the get provisioning v1 internal cluster cluster ID params (not the query body).

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

func (*GetProvisioningV1InternalClusterClusterIDParams) SetDetailed

func (o *GetProvisioningV1InternalClusterClusterIDParams) SetDetailed(detailed *bool)

SetDetailed adds the detailed to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) SetTimeout

SetTimeout adds the timeout to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) WithClusterID

WithClusterID adds the clusterID to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) WithContext

WithContext adds the context to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) WithDefaults

WithDefaults hydrates default values in the get provisioning v1 internal cluster cluster ID params (not the query body).

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

func (*GetProvisioningV1InternalClusterClusterIDParams) WithDetailed

WithDetailed adds the detailed to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) WithTimeout

WithTimeout adds the timeout to the get provisioning v1 internal cluster cluster ID params

func (*GetProvisioningV1InternalClusterClusterIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProvisioningV1InternalClusterClusterIDReader

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

GetProvisioningV1InternalClusterClusterIDReader is a Reader for the GetProvisioningV1InternalClusterClusterID structure.

func (*GetProvisioningV1InternalClusterClusterIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchProvisioningV1InternalClusterClusterIDBadRequest

type PatchProvisioningV1InternalClusterClusterIDBadRequest struct {
	Payload *models.ErrrErrorResponse
}
PatchProvisioningV1InternalClusterClusterIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPatchProvisioningV1InternalClusterClusterIDBadRequest

func NewPatchProvisioningV1InternalClusterClusterIDBadRequest() *PatchProvisioningV1InternalClusterClusterIDBadRequest

NewPatchProvisioningV1InternalClusterClusterIDBadRequest creates a PatchProvisioningV1InternalClusterClusterIDBadRequest with default headers values

func (*PatchProvisioningV1InternalClusterClusterIDBadRequest) Error

func (*PatchProvisioningV1InternalClusterClusterIDBadRequest) GetPayload

type PatchProvisioningV1InternalClusterClusterIDInternalServerError

type PatchProvisioningV1InternalClusterClusterIDInternalServerError struct {
	Payload *models.ErrrErrorResponse
}
PatchProvisioningV1InternalClusterClusterIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPatchProvisioningV1InternalClusterClusterIDInternalServerError

func NewPatchProvisioningV1InternalClusterClusterIDInternalServerError() *PatchProvisioningV1InternalClusterClusterIDInternalServerError

NewPatchProvisioningV1InternalClusterClusterIDInternalServerError creates a PatchProvisioningV1InternalClusterClusterIDInternalServerError with default headers values

func (*PatchProvisioningV1InternalClusterClusterIDInternalServerError) Error

func (*PatchProvisioningV1InternalClusterClusterIDInternalServerError) GetPayload

type PatchProvisioningV1InternalClusterClusterIDNoContent

type PatchProvisioningV1InternalClusterClusterIDNoContent struct {
}
PatchProvisioningV1InternalClusterClusterIDNoContent describes a response with status code 204, with default header values.

No Content

func NewPatchProvisioningV1InternalClusterClusterIDNoContent

func NewPatchProvisioningV1InternalClusterClusterIDNoContent() *PatchProvisioningV1InternalClusterClusterIDNoContent

NewPatchProvisioningV1InternalClusterClusterIDNoContent creates a PatchProvisioningV1InternalClusterClusterIDNoContent with default headers values

func (*PatchProvisioningV1InternalClusterClusterIDNoContent) Error

type PatchProvisioningV1InternalClusterClusterIDNotFound

type PatchProvisioningV1InternalClusterClusterIDNotFound struct {
	Payload *models.ErrrErrorResponse
}
PatchProvisioningV1InternalClusterClusterIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPatchProvisioningV1InternalClusterClusterIDNotFound

func NewPatchProvisioningV1InternalClusterClusterIDNotFound() *PatchProvisioningV1InternalClusterClusterIDNotFound

NewPatchProvisioningV1InternalClusterClusterIDNotFound creates a PatchProvisioningV1InternalClusterClusterIDNotFound with default headers values

func (*PatchProvisioningV1InternalClusterClusterIDNotFound) Error

func (*PatchProvisioningV1InternalClusterClusterIDNotFound) GetPayload

type PatchProvisioningV1InternalClusterClusterIDParams

type PatchProvisioningV1InternalClusterClusterIDParams struct {

	/* ClusterID.

	   Identifier for a services
	*/
	ClusterID string

	/* Request.

	   Request Body
	*/
	Request *models.V1PatchClusterRequest

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

PatchProvisioningV1InternalClusterClusterIDParams contains all the parameters to send to the API endpoint

for the patch provisioning v1 internal cluster cluster ID operation.

Typically these are written to a http.Request.

func NewPatchProvisioningV1InternalClusterClusterIDParams

func NewPatchProvisioningV1InternalClusterClusterIDParams() *PatchProvisioningV1InternalClusterClusterIDParams

NewPatchProvisioningV1InternalClusterClusterIDParams creates a new PatchProvisioningV1InternalClusterClusterIDParams 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 NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext

func NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext(ctx context.Context) *PatchProvisioningV1InternalClusterClusterIDParams

NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext creates a new PatchProvisioningV1InternalClusterClusterIDParams object with the ability to set a context for a request.

func NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient

func NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient(client *http.Client) *PatchProvisioningV1InternalClusterClusterIDParams

NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient creates a new PatchProvisioningV1InternalClusterClusterIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout

func NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout(timeout time.Duration) *PatchProvisioningV1InternalClusterClusterIDParams

NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout creates a new PatchProvisioningV1InternalClusterClusterIDParams object with the ability to set a timeout on a request.

func (*PatchProvisioningV1InternalClusterClusterIDParams) SetClusterID

func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) SetContext

SetContext adds the context to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) SetDefaults

SetDefaults hydrates default values in the patch provisioning v1 internal cluster cluster ID params (not the query body).

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

func (*PatchProvisioningV1InternalClusterClusterIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) SetRequest

SetRequest adds the request to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) SetTimeout

SetTimeout adds the timeout to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) WithClusterID

WithClusterID adds the clusterID to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) WithContext

WithContext adds the context to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) WithDefaults

WithDefaults hydrates default values in the patch provisioning v1 internal cluster cluster ID params (not the query body).

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

func (*PatchProvisioningV1InternalClusterClusterIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) WithRequest

WithRequest adds the request to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) WithTimeout

WithTimeout adds the timeout to the patch provisioning v1 internal cluster cluster ID params

func (*PatchProvisioningV1InternalClusterClusterIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchProvisioningV1InternalClusterClusterIDReader

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

PatchProvisioningV1InternalClusterClusterIDReader is a Reader for the PatchProvisioningV1InternalClusterClusterID structure.

func (*PatchProvisioningV1InternalClusterClusterIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostProvisioningV1InternalClustersBadRequest

type PostProvisioningV1InternalClustersBadRequest struct {
	Payload *models.ErrrErrorResponse
}
PostProvisioningV1InternalClustersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostProvisioningV1InternalClustersBadRequest

func NewPostProvisioningV1InternalClustersBadRequest() *PostProvisioningV1InternalClustersBadRequest

NewPostProvisioningV1InternalClustersBadRequest creates a PostProvisioningV1InternalClustersBadRequest with default headers values

func (*PostProvisioningV1InternalClustersBadRequest) Error

func (*PostProvisioningV1InternalClustersBadRequest) GetPayload

type PostProvisioningV1InternalClustersCreated

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

Created

func NewPostProvisioningV1InternalClustersCreated

func NewPostProvisioningV1InternalClustersCreated() *PostProvisioningV1InternalClustersCreated

NewPostProvisioningV1InternalClustersCreated creates a PostProvisioningV1InternalClustersCreated with default headers values

func (*PostProvisioningV1InternalClustersCreated) Error

func (*PostProvisioningV1InternalClustersCreated) GetPayload

type PostProvisioningV1InternalClustersInternalServerError

type PostProvisioningV1InternalClustersInternalServerError struct {
	Payload *models.ErrrErrorResponse
}
PostProvisioningV1InternalClustersInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostProvisioningV1InternalClustersInternalServerError

func NewPostProvisioningV1InternalClustersInternalServerError() *PostProvisioningV1InternalClustersInternalServerError

NewPostProvisioningV1InternalClustersInternalServerError creates a PostProvisioningV1InternalClustersInternalServerError with default headers values

func (*PostProvisioningV1InternalClustersInternalServerError) Error

func (*PostProvisioningV1InternalClustersInternalServerError) GetPayload

type PostProvisioningV1InternalClustersParams

type PostProvisioningV1InternalClustersParams struct {

	/* Request.

	   Request Body
	*/
	Request *models.V1CreateClusterRequest

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

PostProvisioningV1InternalClustersParams contains all the parameters to send to the API endpoint

for the post provisioning v1 internal clusters operation.

Typically these are written to a http.Request.

func NewPostProvisioningV1InternalClustersParams

func NewPostProvisioningV1InternalClustersParams() *PostProvisioningV1InternalClustersParams

NewPostProvisioningV1InternalClustersParams creates a new PostProvisioningV1InternalClustersParams 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 NewPostProvisioningV1InternalClustersParamsWithContext

func NewPostProvisioningV1InternalClustersParamsWithContext(ctx context.Context) *PostProvisioningV1InternalClustersParams

NewPostProvisioningV1InternalClustersParamsWithContext creates a new PostProvisioningV1InternalClustersParams object with the ability to set a context for a request.

func NewPostProvisioningV1InternalClustersParamsWithHTTPClient

func NewPostProvisioningV1InternalClustersParamsWithHTTPClient(client *http.Client) *PostProvisioningV1InternalClustersParams

NewPostProvisioningV1InternalClustersParamsWithHTTPClient creates a new PostProvisioningV1InternalClustersParams object with the ability to set a custom HTTPClient for a request.

func NewPostProvisioningV1InternalClustersParamsWithTimeout

func NewPostProvisioningV1InternalClustersParamsWithTimeout(timeout time.Duration) *PostProvisioningV1InternalClustersParams

NewPostProvisioningV1InternalClustersParamsWithTimeout creates a new PostProvisioningV1InternalClustersParams object with the ability to set a timeout on a request.

func (*PostProvisioningV1InternalClustersParams) SetContext

SetContext adds the context to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) SetDefaults

SetDefaults hydrates default values in the post provisioning v1 internal clusters params (not the query body).

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

func (*PostProvisioningV1InternalClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) SetRequest

SetRequest adds the request to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) SetTimeout

SetTimeout adds the timeout to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) WithContext

WithContext adds the context to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) WithDefaults

WithDefaults hydrates default values in the post provisioning v1 internal clusters params (not the query body).

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

func (*PostProvisioningV1InternalClustersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) WithRequest

WithRequest adds the request to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) WithTimeout

WithTimeout adds the timeout to the post provisioning v1 internal clusters params

func (*PostProvisioningV1InternalClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostProvisioningV1InternalClustersReader

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

PostProvisioningV1InternalClustersReader is a Reader for the PostProvisioningV1InternalClusters structure.

func (*PostProvisioningV1InternalClustersReader) ReadResponse

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