cluster

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddClusterBadGateway added in v0.2.0

type AddClusterBadGateway struct {
	Payload *models.ErrorResponse
}

AddClusterBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewAddClusterBadGateway added in v0.2.0

func NewAddClusterBadGateway() *AddClusterBadGateway

NewAddClusterBadGateway creates a AddClusterBadGateway with default headers values

func (*AddClusterBadGateway) Code added in v0.3.7

func (o *AddClusterBadGateway) Code() int

Code gets the status code for the add cluster bad gateway response

func (*AddClusterBadGateway) Error added in v0.2.0

func (o *AddClusterBadGateway) Error() string

func (*AddClusterBadGateway) GetPayload added in v0.2.0

func (o *AddClusterBadGateway) GetPayload() *models.ErrorResponse

func (*AddClusterBadGateway) IsClientError added in v0.3.3

func (o *AddClusterBadGateway) IsClientError() bool

IsClientError returns true when this add cluster bad gateway response has a 4xx status code

func (*AddClusterBadGateway) IsCode added in v0.3.3

func (o *AddClusterBadGateway) IsCode(code int) bool

IsCode returns true when this add cluster bad gateway response a status code equal to that given

func (*AddClusterBadGateway) IsRedirect added in v0.3.3

func (o *AddClusterBadGateway) IsRedirect() bool

IsRedirect returns true when this add cluster bad gateway response has a 3xx status code

func (*AddClusterBadGateway) IsServerError added in v0.3.3

func (o *AddClusterBadGateway) IsServerError() bool

IsServerError returns true when this add cluster bad gateway response has a 5xx status code

func (*AddClusterBadGateway) IsSuccess added in v0.3.3

func (o *AddClusterBadGateway) IsSuccess() bool

IsSuccess returns true when this add cluster bad gateway response has a 2xx status code

func (*AddClusterBadGateway) String added in v0.3.3

func (o *AddClusterBadGateway) String() string

type AddClusterBadRequest added in v0.2.0

type AddClusterBadRequest struct {
	Payload *models.ErrorResponse
}

AddClusterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAddClusterBadRequest added in v0.2.0

func NewAddClusterBadRequest() *AddClusterBadRequest

NewAddClusterBadRequest creates a AddClusterBadRequest with default headers values

func (*AddClusterBadRequest) Code added in v0.3.7

func (o *AddClusterBadRequest) Code() int

Code gets the status code for the add cluster bad request response

func (*AddClusterBadRequest) Error added in v0.2.0

func (o *AddClusterBadRequest) Error() string

func (*AddClusterBadRequest) GetPayload added in v0.2.0

func (o *AddClusterBadRequest) GetPayload() *models.ErrorResponse

func (*AddClusterBadRequest) IsClientError added in v0.3.3

func (o *AddClusterBadRequest) IsClientError() bool

IsClientError returns true when this add cluster bad request response has a 4xx status code

func (*AddClusterBadRequest) IsCode added in v0.3.3

func (o *AddClusterBadRequest) IsCode(code int) bool

IsCode returns true when this add cluster bad request response a status code equal to that given

func (*AddClusterBadRequest) IsRedirect added in v0.3.3

