cluster_service

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for cluster service API

func (*Client) ClusterServiceCreate

func (a *Client) ClusterServiceCreate(params *ClusterServiceCreateParams, opts ...ClientOption) (*ClusterServiceCreateOK, error)

ClusterServiceCreate creates creates a cluster

func (*Client) ClusterServiceDelete

func (a *Client) ClusterServiceDelete(params *ClusterServiceDeleteParams, opts ...ClientOption) (*ClusterServiceDeleteOK, error)

ClusterServiceDelete deletes deletes a cluster

func (*Client) ClusterServiceGet

func (a *Client) ClusterServiceGet(params *ClusterServiceGetParams, opts ...ClientOption) (*ClusterServiceGetOK, error)

ClusterServiceGet gets returns a cluster by server address

func (*Client) ClusterServiceInvalidateCache

func (a *Client) ClusterServiceInvalidateCache(params *ClusterServiceInvalidateCacheParams, opts ...ClientOption) (*ClusterServiceInvalidateCacheOK, error)

ClusterServiceInvalidateCache invalidates cache invalidates cluster cache

func (*Client) ClusterServiceList

func (a *Client) ClusterServiceList(params *ClusterServiceListParams, opts ...ClientOption) (*ClusterServiceListOK, error)

ClusterServiceList lists returns list of clusters

func (*Client) ClusterServiceRotateAuth

func (a *Client) ClusterServiceRotateAuth(params *ClusterServiceRotateAuthParams, opts ...ClientOption) (*ClusterServiceRotateAuthOK, error)

ClusterServiceRotateAuth rotates auth rotates the bearer token used for a cluster

func (*Client) ClusterServiceUpdate

func (a *Client) ClusterServiceUpdate(params *ClusterServiceUpdateParams, opts ...ClientOption) (*ClusterServiceUpdateOK, error)

