clusters

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: BSD-3-Clause 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) DeleteAPIV2ClustersSelector

func (a *Client) DeleteAPIV2ClustersSelector(params *DeleteAPIV2ClustersSelectorParams, opts ...ClientOption) (*DeleteAPIV2ClustersSelectorOK, error)

DeleteAPIV2ClustersSelector deletes a cluster entry

Delete an existing Cluster entry via one of its "selectors": name or numeric ID.

func (*Client) GetAPIV2Clusters

func (a *Client) GetAPIV2Clusters(params *GetAPIV2ClustersParams, opts ...ClientOption) (*GetAPIV2ClustersOK, error)

GetAPIV2Clusters lists cluster entries

List existing Cluster entries, ordered by most recently updated.

func (*Client) GetAPIV2ClustersSelector

func (a *Client) GetAPIV2ClustersSelector(params *GetAPIV2ClustersSelectorParams, opts ...ClientOption) (*GetAPIV2ClustersSelectorOK, error)

GetAPIV2ClustersSelector gets a cluster entry

Get an existing Cluster entry via one of its "selectors": name or numeric ID.

func (*Client) GetAPIV2SelectorsClustersSelector

func (a *Client) GetAPIV2SelectorsClustersSelector(params *GetAPIV2SelectorsClustersSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsClustersSelectorOK, error)

GetAPIV2SelectorsClustersSelector lists cluster selectors

Validate a given Cluster selector and provide any other selectors that would match the same Cluster.

func (*Client) PatchAPIV2ClustersSelector

func (a *Client) PatchAPIV2ClustersSelector(params *PatchAPIV2ClustersSelectorParams, opts ...ClientOption) (*PatchAPIV2ClustersSelectorOK, error)

PatchAPIV2ClustersSelector edits a cluster entry

Edit an existing Cluster entry via one of its "selectors": name or numeric ID. Note that only mutable fields are available here, immutable fields can only be set using /create.

func (*Client) PostAPIV2Clusters

PostAPIV2Clusters creates a new cluster entry

Create a new Cluster entry. Note that some fields are immutable after creation; /edit lists mutable fields.

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 {
	DeleteAPIV2ClustersSelector(params *DeleteAPIV2ClustersSelectorParams, opts ...ClientOption) (*DeleteAPIV2ClustersSelectorOK, error)

	GetAPIV2Clusters(params *GetAPIV2ClustersParams, opts ...ClientOption) (*GetAPIV2ClustersOK, error)

	GetAPIV2ClustersSelector(params *GetAPIV2ClustersSelectorParams, opts ...ClientOption) (*GetAPIV2ClustersSelectorOK, error)

	GetAPIV2SelectorsClustersSelector(params *GetAPIV2SelectorsClustersSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsClustersSelectorOK, error)

	PatchAPIV2ClustersSelector(params *PatchAPIV2ClustersSelectorParams, opts ...ClientOption) (*PatchAPIV2ClustersSelectorOK, error)

	PostAPIV2Clusters(params *PostAPIV2ClustersParams, opts ...ClientOption) (*PostAPIV2ClustersOK, *PostAPIV2ClustersCreated, 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 DeleteAPIV2ClustersSelectorBadRequest

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

Bad Request

func NewDeleteAPIV2ClustersSelectorBadRequest

func NewDeleteAPIV2ClustersSelectorBadRequest() *DeleteAPIV2ClustersSelectorBadRequest

NewDeleteAPIV2ClustersSelectorBadRequest creates a DeleteAPIV2ClustersSelectorBadRequest with default headers values

func (*DeleteAPIV2ClustersSelectorBadRequest) Error

func (*DeleteAPIV2ClustersSelectorBadRequest) GetPayload

type DeleteAPIV2ClustersSelectorConflict

type DeleteAPIV2ClustersSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewDeleteAPIV2ClustersSelectorConflict

func NewDeleteAPIV2ClustersSelectorConflict() *DeleteAPIV2ClustersSelectorConflict

NewDeleteAPIV2ClustersSelectorConflict creates a DeleteAPIV2ClustersSelectorConflict with default headers values

func (*DeleteAPIV2ClustersSelectorConflict) Error

func (*DeleteAPIV2ClustersSelectorConflict) GetPayload

type DeleteAPIV2ClustersSelectorForbidden

type DeleteAPIV2ClustersSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAPIV2ClustersSelectorForbidden

func NewDeleteAPIV2ClustersSelectorForbidden() *DeleteAPIV2ClustersSelectorForbidden

NewDeleteAPIV2ClustersSelectorForbidden creates a DeleteAPIV2ClustersSelectorForbidden with default headers values

func (*DeleteAPIV2ClustersSelectorForbidden) Error

func (*DeleteAPIV2ClustersSelectorForbidden) GetPayload

type DeleteAPIV2ClustersSelectorInternalServerError

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

Internal Server Error

func NewDeleteAPIV2ClustersSelectorInternalServerError

func NewDeleteAPIV2ClustersSelectorInternalServerError() *DeleteAPIV2ClustersSelectorInternalServerError

NewDeleteAPIV2ClustersSelectorInternalServerError creates a DeleteAPIV2ClustersSelectorInternalServerError with default headers values

func (*DeleteAPIV2ClustersSelectorInternalServerError) Error

func (*DeleteAPIV2ClustersSelectorInternalServerError) GetPayload

type DeleteAPIV2ClustersSelectorNotFound

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

Not Found

func NewDeleteAPIV2ClustersSelectorNotFound

func NewDeleteAPIV2ClustersSelectorNotFound() *DeleteAPIV2ClustersSelectorNotFound

NewDeleteAPIV2ClustersSelectorNotFound creates a DeleteAPIV2ClustersSelectorNotFound with default headers values

func (*DeleteAPIV2ClustersSelectorNotFound) Error

func (*DeleteAPIV2ClustersSelectorNotFound) GetPayload

type DeleteAPIV2ClustersSelectorOK

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

OK

func NewDeleteAPIV2ClustersSelectorOK

func NewDeleteAPIV2ClustersSelectorOK() *DeleteAPIV2ClustersSelectorOK

NewDeleteAPIV2ClustersSelectorOK creates a DeleteAPIV2ClustersSelectorOK with default headers values

func (*DeleteAPIV2ClustersSelectorOK) Error

func (*DeleteAPIV2ClustersSelectorOK) GetPayload

type DeleteAPIV2ClustersSelectorParams

type DeleteAPIV2ClustersSelectorParams struct {

	/* Selector.

	   The Cluster to delete's selector: name or numeric ID
	*/
	Selector string

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

DeleteAPIV2ClustersSelectorParams contains all the parameters to send to the API endpoint

for the delete API v2 clusters selector operation.

Typically these are written to a http.Request.

func NewDeleteAPIV2ClustersSelectorParams

func NewDeleteAPIV2ClustersSelectorParams() *DeleteAPIV2ClustersSelectorParams

NewDeleteAPIV2ClustersSelectorParams creates a new DeleteAPIV2ClustersSelectorParams 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 NewDeleteAPIV2ClustersSelectorParamsWithContext

func NewDeleteAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2ClustersSelectorParams

NewDeleteAPIV2ClustersSelectorParamsWithContext creates a new DeleteAPIV2ClustersSelectorParams object with the ability to set a context for a request.

func NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient

func NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2ClustersSelectorParams

NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient creates a new DeleteAPIV2ClustersSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIV2ClustersSelectorParamsWithTimeout

func NewDeleteAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2ClustersSelectorParams

NewDeleteAPIV2ClustersSelectorParamsWithTimeout creates a new DeleteAPIV2ClustersSelectorParams object with the ability to set a timeout on a request.

func (*DeleteAPIV2ClustersSelectorParams) SetContext

SetContext adds the context to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) SetDefaults

func (o *DeleteAPIV2ClustersSelectorParams) SetDefaults()

SetDefaults hydrates default values in the delete API v2 clusters selector params (not the query body).

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

func (*DeleteAPIV2ClustersSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) SetSelector

func (o *DeleteAPIV2ClustersSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) WithContext

WithContext adds the context to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) WithDefaults

WithDefaults hydrates default values in the delete API v2 clusters selector params (not the query body).

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

func (*DeleteAPIV2ClustersSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) WithSelector

WithSelector adds the selector to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) WithTimeout