func (o *AddClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this add cluster bad request response has a 3xx status code

func (*AddClusterBadRequest) IsServerError added in v0.3.3

func (o *AddClusterBadRequest) IsServerError() bool

IsServerError returns true when this add cluster bad request response has a 5xx status code

func (*AddClusterBadRequest) IsSuccess added in v0.3.3

func (o *AddClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this add cluster bad request response has a 2xx status code

func (*AddClusterBadRequest) String added in v0.3.3

func (o *AddClusterBadRequest) String() string

type AddClusterOK added in v0.2.0

type AddClusterOK struct {
	Payload *models.Cluster
}

AddClusterOK describes a response with status code 200, with default header values.

OK

func NewAddClusterOK added in v0.2.0

func NewAddClusterOK() *AddClusterOK

NewAddClusterOK creates a AddClusterOK with default headers values

func (*AddClusterOK) Code added in v0.3.7

func (o *AddClusterOK) Code() int

Code gets the status code for the add cluster o k response

func (*AddClusterOK) Error added in v0.2.0

func (o *AddClusterOK) Error() string

func (*AddClusterOK) GetPayload added in v0.2.0

func (o *AddClusterOK) GetPayload() *models.Cluster

func (*AddClusterOK) IsClientError added in v0.3.3

func (o *AddClusterOK) IsClientError() bool

IsClientError returns true when this add cluster o k response has a 4xx status code

func (*AddClusterOK) IsCode added in v0.3.3

func (o *AddClusterOK) IsCode(code int) bool

IsCode returns true when this add cluster o k response a status code equal to that given

func (*AddClusterOK) IsRedirect added in v0.3.3

func (o *AddClusterOK) IsRedirect() bool

IsRedirect returns true when this add cluster o k response has a 3xx status code

func (*AddClusterOK) IsServerError added in v0.3.3

func (o *AddClusterOK) IsServerError() bool

IsServerError returns true when this add cluster o k response has a 5xx status code

func (*AddClusterOK) IsSuccess added in v0.3.3

func (o *AddClusterOK) IsSuccess() bool

IsSuccess returns true when this add cluster o k response has a 2xx status code

func (*AddClusterOK) String added in v0.3.3

func (o *AddClusterOK) String() string

type AddClusterParams added in v0.2.0

type AddClusterParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	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 added in v0.2.0

func NewAddClusterParams() *AddClusterParams

NewAddClusterParams creates a new AddClusterParams 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 NewAddClusterParamsWithContext added in v0.2.0

func NewAddClusterParamsWithContext(ctx context.Context) *AddClusterParams

NewAddClusterParamsWithContext creates a new AddClusterParams object with the ability to set a context for a request.

func NewAddClusterParamsWithHTTPClient added in v0.2.0

func NewAddClusterParamsWithHTTPClient(client *http.Client) *AddClusterParams

NewAddClusterParamsWithHTTPClient creates a new AddClusterParams object with the ability to set a custom HTTPClient for a request.

func NewAddClusterParamsWithTimeout added in v0.2.0

func NewAddClusterParamsWithTimeout(timeout time.Duration) *AddClusterParams

NewAddClusterParamsWithTimeout creates a new AddClusterParams object with the ability to set a timeout on a request.

func (*AddClusterParams) SetClusterName added in v0.2.0

func (o *AddClusterParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the add cluster params

func (*AddClusterParams) SetContext added in v0.2.0

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

SetContext adds the context to the add cluster params

func (*AddClusterParams) SetDefaults added in v0.2.0

func (o *AddClusterParams) SetDefaults()

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

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

func (*AddClusterParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the add cluster params

func (*AddClusterParams) SetOrgName added in v0.2.0

func (o *AddClusterParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the add cluster params

func (*AddClusterParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the add cluster params

func (*AddClusterParams) WithClusterName added in v0.2.0

func (o *AddClusterParams) WithClusterName(clusterName string) *AddClusterParams

WithClusterName adds the clusterName to the add cluster params

func (*AddClusterParams) WithContext added in v0.2.0

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

WithContext adds the context to the add cluster params

func (*AddClusterParams) WithDefaults added in v0.2.0

func (o *AddClusterParams) WithDefaults() *AddClusterParams

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

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

func (*AddClusterParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the add cluster params

func (*AddClusterParams) WithOrgName added in v0.2.0

func (o *AddClusterParams) WithOrgName(orgName string) *AddClusterParams

WithOrgName adds the orgName to the add cluster params

func (*AddClusterParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the add cluster params

func (*AddClusterParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type AddClusterReader added in v0.2.0

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

AddClusterReader is a Reader for the AddCluster structure.

func (*AddClusterReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type AddClusterUnauthorized added in v0.2.0

type AddClusterUnauthorized struct {
	Payload *models.ErrorResponse
}

AddClusterUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewAddClusterUnauthorized added in v0.2.0

func NewAddClusterUnauthorized() *AddClusterUnauthorized

NewAddClusterUnauthorized creates a AddClusterUnauthorized with default headers values

func (*AddClusterUnauthorized) Code added in v0.3.7

func (o *AddClusterUnauthorized) Code() int

Code gets the status code for the add cluster unauthorized response

func (*AddClusterUnauthorized) Error added in v0.2.0

func (o *AddClusterUnauthorized) Error() string

func (*AddClusterUnauthorized) GetPayload added in v0.2.0

func (o *AddClusterUnauthorized) GetPayload() *models.ErrorResponse

func (*AddClusterUnauthorized) IsClientError added in v0.3.3

func (o *AddClusterUnauthorized) IsClientError() bool

IsClientError returns true when this add cluster unauthorized response has a 4xx status code

func (*AddClusterUnauthorized) IsCode added in v0.3.3

func (o *AddClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this add cluster unauthorized response a status code equal to that given

func (*AddClusterUnauthorized) IsRedirect added in v0.3.3

func (o *AddClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this add cluster unauthorized response has a 3xx status code

func (*AddClusterUnauthorized) IsServerError added in v0.3.3

func (o *AddClusterUnauthorized) IsServerError() bool

IsServerError returns true when this add cluster unauthorized response has a 5xx status code

func (*AddClusterUnauthorized) IsSuccess added in v0.3.3

func (o *AddClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this add cluster unauthorized response has a 2xx status code

func (*AddClusterUnauthorized) String added in v0.3.3

func (o *AddClusterUnauthorized) String() string

type Client

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

Client for cluster API

func (*Client) AddCluster added in v0.2.0

func (a *Client) AddCluster(params *AddClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddClusterOK, error)

AddCluster adds a cluster

Add a Kubernetes cluster to Signadot.

func (*Client) CreateClusterToken

func (a *Client) CreateClusterToken(params *CreateClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterTokenOK, error)

CreateClusterToken creates cluster token

Create a new token for connecting a cluster.

func (*Client) DeleteClusterToken

func (a *Client) DeleteClusterToken(params *DeleteClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterTokenOK, error)

DeleteClusterToken deletes cluster token

Delete a cluster token associated with a cluster.

func (*Client) GetCluster added in v0.2.0

func (a *Client) GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error)

GetCluster gets a cluster

Get a cluster.

func (*Client) GetClusterToken added in v0.2.0

func (a *Client) GetClusterToken(params *GetClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterTokenOK, error)

GetClusterToken gets a cluster token

Get a cluster token associated with a cluster.

func (*Client) ListClusterTokens added in v0.2.0

func (a *Client) ListClusterTokens(params *ListClusterTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterTokensOK, error)

ListClusterTokens lists cluster tokens

List the cluster tokens associated with a cluster.

func (*Client) ListClusters added in v0.2.0

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

ListClusters lists clusters

List clusters.

func (*Client) RemoveCluster added in v0.2.0

func (a *Client) RemoveCluster(params *RemoveClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveClusterOK, error)

RemoveCluster removes a cluster

Remove a Kubernetes cluster from Signadot.

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 {
	AddCluster(params *AddClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddClusterOK, error)

	CreateClusterToken(params *CreateClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterTokenOK, error)

	DeleteClusterToken(params *DeleteClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterTokenOK, error)

	GetCluster(params *GetClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterOK, error)

	GetClusterToken(params *GetClusterTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterTokenOK, error)

	ListClusterTokens(params *ListClusterTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterTokensOK, error)

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

	RemoveCluster(params *RemoveClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveClusterOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new cluster API client.

type CreateClusterTokenOK

type CreateClusterTokenOK struct {
	Payload *models.ClusterToken
}

CreateClusterTokenOK describes a response with status code 200, with default header values.

OK

func NewCreateClusterTokenOK

func NewCreateClusterTokenOK() *CreateClusterTokenOK

NewCreateClusterTokenOK creates a CreateClusterTokenOK with default headers values

func (*CreateClusterTokenOK) Code added in v0.3.7

func (o *CreateClusterTokenOK) Code() int

Code gets the status code for the create cluster token o k response

func (*CreateClusterTokenOK) Error

func (o *CreateClusterTokenOK) Error() string

func (*CreateClusterTokenOK) GetPayload

func (o *CreateClusterTokenOK) GetPayload() *models.ClusterToken

func (*CreateClusterTokenOK) IsClientError added in v0.3.3

func (o *CreateClusterTokenOK) IsClientError() bool

IsClientError returns true when this create cluster token o k response has a 4xx status code

func (*CreateClusterTokenOK) IsCode added in v0.3.3

func (o *CreateClusterTokenOK) IsCode(code int) bool

IsCode returns true when this create cluster token o k response a status code equal to that given

func (*CreateClusterTokenOK) IsRedirect added in v0.3.3

func (o *CreateClusterTokenOK) IsRedirect() bool

IsRedirect returns true when this create cluster token o k response has a 3xx status code

func (*CreateClusterTokenOK) IsServerError added in v0.3.3

func (o *CreateClusterTokenOK) IsServerError() bool

IsServerError returns true when this create cluster token o k response has a 5xx status code

func (*CreateClusterTokenOK) IsSuccess added in v0.3.3

func (o *CreateClusterTokenOK) IsSuccess() bool

IsSuccess returns true when this create cluster token o k response has a 2xx status code

func (*CreateClusterTokenOK) String added in v0.3.3

func (o *CreateClusterTokenOK) String() string

type CreateClusterTokenParams

type CreateClusterTokenParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

CreateClusterTokenParams contains all the parameters to send to the API endpoint

for the create cluster token operation.

Typically these are written to a http.Request.

func NewCreateClusterTokenParams

func NewCreateClusterTokenParams() *CreateClusterTokenParams

NewCreateClusterTokenParams creates a new CreateClusterTokenParams 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 NewCreateClusterTokenParamsWithContext

func NewCreateClusterTokenParamsWithContext(ctx context.Context) *CreateClusterTokenParams

NewCreateClusterTokenParamsWithContext creates a new CreateClusterTokenParams object with the ability to set a context for a request.

func NewCreateClusterTokenParamsWithHTTPClient

func NewCreateClusterTokenParamsWithHTTPClient(client *http.Client) *CreateClusterTokenParams

NewCreateClusterTokenParamsWithHTTPClient creates a new CreateClusterTokenParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClusterTokenParamsWithTimeout

func NewCreateClusterTokenParamsWithTimeout(timeout time.Duration) *CreateClusterTokenParams

NewCreateClusterTokenParamsWithTimeout creates a new CreateClusterTokenParams object with the ability to set a timeout on a request.

func (*CreateClusterTokenParams) SetClusterName

func (o *CreateClusterTokenParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the create cluster token params

func (*CreateClusterTokenParams) SetContext

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

SetContext adds the context to the create cluster token params

func (*CreateClusterTokenParams) SetDefaults

func (o *CreateClusterTokenParams) SetDefaults()

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

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

func (*CreateClusterTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create cluster token params

func (*CreateClusterTokenParams) SetOrgName

func (o *CreateClusterTokenParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the create cluster token params

func (*CreateClusterTokenParams) SetTimeout

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

SetTimeout adds the timeout to the create cluster token params

func (*CreateClusterTokenParams) WithClusterName

func (o *CreateClusterTokenParams) WithClusterName(clusterName string) *CreateClusterTokenParams

WithClusterName adds the clusterName to the create cluster token params

func (*CreateClusterTokenParams) WithContext

WithContext adds the context to the create cluster token params

func (*CreateClusterTokenParams) WithDefaults

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

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

func (*CreateClusterTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create cluster token params

func (*CreateClusterTokenParams) WithOrgName

func (o *CreateClusterTokenParams) WithOrgName(orgName string) *CreateClusterTokenParams

WithOrgName adds the orgName to the create cluster token params

func (*CreateClusterTokenParams) WithTimeout

WithTimeout adds the timeout to the create cluster token params

func (*CreateClusterTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClusterTokenReader

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

CreateClusterTokenReader is a Reader for the CreateClusterToken structure.

func (*CreateClusterTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClusterTokenOK

type DeleteClusterTokenOK struct {
	Payload models.EmptyResponse
}

DeleteClusterTokenOK describes a response with status code 200, with default header values.

OK

func NewDeleteClusterTokenOK

func NewDeleteClusterTokenOK() *DeleteClusterTokenOK

NewDeleteClusterTokenOK creates a DeleteClusterTokenOK with default headers values

func (*DeleteClusterTokenOK) Code added in v0.3.7

func (o *DeleteClusterTokenOK) Code() int

Code gets the status code for the delete cluster token o k response

func (*DeleteClusterTokenOK) Error

func (o *DeleteClusterTokenOK) Error() string

func (*DeleteClusterTokenOK) GetPayload

func (o *DeleteClusterTokenOK) GetPayload() models.EmptyResponse

func (*DeleteClusterTokenOK) IsClientError added in v0.3.3

func (o *DeleteClusterTokenOK) IsClientError() bool

IsClientError returns true when this delete cluster token o k response has a 4xx status code

func (*DeleteClusterTokenOK) IsCode added in v0.3.3

func (o *DeleteClusterTokenOK) IsCode(code int) bool

IsCode returns true when this delete cluster token o k response a status code equal to that given

func (*DeleteClusterTokenOK) IsRedirect added in v0.3.3

func (o *DeleteClusterTokenOK) IsRedirect() bool

IsRedirect returns true when this delete cluster token o k response has a 3xx status code

func (*DeleteClusterTokenOK) IsServerError added in v0.3.3

func (o *DeleteClusterTokenOK) IsServerError() bool

IsServerError returns true when this delete cluster token o k response has a 5xx status code

func (*DeleteClusterTokenOK) IsSuccess added in v0.3.3

func (o *DeleteClusterTokenOK) IsSuccess() bool

IsSuccess returns true when this delete cluster token o k response has a 2xx status code

func (*DeleteClusterTokenOK) String added in v0.3.3

func (o *DeleteClusterTokenOK) String() string

type DeleteClusterTokenParams

type DeleteClusterTokenParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* TokenID.

	   Token Id
	*/
	TokenID string

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

DeleteClusterTokenParams contains all the parameters to send to the API endpoint

for the delete cluster token operation.

Typically these are written to a http.Request.

func NewDeleteClusterTokenParams

func NewDeleteClusterTokenParams() *DeleteClusterTokenParams

NewDeleteClusterTokenParams creates a new DeleteClusterTokenParams 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 NewDeleteClusterTokenParamsWithContext

func NewDeleteClusterTokenParamsWithContext(ctx context.Context) *DeleteClusterTokenParams

NewDeleteClusterTokenParamsWithContext creates a new DeleteClusterTokenParams object with the ability to set a context for a request.

func NewDeleteClusterTokenParamsWithHTTPClient

func NewDeleteClusterTokenParamsWithHTTPClient(client *http.Client) *DeleteClusterTokenParams

NewDeleteClusterTokenParamsWithHTTPClient creates a new DeleteClusterTokenParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterTokenParamsWithTimeout

func NewDeleteClusterTokenParamsWithTimeout(timeout time.Duration) *DeleteClusterTokenParams

NewDeleteClusterTokenParamsWithTimeout creates a new DeleteClusterTokenParams object with the ability to set a timeout on a request.

func (*DeleteClusterTokenParams) SetClusterName

func (o *DeleteClusterTokenParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the delete cluster token params

func (*DeleteClusterTokenParams) SetContext

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

SetContext adds the context to the delete cluster token params

func (*DeleteClusterTokenParams) SetDefaults

func (o *DeleteClusterTokenParams) SetDefaults()

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

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

func (*DeleteClusterTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cluster token params

func (*DeleteClusterTokenParams) SetOrgName

func (o *DeleteClusterTokenParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the delete cluster token params

func (*DeleteClusterTokenParams) SetTimeout

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

SetTimeout adds the timeout to the delete cluster token params

func (*DeleteClusterTokenParams) SetTokenID

func (o *DeleteClusterTokenParams) SetTokenID(tokenID string)

SetTokenID adds the tokenId to the delete cluster token params

func (*DeleteClusterTokenParams) WithClusterName

func (o *DeleteClusterTokenParams) WithClusterName(clusterName string) *DeleteClusterTokenParams

WithClusterName adds the clusterName to the delete cluster token params

func (*DeleteClusterTokenParams) WithContext

WithContext adds the context to the delete cluster token params

func (*DeleteClusterTokenParams) WithDefaults

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

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

func (*DeleteClusterTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete cluster token params

func (*DeleteClusterTokenParams) WithOrgName

func (o *DeleteClusterTokenParams) WithOrgName(orgName string) *DeleteClusterTokenParams

WithOrgName adds the orgName to the delete cluster token params

func (*DeleteClusterTokenParams) WithTimeout

WithTimeout adds the timeout to the delete cluster token params

func (*DeleteClusterTokenParams) WithTokenID

func (o *DeleteClusterTokenParams) WithTokenID(tokenID string) *DeleteClusterTokenParams

WithTokenID adds the tokenID to the delete cluster token params

func (*DeleteClusterTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterTokenReader

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

DeleteClusterTokenReader is a Reader for the DeleteClusterToken structure.

func (*DeleteClusterTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClusterBadGateway added in v0.2.0

type GetClusterBadGateway struct {
	Payload *models.ErrorResponse
}

GetClusterBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewGetClusterBadGateway added in v0.2.0

func NewGetClusterBadGateway() *GetClusterBadGateway

NewGetClusterBadGateway creates a GetClusterBadGateway with default headers values

func (*GetClusterBadGateway) Code added in v0.3.7

func (o *GetClusterBadGateway) Code() int

Code gets the status code for the get cluster bad gateway response

func (*GetClusterBadGateway) Error added in v0.2.0

func (o *GetClusterBadGateway) Error() string

func (*GetClusterBadGateway) GetPayload added in v0.2.0

func (o *GetClusterBadGateway) GetPayload() *models.ErrorResponse

func (*GetClusterBadGateway) IsClientError added in v0.3.3

func (o *GetClusterBadGateway) IsClientError() bool

IsClientError returns true when this get cluster bad gateway response has a 4xx status code

func (*GetClusterBadGateway) IsCode added in v0.3.3

func (o *GetClusterBadGateway) IsCode(code int) bool

IsCode returns true when this get cluster bad gateway response a status code equal to that given

func (*GetClusterBadGateway) IsRedirect added in v0.3.3

func (o *GetClusterBadGateway) IsRedirect() bool

IsRedirect returns true when this get cluster bad gateway response has a 3xx status code

func (*GetClusterBadGateway) IsServerError added in v0.3.3

func (o *GetClusterBadGateway) IsServerError() bool

IsServerError returns true when this get cluster bad gateway response has a 5xx status code

func (*GetClusterBadGateway) IsSuccess added in v0.3.3

func (o *GetClusterBadGateway) IsSuccess() bool

IsSuccess returns true when this get cluster bad gateway response has a 2xx status code

func (*GetClusterBadGateway) String added in v0.3.3

func (o *GetClusterBadGateway) String() string

type GetClusterBadRequest added in v0.2.0

type GetClusterBadRequest struct {
	Payload *models.ErrorResponse
}

GetClusterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetClusterBadRequest added in v0.2.0

func NewGetClusterBadRequest() *GetClusterBadRequest

NewGetClusterBadRequest creates a GetClusterBadRequest with default headers values

func (*GetClusterBadRequest) Code added in v0.3.7

func (o *GetClusterBadRequest) Code() int

Code gets the status code for the get cluster bad request response

func (*GetClusterBadRequest) Error added in v0.2.0

func (o *GetClusterBadRequest) Error() string

func (*GetClusterBadRequest) GetPayload added in v0.2.0

func (o *GetClusterBadRequest) GetPayload() *models.ErrorResponse

func (*GetClusterBadRequest) IsClientError added in v0.3.3

func (o *GetClusterBadRequest) IsClientError() bool

IsClientError returns true when this get cluster bad request response has a 4xx status code

func (*GetClusterBadRequest) IsCode added in v0.3.3

func (o *GetClusterBadRequest) IsCode(code int) bool

IsCode returns true when this get cluster bad request response a status code equal to that given

func (*GetClusterBadRequest) IsRedirect added in v0.3.3

func (o *GetClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this get cluster bad request response has a 3xx status code

func (*GetClusterBadRequest) IsServerError added in v0.3.3

func (o *GetClusterBadRequest) IsServerError() bool

IsServerError returns true when this get cluster bad request response has a 5xx status code

func (*GetClusterBadRequest) IsSuccess added in v0.3.3

func (o *GetClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this get cluster bad request response has a 2xx status code

func (*GetClusterBadRequest) String added in v0.3.3

func (o *GetClusterBadRequest) String() string

type GetClusterOK added in v0.2.0

type GetClusterOK struct {
	Payload *models.Cluster
}

GetClusterOK describes a response with status code 200, with default header values.

OK

func NewGetClusterOK added in v0.2.0

func NewGetClusterOK() *GetClusterOK

NewGetClusterOK creates a GetClusterOK with default headers values

func (*GetClusterOK) Code added in v0.3.7

func (o *GetClusterOK) Code() int

Code gets the status code for the get cluster o k response

func (*GetClusterOK) Error added in v0.2.0

func (o *GetClusterOK) Error() string

func (*GetClusterOK) GetPayload added in v0.2.0

func (o *GetClusterOK) GetPayload() *models.Cluster

func (*GetClusterOK) IsClientError added in v0.3.3

func (o *GetClusterOK) IsClientError() bool

IsClientError returns true when this get cluster o k response has a 4xx status code

func (*GetClusterOK) IsCode added in v0.3.3

func (o *GetClusterOK) IsCode(code int) bool

IsCode returns true when this get cluster o k response a status code equal to that given

func (*GetClusterOK) IsRedirect added in v0.3.3

func (o *GetClusterOK) IsRedirect() bool

IsRedirect returns true when this get cluster o k response has a 3xx status code

func (*GetClusterOK) IsServerError added in v0.3.3

func (o *GetClusterOK) IsServerError() bool

IsServerError returns true when this get cluster o k response has a 5xx status code

func (*GetClusterOK) IsSuccess added in v0.3.3

func (o *GetClusterOK) IsSuccess() bool

IsSuccess returns true when this get cluster o k response has a 2xx status code

func (*GetClusterOK) String added in v0.3.3

func (o *GetClusterOK) String() string

type GetClusterParams added in v0.2.0

type GetClusterParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

GetClusterParams contains all the parameters to send to the API endpoint

for the get cluster operation.

Typically these are written to a http.Request.

func NewGetClusterParams added in v0.2.0

func NewGetClusterParams() *GetClusterParams

NewGetClusterParams creates a new GetClusterParams 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 NewGetClusterParamsWithContext added in v0.2.0

func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams

NewGetClusterParamsWithContext creates a new GetClusterParams object with the ability to set a context for a request.

func NewGetClusterParamsWithHTTPClient added in v0.2.0

func NewGetClusterParamsWithHTTPClient(client *http.Client) *GetClusterParams

NewGetClusterParamsWithHTTPClient creates a new GetClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterParamsWithTimeout added in v0.2.0

func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams

NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the ability to set a timeout on a request.

func (*GetClusterParams) SetClusterName added in v0.2.0

func (o *GetClusterParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the get cluster params

func (*GetClusterParams) SetContext added in v0.2.0

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

SetContext adds the context to the get cluster params

func (*GetClusterParams) SetDefaults added in v0.2.0

func (o *GetClusterParams) SetDefaults()

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

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

func (*GetClusterParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) SetOrgName added in v0.2.0

func (o *GetClusterParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get cluster params

func (*GetClusterParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WithClusterName added in v0.2.0

func (o *GetClusterParams) WithClusterName(clusterName string) *GetClusterParams

WithClusterName adds the clusterName to the get cluster params

func (*GetClusterParams) WithContext added in v0.2.0

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

WithContext adds the context to the get cluster params

func (*GetClusterParams) WithDefaults added in v0.2.0

func (o *GetClusterParams) WithDefaults() *GetClusterParams

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

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

func (*GetClusterParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) WithOrgName added in v0.2.0

func (o *GetClusterParams) WithOrgName(orgName string) *GetClusterParams

WithOrgName adds the orgName to the get cluster params

func (*GetClusterParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type GetClusterReader added in v0.2.0

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

GetClusterReader is a Reader for the GetCluster structure.

func (*GetClusterReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetClusterTokenOK added in v0.2.0

type GetClusterTokenOK struct {
	Payload *models.ClusterToken
}

GetClusterTokenOK describes a response with status code 200, with default header values.

OK

func NewGetClusterTokenOK added in v0.2.0

func NewGetClusterTokenOK() *GetClusterTokenOK

NewGetClusterTokenOK creates a GetClusterTokenOK with default headers values

func (*GetClusterTokenOK) Code added in v0.3.7

func (o *GetClusterTokenOK) Code() int

Code gets the status code for the get cluster token o k response

func (*GetClusterTokenOK) Error added in v0.2.0

func (o *GetClusterTokenOK) Error() string

func (*GetClusterTokenOK) GetPayload added in v0.2.0

func (o *GetClusterTokenOK) GetPayload() *models.ClusterToken

func (*GetClusterTokenOK) IsClientError added in v0.3.3

func (o *GetClusterTokenOK) IsClientError() bool

IsClientError returns true when this get cluster token o k response has a 4xx status code

func (*GetClusterTokenOK) IsCode added in v0.3.3

func (o *GetClusterTokenOK) IsCode(code int) bool

IsCode returns true when this get cluster token o k response a status code equal to that given

func (*GetClusterTokenOK) IsRedirect added in v0.3.3

func (o *GetClusterTokenOK) IsRedirect() bool

IsRedirect returns true when this get cluster token o k response has a 3xx status code

func (*GetClusterTokenOK) IsServerError added in v0.3.3

func (o *GetClusterTokenOK) IsServerError() bool

IsServerError returns true when this get cluster token o k response has a 5xx status code

func (*GetClusterTokenOK) IsSuccess added in v0.3.3

func (o *GetClusterTokenOK) IsSuccess() bool

IsSuccess returns true when this get cluster token o k response has a 2xx status code

func (*GetClusterTokenOK) String added in v0.3.3

func (o *GetClusterTokenOK) String() string

type GetClusterTokenParams added in v0.2.0

type GetClusterTokenParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* TokenID.

	   Token Id
	*/
	TokenID string

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

GetClusterTokenParams contains all the parameters to send to the API endpoint

for the get cluster token operation.

Typically these are written to a http.Request.

func NewGetClusterTokenParams added in v0.2.0

func NewGetClusterTokenParams() *GetClusterTokenParams

NewGetClusterTokenParams creates a new GetClusterTokenParams 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 NewGetClusterTokenParamsWithContext added in v0.2.0

func NewGetClusterTokenParamsWithContext(ctx context.Context) *GetClusterTokenParams

NewGetClusterTokenParamsWithContext creates a new GetClusterTokenParams object with the ability to set a context for a request.

func NewGetClusterTokenParamsWithHTTPClient added in v0.2.0

func NewGetClusterTokenParamsWithHTTPClient(client *http.Client) *GetClusterTokenParams

NewGetClusterTokenParamsWithHTTPClient creates a new GetClusterTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterTokenParamsWithTimeout added in v0.2.0

func NewGetClusterTokenParamsWithTimeout(timeout time.Duration) *GetClusterTokenParams

NewGetClusterTokenParamsWithTimeout creates a new GetClusterTokenParams object with the ability to set a timeout on a request.

func (*GetClusterTokenParams) SetClusterName added in v0.2.0

func (o *GetClusterTokenParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the get cluster token params

func (*GetClusterTokenParams) SetContext added in v0.2.0

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

SetContext adds the context to the get cluster token params

func (*GetClusterTokenParams) SetDefaults added in v0.2.0

func (o *GetClusterTokenParams) SetDefaults()

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

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

func (*GetClusterTokenParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get cluster token params

func (*GetClusterTokenParams) SetOrgName added in v0.2.0

func (o *GetClusterTokenParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get cluster token params

func (*GetClusterTokenParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get cluster token params

func (*GetClusterTokenParams) SetTokenID added in v0.2.0

func (o *GetClusterTokenParams) SetTokenID(tokenID string)

SetTokenID adds the tokenId to the get cluster token params

func (*GetClusterTokenParams) WithClusterName added in v0.2.0

func (o *GetClusterTokenParams) WithClusterName(clusterName string) *GetClusterTokenParams

WithClusterName adds the clusterName to the get cluster token params

func (*GetClusterTokenParams) WithContext added in v0.2.0

WithContext adds the context to the get cluster token params

func (*GetClusterTokenParams) WithDefaults added in v0.2.0

func (o *GetClusterTokenParams) WithDefaults() *GetClusterTokenParams

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

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

func (*GetClusterTokenParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get cluster token params

func (*GetClusterTokenParams) WithOrgName added in v0.2.0

func (o *GetClusterTokenParams) WithOrgName(orgName string) *GetClusterTokenParams

WithOrgName adds the orgName to the get cluster token params

func (*GetClusterTokenParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the get cluster token params

func (*GetClusterTokenParams) WithTokenID added in v0.2.0

func (o *GetClusterTokenParams) WithTokenID(tokenID string) *GetClusterTokenParams

WithTokenID adds the tokenID to the get cluster token params

func (*GetClusterTokenParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type GetClusterTokenReader added in v0.2.0

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

GetClusterTokenReader is a Reader for the GetClusterToken structure.

func (*GetClusterTokenReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetClusterUnauthorized added in v0.2.0

type GetClusterUnauthorized struct {
	Payload *models.ErrorResponse
}

GetClusterUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetClusterUnauthorized added in v0.2.0

func NewGetClusterUnauthorized() *GetClusterUnauthorized

NewGetClusterUnauthorized creates a GetClusterUnauthorized with default headers values

func (*GetClusterUnauthorized) Code added in v0.3.7

func (o *GetClusterUnauthorized) Code() int

Code gets the status code for the get cluster unauthorized response

func (*GetClusterUnauthorized) Error added in v0.2.0

func (o *GetClusterUnauthorized) Error() string

func (*GetClusterUnauthorized) GetPayload added in v0.2.0

func (o *GetClusterUnauthorized) GetPayload() *models.ErrorResponse

func (*GetClusterUnauthorized) IsClientError added in v0.3.3

func (o *GetClusterUnauthorized) IsClientError() bool

IsClientError returns true when this get cluster unauthorized response has a 4xx status code

func (*GetClusterUnauthorized) IsCode added in v0.3.3

func (o *GetClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this get cluster unauthorized response a status code equal to that given

func (*GetClusterUnauthorized) IsRedirect added in v0.3.3

func (o *GetClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this get cluster unauthorized response has a 3xx status code

func (*GetClusterUnauthorized) IsServerError added in v0.3.3

func (o *GetClusterUnauthorized) IsServerError() bool

IsServerError returns true when this get cluster unauthorized response has a 5xx status code

func (*GetClusterUnauthorized) IsSuccess added in v0.3.3

func (o *GetClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this get cluster unauthorized response has a 2xx status code

func (*GetClusterUnauthorized) String added in v0.3.3

func (o *GetClusterUnauthorized) String() string

type ListClusterTokensOK added in v0.2.0

type ListClusterTokensOK struct {
	Payload []*models.ClusterToken
}

ListClusterTokensOK describes a response with status code 200, with default header values.

OK

func NewListClusterTokensOK added in v0.2.0

func NewListClusterTokensOK() *ListClusterTokensOK

NewListClusterTokensOK creates a ListClusterTokensOK with default headers values

func (*ListClusterTokensOK) Code added in v0.3.7

func (o *ListClusterTokensOK) Code() int

Code gets the status code for the list cluster tokens o k response

func (*ListClusterTokensOK) Error added in v0.2.0

func (o *ListClusterTokensOK) Error() string

func (*ListClusterTokensOK) GetPayload added in v0.2.0

func (o *ListClusterTokensOK) GetPayload() []*models.ClusterToken

func (*ListClusterTokensOK) IsClientError added in v0.3.3

func (o *ListClusterTokensOK) IsClientError() bool

IsClientError returns true when this list cluster tokens o k response has a 4xx status code

func (*ListClusterTokensOK) IsCode added in v0.3.3

func (o *ListClusterTokensOK) IsCode(code int) bool

IsCode returns true when this list cluster tokens o k response a status code equal to that given

func (*ListClusterTokensOK) IsRedirect added in v0.3.3

func (o *ListClusterTokensOK) IsRedirect() bool

IsRedirect returns true when this list cluster tokens o k response has a 3xx status code

func (*ListClusterTokensOK) IsServerError added in v0.3.3

func (o *ListClusterTokensOK) IsServerError() bool

IsServerError returns true when this list cluster tokens o k response has a 5xx status code

func (*ListClusterTokensOK) IsSuccess added in v0.3.3

func (o *ListClusterTokensOK) IsSuccess() bool

IsSuccess returns true when this list cluster tokens o k response has a 2xx status code

func (*ListClusterTokensOK) String added in v0.3.3

func (o *ListClusterTokensOK) String() string

type ListClusterTokensParams added in v0.2.0

type ListClusterTokensParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

ListClusterTokensParams contains all the parameters to send to the API endpoint

for the list cluster tokens operation.

Typically these are written to a http.Request.

func NewListClusterTokensParams added in v0.2.0

func NewListClusterTokensParams() *ListClusterTokensParams

NewListClusterTokensParams creates a new ListClusterTokensParams 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 NewListClusterTokensParamsWithContext added in v0.2.0

func NewListClusterTokensParamsWithContext(ctx context.Context) *ListClusterTokensParams

NewListClusterTokensParamsWithContext creates a new ListClusterTokensParams object with the ability to set a context for a request.

func NewListClusterTokensParamsWithHTTPClient added in v0.2.0

func NewListClusterTokensParamsWithHTTPClient(client *http.Client) *ListClusterTokensParams

NewListClusterTokensParamsWithHTTPClient creates a new ListClusterTokensParams object with the ability to set a custom HTTPClient for a request.

func NewListClusterTokensParamsWithTimeout added in v0.2.0

func NewListClusterTokensParamsWithTimeout(timeout time.Duration) *ListClusterTokensParams

NewListClusterTokensParamsWithTimeout creates a new ListClusterTokensParams object with the ability to set a timeout on a request.

func (*ListClusterTokensParams) SetClusterName added in v0.2.0

func (o *ListClusterTokensParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the list cluster tokens params

func (*ListClusterTokensParams) SetContext added in v0.2.0

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

SetContext adds the context to the list cluster tokens params

func (*ListClusterTokensParams) SetDefaults added in v0.2.0

func (o *ListClusterTokensParams) SetDefaults()

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

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

func (*ListClusterTokensParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the list cluster tokens params

func (*ListClusterTokensParams) SetOrgName added in v0.2.0

func (o *ListClusterTokensParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the list cluster tokens params

func (*ListClusterTokensParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the list cluster tokens params

func (*ListClusterTokensParams) WithClusterName added in v0.2.0

func (o *ListClusterTokensParams) WithClusterName(clusterName string) *ListClusterTokensParams

WithClusterName adds the clusterName to the list cluster tokens params

func (*ListClusterTokensParams) WithContext added in v0.2.0

WithContext adds the context to the list cluster tokens params

func (*ListClusterTokensParams) WithDefaults added in v0.2.0

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

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

func (*ListClusterTokensParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the list cluster tokens params

func (*ListClusterTokensParams) WithOrgName added in v0.2.0

func (o *ListClusterTokensParams) WithOrgName(orgName string) *ListClusterTokensParams

WithOrgName adds the orgName to the list cluster tokens params

func (*ListClusterTokensParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the list cluster tokens params

func (*ListClusterTokensParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type ListClusterTokensReader added in v0.2.0

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

ListClusterTokensReader is a Reader for the ListClusterTokens structure.

func (*ListClusterTokensReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type ListClustersBadGateway added in v0.2.0

type ListClustersBadGateway struct {
	Payload *models.ErrorResponse
}

ListClustersBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewListClustersBadGateway added in v0.2.0

func NewListClustersBadGateway() *ListClustersBadGateway

NewListClustersBadGateway creates a ListClustersBadGateway with default headers values

func (*ListClustersBadGateway) Code added in v0.3.7

func (o *ListClustersBadGateway) Code() int

Code gets the status code for the list clusters bad gateway response

func (*ListClustersBadGateway) Error added in v0.2.0

func (o *ListClustersBadGateway) Error() string

func (*ListClustersBadGateway) GetPayload added in v0.2.0

func (o *ListClustersBadGateway) GetPayload() *models.ErrorResponse

func (*ListClustersBadGateway) IsClientError added in v0.3.3

func (o *ListClustersBadGateway) IsClientError() bool

IsClientError returns true when this list clusters bad gateway response has a 4xx status code

func (*ListClustersBadGateway) IsCode added in v0.3.3

func (o *ListClustersBadGateway) IsCode(code int) bool

IsCode returns true when this list clusters bad gateway response a status code equal to that given

func (*ListClustersBadGateway) IsRedirect added in v0.3.3

func (o *ListClustersBadGateway) IsRedirect() bool

IsRedirect returns true when this list clusters bad gateway response has a 3xx status code

func (*ListClustersBadGateway) IsServerError added in v0.3.3

func (o *ListClustersBadGateway) IsServerError() bool

IsServerError returns true when this list clusters bad gateway response has a 5xx status code

func (*ListClustersBadGateway) IsSuccess added in v0.3.3

func (o *ListClustersBadGateway) IsSuccess() bool

IsSuccess returns true when this list clusters bad gateway response has a 2xx status code

func (*ListClustersBadGateway) String added in v0.3.3

func (o *ListClustersBadGateway) String() string

type ListClustersBadRequest added in v0.2.0

type ListClustersBadRequest struct {
	Payload *models.ErrorResponse
}

ListClustersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListClustersBadRequest added in v0.2.0

func NewListClustersBadRequest() *ListClustersBadRequest

NewListClustersBadRequest creates a ListClustersBadRequest with default headers values

func (*ListClustersBadRequest) Code added in v0.3.7

func (o *ListClustersBadRequest) Code() int

Code gets the status code for the list clusters bad request response

func (*ListClustersBadRequest) Error added in v0.2.0

func (o *ListClustersBadRequest) Error() string

func (*ListClustersBadRequest) GetPayload added in v0.2.0

func (o *ListClustersBadRequest) GetPayload() *models.ErrorResponse

func (*ListClustersBadRequest) IsClientError added in v0.3.3

func (o *ListClustersBadRequest) IsClientError() bool

IsClientError returns true when this list clusters bad request response has a 4xx status code

func (*ListClustersBadRequest) IsCode added in v0.3.3

func (o *ListClustersBadRequest) IsCode(code int) bool

IsCode returns true when this list clusters bad request response a status code equal to that given

func (*ListClustersBadRequest) IsRedirect added in v0.3.3

func (o *ListClustersBadRequest) IsRedirect() bool

IsRedirect returns true when this list clusters bad request response has a 3xx status code

func (*ListClustersBadRequest) IsServerError added in v0.3.3

func (o *ListClustersBadRequest) IsServerError() bool

IsServerError returns true when this list clusters bad request response has a 5xx status code

func (*ListClustersBadRequest) IsSuccess added in v0.3.3

func (o *ListClustersBadRequest) IsSuccess() bool

IsSuccess returns true when this list clusters bad request response has a 2xx status code

func (*ListClustersBadRequest) String added in v0.3.3

func (o *ListClustersBadRequest) String() string

type ListClustersOK added in v0.2.0

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

ListClustersOK describes a response with status code 200, with default header values.

OK

func NewListClustersOK added in v0.2.0

func NewListClustersOK() *ListClustersOK

NewListClustersOK creates a ListClustersOK with default headers values

func (*ListClustersOK) Code added in v0.3.7

func (o *ListClustersOK) Code() int

Code gets the status code for the list clusters o k response

func (*ListClustersOK) Error added in v0.2.0

func (o *ListClustersOK) Error() string

func (*ListClustersOK) GetPayload added in v0.2.0

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

func (*ListClustersOK) IsClientError added in v0.3.3

func (o *ListClustersOK) IsClientError() bool

IsClientError returns true when this list clusters o k response has a 4xx status code

func (*ListClustersOK) IsCode added in v0.3.3

func (o *ListClustersOK) IsCode(code int) bool

IsCode returns true when this list clusters o k response a status code equal to that given

func (*ListClustersOK) IsRedirect added in v0.3.3

func (o *ListClustersOK) IsRedirect() bool

IsRedirect returns true when this list clusters o k response has a 3xx status code

func (*ListClustersOK) IsServerError added in v0.3.3

func (o *ListClustersOK) IsServerError() bool

IsServerError returns true when this list clusters o k response has a 5xx status code

func (*ListClustersOK) IsSuccess added in v0.3.3

func (o *ListClustersOK) IsSuccess() bool

IsSuccess returns true when this list clusters o k response has a 2xx status code

func (*ListClustersOK) String added in v0.3.3

func (o *ListClustersOK) String() string

type ListClustersParams added in v0.2.0

type ListClustersParams struct {

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

ListClustersParams contains all the parameters to send to the API endpoint

for the list clusters operation.

Typically these are written to a http.Request.

func NewListClustersParams added in v0.2.0

func NewListClustersParams() *ListClustersParams

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

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

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

func NewListClustersParamsWithContext added in v0.2.0

func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams

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

func NewListClustersParamsWithHTTPClient added in v0.2.0

func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams

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

func NewListClustersParamsWithTimeout added in v0.2.0

func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams

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

func (*ListClustersParams) SetContext added in v0.2.0

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

SetContext adds the context to the list clusters params

func (*ListClustersParams) SetDefaults added in v0.2.0

func (o *ListClustersParams) SetDefaults()

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

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

func (*ListClustersParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the list clusters params

func (*ListClustersParams) SetOrgName added in v0.2.0

func (o *ListClustersParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the list clusters params

func (*ListClustersParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the list clusters params

func (*ListClustersParams) WithContext added in v0.2.0

WithContext adds the context to the list clusters params

func (*ListClustersParams) WithDefaults added in v0.2.0

func (o *ListClustersParams) WithDefaults() *ListClustersParams

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

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

func (*ListClustersParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the list clusters params

func (*ListClustersParams) WithOrgName added in v0.2.0

func (o *ListClustersParams) WithOrgName(orgName string) *ListClustersParams

WithOrgName adds the orgName to the list clusters params

func (*ListClustersParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the list clusters params

func (*ListClustersParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type ListClustersReader added in v0.2.0

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

ListClustersReader is a Reader for the ListClusters structure.

func (*ListClustersReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type ListClustersUnauthorized added in v0.2.0

type ListClustersUnauthorized struct {
	Payload *models.ErrorResponse
}

ListClustersUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListClustersUnauthorized added in v0.2.0

func NewListClustersUnauthorized() *ListClustersUnauthorized

NewListClustersUnauthorized creates a ListClustersUnauthorized with default headers values

func (*ListClustersUnauthorized) Code added in v0.3.7

func (o *ListClustersUnauthorized) Code() int

Code gets the status code for the list clusters unauthorized response

func (*ListClustersUnauthorized) Error added in v0.2.0

func (o *ListClustersUnauthorized) Error() string

func (*ListClustersUnauthorized) GetPayload added in v0.2.0

func (*ListClustersUnauthorized) IsClientError added in v0.3.3

func (o *ListClustersUnauthorized) IsClientError() bool

IsClientError returns true when this list clusters unauthorized response has a 4xx status code

func (*ListClustersUnauthorized) IsCode added in v0.3.3

func (o *ListClustersUnauthorized) IsCode(code int) bool

IsCode returns true when this list clusters unauthorized response a status code equal to that given

func (*ListClustersUnauthorized) IsRedirect added in v0.3.3

func (o *ListClustersUnauthorized) IsRedirect() bool

IsRedirect returns true when this list clusters unauthorized response has a 3xx status code

func (*ListClustersUnauthorized) IsServerError added in v0.3.3

func (o *ListClustersUnauthorized) IsServerError() bool

IsServerError returns true when this list clusters unauthorized response has a 5xx status code

func (*ListClustersUnauthorized) IsSuccess added in v0.3.3

func (o *ListClustersUnauthorized) IsSuccess() bool

IsSuccess returns true when this list clusters unauthorized response has a 2xx status code

func (*ListClustersUnauthorized) String added in v0.3.3

func (o *ListClustersUnauthorized) String() string

type RemoveClusterBadGateway added in v0.2.0

type RemoveClusterBadGateway struct {
	Payload *models.ErrorResponse
}

RemoveClusterBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewRemoveClusterBadGateway added in v0.2.0

func NewRemoveClusterBadGateway() *RemoveClusterBadGateway

NewRemoveClusterBadGateway creates a RemoveClusterBadGateway with default headers values

func (*RemoveClusterBadGateway) Code added in v0.3.7

func (o *RemoveClusterBadGateway) Code() int

Code gets the status code for the remove cluster bad gateway response

func (*RemoveClusterBadGateway) Error added in v0.2.0

func (o *RemoveClusterBadGateway) Error() string

func (*RemoveClusterBadGateway) GetPayload added in v0.2.0

func (o *RemoveClusterBadGateway) GetPayload() *models.ErrorResponse

func (*RemoveClusterBadGateway) IsClientError added in v0.3.3

func (o *RemoveClusterBadGateway) IsClientError() bool

IsClientError returns true when this remove cluster bad gateway response has a 4xx status code

func (*RemoveClusterBadGateway) IsCode added in v0.3.3

func (o *RemoveClusterBadGateway) IsCode(code int) bool

IsCode returns true when this remove cluster bad gateway response a status code equal to that given

func (*RemoveClusterBadGateway) IsRedirect added in v0.3.3

func (o *RemoveClusterBadGateway) IsRedirect() bool

IsRedirect returns true when this remove cluster bad gateway response has a 3xx status code

func (*RemoveClusterBadGateway) IsServerError added in v0.3.3

func (o *RemoveClusterBadGateway) IsServerError() bool

IsServerError returns true when this remove cluster bad gateway response has a 5xx status code

func (*RemoveClusterBadGateway) IsSuccess added in v0.3.3

func (o *RemoveClusterBadGateway) IsSuccess() bool

IsSuccess returns true when this remove cluster bad gateway response has a 2xx status code

func (*RemoveClusterBadGateway) String added in v0.3.3

func (o *RemoveClusterBadGateway) String() string

type RemoveClusterBadRequest added in v0.2.0

type RemoveClusterBadRequest struct {
	Payload *models.ErrorResponse
}

RemoveClusterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewRemoveClusterBadRequest added in v0.2.0

func NewRemoveClusterBadRequest() *RemoveClusterBadRequest

NewRemoveClusterBadRequest creates a RemoveClusterBadRequest with default headers values

func (*RemoveClusterBadRequest) Code added in v0.3.7

func (o *RemoveClusterBadRequest) Code() int

Code gets the status code for the remove cluster bad request response

func (*RemoveClusterBadRequest) Error added in v0.2.0

func (o *RemoveClusterBadRequest) Error() string

func (*RemoveClusterBadRequest) GetPayload added in v0.2.0

func (o *RemoveClusterBadRequest) GetPayload() *models.ErrorResponse

func (*RemoveClusterBadRequest) IsClientError added in v0.3.3

func (o *RemoveClusterBadRequest) IsClientError() bool

IsClientError returns true when this remove cluster bad request response has a 4xx status code

func (*RemoveClusterBadRequest) IsCode added in v0.3.3

func (o *RemoveClusterBadRequest) IsCode(code int) bool

IsCode returns true when this remove cluster bad request response a status code equal to that given

func (*RemoveClusterBadRequest) IsRedirect added in v0.3.3

func (o *RemoveClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this remove cluster bad request response has a 3xx status code

func (*RemoveClusterBadRequest) IsServerError added in v0.3.3

func (o *RemoveClusterBadRequest) IsServerError() bool

IsServerError returns true when this remove cluster bad request response has a 5xx status code

func (*RemoveClusterBadRequest) IsSuccess added in v0.3.3

func (o *RemoveClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this remove cluster bad request response has a 2xx status code

func (*RemoveClusterBadRequest) String added in v0.3.3

func (o *RemoveClusterBadRequest) String() string

type RemoveClusterOK added in v0.2.0

type RemoveClusterOK struct {
	Payload models.EmptyResponse
}

RemoveClusterOK describes a response with status code 200, with default header values.

OK

func NewRemoveClusterOK added in v0.2.0

func NewRemoveClusterOK() *RemoveClusterOK

NewRemoveClusterOK creates a RemoveClusterOK with default headers values

func (*RemoveClusterOK) Code added in v0.3.7

func (o *RemoveClusterOK) Code() int

Code gets the status code for the remove cluster o k response

func (*RemoveClusterOK) Error added in v0.2.0

func (o *RemoveClusterOK) Error() string

func (*RemoveClusterOK) GetPayload added in v0.2.0

func (o *RemoveClusterOK) GetPayload() models.EmptyResponse

func (*RemoveClusterOK) IsClientError added in v0.3.3

func (o *RemoveClusterOK) IsClientError() bool

IsClientError returns true when this remove cluster o k response has a 4xx status code

func (*RemoveClusterOK) IsCode added in v0.3.3

func (o *RemoveClusterOK) IsCode(code int) bool

IsCode returns true when this remove cluster o k response a status code equal to that given

func (*RemoveClusterOK) IsRedirect added in v0.3.3

func (o *RemoveClusterOK) IsRedirect() bool

IsRedirect returns true when this remove cluster o k response has a 3xx status code

func (*RemoveClusterOK) IsServerError added in v0.3.3

func (o *RemoveClusterOK) IsServerError() bool

IsServerError returns true when this remove cluster o k response has a 5xx status code

func (*RemoveClusterOK) IsSuccess added in v0.3.3

func (o *RemoveClusterOK) IsSuccess() bool

IsSuccess returns true when this remove cluster o k response has a 2xx status code

func (*RemoveClusterOK) String added in v0.3.3

func (o *RemoveClusterOK) String() string

type RemoveClusterParams added in v0.2.0

type RemoveClusterParams struct {

	/* ClusterName.

	   Cluster Name
	*/
	ClusterName string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

RemoveClusterParams contains all the parameters to send to the API endpoint

for the remove cluster operation.

Typically these are written to a http.Request.

func NewRemoveClusterParams added in v0.2.0

func NewRemoveClusterParams() *RemoveClusterParams

NewRemoveClusterParams creates a new RemoveClusterParams 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 NewRemoveClusterParamsWithContext added in v0.2.0

func NewRemoveClusterParamsWithContext(ctx context.Context) *RemoveClusterParams

NewRemoveClusterParamsWithContext creates a new RemoveClusterParams object with the ability to set a context for a request.

func NewRemoveClusterParamsWithHTTPClient added in v0.2.0

func NewRemoveClusterParamsWithHTTPClient(client *http.Client) *RemoveClusterParams

NewRemoveClusterParamsWithHTTPClient creates a new RemoveClusterParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveClusterParamsWithTimeout added in v0.2.0

func NewRemoveClusterParamsWithTimeout(timeout time.Duration) *RemoveClusterParams

NewRemoveClusterParamsWithTimeout creates a new RemoveClusterParams object with the ability to set a timeout on a request.

func (*RemoveClusterParams) SetClusterName added in v0.2.0

func (o *RemoveClusterParams) SetClusterName(clusterName string)

SetClusterName adds the clusterName to the remove cluster params

func (*RemoveClusterParams) SetContext added in v0.2.0

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

SetContext adds the context to the remove cluster params

func (*RemoveClusterParams) SetDefaults added in v0.2.0

func (o *RemoveClusterParams) SetDefaults()

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

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

func (*RemoveClusterParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the remove cluster params

func (*RemoveClusterParams) SetOrgName added in v0.2.0

func (o *RemoveClusterParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the remove cluster params

func (*RemoveClusterParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the remove cluster params

func (*RemoveClusterParams) WithClusterName added in v0.2.0

func (o *RemoveClusterParams) WithClusterName(clusterName string) *RemoveClusterParams

WithClusterName adds the clusterName to the remove cluster params

func (*RemoveClusterParams) WithContext added in v0.2.0

WithContext adds the context to the remove cluster params

func (*RemoveClusterParams) WithDefaults added in v0.2.0

func (o *RemoveClusterParams) WithDefaults() *RemoveClusterParams

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

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

func (*RemoveClusterParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the remove cluster params

func (*RemoveClusterParams) WithOrgName added in v0.2.0

func (o *RemoveClusterParams) WithOrgName(orgName string) *RemoveClusterParams

WithOrgName adds the orgName to the remove cluster params

func (*RemoveClusterParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the remove cluster params

func (*RemoveClusterParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type RemoveClusterReader added in v0.2.0

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

RemoveClusterReader is a Reader for the RemoveCluster structure.

func (*RemoveClusterReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type RemoveClusterUnauthorized added in v0.2.0

type RemoveClusterUnauthorized struct {
	Payload *models.ErrorResponse
}

RemoveClusterUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRemoveClusterUnauthorized added in v0.2.0

func NewRemoveClusterUnauthorized() *RemoveClusterUnauthorized

NewRemoveClusterUnauthorized creates a RemoveClusterUnauthorized with default headers values

func (*RemoveClusterUnauthorized) Code added in v0.3.7

func (o *RemoveClusterUnauthorized) Code() int

Code gets the status code for the remove cluster unauthorized response

func (*RemoveClusterUnauthorized) Error added in v0.2.0

func (o *RemoveClusterUnauthorized) Error() string

func (*RemoveClusterUnauthorized) GetPayload added in v0.2.0

func (*RemoveClusterUnauthorized) IsClientError added in v0.3.3

func (o *RemoveClusterUnauthorized) IsClientError() bool

IsClientError returns true when this remove cluster unauthorized response has a 4xx status code

func (*RemoveClusterUnauthorized) IsCode added in v0.3.3

func (o *RemoveClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this remove cluster unauthorized response a status code equal to that given

func (*RemoveClusterUnauthorized) IsRedirect added in v0.3.3

func (o *RemoveClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove cluster unauthorized response has a 3xx status code

func (*RemoveClusterUnauthorized) IsServerError added in v0.3.3

func (o *RemoveClusterUnauthorized) IsServerError() bool

IsServerError returns true when this remove cluster unauthorized response has a 5xx status code

func (*RemoveClusterUnauthorized) IsSuccess added in v0.3.3

func (o *RemoveClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove cluster unauthorized response has a 2xx status code

func (*RemoveClusterUnauthorized) String added in v0.3.3

func (o *RemoveClusterUnauthorized) String() string

Jump to

Keyboard shortcuts

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