ClusterServiceUpdate updates updates a cluster

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ClusterServiceCreate(params *ClusterServiceCreateParams, opts ...ClientOption) (*ClusterServiceCreateOK, error)

	ClusterServiceDelete(params *ClusterServiceDeleteParams, opts ...ClientOption) (*ClusterServiceDeleteOK, error)

	ClusterServiceGet(params *ClusterServiceGetParams, opts ...ClientOption) (*ClusterServiceGetOK, error)

	ClusterServiceInvalidateCache(params *ClusterServiceInvalidateCacheParams, opts ...ClientOption) (*ClusterServiceInvalidateCacheOK, error)

	ClusterServiceList(params *ClusterServiceListParams, opts ...ClientOption) (*ClusterServiceListOK, error)

	ClusterServiceRotateAuth(params *ClusterServiceRotateAuthParams, opts ...ClientOption) (*ClusterServiceRotateAuthOK, error)

	ClusterServiceUpdate(params *ClusterServiceUpdateParams, opts ...ClientOption) (*ClusterServiceUpdateOK, 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 service API client.

type ClusterServiceCreateDefault

type ClusterServiceCreateDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceCreateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceCreateDefault

func NewClusterServiceCreateDefault(code int) *ClusterServiceCreateDefault

NewClusterServiceCreateDefault creates a ClusterServiceCreateDefault with default headers values

func (*ClusterServiceCreateDefault) Code

func (o *ClusterServiceCreateDefault) Code() int

Code gets the status code for the cluster service create default response

func (*ClusterServiceCreateDefault) Error

func (*ClusterServiceCreateDefault) GetPayload

type ClusterServiceCreateOK

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

A successful response.

func NewClusterServiceCreateOK

func NewClusterServiceCreateOK() *ClusterServiceCreateOK

NewClusterServiceCreateOK creates a ClusterServiceCreateOK with default headers values

func (*ClusterServiceCreateOK) Error

func (o *ClusterServiceCreateOK) Error() string

func (*ClusterServiceCreateOK) GetPayload

type ClusterServiceCreateParams

type ClusterServiceCreateParams struct {

	// Body.
	Body *models.V1alpha1Cluster

	// Upsert.
	Upsert *bool

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

ClusterServiceCreateParams contains all the parameters to send to the API endpoint

for the cluster service create operation.

Typically these are written to a http.Request.

func NewClusterServiceCreateParams

func NewClusterServiceCreateParams() *ClusterServiceCreateParams

NewClusterServiceCreateParams creates a new ClusterServiceCreateParams 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 NewClusterServiceCreateParamsWithContext

func NewClusterServiceCreateParamsWithContext(ctx context.Context) *ClusterServiceCreateParams

NewClusterServiceCreateParamsWithContext creates a new ClusterServiceCreateParams object with the ability to set a context for a request.

func NewClusterServiceCreateParamsWithHTTPClient

func NewClusterServiceCreateParamsWithHTTPClient(client *http.Client) *ClusterServiceCreateParams

NewClusterServiceCreateParamsWithHTTPClient creates a new ClusterServiceCreateParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceCreateParamsWithTimeout

func NewClusterServiceCreateParamsWithTimeout(timeout time.Duration) *ClusterServiceCreateParams

NewClusterServiceCreateParamsWithTimeout creates a new ClusterServiceCreateParams object with the ability to set a timeout on a request.

func (*ClusterServiceCreateParams) SetBody

SetBody adds the body to the cluster service create params

func (*ClusterServiceCreateParams) SetContext

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

SetContext adds the context to the cluster service create params

func (*ClusterServiceCreateParams) SetDefaults

func (o *ClusterServiceCreateParams) SetDefaults()

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

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

func (*ClusterServiceCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service create params

func (*ClusterServiceCreateParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service create params

func (*ClusterServiceCreateParams) SetUpsert

func (o *ClusterServiceCreateParams) SetUpsert(upsert *bool)

SetUpsert adds the upsert to the cluster service create params

func (*ClusterServiceCreateParams) WithBody

WithBody adds the body to the cluster service create params

func (*ClusterServiceCreateParams) WithContext

WithContext adds the context to the cluster service create params

func (*ClusterServiceCreateParams) WithDefaults

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

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

func (*ClusterServiceCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster service create params

func (*ClusterServiceCreateParams) WithTimeout

WithTimeout adds the timeout to the cluster service create params

func (*ClusterServiceCreateParams) WithUpsert

WithUpsert adds the upsert to the cluster service create params

func (*ClusterServiceCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceCreateReader

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

ClusterServiceCreateReader is a Reader for the ClusterServiceCreate structure.

func (*ClusterServiceCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterServiceDeleteDefault

type ClusterServiceDeleteDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceDeleteDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceDeleteDefault

func NewClusterServiceDeleteDefault(code int) *ClusterServiceDeleteDefault

NewClusterServiceDeleteDefault creates a ClusterServiceDeleteDefault with default headers values

func (*ClusterServiceDeleteDefault) Code

func (o *ClusterServiceDeleteDefault) Code() int

Code gets the status code for the cluster service delete default response

func (*ClusterServiceDeleteDefault) Error

func (*ClusterServiceDeleteDefault) GetPayload

type ClusterServiceDeleteOK

type ClusterServiceDeleteOK struct {
	Payload models.ClusterClusterResponse
}
ClusterServiceDeleteOK describes a response with status code 200, with default header values.

A successful response.

func NewClusterServiceDeleteOK

func NewClusterServiceDeleteOK() *ClusterServiceDeleteOK

NewClusterServiceDeleteOK creates a ClusterServiceDeleteOK with default headers values

func (*ClusterServiceDeleteOK) Error

func (o *ClusterServiceDeleteOK) Error() string

func (*ClusterServiceDeleteOK) GetPayload

type ClusterServiceDeleteParams

type ClusterServiceDeleteParams struct {

	/* IDType.

	   type is the type of the specified cluster identifier ( "server" - default, "name" ).
	*/
	IDType *string

	/* IDValue.

	   value holds the cluster server URL or cluster name
	*/
	IDValue string

	// Name.
	Name *string

	// Server.
	Server *string

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

ClusterServiceDeleteParams contains all the parameters to send to the API endpoint

for the cluster service delete operation.

Typically these are written to a http.Request.

func NewClusterServiceDeleteParams

func NewClusterServiceDeleteParams() *ClusterServiceDeleteParams

NewClusterServiceDeleteParams creates a new ClusterServiceDeleteParams 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 NewClusterServiceDeleteParamsWithContext

func NewClusterServiceDeleteParamsWithContext(ctx context.Context) *ClusterServiceDeleteParams

NewClusterServiceDeleteParamsWithContext creates a new ClusterServiceDeleteParams object with the ability to set a context for a request.

func NewClusterServiceDeleteParamsWithHTTPClient

func NewClusterServiceDeleteParamsWithHTTPClient(client *http.Client) *ClusterServiceDeleteParams

NewClusterServiceDeleteParamsWithHTTPClient creates a new ClusterServiceDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceDeleteParamsWithTimeout

func NewClusterServiceDeleteParamsWithTimeout(timeout time.Duration) *ClusterServiceDeleteParams

NewClusterServiceDeleteParamsWithTimeout creates a new ClusterServiceDeleteParams object with the ability to set a timeout on a request.

func (*ClusterServiceDeleteParams) SetContext

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

SetContext adds the context to the cluster service delete params

func (*ClusterServiceDeleteParams) SetDefaults

func (o *ClusterServiceDeleteParams) SetDefaults()

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

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

func (*ClusterServiceDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service delete params

func (*ClusterServiceDeleteParams) SetIDType

func (o *ClusterServiceDeleteParams) SetIDType(iDType *string)

SetIDType adds the idType to the cluster service delete params

func (*ClusterServiceDeleteParams) SetIDValue

func (o *ClusterServiceDeleteParams) SetIDValue(iDValue string)

SetIDValue adds the idValue to the cluster service delete params

func (*ClusterServiceDeleteParams) SetName

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

SetName adds the name to the cluster service delete params

func (*ClusterServiceDeleteParams) SetServer

func (o *ClusterServiceDeleteParams) SetServer(server *string)

SetServer adds the server to the cluster service delete params

func (*ClusterServiceDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service delete params

func (*ClusterServiceDeleteParams) WithContext

WithContext adds the context to the cluster service delete params

func (*ClusterServiceDeleteParams) WithDefaults

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

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

func (*ClusterServiceDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster service delete params

func (*ClusterServiceDeleteParams) WithIDType

WithIDType adds the iDType to the cluster service delete params

func (*ClusterServiceDeleteParams) WithIDValue

WithIDValue adds the iDValue to the cluster service delete params

func (*ClusterServiceDeleteParams) WithName

WithName adds the name to the cluster service delete params

func (*ClusterServiceDeleteParams) WithServer

WithServer adds the server to the cluster service delete params

func (*ClusterServiceDeleteParams) WithTimeout

WithTimeout adds the timeout to the cluster service delete params

func (*ClusterServiceDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceDeleteReader

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

ClusterServiceDeleteReader is a Reader for the ClusterServiceDelete structure.

func (*ClusterServiceDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterServiceGetDefault

type ClusterServiceGetDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceGetDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceGetDefault

func NewClusterServiceGetDefault(code int) *ClusterServiceGetDefault

NewClusterServiceGetDefault creates a ClusterServiceGetDefault with default headers values

func (*ClusterServiceGetDefault) Code

func (o *ClusterServiceGetDefault) Code() int

Code gets the status code for the cluster service get default response

func (*ClusterServiceGetDefault) Error

func (o *ClusterServiceGetDefault) Error() string

func (*ClusterServiceGetDefault) GetPayload

func (o *ClusterServiceGetDefault) GetPayload() *models.RuntimeError

type ClusterServiceGetOK

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

A successful response.

func NewClusterServiceGetOK

func NewClusterServiceGetOK() *ClusterServiceGetOK

NewClusterServiceGetOK creates a ClusterServiceGetOK with default headers values

func (*ClusterServiceGetOK) Error

func (o *ClusterServiceGetOK) Error() string

func (*ClusterServiceGetOK) GetPayload

func (o *ClusterServiceGetOK) GetPayload() *models.V1alpha1Cluster

type ClusterServiceGetParams

type ClusterServiceGetParams struct {

	/* IDType.

	   type is the type of the specified cluster identifier ( "server" - default, "name" ).
	*/
	IDType *string

	/* IDValue.

	   value holds the cluster server URL or cluster name
	*/
	IDValue string

	// Name.
	Name *string

	// Server.
	Server *string

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

ClusterServiceGetParams contains all the parameters to send to the API endpoint

for the cluster service get operation.

Typically these are written to a http.Request.

func NewClusterServiceGetParams

func NewClusterServiceGetParams() *ClusterServiceGetParams

NewClusterServiceGetParams creates a new ClusterServiceGetParams 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 NewClusterServiceGetParamsWithContext

func NewClusterServiceGetParamsWithContext(ctx context.Context) *ClusterServiceGetParams

NewClusterServiceGetParamsWithContext creates a new ClusterServiceGetParams object with the ability to set a context for a request.

func NewClusterServiceGetParamsWithHTTPClient

func NewClusterServiceGetParamsWithHTTPClient(client *http.Client) *ClusterServiceGetParams

NewClusterServiceGetParamsWithHTTPClient creates a new ClusterServiceGetParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceGetParamsWithTimeout

func NewClusterServiceGetParamsWithTimeout(timeout time.Duration) *ClusterServiceGetParams

NewClusterServiceGetParamsWithTimeout creates a new ClusterServiceGetParams object with the ability to set a timeout on a request.

func (*ClusterServiceGetParams) SetContext

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

SetContext adds the context to the cluster service get params

func (*ClusterServiceGetParams) SetDefaults

func (o *ClusterServiceGetParams) SetDefaults()

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

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

func (*ClusterServiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service get params

func (*ClusterServiceGetParams) SetIDType

func (o *ClusterServiceGetParams) SetIDType(iDType *string)

SetIDType adds the idType to the cluster service get params

func (*ClusterServiceGetParams) SetIDValue

func (o *ClusterServiceGetParams) SetIDValue(iDValue string)

SetIDValue adds the idValue to the cluster service get params

func (*ClusterServiceGetParams) SetName

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

SetName adds the name to the cluster service get params

func (*ClusterServiceGetParams) SetServer

func (o *ClusterServiceGetParams) SetServer(server *string)

SetServer adds the server to the cluster service get params

func (*ClusterServiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service get params

func (*ClusterServiceGetParams) WithContext

WithContext adds the context to the cluster service get params

func (*ClusterServiceGetParams) WithDefaults

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

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

func (*ClusterServiceGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cluster service get params

func (*ClusterServiceGetParams) WithIDType

func (o *ClusterServiceGetParams) WithIDType(iDType *string) *ClusterServiceGetParams

WithIDType adds the iDType to the cluster service get params

func (*ClusterServiceGetParams) WithIDValue

func (o *ClusterServiceGetParams) WithIDValue(iDValue string) *ClusterServiceGetParams

WithIDValue adds the iDValue to the cluster service get params

func (*ClusterServiceGetParams) WithName

WithName adds the name to the cluster service get params

func (*ClusterServiceGetParams) WithServer

func (o *ClusterServiceGetParams) WithServer(server *string) *ClusterServiceGetParams

WithServer adds the server to the cluster service get params

func (*ClusterServiceGetParams) WithTimeout

WithTimeout adds the timeout to the cluster service get params

func (*ClusterServiceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceGetReader

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

ClusterServiceGetReader is a Reader for the ClusterServiceGet structure.

func (*ClusterServiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterServiceInvalidateCacheDefault

type ClusterServiceInvalidateCacheDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceInvalidateCacheDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceInvalidateCacheDefault

func NewClusterServiceInvalidateCacheDefault(code int) *ClusterServiceInvalidateCacheDefault

NewClusterServiceInvalidateCacheDefault creates a ClusterServiceInvalidateCacheDefault with default headers values

func (*ClusterServiceInvalidateCacheDefault) Code

Code gets the status code for the cluster service invalidate cache default response

func (*ClusterServiceInvalidateCacheDefault) Error

func (*ClusterServiceInvalidateCacheDefault) GetPayload

type ClusterServiceInvalidateCacheOK

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

A successful response.

func NewClusterServiceInvalidateCacheOK

func NewClusterServiceInvalidateCacheOK() *ClusterServiceInvalidateCacheOK

NewClusterServiceInvalidateCacheOK creates a ClusterServiceInvalidateCacheOK with default headers values

func (*ClusterServiceInvalidateCacheOK) Error

func (*ClusterServiceInvalidateCacheOK) GetPayload

type ClusterServiceInvalidateCacheParams

type ClusterServiceInvalidateCacheParams struct {

	/* IDValue.

	   value holds the cluster server URL or cluster name
	*/
	IDValue string

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

ClusterServiceInvalidateCacheParams contains all the parameters to send to the API endpoint

for the cluster service invalidate cache operation.

Typically these are written to a http.Request.

func NewClusterServiceInvalidateCacheParams

func NewClusterServiceInvalidateCacheParams() *ClusterServiceInvalidateCacheParams

NewClusterServiceInvalidateCacheParams creates a new ClusterServiceInvalidateCacheParams 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 NewClusterServiceInvalidateCacheParamsWithContext

func NewClusterServiceInvalidateCacheParamsWithContext(ctx context.Context) *ClusterServiceInvalidateCacheParams

NewClusterServiceInvalidateCacheParamsWithContext creates a new ClusterServiceInvalidateCacheParams object with the ability to set a context for a request.

func NewClusterServiceInvalidateCacheParamsWithHTTPClient

func NewClusterServiceInvalidateCacheParamsWithHTTPClient(client *http.Client) *ClusterServiceInvalidateCacheParams

NewClusterServiceInvalidateCacheParamsWithHTTPClient creates a new ClusterServiceInvalidateCacheParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceInvalidateCacheParamsWithTimeout

func NewClusterServiceInvalidateCacheParamsWithTimeout(timeout time.Duration) *ClusterServiceInvalidateCacheParams

NewClusterServiceInvalidateCacheParamsWithTimeout creates a new ClusterServiceInvalidateCacheParams object with the ability to set a timeout on a request.

func (*ClusterServiceInvalidateCacheParams) SetContext

SetContext adds the context to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) SetDefaults

func (o *ClusterServiceInvalidateCacheParams) SetDefaults()

SetDefaults hydrates default values in the cluster service invalidate cache params (not the query body).

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

func (*ClusterServiceInvalidateCacheParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) SetIDValue

func (o *ClusterServiceInvalidateCacheParams) SetIDValue(iDValue string)

SetIDValue adds the idValue to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) WithContext

WithContext adds the context to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) WithDefaults

WithDefaults hydrates default values in the cluster service invalidate cache params (not the query body).

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

func (*ClusterServiceInvalidateCacheParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) WithIDValue

WithIDValue adds the iDValue to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) WithTimeout

WithTimeout adds the timeout to the cluster service invalidate cache params

func (*ClusterServiceInvalidateCacheParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceInvalidateCacheReader

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

ClusterServiceInvalidateCacheReader is a Reader for the ClusterServiceInvalidateCache structure.

func (*ClusterServiceInvalidateCacheReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterServiceListDefault

type ClusterServiceListDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceListDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceListDefault

func NewClusterServiceListDefault(code int) *ClusterServiceListDefault

NewClusterServiceListDefault creates a ClusterServiceListDefault with default headers values

func (*ClusterServiceListDefault) Code

func (o *ClusterServiceListDefault) Code() int

Code gets the status code for the cluster service list default response

func (*ClusterServiceListDefault) Error

func (o *ClusterServiceListDefault) Error() string

func (*ClusterServiceListDefault) GetPayload

type ClusterServiceListOK

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

A successful response.

func NewClusterServiceListOK

func NewClusterServiceListOK() *ClusterServiceListOK

NewClusterServiceListOK creates a ClusterServiceListOK with default headers values

func (*ClusterServiceListOK) Error

func (o *ClusterServiceListOK) Error() string

func (*ClusterServiceListOK) GetPayload

type ClusterServiceListParams

type ClusterServiceListParams struct {

	/* IDType.

	   type is the type of the specified cluster identifier ( "server" - default, "name" ).
	*/
	IDType *string

	/* IDValue.

	   value holds the cluster server URL or cluster name.
	*/
	IDValue *string

	// Name.
	Name *string

	// Server.
	Server *string

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

ClusterServiceListParams contains all the parameters to send to the API endpoint

for the cluster service list operation.

Typically these are written to a http.Request.

func NewClusterServiceListParams

func NewClusterServiceListParams() *ClusterServiceListParams

NewClusterServiceListParams creates a new ClusterServiceListParams 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 NewClusterServiceListParamsWithContext

func NewClusterServiceListParamsWithContext(ctx context.Context) *ClusterServiceListParams

NewClusterServiceListParamsWithContext creates a new ClusterServiceListParams object with the ability to set a context for a request.

func NewClusterServiceListParamsWithHTTPClient

func NewClusterServiceListParamsWithHTTPClient(client *http.Client) *ClusterServiceListParams

NewClusterServiceListParamsWithHTTPClient creates a new ClusterServiceListParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceListParamsWithTimeout

func NewClusterServiceListParamsWithTimeout(timeout time.Duration) *ClusterServiceListParams

NewClusterServiceListParamsWithTimeout creates a new ClusterServiceListParams object with the ability to set a timeout on a request.

func (*ClusterServiceListParams) SetContext

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

SetContext adds the context to the cluster service list params

func (*ClusterServiceListParams) SetDefaults

func (o *ClusterServiceListParams) SetDefaults()

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

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

func (*ClusterServiceListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service list params

func (*ClusterServiceListParams) SetIDType

func (o *ClusterServiceListParams) SetIDType(iDType *string)

SetIDType adds the idType to the cluster service list params

func (*ClusterServiceListParams) SetIDValue

func (o *ClusterServiceListParams) SetIDValue(iDValue *string)

SetIDValue adds the idValue to the cluster service list params

func (*ClusterServiceListParams) SetName

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

SetName adds the name to the cluster service list params

func (*ClusterServiceListParams) SetServer

func (o *ClusterServiceListParams) SetServer(server *string)

SetServer adds the server to the cluster service list params

func (*ClusterServiceListParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service list params

func (*ClusterServiceListParams) WithContext

WithContext adds the context to the cluster service list params

func (*ClusterServiceListParams) WithDefaults

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

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

func (*ClusterServiceListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cluster service list params

func (*ClusterServiceListParams) WithIDType

WithIDType adds the iDType to the cluster service list params

func (*ClusterServiceListParams) WithIDValue

func (o *ClusterServiceListParams) WithIDValue(iDValue *string) *ClusterServiceListParams

WithIDValue adds the iDValue to the cluster service list params

func (*ClusterServiceListParams) WithName

WithName adds the name to the cluster service list params

func (*ClusterServiceListParams) WithServer

WithServer adds the server to the cluster service list params

func (*ClusterServiceListParams) WithTimeout

WithTimeout adds the timeout to the cluster service list params

func (*ClusterServiceListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceListReader

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

ClusterServiceListReader is a Reader for the ClusterServiceList structure.

func (*ClusterServiceListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterServiceRotateAuthDefault

type ClusterServiceRotateAuthDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceRotateAuthDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceRotateAuthDefault

func NewClusterServiceRotateAuthDefault(code int) *ClusterServiceRotateAuthDefault

NewClusterServiceRotateAuthDefault creates a ClusterServiceRotateAuthDefault with default headers values

func (*ClusterServiceRotateAuthDefault) Code

Code gets the status code for the cluster service rotate auth default response

func (*ClusterServiceRotateAuthDefault) Error

func (*ClusterServiceRotateAuthDefault) GetPayload

type ClusterServiceRotateAuthOK

type ClusterServiceRotateAuthOK struct {
	Payload models.ClusterClusterResponse
}
ClusterServiceRotateAuthOK describes a response with status code 200, with default header values.

A successful response.

func NewClusterServiceRotateAuthOK

func NewClusterServiceRotateAuthOK() *ClusterServiceRotateAuthOK

NewClusterServiceRotateAuthOK creates a ClusterServiceRotateAuthOK with default headers values

func (*ClusterServiceRotateAuthOK) Error

func (*ClusterServiceRotateAuthOK) GetPayload

type ClusterServiceRotateAuthParams

type ClusterServiceRotateAuthParams struct {

	/* IDValue.

	   value holds the cluster server URL or cluster name
	*/
	IDValue string

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

ClusterServiceRotateAuthParams contains all the parameters to send to the API endpoint

for the cluster service rotate auth operation.

Typically these are written to a http.Request.

func NewClusterServiceRotateAuthParams

func NewClusterServiceRotateAuthParams() *ClusterServiceRotateAuthParams

NewClusterServiceRotateAuthParams creates a new ClusterServiceRotateAuthParams 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 NewClusterServiceRotateAuthParamsWithContext

func NewClusterServiceRotateAuthParamsWithContext(ctx context.Context) *ClusterServiceRotateAuthParams

NewClusterServiceRotateAuthParamsWithContext creates a new ClusterServiceRotateAuthParams object with the ability to set a context for a request.

func NewClusterServiceRotateAuthParamsWithHTTPClient

func NewClusterServiceRotateAuthParamsWithHTTPClient(client *http.Client) *ClusterServiceRotateAuthParams

NewClusterServiceRotateAuthParamsWithHTTPClient creates a new ClusterServiceRotateAuthParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceRotateAuthParamsWithTimeout

func NewClusterServiceRotateAuthParamsWithTimeout(timeout time.Duration) *ClusterServiceRotateAuthParams

NewClusterServiceRotateAuthParamsWithTimeout creates a new ClusterServiceRotateAuthParams object with the ability to set a timeout on a request.

func (*ClusterServiceRotateAuthParams) SetContext

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

SetContext adds the context to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) SetDefaults

func (o *ClusterServiceRotateAuthParams) SetDefaults()

SetDefaults hydrates default values in the cluster service rotate auth params (not the query body).

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

func (*ClusterServiceRotateAuthParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) SetIDValue

func (o *ClusterServiceRotateAuthParams) SetIDValue(iDValue string)

SetIDValue adds the idValue to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) WithContext

WithContext adds the context to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) WithDefaults

WithDefaults hydrates default values in the cluster service rotate auth params (not the query body).

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

func (*ClusterServiceRotateAuthParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) WithIDValue

WithIDValue adds the iDValue to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) WithTimeout

WithTimeout adds the timeout to the cluster service rotate auth params

func (*ClusterServiceRotateAuthParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceRotateAuthReader

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

ClusterServiceRotateAuthReader is a Reader for the ClusterServiceRotateAuth structure.

func (*ClusterServiceRotateAuthReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClusterServiceUpdateDefault

type ClusterServiceUpdateDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
ClusterServiceUpdateDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewClusterServiceUpdateDefault

func NewClusterServiceUpdateDefault(code int) *ClusterServiceUpdateDefault

NewClusterServiceUpdateDefault creates a ClusterServiceUpdateDefault with default headers values

func (*ClusterServiceUpdateDefault) Code

func (o *ClusterServiceUpdateDefault) Code() int

Code gets the status code for the cluster service update default response

func (*ClusterServiceUpdateDefault) Error

func (*ClusterServiceUpdateDefault) GetPayload

type ClusterServiceUpdateOK

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

A successful response.

func NewClusterServiceUpdateOK

func NewClusterServiceUpdateOK() *ClusterServiceUpdateOK

NewClusterServiceUpdateOK creates a ClusterServiceUpdateOK with default headers values

func (*ClusterServiceUpdateOK) Error

func (o *ClusterServiceUpdateOK) Error() string

func (*ClusterServiceUpdateOK) GetPayload

type ClusterServiceUpdateParams

type ClusterServiceUpdateParams struct {

	// Body.
	Body *models.V1alpha1Cluster

	/* IDType.

	   type is the type of the specified cluster identifier ( "server" - default, "name" ).
	*/
	IDType *string

	/* IDValue.

	   value holds the cluster server URL or cluster name
	*/
	IDValue string

	// UpdatedFields.
	UpdatedFields []string

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

ClusterServiceUpdateParams contains all the parameters to send to the API endpoint

for the cluster service update operation.

Typically these are written to a http.Request.

func NewClusterServiceUpdateParams

func NewClusterServiceUpdateParams() *ClusterServiceUpdateParams

NewClusterServiceUpdateParams creates a new ClusterServiceUpdateParams 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 NewClusterServiceUpdateParamsWithContext

func NewClusterServiceUpdateParamsWithContext(ctx context.Context) *ClusterServiceUpdateParams

NewClusterServiceUpdateParamsWithContext creates a new ClusterServiceUpdateParams object with the ability to set a context for a request.

func NewClusterServiceUpdateParamsWithHTTPClient

func NewClusterServiceUpdateParamsWithHTTPClient(client *http.Client) *ClusterServiceUpdateParams

NewClusterServiceUpdateParamsWithHTTPClient creates a new ClusterServiceUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewClusterServiceUpdateParamsWithTimeout

func NewClusterServiceUpdateParamsWithTimeout(timeout time.Duration) *ClusterServiceUpdateParams

NewClusterServiceUpdateParamsWithTimeout creates a new ClusterServiceUpdateParams object with the ability to set a timeout on a request.

func (*ClusterServiceUpdateParams) SetBody

SetBody adds the body to the cluster service update params

func (*ClusterServiceUpdateParams) SetContext

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

SetContext adds the context to the cluster service update params

func (*ClusterServiceUpdateParams) SetDefaults

func (o *ClusterServiceUpdateParams) SetDefaults()

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

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

func (*ClusterServiceUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster service update params

func (*ClusterServiceUpdateParams) SetIDType

func (o *ClusterServiceUpdateParams) SetIDType(iDType *string)

SetIDType adds the idType to the cluster service update params

func (*ClusterServiceUpdateParams) SetIDValue

func (o *ClusterServiceUpdateParams) SetIDValue(iDValue string)

SetIDValue adds the idValue to the cluster service update params

func (*ClusterServiceUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the cluster service update params

func (*ClusterServiceUpdateParams) SetUpdatedFields

func (o *ClusterServiceUpdateParams) SetUpdatedFields(updatedFields []string)

SetUpdatedFields adds the updatedFields to the cluster service update params

func (*ClusterServiceUpdateParams) WithBody

WithBody adds the body to the cluster service update params

func (*ClusterServiceUpdateParams) WithContext

WithContext adds the context to the cluster service update params

func (*ClusterServiceUpdateParams) WithDefaults

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

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

func (*ClusterServiceUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster service update params

func (*ClusterServiceUpdateParams) WithIDType

WithIDType adds the iDType to the cluster service update params

func (*ClusterServiceUpdateParams) WithIDValue

WithIDValue adds the iDValue to the cluster service update params

func (*ClusterServiceUpdateParams) WithTimeout

WithTimeout adds the timeout to the cluster service update params

func (*ClusterServiceUpdateParams) WithUpdatedFields

func (o *ClusterServiceUpdateParams) WithUpdatedFields(updatedFields []string) *ClusterServiceUpdateParams

WithUpdatedFields adds the updatedFields to the cluster service update params

func (*ClusterServiceUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClusterServiceUpdateReader

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

ClusterServiceUpdateReader is a Reader for the ClusterServiceUpdate structure.

func (*ClusterServiceUpdateReader) ReadResponse

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