WithTimeout adds the timeout to the delete API v2 clusters selector params

func (*DeleteAPIV2ClustersSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIV2ClustersSelectorProxyAuthenticationRequired

type DeleteAPIV2ClustersSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewDeleteAPIV2ClustersSelectorProxyAuthenticationRequired

func NewDeleteAPIV2ClustersSelectorProxyAuthenticationRequired() *DeleteAPIV2ClustersSelectorProxyAuthenticationRequired

NewDeleteAPIV2ClustersSelectorProxyAuthenticationRequired creates a DeleteAPIV2ClustersSelectorProxyAuthenticationRequired with default headers values

func (*DeleteAPIV2ClustersSelectorProxyAuthenticationRequired) Error

func (*DeleteAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload

type DeleteAPIV2ClustersSelectorReader

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

DeleteAPIV2ClustersSelectorReader is a Reader for the DeleteAPIV2ClustersSelector structure.

func (*DeleteAPIV2ClustersSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2ClustersBadRequest

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

Bad Request

func NewGetAPIV2ClustersBadRequest

func NewGetAPIV2ClustersBadRequest() *GetAPIV2ClustersBadRequest

NewGetAPIV2ClustersBadRequest creates a GetAPIV2ClustersBadRequest with default headers values

func (*GetAPIV2ClustersBadRequest) Error

func (*GetAPIV2ClustersBadRequest) GetPayload

type GetAPIV2ClustersConflict

type GetAPIV2ClustersConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2ClustersConflict

func NewGetAPIV2ClustersConflict() *GetAPIV2ClustersConflict

NewGetAPIV2ClustersConflict creates a GetAPIV2ClustersConflict with default headers values

func (*GetAPIV2ClustersConflict) Error

func (o *GetAPIV2ClustersConflict) Error() string

func (*GetAPIV2ClustersConflict) GetPayload

type GetAPIV2ClustersForbidden

type GetAPIV2ClustersForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2ClustersForbidden

func NewGetAPIV2ClustersForbidden() *GetAPIV2ClustersForbidden

NewGetAPIV2ClustersForbidden creates a GetAPIV2ClustersForbidden with default headers values

func (*GetAPIV2ClustersForbidden) Error

func (o *GetAPIV2ClustersForbidden) Error() string

func (*GetAPIV2ClustersForbidden) GetPayload

type GetAPIV2ClustersInternalServerError

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

Internal Server Error

func NewGetAPIV2ClustersInternalServerError

func NewGetAPIV2ClustersInternalServerError() *GetAPIV2ClustersInternalServerError

NewGetAPIV2ClustersInternalServerError creates a GetAPIV2ClustersInternalServerError with default headers values

func (*GetAPIV2ClustersInternalServerError) Error

func (*GetAPIV2ClustersInternalServerError) GetPayload

type GetAPIV2ClustersNotFound

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

Not Found

func NewGetAPIV2ClustersNotFound

func NewGetAPIV2ClustersNotFound() *GetAPIV2ClustersNotFound

NewGetAPIV2ClustersNotFound creates a GetAPIV2ClustersNotFound with default headers values

func (*GetAPIV2ClustersNotFound) Error

func (o *GetAPIV2ClustersNotFound) Error() string

func (*GetAPIV2ClustersNotFound) GetPayload

type GetAPIV2ClustersOK

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

OK

func NewGetAPIV2ClustersOK

func NewGetAPIV2ClustersOK() *GetAPIV2ClustersOK

NewGetAPIV2ClustersOK creates a GetAPIV2ClustersOK with default headers values

func (*GetAPIV2ClustersOK) Error

func (o *GetAPIV2ClustersOK) Error() string

func (*GetAPIV2ClustersOK) GetPayload

func (o *GetAPIV2ClustersOK) GetPayload() []*models.V2controllersCluster

type GetAPIV2ClustersParams

type GetAPIV2ClustersParams struct {

	/* Address.

	   Required when creating
	*/
	Address *string

	/* AzureSubscription.

	   Required when creating if providers is 'azure'
	*/
	AzureSubscription *string

	/* Base.

	   Required when creating
	*/
	Base *string

	// CreatedAt.
	CreatedAt *string

	/* GoogleProject.

	   Required when creating if provider is 'google'
	*/
	GoogleProject *string

	// HelmfileRef.
	//
	// Default: "HEAD"
	HelmfileRef *string

	// ID.
	ID *int64

	/* Limit.

	   An optional limit to the number of entries returned
	*/
	Limit *int64

	// Location.
	//
	// Default: "us-central1-a"
	Location *string

	/* Name.

	   Required when creating
	*/
	Name *string

	// Provider.
	//
	// Default: "google"
	Provider *string

	// RequiresSuitability.
	RequiresSuitability *bool

	// UpdatedAt.
	UpdatedAt *string

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

GetAPIV2ClustersParams contains all the parameters to send to the API endpoint

for the get API v2 clusters operation.

Typically these are written to a http.Request.

func NewGetAPIV2ClustersParams

func NewGetAPIV2ClustersParams() *GetAPIV2ClustersParams

NewGetAPIV2ClustersParams creates a new GetAPIV2ClustersParams 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 NewGetAPIV2ClustersParamsWithContext

func NewGetAPIV2ClustersParamsWithContext(ctx context.Context) *GetAPIV2ClustersParams

NewGetAPIV2ClustersParamsWithContext creates a new GetAPIV2ClustersParams object with the ability to set a context for a request.

func NewGetAPIV2ClustersParamsWithHTTPClient

func NewGetAPIV2ClustersParamsWithHTTPClient(client *http.Client) *GetAPIV2ClustersParams

NewGetAPIV2ClustersParamsWithHTTPClient creates a new GetAPIV2ClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2ClustersParamsWithTimeout

func NewGetAPIV2ClustersParamsWithTimeout(timeout time.Duration) *GetAPIV2ClustersParams

NewGetAPIV2ClustersParamsWithTimeout creates a new GetAPIV2ClustersParams object with the ability to set a timeout on a request.

func (*GetAPIV2ClustersParams) SetAddress

func (o *GetAPIV2ClustersParams) SetAddress(address *string)

SetAddress adds the address to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetAzureSubscription

func (o *GetAPIV2ClustersParams) SetAzureSubscription(azureSubscription *string)

SetAzureSubscription adds the azureSubscription to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetBase

func (o *GetAPIV2ClustersParams) SetBase(base *string)

SetBase adds the base to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetContext

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

SetContext adds the context to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetCreatedAt

func (o *GetAPIV2ClustersParams) SetCreatedAt(createdAt *string)

SetCreatedAt adds the createdAt to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetDefaults

func (o *GetAPIV2ClustersParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 clusters params (not the query body).

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

func (*GetAPIV2ClustersParams) SetGoogleProject

func (o *GetAPIV2ClustersParams) SetGoogleProject(googleProject *string)

SetGoogleProject adds the googleProject to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetHelmfileRef added in v0.0.64

func (o *GetAPIV2ClustersParams) SetHelmfileRef(helmfileRef *string)

SetHelmfileRef adds the helmfileRef to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetID

func (o *GetAPIV2ClustersParams) SetID(id *int64)

SetID adds the id to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetLimit

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

SetLimit adds the limit to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetLocation added in v0.0.64

func (o *GetAPIV2ClustersParams) SetLocation(location *string)

SetLocation adds the location to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetName

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

SetName adds the name to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetProvider

func (o *GetAPIV2ClustersParams) SetProvider(provider *string)

SetProvider adds the provider to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetRequiresSuitability

func (o *GetAPIV2ClustersParams) SetRequiresSuitability(requiresSuitability *bool)

SetRequiresSuitability adds the requiresSuitability to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 clusters params

func (*GetAPIV2ClustersParams) SetUpdatedAt

func (o *GetAPIV2ClustersParams) SetUpdatedAt(updatedAt *string)

SetUpdatedAt adds the updatedAt to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithAddress

func (o *GetAPIV2ClustersParams) WithAddress(address *string) *GetAPIV2ClustersParams

WithAddress adds the address to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithAzureSubscription

func (o *GetAPIV2ClustersParams) WithAzureSubscription(azureSubscription *string) *GetAPIV2ClustersParams

WithAzureSubscription adds the azureSubscription to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithBase

WithBase adds the base to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithContext

WithContext adds the context to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithCreatedAt

func (o *GetAPIV2ClustersParams) WithCreatedAt(createdAt *string) *GetAPIV2ClustersParams

WithCreatedAt adds the createdAt to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithDefaults

WithDefaults hydrates default values in the get API v2 clusters params (not the query body).

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

func (*GetAPIV2ClustersParams) WithGoogleProject

func (o *GetAPIV2ClustersParams) WithGoogleProject(googleProject *string) *GetAPIV2ClustersParams

WithGoogleProject adds the googleProject to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithHelmfileRef added in v0.0.64

func (o *GetAPIV2ClustersParams) WithHelmfileRef(helmfileRef *string) *GetAPIV2ClustersParams

WithHelmfileRef adds the helmfileRef to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithID

WithID adds the id to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithLimit

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

WithLimit adds the limit to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithLocation added in v0.0.64

func (o *GetAPIV2ClustersParams) WithLocation(location *string) *GetAPIV2ClustersParams

WithLocation adds the location to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithName

WithName adds the name to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithProvider

func (o *GetAPIV2ClustersParams) WithProvider(provider *string) *GetAPIV2ClustersParams

WithProvider adds the provider to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithRequiresSuitability

func (o *GetAPIV2ClustersParams) WithRequiresSuitability(requiresSuitability *bool) *GetAPIV2ClustersParams

WithRequiresSuitability adds the requiresSuitability to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithTimeout

WithTimeout adds the timeout to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WithUpdatedAt

func (o *GetAPIV2ClustersParams) WithUpdatedAt(updatedAt *string) *GetAPIV2ClustersParams

WithUpdatedAt adds the updatedAt to the get API v2 clusters params

func (*GetAPIV2ClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2ClustersProxyAuthenticationRequired

type GetAPIV2ClustersProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2ClustersProxyAuthenticationRequired

func NewGetAPIV2ClustersProxyAuthenticationRequired() *GetAPIV2ClustersProxyAuthenticationRequired

NewGetAPIV2ClustersProxyAuthenticationRequired creates a GetAPIV2ClustersProxyAuthenticationRequired with default headers values

func (*GetAPIV2ClustersProxyAuthenticationRequired) Error

func (*GetAPIV2ClustersProxyAuthenticationRequired) GetPayload

type GetAPIV2ClustersReader

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

GetAPIV2ClustersReader is a Reader for the GetAPIV2Clusters structure.

func (*GetAPIV2ClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2ClustersSelectorBadRequest

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

Bad Request

func NewGetAPIV2ClustersSelectorBadRequest

func NewGetAPIV2ClustersSelectorBadRequest() *GetAPIV2ClustersSelectorBadRequest

NewGetAPIV2ClustersSelectorBadRequest creates a GetAPIV2ClustersSelectorBadRequest with default headers values

func (*GetAPIV2ClustersSelectorBadRequest) Error

func (*GetAPIV2ClustersSelectorBadRequest) GetPayload

type GetAPIV2ClustersSelectorConflict

type GetAPIV2ClustersSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2ClustersSelectorConflict

func NewGetAPIV2ClustersSelectorConflict() *GetAPIV2ClustersSelectorConflict

NewGetAPIV2ClustersSelectorConflict creates a GetAPIV2ClustersSelectorConflict with default headers values

func (*GetAPIV2ClustersSelectorConflict) Error

func (*GetAPIV2ClustersSelectorConflict) GetPayload

type GetAPIV2ClustersSelectorForbidden

type GetAPIV2ClustersSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2ClustersSelectorForbidden

func NewGetAPIV2ClustersSelectorForbidden() *GetAPIV2ClustersSelectorForbidden

NewGetAPIV2ClustersSelectorForbidden creates a GetAPIV2ClustersSelectorForbidden with default headers values

func (*GetAPIV2ClustersSelectorForbidden) Error

func (*GetAPIV2ClustersSelectorForbidden) GetPayload

type GetAPIV2ClustersSelectorInternalServerError

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

Internal Server Error

func NewGetAPIV2ClustersSelectorInternalServerError

func NewGetAPIV2ClustersSelectorInternalServerError() *GetAPIV2ClustersSelectorInternalServerError

NewGetAPIV2ClustersSelectorInternalServerError creates a GetAPIV2ClustersSelectorInternalServerError with default headers values

func (*GetAPIV2ClustersSelectorInternalServerError) Error

func (*GetAPIV2ClustersSelectorInternalServerError) GetPayload

type GetAPIV2ClustersSelectorNotFound

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

Not Found

func NewGetAPIV2ClustersSelectorNotFound

func NewGetAPIV2ClustersSelectorNotFound() *GetAPIV2ClustersSelectorNotFound

NewGetAPIV2ClustersSelectorNotFound creates a GetAPIV2ClustersSelectorNotFound with default headers values

func (*GetAPIV2ClustersSelectorNotFound) Error

func (*GetAPIV2ClustersSelectorNotFound) GetPayload

type GetAPIV2ClustersSelectorOK

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

OK

func NewGetAPIV2ClustersSelectorOK

func NewGetAPIV2ClustersSelectorOK() *GetAPIV2ClustersSelectorOK

NewGetAPIV2ClustersSelectorOK creates a GetAPIV2ClustersSelectorOK with default headers values

func (*GetAPIV2ClustersSelectorOK) Error

func (*GetAPIV2ClustersSelectorOK) GetPayload

type GetAPIV2ClustersSelectorParams

type GetAPIV2ClustersSelectorParams struct {

	/* Selector.

	   The Cluster to get's selector: name or numeric ID
	*/
	Selector string

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

GetAPIV2ClustersSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 clusters selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2ClustersSelectorParams

func NewGetAPIV2ClustersSelectorParams() *GetAPIV2ClustersSelectorParams

NewGetAPIV2ClustersSelectorParams creates a new GetAPIV2ClustersSelectorParams 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 NewGetAPIV2ClustersSelectorParamsWithContext

func NewGetAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *GetAPIV2ClustersSelectorParams

NewGetAPIV2ClustersSelectorParamsWithContext creates a new GetAPIV2ClustersSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2ClustersSelectorParamsWithHTTPClient

func NewGetAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2ClustersSelectorParams

NewGetAPIV2ClustersSelectorParamsWithHTTPClient creates a new GetAPIV2ClustersSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2ClustersSelectorParamsWithTimeout

func NewGetAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2ClustersSelectorParams

NewGetAPIV2ClustersSelectorParamsWithTimeout creates a new GetAPIV2ClustersSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2ClustersSelectorParams) SetContext

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

SetContext adds the context to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) SetDefaults

func (o *GetAPIV2ClustersSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 clusters selector params (not the query body).

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

func (*GetAPIV2ClustersSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) SetSelector

func (o *GetAPIV2ClustersSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) WithContext

WithContext adds the context to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 clusters selector params (not the query body).

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

func (*GetAPIV2ClustersSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 clusters selector params

func (*GetAPIV2ClustersSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2ClustersSelectorProxyAuthenticationRequired

type GetAPIV2ClustersSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2ClustersSelectorProxyAuthenticationRequired

func NewGetAPIV2ClustersSelectorProxyAuthenticationRequired() *GetAPIV2ClustersSelectorProxyAuthenticationRequired

NewGetAPIV2ClustersSelectorProxyAuthenticationRequired creates a GetAPIV2ClustersSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2ClustersSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2ClustersSelectorReader

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

GetAPIV2ClustersSelectorReader is a Reader for the GetAPIV2ClustersSelector structure.

func (*GetAPIV2ClustersSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2SelectorsClustersSelectorBadRequest

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

Bad Request

func NewGetAPIV2SelectorsClustersSelectorBadRequest

func NewGetAPIV2SelectorsClustersSelectorBadRequest() *GetAPIV2SelectorsClustersSelectorBadRequest

NewGetAPIV2SelectorsClustersSelectorBadRequest creates a GetAPIV2SelectorsClustersSelectorBadRequest with default headers values

func (*GetAPIV2SelectorsClustersSelectorBadRequest) Error

func (*GetAPIV2SelectorsClustersSelectorBadRequest) GetPayload

type GetAPIV2SelectorsClustersSelectorConflict

type GetAPIV2SelectorsClustersSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2SelectorsClustersSelectorConflict

func NewGetAPIV2SelectorsClustersSelectorConflict() *GetAPIV2SelectorsClustersSelectorConflict

NewGetAPIV2SelectorsClustersSelectorConflict creates a GetAPIV2SelectorsClustersSelectorConflict with default headers values

func (*GetAPIV2SelectorsClustersSelectorConflict) Error

func (*GetAPIV2SelectorsClustersSelectorConflict) GetPayload

type GetAPIV2SelectorsClustersSelectorForbidden

type GetAPIV2SelectorsClustersSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2SelectorsClustersSelectorForbidden

func NewGetAPIV2SelectorsClustersSelectorForbidden() *GetAPIV2SelectorsClustersSelectorForbidden

NewGetAPIV2SelectorsClustersSelectorForbidden creates a GetAPIV2SelectorsClustersSelectorForbidden with default headers values

func (*GetAPIV2SelectorsClustersSelectorForbidden) Error

func (*GetAPIV2SelectorsClustersSelectorForbidden) GetPayload

type GetAPIV2SelectorsClustersSelectorInternalServerError

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

Internal Server Error

func NewGetAPIV2SelectorsClustersSelectorInternalServerError

func NewGetAPIV2SelectorsClustersSelectorInternalServerError() *GetAPIV2SelectorsClustersSelectorInternalServerError

NewGetAPIV2SelectorsClustersSelectorInternalServerError creates a GetAPIV2SelectorsClustersSelectorInternalServerError with default headers values

func (*GetAPIV2SelectorsClustersSelectorInternalServerError) Error

func (*GetAPIV2SelectorsClustersSelectorInternalServerError) GetPayload

type GetAPIV2SelectorsClustersSelectorNotFound

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

Not Found

func NewGetAPIV2SelectorsClustersSelectorNotFound

func NewGetAPIV2SelectorsClustersSelectorNotFound() *GetAPIV2SelectorsClustersSelectorNotFound

NewGetAPIV2SelectorsClustersSelectorNotFound creates a GetAPIV2SelectorsClustersSelectorNotFound with default headers values

func (*GetAPIV2SelectorsClustersSelectorNotFound) Error

func (*GetAPIV2SelectorsClustersSelectorNotFound) GetPayload

type GetAPIV2SelectorsClustersSelectorOK

type GetAPIV2SelectorsClustersSelectorOK struct {
	Payload []string
}
GetAPIV2SelectorsClustersSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2SelectorsClustersSelectorOK

func NewGetAPIV2SelectorsClustersSelectorOK() *GetAPIV2SelectorsClustersSelectorOK

NewGetAPIV2SelectorsClustersSelectorOK creates a GetAPIV2SelectorsClustersSelectorOK with default headers values

func (*GetAPIV2SelectorsClustersSelectorOK) Error

func (*GetAPIV2SelectorsClustersSelectorOK) GetPayload

func (o *GetAPIV2SelectorsClustersSelectorOK) GetPayload() []string

type GetAPIV2SelectorsClustersSelectorParams

type GetAPIV2SelectorsClustersSelectorParams struct {

	/* Selector.

	   The selector of the Cluster to list other selectors for
	*/
	Selector string

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

GetAPIV2SelectorsClustersSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 selectors clusters selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2SelectorsClustersSelectorParams

func NewGetAPIV2SelectorsClustersSelectorParams() *GetAPIV2SelectorsClustersSelectorParams

NewGetAPIV2SelectorsClustersSelectorParams creates a new GetAPIV2SelectorsClustersSelectorParams 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 NewGetAPIV2SelectorsClustersSelectorParamsWithContext

func NewGetAPIV2SelectorsClustersSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsClustersSelectorParams

NewGetAPIV2SelectorsClustersSelectorParamsWithContext creates a new GetAPIV2SelectorsClustersSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient

func NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsClustersSelectorParams

NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsClustersSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout

func NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsClustersSelectorParams

NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout creates a new GetAPIV2SelectorsClustersSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2SelectorsClustersSelectorParams) SetContext

SetContext adds the context to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) SetDefaults

func (o *GetAPIV2SelectorsClustersSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 selectors clusters selector params (not the query body).

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

func (*GetAPIV2SelectorsClustersSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) SetSelector

func (o *GetAPIV2SelectorsClustersSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) WithContext

WithContext adds the context to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 selectors clusters selector params (not the query body).

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

func (*GetAPIV2SelectorsClustersSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 selectors clusters selector params

func (*GetAPIV2SelectorsClustersSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired

type GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired

func NewGetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired

NewGetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2SelectorsClustersSelectorReader

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

GetAPIV2SelectorsClustersSelectorReader is a Reader for the GetAPIV2SelectorsClustersSelector structure.

func (*GetAPIV2SelectorsClustersSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIV2ClustersSelectorBadRequest

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

Bad Request

func NewPatchAPIV2ClustersSelectorBadRequest

func NewPatchAPIV2ClustersSelectorBadRequest() *PatchAPIV2ClustersSelectorBadRequest

NewPatchAPIV2ClustersSelectorBadRequest creates a PatchAPIV2ClustersSelectorBadRequest with default headers values

func (*PatchAPIV2ClustersSelectorBadRequest) Error

func (*PatchAPIV2ClustersSelectorBadRequest) GetPayload

type PatchAPIV2ClustersSelectorConflict

type PatchAPIV2ClustersSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchAPIV2ClustersSelectorConflict

func NewPatchAPIV2ClustersSelectorConflict() *PatchAPIV2ClustersSelectorConflict

NewPatchAPIV2ClustersSelectorConflict creates a PatchAPIV2ClustersSelectorConflict with default headers values

func (*PatchAPIV2ClustersSelectorConflict) Error

func (*PatchAPIV2ClustersSelectorConflict) GetPayload

type PatchAPIV2ClustersSelectorForbidden

type PatchAPIV2ClustersSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchAPIV2ClustersSelectorForbidden

func NewPatchAPIV2ClustersSelectorForbidden() *PatchAPIV2ClustersSelectorForbidden

NewPatchAPIV2ClustersSelectorForbidden creates a PatchAPIV2ClustersSelectorForbidden with default headers values

func (*PatchAPIV2ClustersSelectorForbidden) Error

func (*PatchAPIV2ClustersSelectorForbidden) GetPayload

type PatchAPIV2ClustersSelectorInternalServerError

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

Internal Server Error

func NewPatchAPIV2ClustersSelectorInternalServerError

func NewPatchAPIV2ClustersSelectorInternalServerError() *PatchAPIV2ClustersSelectorInternalServerError

NewPatchAPIV2ClustersSelectorInternalServerError creates a PatchAPIV2ClustersSelectorInternalServerError with default headers values

func (*PatchAPIV2ClustersSelectorInternalServerError) Error

func (*PatchAPIV2ClustersSelectorInternalServerError) GetPayload

type PatchAPIV2ClustersSelectorNotFound

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

Not Found

func NewPatchAPIV2ClustersSelectorNotFound

func NewPatchAPIV2ClustersSelectorNotFound() *PatchAPIV2ClustersSelectorNotFound

NewPatchAPIV2ClustersSelectorNotFound creates a PatchAPIV2ClustersSelectorNotFound with default headers values

func (*PatchAPIV2ClustersSelectorNotFound) Error

func (*PatchAPIV2ClustersSelectorNotFound) GetPayload

type PatchAPIV2ClustersSelectorOK

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

OK

func NewPatchAPIV2ClustersSelectorOK

func NewPatchAPIV2ClustersSelectorOK() *PatchAPIV2ClustersSelectorOK

NewPatchAPIV2ClustersSelectorOK creates a PatchAPIV2ClustersSelectorOK with default headers values

func (*PatchAPIV2ClustersSelectorOK) Error

func (*PatchAPIV2ClustersSelectorOK) GetPayload

type PatchAPIV2ClustersSelectorParams

type PatchAPIV2ClustersSelectorParams struct {

	/* Cluster.

	   The edits to make to the Cluster
	*/
	Cluster *models.V2controllersEditableCluster

	/* Selector.

	   The Cluster to edit's selector: name or numeric ID
	*/
	Selector string

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

PatchAPIV2ClustersSelectorParams contains all the parameters to send to the API endpoint

for the patch API v2 clusters selector operation.

Typically these are written to a http.Request.

func NewPatchAPIV2ClustersSelectorParams

func NewPatchAPIV2ClustersSelectorParams() *PatchAPIV2ClustersSelectorParams

NewPatchAPIV2ClustersSelectorParams creates a new PatchAPIV2ClustersSelectorParams 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 NewPatchAPIV2ClustersSelectorParamsWithContext

func NewPatchAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *PatchAPIV2ClustersSelectorParams

NewPatchAPIV2ClustersSelectorParamsWithContext creates a new PatchAPIV2ClustersSelectorParams object with the ability to set a context for a request.

func NewPatchAPIV2ClustersSelectorParamsWithHTTPClient

func NewPatchAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2ClustersSelectorParams

NewPatchAPIV2ClustersSelectorParamsWithHTTPClient creates a new PatchAPIV2ClustersSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIV2ClustersSelectorParamsWithTimeout

func NewPatchAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2ClustersSelectorParams

NewPatchAPIV2ClustersSelectorParamsWithTimeout creates a new PatchAPIV2ClustersSelectorParams object with the ability to set a timeout on a request.

func (*PatchAPIV2ClustersSelectorParams) SetCluster

SetCluster adds the cluster to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) SetContext

SetContext adds the context to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) SetDefaults

func (o *PatchAPIV2ClustersSelectorParams) SetDefaults()

SetDefaults hydrates default values in the patch API v2 clusters selector params (not the query body).

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

func (*PatchAPIV2ClustersSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) SetSelector

func (o *PatchAPIV2ClustersSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) WithCluster

WithCluster adds the cluster to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) WithContext

WithContext adds the context to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) WithDefaults

WithDefaults hydrates default values in the patch API v2 clusters selector params (not the query body).

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

func (*PatchAPIV2ClustersSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) WithSelector

WithSelector adds the selector to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) WithTimeout

WithTimeout adds the timeout to the patch API v2 clusters selector params

func (*PatchAPIV2ClustersSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIV2ClustersSelectorProxyAuthenticationRequired

type PatchAPIV2ClustersSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPatchAPIV2ClustersSelectorProxyAuthenticationRequired

func NewPatchAPIV2ClustersSelectorProxyAuthenticationRequired() *PatchAPIV2ClustersSelectorProxyAuthenticationRequired

NewPatchAPIV2ClustersSelectorProxyAuthenticationRequired creates a PatchAPIV2ClustersSelectorProxyAuthenticationRequired with default headers values

func (*PatchAPIV2ClustersSelectorProxyAuthenticationRequired) Error

func (*PatchAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload

type PatchAPIV2ClustersSelectorReader

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

PatchAPIV2ClustersSelectorReader is a Reader for the PatchAPIV2ClustersSelector structure.

func (*PatchAPIV2ClustersSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV2ClustersBadRequest

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

Bad Request

func NewPostAPIV2ClustersBadRequest

func NewPostAPIV2ClustersBadRequest() *PostAPIV2ClustersBadRequest

NewPostAPIV2ClustersBadRequest creates a PostAPIV2ClustersBadRequest with default headers values

func (*PostAPIV2ClustersBadRequest) Error

func (*PostAPIV2ClustersBadRequest) GetPayload

type PostAPIV2ClustersConflict

type PostAPIV2ClustersConflict struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersConflict describes a response with status code 409, with default header values.

Conflict

func NewPostAPIV2ClustersConflict

func NewPostAPIV2ClustersConflict() *PostAPIV2ClustersConflict

NewPostAPIV2ClustersConflict creates a PostAPIV2ClustersConflict with default headers values

func (*PostAPIV2ClustersConflict) Error

func (o *PostAPIV2ClustersConflict) Error() string

func (*PostAPIV2ClustersConflict) GetPayload

type PostAPIV2ClustersCreated added in v0.0.29

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

Created

func NewPostAPIV2ClustersCreated added in v0.0.29

func NewPostAPIV2ClustersCreated() *PostAPIV2ClustersCreated

NewPostAPIV2ClustersCreated creates a PostAPIV2ClustersCreated with default headers values

func (*PostAPIV2ClustersCreated) Error added in v0.0.29

func (o *PostAPIV2ClustersCreated) Error() string

func (*PostAPIV2ClustersCreated) GetPayload added in v0.0.29

type PostAPIV2ClustersForbidden

type PostAPIV2ClustersForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostAPIV2ClustersForbidden

func NewPostAPIV2ClustersForbidden() *PostAPIV2ClustersForbidden

NewPostAPIV2ClustersForbidden creates a PostAPIV2ClustersForbidden with default headers values

func (*PostAPIV2ClustersForbidden) Error

func (*PostAPIV2ClustersForbidden) GetPayload

type PostAPIV2ClustersInternalServerError

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

Internal Server Error

func NewPostAPIV2ClustersInternalServerError

func NewPostAPIV2ClustersInternalServerError() *PostAPIV2ClustersInternalServerError

NewPostAPIV2ClustersInternalServerError creates a PostAPIV2ClustersInternalServerError with default headers values

func (*PostAPIV2ClustersInternalServerError) Error

func (*PostAPIV2ClustersInternalServerError) GetPayload

type PostAPIV2ClustersNotFound

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

Not Found

func NewPostAPIV2ClustersNotFound

func NewPostAPIV2ClustersNotFound() *PostAPIV2ClustersNotFound

NewPostAPIV2ClustersNotFound creates a PostAPIV2ClustersNotFound with default headers values

func (*PostAPIV2ClustersNotFound) Error

func (o *PostAPIV2ClustersNotFound) Error() string

func (*PostAPIV2ClustersNotFound) GetPayload

type PostAPIV2ClustersOK

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

OK

func NewPostAPIV2ClustersOK

func NewPostAPIV2ClustersOK() *PostAPIV2ClustersOK

NewPostAPIV2ClustersOK creates a PostAPIV2ClustersOK with default headers values

func (*PostAPIV2ClustersOK) Error

func (o *PostAPIV2ClustersOK) Error() string

func (*PostAPIV2ClustersOK) GetPayload

type PostAPIV2ClustersParams

type PostAPIV2ClustersParams struct {

	/* Cluster.

	   The Cluster to create
	*/
	Cluster *models.V2controllersCreatableCluster

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

PostAPIV2ClustersParams contains all the parameters to send to the API endpoint

for the post API v2 clusters operation.

Typically these are written to a http.Request.

func NewPostAPIV2ClustersParams

func NewPostAPIV2ClustersParams() *PostAPIV2ClustersParams

NewPostAPIV2ClustersParams creates a new PostAPIV2ClustersParams 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 NewPostAPIV2ClustersParamsWithContext

func NewPostAPIV2ClustersParamsWithContext(ctx context.Context) *PostAPIV2ClustersParams

NewPostAPIV2ClustersParamsWithContext creates a new PostAPIV2ClustersParams object with the ability to set a context for a request.

func NewPostAPIV2ClustersParamsWithHTTPClient

func NewPostAPIV2ClustersParamsWithHTTPClient(client *http.Client) *PostAPIV2ClustersParams

NewPostAPIV2ClustersParamsWithHTTPClient creates a new PostAPIV2ClustersParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV2ClustersParamsWithTimeout

func NewPostAPIV2ClustersParamsWithTimeout(timeout time.Duration) *PostAPIV2ClustersParams

NewPostAPIV2ClustersParamsWithTimeout creates a new PostAPIV2ClustersParams object with the ability to set a timeout on a request.

func (*PostAPIV2ClustersParams) SetCluster

SetCluster adds the cluster to the post API v2 clusters params

func (*PostAPIV2ClustersParams) SetContext

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

SetContext adds the context to the post API v2 clusters params

func (*PostAPIV2ClustersParams) SetDefaults

func (o *PostAPIV2ClustersParams) SetDefaults()

SetDefaults hydrates default values in the post API v2 clusters params (not the query body).

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

func (*PostAPIV2ClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API v2 clusters params

func (*PostAPIV2ClustersParams) SetTimeout

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

SetTimeout adds the timeout to the post API v2 clusters params

func (*PostAPIV2ClustersParams) WithCluster

WithCluster adds the cluster to the post API v2 clusters params

func (*PostAPIV2ClustersParams) WithContext

WithContext adds the context to the post API v2 clusters params

func (*PostAPIV2ClustersParams) WithDefaults

WithDefaults hydrates default values in the post API v2 clusters params (not the query body).

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

func (*PostAPIV2ClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post API v2 clusters params

func (*PostAPIV2ClustersParams) WithTimeout

WithTimeout adds the timeout to the post API v2 clusters params

func (*PostAPIV2ClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIV2ClustersProxyAuthenticationRequired

type PostAPIV2ClustersProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPostAPIV2ClustersProxyAuthenticationRequired

func NewPostAPIV2ClustersProxyAuthenticationRequired() *PostAPIV2ClustersProxyAuthenticationRequired

NewPostAPIV2ClustersProxyAuthenticationRequired creates a PostAPIV2ClustersProxyAuthenticationRequired with default headers values

func (*PostAPIV2ClustersProxyAuthenticationRequired) Error

func (*PostAPIV2ClustersProxyAuthenticationRequired) GetPayload

type PostAPIV2ClustersReader

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

PostAPIV2ClustersReader is a Reader for the PostAPIV2Clusters structure.

func (*PostAPIV2ClustersReader) ReadResponse

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