supervisor_clusters

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 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 supervisor clusters API

func (*Client) ExistingTanzuClustersUsingGET added in v0.5.0

func (a *Client) ExistingTanzuClustersUsingGET(params *ExistingTanzuClustersUsingGETParams, opts ...ClientOption) (*ExistingTanzuClustersUsingGETOK, error)

ExistingTanzuClustersUsingGET gets all existing tanzu kubernetes clusters on a supervisor cluster

Get all existing tanzu kubernetes clusters on a supervisor cluster.

func (*Client) GetClusterUsingGET1

func (a *Client) GetClusterUsingGET1(params *GetClusterUsingGET1Params, opts ...ClientOption) (*GetClusterUsingGET1OK, error)

GetClusterUsingGET1 finds a supervisor cluster by v sphere moref and v sphere endpoint id

Retrieve a Supervisor Cluster by vSphere moref and id from the endpoint self link of the vSphere endpoint this cluster is associated to

func (*Client) GetClusterUsingGET2

func (a *Client) GetClusterUsingGET2(params *GetClusterUsingGET2Params, opts ...ClientOption) (*GetClusterUsingGET2OK, error)

GetClusterUsingGET2 finds a supervisor cluster by the id from document self link

Retrieve a Supervisor Cluster by id from documentSelfLink

func (*Client) ListClustersOnEndpointUsingGET

func (a *Client) ListClustersOnEndpointUsingGET(params *ListClustersOnEndpointUsingGETParams, opts ...ClientOption) (*ListClustersOnEndpointUsingGETOK, error)

ListClustersOnEndpointUsingGET gets all supervisor clusters on a v sphere endpoint

Get all Supervisor Clusters on a vSphere endpoint by provided id from the endpoint self link

func (*Client) ListUsingGET4

func (a *Client) ListUsingGET4(params *ListUsingGET4Params, opts ...ClientOption) (*ListUsingGET4OK, error)

ListUsingGET4 gets all managed supervisor clusters

Get all managed Supervisor Clusters

func (*Client) RegisterUsingPUT1

func (a *Client) RegisterUsingPUT1(params *RegisterUsingPUT1Params, opts ...ClientOption) (*RegisterUsingPUT1OK, error)

RegisterUsingPUT1 makes a supervisor cluster a managed entity

A valid document self link id shall be provided.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnregisterUsingDELETE

func (a *Client) UnregisterUsingDELETE(params *UnregisterUsingDELETEParams, opts ...ClientOption) (*UnregisterUsingDELETEOK, error)

UnregisterUsingDELETE makes a supervisor cluster an unmanaged entity

A valid document self link id shall be provided.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ExistingTanzuClustersUsingGET(params *ExistingTanzuClustersUsingGETParams, opts ...ClientOption) (*ExistingTanzuClustersUsingGETOK, error)

	GetClusterUsingGET1(params *GetClusterUsingGET1Params, opts ...ClientOption) (*GetClusterUsingGET1OK, error)

	GetClusterUsingGET2(params *GetClusterUsingGET2Params, opts ...ClientOption) (*GetClusterUsingGET2OK, error)

	ListClustersOnEndpointUsingGET(params *ListClustersOnEndpointUsingGETParams, opts ...ClientOption) (*ListClustersOnEndpointUsingGETOK, error)

	ListUsingGET4(params *ListUsingGET4Params, opts ...ClientOption) (*ListUsingGET4OK, error)

	RegisterUsingPUT1(params *RegisterUsingPUT1Params, opts ...ClientOption) (*RegisterUsingPUT1OK, error)

	UnregisterUsingDELETE(params *UnregisterUsingDELETEParams, opts ...ClientOption) (*UnregisterUsingDELETEOK, 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 supervisor clusters API client.

type ExistingTanzuClustersUsingGETForbidden added in v0.5.0

type ExistingTanzuClustersUsingGETForbidden struct {
}

ExistingTanzuClustersUsingGETForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewExistingTanzuClustersUsingGETForbidden added in v0.5.0

func NewExistingTanzuClustersUsingGETForbidden() *ExistingTanzuClustersUsingGETForbidden

NewExistingTanzuClustersUsingGETForbidden creates a ExistingTanzuClustersUsingGETForbidden with default headers values

func (*ExistingTanzuClustersUsingGETForbidden) Error added in v0.5.0

func (*ExistingTanzuClustersUsingGETForbidden) IsClientError added in v0.5.0

func (o *ExistingTanzuClustersUsingGETForbidden) IsClientError() bool

IsClientError returns true when this existing tanzu clusters using g e t forbidden response has a 4xx status code

func (*ExistingTanzuClustersUsingGETForbidden) IsCode added in v0.5.0

IsCode returns true when this existing tanzu clusters using g e t forbidden response a status code equal to that given

func (*ExistingTanzuClustersUsingGETForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this existing tanzu clusters using g e t forbidden response has a 3xx status code

func (*ExistingTanzuClustersUsingGETForbidden) IsServerError added in v0.5.0

func (o *ExistingTanzuClustersUsingGETForbidden) IsServerError() bool

IsServerError returns true when this existing tanzu clusters using g e t forbidden response has a 5xx status code

func (*ExistingTanzuClustersUsingGETForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this existing tanzu clusters using g e t forbidden response has a 2xx status code

func (*ExistingTanzuClustersUsingGETForbidden) String added in v0.5.0

type ExistingTanzuClustersUsingGETOK added in v0.5.0

type ExistingTanzuClustersUsingGETOK struct {
	Payload []*models.K8SCluster
}

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

OK

func NewExistingTanzuClustersUsingGETOK added in v0.5.0

func NewExistingTanzuClustersUsingGETOK() *ExistingTanzuClustersUsingGETOK

NewExistingTanzuClustersUsingGETOK creates a ExistingTanzuClustersUsingGETOK with default headers values

func (*ExistingTanzuClustersUsingGETOK) Error added in v0.5.0

func (*ExistingTanzuClustersUsingGETOK) GetPayload added in v0.5.0

func (*ExistingTanzuClustersUsingGETOK) IsClientError added in v0.5.0

func (o *ExistingTanzuClustersUsingGETOK) IsClientError() bool

IsClientError returns true when this existing tanzu clusters using g e t o k response has a 4xx status code

func (*ExistingTanzuClustersUsingGETOK) IsCode added in v0.5.0

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

IsCode returns true when this existing tanzu clusters using g e t o k response a status code equal to that given

func (*ExistingTanzuClustersUsingGETOK) IsRedirect added in v0.5.0

func (o *ExistingTanzuClustersUsingGETOK) IsRedirect() bool

IsRedirect returns true when this existing tanzu clusters using g e t o k response has a 3xx status code

func (*ExistingTanzuClustersUsingGETOK) IsServerError added in v0.5.0

func (o *ExistingTanzuClustersUsingGETOK) IsServerError() bool

IsServerError returns true when this existing tanzu clusters using g e t o k response has a 5xx status code

func (*ExistingTanzuClustersUsingGETOK) IsSuccess added in v0.5.0

func (o *ExistingTanzuClustersUsingGETOK) IsSuccess() bool

IsSuccess returns true when this existing tanzu clusters using g e t o k response has a 2xx status code

func (*ExistingTanzuClustersUsingGETOK) String added in v0.5.0

type ExistingTanzuClustersUsingGETParams added in v0.5.0

type ExistingTanzuClustersUsingGETParams struct {

	/* Registered.

	   registered
	*/
	Registered *string

	/* SearchTerm.

	   searchTerm
	*/
	SearchTerm *string

	/* SelfLinkID.

	   selfLinkId
	*/
	SelfLinkID string

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

ExistingTanzuClustersUsingGETParams contains all the parameters to send to the API endpoint

for the existing tanzu clusters using g e t operation.

Typically these are written to a http.Request.

func NewExistingTanzuClustersUsingGETParams added in v0.5.0

func NewExistingTanzuClustersUsingGETParams() *ExistingTanzuClustersUsingGETParams

NewExistingTanzuClustersUsingGETParams creates a new ExistingTanzuClustersUsingGETParams 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 NewExistingTanzuClustersUsingGETParamsWithContext added in v0.5.0

func NewExistingTanzuClustersUsingGETParamsWithContext(ctx context.Context) *ExistingTanzuClustersUsingGETParams

NewExistingTanzuClustersUsingGETParamsWithContext creates a new ExistingTanzuClustersUsingGETParams object with the ability to set a context for a request.

func NewExistingTanzuClustersUsingGETParamsWithHTTPClient added in v0.5.0

func NewExistingTanzuClustersUsingGETParamsWithHTTPClient(client *http.Client) *ExistingTanzuClustersUsingGETParams

NewExistingTanzuClustersUsingGETParamsWithHTTPClient creates a new ExistingTanzuClustersUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewExistingTanzuClustersUsingGETParamsWithTimeout added in v0.5.0

func NewExistingTanzuClustersUsingGETParamsWithTimeout(timeout time.Duration) *ExistingTanzuClustersUsingGETParams

NewExistingTanzuClustersUsingGETParamsWithTimeout creates a new ExistingTanzuClustersUsingGETParams object with the ability to set a timeout on a request.

func (*ExistingTanzuClustersUsingGETParams) SetContext added in v0.5.0

SetContext adds the context to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) SetDefaults added in v0.5.0

func (o *ExistingTanzuClustersUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the existing tanzu clusters using get params (not the query body).

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

func (*ExistingTanzuClustersUsingGETParams) SetHTTPClient added in v0.5.0

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

SetHTTPClient adds the HTTPClient to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) SetRegistered added in v0.5.0

func (o *ExistingTanzuClustersUsingGETParams) SetRegistered(registered *string)

SetRegistered adds the registered to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) SetSearchTerm added in v0.5.0

func (o *ExistingTanzuClustersUsingGETParams) SetSearchTerm(searchTerm *string)

SetSearchTerm adds the searchTerm to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) SetSelfLinkID added in v0.5.0

func (o *ExistingTanzuClustersUsingGETParams) SetSelfLinkID(selfLinkID string)

SetSelfLinkID adds the selfLinkId to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) SetTimeout added in v0.5.0

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

SetTimeout adds the timeout to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WithContext added in v0.5.0

WithContext adds the context to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WithDefaults added in v0.5.0

WithDefaults hydrates default values in the existing tanzu clusters using get params (not the query body).

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

func (*ExistingTanzuClustersUsingGETParams) WithHTTPClient added in v0.5.0

WithHTTPClient adds the HTTPClient to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WithRegistered added in v0.5.0

WithRegistered adds the registered to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WithSearchTerm added in v0.5.0

WithSearchTerm adds the searchTerm to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WithSelfLinkID added in v0.5.0

WithSelfLinkID adds the selfLinkID to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WithTimeout added in v0.5.0

WithTimeout adds the timeout to the existing tanzu clusters using get params

func (*ExistingTanzuClustersUsingGETParams) WriteToRequest added in v0.5.0

WriteToRequest writes these params to a swagger request

type ExistingTanzuClustersUsingGETReader added in v0.5.0

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

ExistingTanzuClustersUsingGETReader is a Reader for the ExistingTanzuClustersUsingGET structure.

func (*ExistingTanzuClustersUsingGETReader) ReadResponse added in v0.5.0

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

ReadResponse reads a server response into the received o.

type GetClusterUsingGET1Forbidden added in v0.5.0

type GetClusterUsingGET1Forbidden struct {
}

GetClusterUsingGET1Forbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewGetClusterUsingGET1Forbidden added in v0.5.0

func NewGetClusterUsingGET1Forbidden() *GetClusterUsingGET1Forbidden

NewGetClusterUsingGET1Forbidden creates a GetClusterUsingGET1Forbidden with default headers values

func (*GetClusterUsingGET1Forbidden) Error added in v0.5.0

func (*GetClusterUsingGET1Forbidden) IsClientError added in v0.5.0

func (o *GetClusterUsingGET1Forbidden) IsClientError() bool

IsClientError returns true when this get cluster using g e t1 forbidden response has a 4xx status code

func (*GetClusterUsingGET1Forbidden) IsCode added in v0.5.0

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

IsCode returns true when this get cluster using g e t1 forbidden response a status code equal to that given

func (*GetClusterUsingGET1Forbidden) IsRedirect added in v0.5.0

func (o *GetClusterUsingGET1Forbidden) IsRedirect() bool

IsRedirect returns true when this get cluster using g e t1 forbidden response has a 3xx status code

func (*GetClusterUsingGET1Forbidden) IsServerError added in v0.5.0

func (o *GetClusterUsingGET1Forbidden) IsServerError() bool

IsServerError returns true when this get cluster using g e t1 forbidden response has a 5xx status code

func (*GetClusterUsingGET1Forbidden) IsSuccess added in v0.5.0

func (o *GetClusterUsingGET1Forbidden) IsSuccess() bool

IsSuccess returns true when this get cluster using g e t1 forbidden response has a 2xx status code

func (*GetClusterUsingGET1Forbidden) String added in v0.5.0

type GetClusterUsingGET1OK

type GetClusterUsingGET1OK struct {
	Payload *models.SupervisorCluster
}

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

OK

func NewGetClusterUsingGET1OK

func NewGetClusterUsingGET1OK() *GetClusterUsingGET1OK

NewGetClusterUsingGET1OK creates a GetClusterUsingGET1OK with default headers values

func (*GetClusterUsingGET1OK) Error

func (o *GetClusterUsingGET1OK) Error() string

func (*GetClusterUsingGET1OK) GetPayload

func (*GetClusterUsingGET1OK) IsClientError added in v0.5.0

func (o *GetClusterUsingGET1OK) IsClientError() bool

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

func (*GetClusterUsingGET1OK) IsCode added in v0.5.0

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

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

func (*GetClusterUsingGET1OK) IsRedirect added in v0.5.0

func (o *GetClusterUsingGET1OK) IsRedirect() bool

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

func (*GetClusterUsingGET1OK) IsServerError added in v0.5.0

func (o *GetClusterUsingGET1OK) IsServerError() bool

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

func (*GetClusterUsingGET1OK) IsSuccess added in v0.5.0

func (o *GetClusterUsingGET1OK) IsSuccess() bool

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

func (*GetClusterUsingGET1OK) String added in v0.5.0

func (o *GetClusterUsingGET1OK) String() string

type GetClusterUsingGET1Params

type GetClusterUsingGET1Params struct {

	/* EndpointSelfLinkID.

	   endpointSelfLinkId
	*/
	EndpointSelfLinkID string

	/* Moref.

	   moref
	*/
	Moref string

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

GetClusterUsingGET1Params contains all the parameters to send to the API endpoint

for the get cluster using get1 operation.

Typically these are written to a http.Request.

func NewGetClusterUsingGET1Params

func NewGetClusterUsingGET1Params() *GetClusterUsingGET1Params

NewGetClusterUsingGET1Params creates a new GetClusterUsingGET1Params 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 NewGetClusterUsingGET1ParamsWithContext

func NewGetClusterUsingGET1ParamsWithContext(ctx context.Context) *GetClusterUsingGET1Params

NewGetClusterUsingGET1ParamsWithContext creates a new GetClusterUsingGET1Params object with the ability to set a context for a request.

func NewGetClusterUsingGET1ParamsWithHTTPClient

func NewGetClusterUsingGET1ParamsWithHTTPClient(client *http.Client) *GetClusterUsingGET1Params

NewGetClusterUsingGET1ParamsWithHTTPClient creates a new GetClusterUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewGetClusterUsingGET1ParamsWithTimeout

func NewGetClusterUsingGET1ParamsWithTimeout(timeout time.Duration) *GetClusterUsingGET1Params

NewGetClusterUsingGET1ParamsWithTimeout creates a new GetClusterUsingGET1Params object with the ability to set a timeout on a request.

func (*GetClusterUsingGET1Params) SetContext

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

SetContext adds the context to the get cluster using get1 params

func (*GetClusterUsingGET1Params) SetDefaults

func (o *GetClusterUsingGET1Params) SetDefaults()

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

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

func (*GetClusterUsingGET1Params) SetEndpointSelfLinkID

func (o *GetClusterUsingGET1Params) SetEndpointSelfLinkID(endpointSelfLinkID string)

SetEndpointSelfLinkID adds the endpointSelfLinkId to the get cluster using get1 params

func (*GetClusterUsingGET1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cluster using get1 params

func (*GetClusterUsingGET1Params) SetMoref

func (o *GetClusterUsingGET1Params) SetMoref(moref string)

SetMoref adds the moref to the get cluster using get1 params

func (*GetClusterUsingGET1Params) SetTimeout

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

SetTimeout adds the timeout to the get cluster using get1 params

func (*GetClusterUsingGET1Params) WithContext

WithContext adds the context to the get cluster using get1 params

func (*GetClusterUsingGET1Params) WithDefaults

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

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

func (*GetClusterUsingGET1Params) WithEndpointSelfLinkID

func (o *GetClusterUsingGET1Params) WithEndpointSelfLinkID(endpointSelfLinkID string) *GetClusterUsingGET1Params

WithEndpointSelfLinkID adds the endpointSelfLinkID to the get cluster using get1 params

func (*GetClusterUsingGET1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cluster using get1 params

func (*GetClusterUsingGET1Params) WithMoref

WithMoref adds the moref to the get cluster using get1 params

func (*GetClusterUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the get cluster using get1 params

func (*GetClusterUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterUsingGET1Reader

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

GetClusterUsingGET1Reader is a Reader for the GetClusterUsingGET1 structure.

func (*GetClusterUsingGET1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClusterUsingGET2Forbidden added in v0.5.0

type GetClusterUsingGET2Forbidden struct {
}

GetClusterUsingGET2Forbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewGetClusterUsingGET2Forbidden added in v0.5.0

func NewGetClusterUsingGET2Forbidden() *GetClusterUsingGET2Forbidden

NewGetClusterUsingGET2Forbidden creates a GetClusterUsingGET2Forbidden with default headers values

func (*GetClusterUsingGET2Forbidden) Error added in v0.5.0

func (*GetClusterUsingGET2Forbidden) IsClientError added in v0.5.0

func (o *GetClusterUsingGET2Forbidden) IsClientError() bool

IsClientError returns true when this get cluster using g e t2 forbidden response has a 4xx status code

func (*GetClusterUsingGET2Forbidden) IsCode added in v0.5.0

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

IsCode returns true when this get cluster using g e t2 forbidden response a status code equal to that given

func (*GetClusterUsingGET2Forbidden) IsRedirect added in v0.5.0

func (o *GetClusterUsingGET2Forbidden) IsRedirect() bool

IsRedirect returns true when this get cluster using g e t2 forbidden response has a 3xx status code

func (*GetClusterUsingGET2Forbidden) IsServerError added in v0.5.0

func (o *GetClusterUsingGET2Forbidden) IsServerError() bool

IsServerError returns true when this get cluster using g e t2 forbidden response has a 5xx status code

func (*GetClusterUsingGET2Forbidden) IsSuccess added in v0.5.0

func (o *GetClusterUsingGET2Forbidden) IsSuccess() bool

IsSuccess returns true when this get cluster using g e t2 forbidden response has a 2xx status code

func (*GetClusterUsingGET2Forbidden) String added in v0.5.0

type GetClusterUsingGET2OK

type GetClusterUsingGET2OK struct {
	Payload *models.SupervisorCluster
}

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

OK

func NewGetClusterUsingGET2OK

func NewGetClusterUsingGET2OK() *GetClusterUsingGET2OK

NewGetClusterUsingGET2OK creates a GetClusterUsingGET2OK with default headers values

func (*GetClusterUsingGET2OK) Error

func (o *GetClusterUsingGET2OK) Error() string

func (*GetClusterUsingGET2OK) GetPayload

func (*GetClusterUsingGET2OK) IsClientError added in v0.5.0

func (o *GetClusterUsingGET2OK) IsClientError() bool

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

func (*GetClusterUsingGET2OK) IsCode added in v0.5.0

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

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

func (*GetClusterUsingGET2OK) IsRedirect added in v0.5.0

func (o *GetClusterUsingGET2OK) IsRedirect() bool

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

func (*GetClusterUsingGET2OK) IsServerError added in v0.5.0

func (o *GetClusterUsingGET2OK) IsServerError() bool

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

func (*GetClusterUsingGET2OK) IsSuccess added in v0.5.0

func (o *GetClusterUsingGET2OK) IsSuccess() bool

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

func (*GetClusterUsingGET2OK) String added in v0.5.0

func (o *GetClusterUsingGET2OK) String() string

type GetClusterUsingGET2Params

type GetClusterUsingGET2Params struct {

	/* ClusterSelfLinkID.

	   clusterSelfLinkId
	*/
	ClusterSelfLinkID string

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

GetClusterUsingGET2Params contains all the parameters to send to the API endpoint

for the get cluster using g e t 2 operation.

Typically these are written to a http.Request.

func NewGetClusterUsingGET2Params

func NewGetClusterUsingGET2Params() *GetClusterUsingGET2Params

NewGetClusterUsingGET2Params creates a new GetClusterUsingGET2Params 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 NewGetClusterUsingGET2ParamsWithContext

func NewGetClusterUsingGET2ParamsWithContext(ctx context.Context) *GetClusterUsingGET2Params

NewGetClusterUsingGET2ParamsWithContext creates a new GetClusterUsingGET2Params object with the ability to set a context for a request.

func NewGetClusterUsingGET2ParamsWithHTTPClient

func NewGetClusterUsingGET2ParamsWithHTTPClient(client *http.Client) *GetClusterUsingGET2Params

NewGetClusterUsingGET2ParamsWithHTTPClient creates a new GetClusterUsingGET2Params object with the ability to set a custom HTTPClient for a request.

func NewGetClusterUsingGET2ParamsWithTimeout

func NewGetClusterUsingGET2ParamsWithTimeout(timeout time.Duration) *GetClusterUsingGET2Params

NewGetClusterUsingGET2ParamsWithTimeout creates a new GetClusterUsingGET2Params object with the ability to set a timeout on a request.

func (*GetClusterUsingGET2Params) SetClusterSelfLinkID added in v0.5.0

func (o *GetClusterUsingGET2Params) SetClusterSelfLinkID(clusterSelfLinkID string)

SetClusterSelfLinkID adds the clusterSelfLinkId to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) SetContext

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

SetContext adds the context to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) SetDefaults

func (o *GetClusterUsingGET2Params) SetDefaults()

SetDefaults hydrates default values in the get cluster using g e t 2 params (not the query body).

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

func (*GetClusterUsingGET2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) SetTimeout

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

SetTimeout adds the timeout to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) WithClusterSelfLinkID added in v0.5.0

func (o *GetClusterUsingGET2Params) WithClusterSelfLinkID(clusterSelfLinkID string) *GetClusterUsingGET2Params

WithClusterSelfLinkID adds the clusterSelfLinkID to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) WithContext

WithContext adds the context to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) WithDefaults

WithDefaults hydrates default values in the get cluster using g e t 2 params (not the query body).

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

func (*GetClusterUsingGET2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) WithTimeout

WithTimeout adds the timeout to the get cluster using g e t 2 params

func (*GetClusterUsingGET2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterUsingGET2Reader

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

GetClusterUsingGET2Reader is a Reader for the GetClusterUsingGET2 structure.

func (*GetClusterUsingGET2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListClustersOnEndpointUsingGETForbidden added in v0.5.0

type ListClustersOnEndpointUsingGETForbidden struct {
}

ListClustersOnEndpointUsingGETForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewListClustersOnEndpointUsingGETForbidden added in v0.5.0

func NewListClustersOnEndpointUsingGETForbidden() *ListClustersOnEndpointUsingGETForbidden

NewListClustersOnEndpointUsingGETForbidden creates a ListClustersOnEndpointUsingGETForbidden with default headers values

func (*ListClustersOnEndpointUsingGETForbidden) Error added in v0.5.0

func (*ListClustersOnEndpointUsingGETForbidden) IsClientError added in v0.5.0

func (o *ListClustersOnEndpointUsingGETForbidden) IsClientError() bool

IsClientError returns true when this list clusters on endpoint using g e t forbidden response has a 4xx status code

func (*ListClustersOnEndpointUsingGETForbidden) IsCode added in v0.5.0

IsCode returns true when this list clusters on endpoint using g e t forbidden response a status code equal to that given

func (*ListClustersOnEndpointUsingGETForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this list clusters on endpoint using g e t forbidden response has a 3xx status code

func (*ListClustersOnEndpointUsingGETForbidden) IsServerError added in v0.5.0

func (o *ListClustersOnEndpointUsingGETForbidden) IsServerError() bool

IsServerError returns true when this list clusters on endpoint using g e t forbidden response has a 5xx status code

func (*ListClustersOnEndpointUsingGETForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this list clusters on endpoint using g e t forbidden response has a 2xx status code

func (*ListClustersOnEndpointUsingGETForbidden) String added in v0.5.0

type ListClustersOnEndpointUsingGETOK

type ListClustersOnEndpointUsingGETOK struct {
	Payload *models.PageOfSupervisorCluster
}

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

OK

func NewListClustersOnEndpointUsingGETOK

func NewListClustersOnEndpointUsingGETOK() *ListClustersOnEndpointUsingGETOK

NewListClustersOnEndpointUsingGETOK creates a ListClustersOnEndpointUsingGETOK with default headers values

func (*ListClustersOnEndpointUsingGETOK) Error

func (*ListClustersOnEndpointUsingGETOK) GetPayload

func (*ListClustersOnEndpointUsingGETOK) IsClientError added in v0.5.0

func (o *ListClustersOnEndpointUsingGETOK) IsClientError() bool

IsClientError returns true when this list clusters on endpoint using g e t o k response has a 4xx status code

func (*ListClustersOnEndpointUsingGETOK) IsCode added in v0.5.0

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

IsCode returns true when this list clusters on endpoint using g e t o k response a status code equal to that given

func (*ListClustersOnEndpointUsingGETOK) IsRedirect added in v0.5.0

func (o *ListClustersOnEndpointUsingGETOK) IsRedirect() bool

IsRedirect returns true when this list clusters on endpoint using g e t o k response has a 3xx status code

func (*ListClustersOnEndpointUsingGETOK) IsServerError added in v0.5.0

func (o *ListClustersOnEndpointUsingGETOK) IsServerError() bool

IsServerError returns true when this list clusters on endpoint using g e t o k response has a 5xx status code

func (*ListClustersOnEndpointUsingGETOK) IsSuccess added in v0.5.0

func (o *ListClustersOnEndpointUsingGETOK) IsSuccess() bool

IsSuccess returns true when this list clusters on endpoint using g e t o k response has a 2xx status code

func (*ListClustersOnEndpointUsingGETOK) String added in v0.5.0

type ListClustersOnEndpointUsingGETParams

type ListClustersOnEndpointUsingGETParams struct {

	/* EndpointSelfLinkID.

	   endpointSelfLinkId
	*/
	EndpointSelfLinkID string

	// Offset.
	//
	// Format: int64
	Offset *int64

	// PageNumber.
	//
	// Format: int32
	PageNumber *int32

	// PageSize.
	//
	// Format: int32
	PageSize *int32

	// Paged.
	Paged *bool

	/* Registered.

	   registered
	*/
	Registered *string

	// SortSorted.
	SortSorted *bool

	// SortUnsorted.
	SortUnsorted *bool

	// Unpaged.
	Unpaged *bool

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

ListClustersOnEndpointUsingGETParams contains all the parameters to send to the API endpoint

for the list clusters on endpoint using g e t operation.

Typically these are written to a http.Request.

func NewListClustersOnEndpointUsingGETParams

func NewListClustersOnEndpointUsingGETParams() *ListClustersOnEndpointUsingGETParams

NewListClustersOnEndpointUsingGETParams creates a new ListClustersOnEndpointUsingGETParams 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 NewListClustersOnEndpointUsingGETParamsWithContext

func NewListClustersOnEndpointUsingGETParamsWithContext(ctx context.Context) *ListClustersOnEndpointUsingGETParams

NewListClustersOnEndpointUsingGETParamsWithContext creates a new ListClustersOnEndpointUsingGETParams object with the ability to set a context for a request.

func NewListClustersOnEndpointUsingGETParamsWithHTTPClient

func NewListClustersOnEndpointUsingGETParamsWithHTTPClient(client *http.Client) *ListClustersOnEndpointUsingGETParams

NewListClustersOnEndpointUsingGETParamsWithHTTPClient creates a new ListClustersOnEndpointUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewListClustersOnEndpointUsingGETParamsWithTimeout

func NewListClustersOnEndpointUsingGETParamsWithTimeout(timeout time.Duration) *ListClustersOnEndpointUsingGETParams

NewListClustersOnEndpointUsingGETParamsWithTimeout creates a new ListClustersOnEndpointUsingGETParams object with the ability to set a timeout on a request.

func (*ListClustersOnEndpointUsingGETParams) SetContext

SetContext adds the context to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetDefaults

func (o *ListClustersOnEndpointUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the list clusters on endpoint using get params (not the query body).

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

func (*ListClustersOnEndpointUsingGETParams) SetEndpointSelfLinkID

func (o *ListClustersOnEndpointUsingGETParams) SetEndpointSelfLinkID(endpointSelfLinkID string)

SetEndpointSelfLinkID adds the endpointSelfLinkId to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetOffset

func (o *ListClustersOnEndpointUsingGETParams) SetOffset(offset *int64)

SetOffset adds the offset to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetPageNumber

func (o *ListClustersOnEndpointUsingGETParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetPageSize

func (o *ListClustersOnEndpointUsingGETParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetPaged

func (o *ListClustersOnEndpointUsingGETParams) SetPaged(paged *bool)

SetPaged adds the paged to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetRegistered

func (o *ListClustersOnEndpointUsingGETParams) SetRegistered(registered *string)

SetRegistered adds the registered to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetSortSorted

func (o *ListClustersOnEndpointUsingGETParams) SetSortSorted(sortSorted *bool)

SetSortSorted adds the sortSorted to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetSortUnsorted

func (o *ListClustersOnEndpointUsingGETParams) SetSortUnsorted(sortUnsorted *bool)

SetSortUnsorted adds the sortUnsorted to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) SetUnpaged

func (o *ListClustersOnEndpointUsingGETParams) SetUnpaged(unpaged *bool)

SetUnpaged adds the unpaged to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithContext

WithContext adds the context to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithDefaults

WithDefaults hydrates default values in the list clusters on endpoint using get params (not the query body).

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

func (*ListClustersOnEndpointUsingGETParams) WithEndpointSelfLinkID

func (o *ListClustersOnEndpointUsingGETParams) WithEndpointSelfLinkID(endpointSelfLinkID string) *ListClustersOnEndpointUsingGETParams

WithEndpointSelfLinkID adds the endpointSelfLinkID to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithOffset

WithOffset adds the offset to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithPageNumber

WithPageNumber adds the pageNumber to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithPageSize

WithPageSize adds the pageSize to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithPaged

WithPaged adds the paged to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithRegistered

WithRegistered adds the registered to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithSortSorted

WithSortSorted adds the sortSorted to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithSortUnsorted

WithSortUnsorted adds the sortUnsorted to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithTimeout

WithTimeout adds the timeout to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WithUnpaged

WithUnpaged adds the unpaged to the list clusters on endpoint using get params

func (*ListClustersOnEndpointUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClustersOnEndpointUsingGETReader

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

ListClustersOnEndpointUsingGETReader is a Reader for the ListClustersOnEndpointUsingGET structure.

func (*ListClustersOnEndpointUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUsingGET4Forbidden added in v0.5.0

type ListUsingGET4Forbidden struct {
}

ListUsingGET4Forbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewListUsingGET4Forbidden added in v0.5.0

func NewListUsingGET4Forbidden() *ListUsingGET4Forbidden

NewListUsingGET4Forbidden creates a ListUsingGET4Forbidden with default headers values

func (*ListUsingGET4Forbidden) Error added in v0.5.0

func (o *ListUsingGET4Forbidden) Error() string

func (*ListUsingGET4Forbidden) IsClientError added in v0.5.0

func (o *ListUsingGET4Forbidden) IsClientError() bool

IsClientError returns true when this list using g e t4 forbidden response has a 4xx status code

func (*ListUsingGET4Forbidden) IsCode added in v0.5.0

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

IsCode returns true when this list using g e t4 forbidden response a status code equal to that given

func (*ListUsingGET4Forbidden) IsRedirect added in v0.5.0

func (o *ListUsingGET4Forbidden) IsRedirect() bool

IsRedirect returns true when this list using g e t4 forbidden response has a 3xx status code

func (*ListUsingGET4Forbidden) IsServerError added in v0.5.0

func (o *ListUsingGET4Forbidden) IsServerError() bool

IsServerError returns true when this list using g e t4 forbidden response has a 5xx status code

func (*ListUsingGET4Forbidden) IsSuccess added in v0.5.0

func (o *ListUsingGET4Forbidden) IsSuccess() bool

IsSuccess returns true when this list using g e t4 forbidden response has a 2xx status code

func (*ListUsingGET4Forbidden) String added in v0.5.0

func (o *ListUsingGET4Forbidden) String() string

type ListUsingGET4OK

type ListUsingGET4OK struct {
	Payload *models.PageOfSupervisorCluster
}

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

OK

func NewListUsingGET4OK

func NewListUsingGET4OK() *ListUsingGET4OK

NewListUsingGET4OK creates a ListUsingGET4OK with default headers values

func (*ListUsingGET4OK) Error

func (o *ListUsingGET4OK) Error() string

func (*ListUsingGET4OK) GetPayload

func (*ListUsingGET4OK) IsClientError added in v0.5.0

func (o *ListUsingGET4OK) IsClientError() bool

IsClientError returns true when this list using g e t4 o k response has a 4xx status code

func (*ListUsingGET4OK) IsCode added in v0.5.0

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

IsCode returns true when this list using g e t4 o k response a status code equal to that given

func (*ListUsingGET4OK) IsRedirect added in v0.5.0

func (o *ListUsingGET4OK) IsRedirect() bool

IsRedirect returns true when this list using g e t4 o k response has a 3xx status code

func (*ListUsingGET4OK) IsServerError added in v0.5.0

func (o *ListUsingGET4OK) IsServerError() bool

IsServerError returns true when this list using g e t4 o k response has a 5xx status code

func (*ListUsingGET4OK) IsSuccess added in v0.5.0

func (o *ListUsingGET4OK) IsSuccess() bool

IsSuccess returns true when this list using g e t4 o k response has a 2xx status code

func (*ListUsingGET4OK) String added in v0.5.0

func (o *ListUsingGET4OK) String() string

type ListUsingGET4Params

type ListUsingGET4Params struct {

	// Offset.
	//
	// Format: int64
	Offset *int64

	// PageNumber.
	//
	// Format: int32
	PageNumber *int32

	// PageSize.
	//
	// Format: int32
	PageSize *int32

	// Paged.
	Paged *bool

	// SortSorted.
	SortSorted *bool

	// SortUnsorted.
	SortUnsorted *bool

	// Unpaged.
	Unpaged *bool

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

ListUsingGET4Params contains all the parameters to send to the API endpoint

for the list using g e t 4 operation.

Typically these are written to a http.Request.

func NewListUsingGET4Params

func NewListUsingGET4Params() *ListUsingGET4Params

NewListUsingGET4Params creates a new ListUsingGET4Params 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 NewListUsingGET4ParamsWithContext

func NewListUsingGET4ParamsWithContext(ctx context.Context) *ListUsingGET4Params

NewListUsingGET4ParamsWithContext creates a new ListUsingGET4Params object with the ability to set a context for a request.

func NewListUsingGET4ParamsWithHTTPClient

func NewListUsingGET4ParamsWithHTTPClient(client *http.Client) *ListUsingGET4Params

NewListUsingGET4ParamsWithHTTPClient creates a new ListUsingGET4Params object with the ability to set a custom HTTPClient for a request.

func NewListUsingGET4ParamsWithTimeout

func NewListUsingGET4ParamsWithTimeout(timeout time.Duration) *ListUsingGET4Params

NewListUsingGET4ParamsWithTimeout creates a new ListUsingGET4Params object with the ability to set a timeout on a request.

func (*ListUsingGET4Params) SetContext

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

SetContext adds the context to the list using g e t 4 params

func (*ListUsingGET4Params) SetDefaults

func (o *ListUsingGET4Params) SetDefaults()

SetDefaults hydrates default values in the list using g e t 4 params (not the query body).

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

func (*ListUsingGET4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list using g e t 4 params

func (*ListUsingGET4Params) SetOffset

func (o *ListUsingGET4Params) SetOffset(offset *int64)

SetOffset adds the offset to the list using g e t 4 params

func (*ListUsingGET4Params) SetPageNumber

func (o *ListUsingGET4Params) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the list using g e t 4 params

func (*ListUsingGET4Params) SetPageSize

func (o *ListUsingGET4Params) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the list using g e t 4 params

func (*ListUsingGET4Params) SetPaged

func (o *ListUsingGET4Params) SetPaged(paged *bool)

SetPaged adds the paged to the list using g e t 4 params

func (*ListUsingGET4Params) SetSortSorted

func (o *ListUsingGET4Params) SetSortSorted(sortSorted *bool)

SetSortSorted adds the sortSorted to the list using g e t 4 params

func (*ListUsingGET4Params) SetSortUnsorted

func (o *ListUsingGET4Params) SetSortUnsorted(sortUnsorted *bool)

SetSortUnsorted adds the sortUnsorted to the list using g e t 4 params

func (*ListUsingGET4Params) SetTimeout

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

SetTimeout adds the timeout to the list using g e t 4 params

func (*ListUsingGET4Params) SetUnpaged

func (o *ListUsingGET4Params) SetUnpaged(unpaged *bool)

SetUnpaged adds the unpaged to the list using g e t 4 params

func (*ListUsingGET4Params) WithContext

WithContext adds the context to the list using g e t 4 params

func (*ListUsingGET4Params) WithDefaults

func (o *ListUsingGET4Params) WithDefaults() *ListUsingGET4Params

WithDefaults hydrates default values in the list using g e t 4 params (not the query body).

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

func (*ListUsingGET4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list using g e t 4 params

func (*ListUsingGET4Params) WithOffset

func (o *ListUsingGET4Params) WithOffset(offset *int64) *ListUsingGET4Params

WithOffset adds the offset to the list using g e t 4 params

func (*ListUsingGET4Params) WithPageNumber

func (o *ListUsingGET4Params) WithPageNumber(pageNumber *int32) *ListUsingGET4Params

WithPageNumber adds the pageNumber to the list using g e t 4 params

func (*ListUsingGET4Params) WithPageSize

func (o *ListUsingGET4Params) WithPageSize(pageSize *int32) *ListUsingGET4Params

WithPageSize adds the pageSize to the list using g e t 4 params

func (*ListUsingGET4Params) WithPaged

func (o *ListUsingGET4Params) WithPaged(paged *bool) *ListUsingGET4Params

WithPaged adds the paged to the list using g e t 4 params

func (*ListUsingGET4Params) WithSortSorted

func (o *ListUsingGET4Params) WithSortSorted(sortSorted *bool) *ListUsingGET4Params

WithSortSorted adds the sortSorted to the list using g e t 4 params

func (*ListUsingGET4Params) WithSortUnsorted

func (o *ListUsingGET4Params) WithSortUnsorted(sortUnsorted *bool) *ListUsingGET4Params

WithSortUnsorted adds the sortUnsorted to the list using g e t 4 params

func (*ListUsingGET4Params) WithTimeout

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

WithTimeout adds the timeout to the list using g e t 4 params

func (*ListUsingGET4Params) WithUnpaged

func (o *ListUsingGET4Params) WithUnpaged(unpaged *bool) *ListUsingGET4Params

WithUnpaged adds the unpaged to the list using g e t 4 params

func (*ListUsingGET4Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListUsingGET4Reader

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

ListUsingGET4Reader is a Reader for the ListUsingGET4 structure.

func (*ListUsingGET4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegisterUsingPUT1Forbidden added in v0.5.0

type RegisterUsingPUT1Forbidden struct {
}

RegisterUsingPUT1Forbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewRegisterUsingPUT1Forbidden added in v0.5.0

func NewRegisterUsingPUT1Forbidden() *RegisterUsingPUT1Forbidden

NewRegisterUsingPUT1Forbidden creates a RegisterUsingPUT1Forbidden with default headers values

func (*RegisterUsingPUT1Forbidden) Error added in v0.5.0

func (*RegisterUsingPUT1Forbidden) IsClientError added in v0.5.0

func (o *RegisterUsingPUT1Forbidden) IsClientError() bool

IsClientError returns true when this register using p u t1 forbidden response has a 4xx status code

func (*RegisterUsingPUT1Forbidden) IsCode added in v0.5.0

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

IsCode returns true when this register using p u t1 forbidden response a status code equal to that given

func (*RegisterUsingPUT1Forbidden) IsRedirect added in v0.5.0

func (o *RegisterUsingPUT1Forbidden) IsRedirect() bool

IsRedirect returns true when this register using p u t1 forbidden response has a 3xx status code

func (*RegisterUsingPUT1Forbidden) IsServerError added in v0.5.0

func (o *RegisterUsingPUT1Forbidden) IsServerError() bool

IsServerError returns true when this register using p u t1 forbidden response has a 5xx status code

func (*RegisterUsingPUT1Forbidden) IsSuccess added in v0.5.0

func (o *RegisterUsingPUT1Forbidden) IsSuccess() bool

IsSuccess returns true when this register using p u t1 forbidden response has a 2xx status code

func (*RegisterUsingPUT1Forbidden) String added in v0.5.0

func (o *RegisterUsingPUT1Forbidden) String() string

type RegisterUsingPUT1OK

type RegisterUsingPUT1OK struct {
	Payload *models.SupervisorCluster
}

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

OK

func NewRegisterUsingPUT1OK

func NewRegisterUsingPUT1OK() *RegisterUsingPUT1OK

NewRegisterUsingPUT1OK creates a RegisterUsingPUT1OK with default headers values

func (*RegisterUsingPUT1OK) Error

func (o *RegisterUsingPUT1OK) Error() string

func (*RegisterUsingPUT1OK) GetPayload

func (o *RegisterUsingPUT1OK) GetPayload() *models.SupervisorCluster

func (*RegisterUsingPUT1OK) IsClientError added in v0.5.0

func (o *RegisterUsingPUT1OK) IsClientError() bool

IsClientError returns true when this register using p u t1 o k response has a 4xx status code

func (*RegisterUsingPUT1OK) IsCode added in v0.5.0

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

IsCode returns true when this register using p u t1 o k response a status code equal to that given

func (*RegisterUsingPUT1OK) IsRedirect added in v0.5.0

func (o *RegisterUsingPUT1OK) IsRedirect() bool

IsRedirect returns true when this register using p u t1 o k response has a 3xx status code

func (*RegisterUsingPUT1OK) IsServerError added in v0.5.0

func (o *RegisterUsingPUT1OK) IsServerError() bool

IsServerError returns true when this register using p u t1 o k response has a 5xx status code

func (*RegisterUsingPUT1OK) IsSuccess added in v0.5.0

func (o *RegisterUsingPUT1OK) IsSuccess() bool

IsSuccess returns true when this register using p u t1 o k response has a 2xx status code

func (*RegisterUsingPUT1OK) String added in v0.5.0

func (o *RegisterUsingPUT1OK) String() string

type RegisterUsingPUT1Params

type RegisterUsingPUT1Params struct {

	/* ClusterSelfLinkID.

	   clusterSelfLinkId
	*/
	ClusterSelfLinkID string

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

RegisterUsingPUT1Params contains all the parameters to send to the API endpoint

for the register using p u t 1 operation.

Typically these are written to a http.Request.

func NewRegisterUsingPUT1Params

func NewRegisterUsingPUT1Params() *RegisterUsingPUT1Params

NewRegisterUsingPUT1Params creates a new RegisterUsingPUT1Params 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 NewRegisterUsingPUT1ParamsWithContext

func NewRegisterUsingPUT1ParamsWithContext(ctx context.Context) *RegisterUsingPUT1Params

NewRegisterUsingPUT1ParamsWithContext creates a new RegisterUsingPUT1Params object with the ability to set a context for a request.

func NewRegisterUsingPUT1ParamsWithHTTPClient

func NewRegisterUsingPUT1ParamsWithHTTPClient(client *http.Client) *RegisterUsingPUT1Params

NewRegisterUsingPUT1ParamsWithHTTPClient creates a new RegisterUsingPUT1Params object with the ability to set a custom HTTPClient for a request.

func NewRegisterUsingPUT1ParamsWithTimeout

func NewRegisterUsingPUT1ParamsWithTimeout(timeout time.Duration) *RegisterUsingPUT1Params

NewRegisterUsingPUT1ParamsWithTimeout creates a new RegisterUsingPUT1Params object with the ability to set a timeout on a request.

func (*RegisterUsingPUT1Params) SetClusterSelfLinkID

func (o *RegisterUsingPUT1Params) SetClusterSelfLinkID(clusterSelfLinkID string)

SetClusterSelfLinkID adds the clusterSelfLinkId to the register using p u t 1 params

func (*RegisterUsingPUT1Params) SetContext

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

SetContext adds the context to the register using p u t 1 params

func (*RegisterUsingPUT1Params) SetDefaults

func (o *RegisterUsingPUT1Params) SetDefaults()

SetDefaults hydrates default values in the register using p u t 1 params (not the query body).

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

func (*RegisterUsingPUT1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register using p u t 1 params

func (*RegisterUsingPUT1Params) SetTimeout

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

SetTimeout adds the timeout to the register using p u t 1 params

func (*RegisterUsingPUT1Params) WithClusterSelfLinkID

func (o *RegisterUsingPUT1Params) WithClusterSelfLinkID(clusterSelfLinkID string) *RegisterUsingPUT1Params

WithClusterSelfLinkID adds the clusterSelfLinkID to the register using p u t 1 params

func (*RegisterUsingPUT1Params) WithContext

WithContext adds the context to the register using p u t 1 params

func (*RegisterUsingPUT1Params) WithDefaults

WithDefaults hydrates default values in the register using p u t 1 params (not the query body).

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

func (*RegisterUsingPUT1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register using p u t 1 params

func (*RegisterUsingPUT1Params) WithTimeout

WithTimeout adds the timeout to the register using p u t 1 params

func (*RegisterUsingPUT1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RegisterUsingPUT1Reader

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

RegisterUsingPUT1Reader is a Reader for the RegisterUsingPUT1 structure.

func (*RegisterUsingPUT1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnregisterUsingDELETEForbidden added in v0.5.0

type UnregisterUsingDELETEForbidden struct {
}

UnregisterUsingDELETEForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewUnregisterUsingDELETEForbidden added in v0.5.0

func NewUnregisterUsingDELETEForbidden() *UnregisterUsingDELETEForbidden

NewUnregisterUsingDELETEForbidden creates a UnregisterUsingDELETEForbidden with default headers values

func (*UnregisterUsingDELETEForbidden) Error added in v0.5.0

func (*UnregisterUsingDELETEForbidden) IsClientError added in v0.5.0

func (o *UnregisterUsingDELETEForbidden) IsClientError() bool

IsClientError returns true when this unregister using d e l e t e forbidden response has a 4xx status code

func (*UnregisterUsingDELETEForbidden) IsCode added in v0.5.0

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

IsCode returns true when this unregister using d e l e t e forbidden response a status code equal to that given

func (*UnregisterUsingDELETEForbidden) IsRedirect added in v0.5.0

func (o *UnregisterUsingDELETEForbidden) IsRedirect() bool

IsRedirect returns true when this unregister using d e l e t e forbidden response has a 3xx status code

func (*UnregisterUsingDELETEForbidden) IsServerError added in v0.5.0

func (o *UnregisterUsingDELETEForbidden) IsServerError() bool

IsServerError returns true when this unregister using d e l e t e forbidden response has a 5xx status code

func (*UnregisterUsingDELETEForbidden) IsSuccess added in v0.5.0

func (o *UnregisterUsingDELETEForbidden) IsSuccess() bool

IsSuccess returns true when this unregister using d e l e t e forbidden response has a 2xx status code

func (*UnregisterUsingDELETEForbidden) String added in v0.5.0

type UnregisterUsingDELETEOK

type UnregisterUsingDELETEOK struct {
}

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

OK

func NewUnregisterUsingDELETEOK

func NewUnregisterUsingDELETEOK() *UnregisterUsingDELETEOK

NewUnregisterUsingDELETEOK creates a UnregisterUsingDELETEOK with default headers values

func (*UnregisterUsingDELETEOK) Error

func (o *UnregisterUsingDELETEOK) Error() string

func (*UnregisterUsingDELETEOK) IsClientError added in v0.5.0

func (o *UnregisterUsingDELETEOK) IsClientError() bool

IsClientError returns true when this unregister using d e l e t e o k response has a 4xx status code

func (*UnregisterUsingDELETEOK) IsCode added in v0.5.0

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

IsCode returns true when this unregister using d e l e t e o k response a status code equal to that given

func (*UnregisterUsingDELETEOK) IsRedirect added in v0.5.0

func (o *UnregisterUsingDELETEOK) IsRedirect() bool

IsRedirect returns true when this unregister using d e l e t e o k response has a 3xx status code

func (*UnregisterUsingDELETEOK) IsServerError added in v0.5.0

func (o *UnregisterUsingDELETEOK) IsServerError() bool

IsServerError returns true when this unregister using d e l e t e o k response has a 5xx status code

func (*UnregisterUsingDELETEOK) IsSuccess added in v0.5.0

func (o *UnregisterUsingDELETEOK) IsSuccess() bool

IsSuccess returns true when this unregister using d e l e t e o k response has a 2xx status code

func (*UnregisterUsingDELETEOK) String added in v0.5.0

func (o *UnregisterUsingDELETEOK) String() string

type UnregisterUsingDELETEParams

type UnregisterUsingDELETEParams struct {

	/* ClusterSelfLinkID.

	   clusterSelfLinkId
	*/
	ClusterSelfLinkID string

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

UnregisterUsingDELETEParams contains all the parameters to send to the API endpoint

for the unregister using d e l e t e operation.

Typically these are written to a http.Request.

func NewUnregisterUsingDELETEParams

func NewUnregisterUsingDELETEParams() *UnregisterUsingDELETEParams

NewUnregisterUsingDELETEParams creates a new UnregisterUsingDELETEParams 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 NewUnregisterUsingDELETEParamsWithContext

func NewUnregisterUsingDELETEParamsWithContext(ctx context.Context) *UnregisterUsingDELETEParams

NewUnregisterUsingDELETEParamsWithContext creates a new UnregisterUsingDELETEParams object with the ability to set a context for a request.

func NewUnregisterUsingDELETEParamsWithHTTPClient

func NewUnregisterUsingDELETEParamsWithHTTPClient(client *http.Client) *UnregisterUsingDELETEParams

NewUnregisterUsingDELETEParamsWithHTTPClient creates a new UnregisterUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewUnregisterUsingDELETEParamsWithTimeout

func NewUnregisterUsingDELETEParamsWithTimeout(timeout time.Duration) *UnregisterUsingDELETEParams

NewUnregisterUsingDELETEParamsWithTimeout creates a new UnregisterUsingDELETEParams object with the ability to set a timeout on a request.

func (*UnregisterUsingDELETEParams) SetClusterSelfLinkID

func (o *UnregisterUsingDELETEParams) SetClusterSelfLinkID(clusterSelfLinkID string)

SetClusterSelfLinkID adds the clusterSelfLinkId to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) SetContext

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

SetContext adds the context to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) SetDefaults

func (o *UnregisterUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the unregister using d e l e t e params (not the query body).

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

func (*UnregisterUsingDELETEParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) SetTimeout

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

SetTimeout adds the timeout to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) WithClusterSelfLinkID

func (o *UnregisterUsingDELETEParams) WithClusterSelfLinkID(clusterSelfLinkID string) *UnregisterUsingDELETEParams

WithClusterSelfLinkID adds the clusterSelfLinkID to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) WithContext

WithContext adds the context to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) WithDefaults

WithDefaults hydrates default values in the unregister using d e l e t e params (not the query body).

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

func (*UnregisterUsingDELETEParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) WithTimeout

WithTimeout adds the timeout to the unregister using d e l e t e params

func (*UnregisterUsingDELETEParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnregisterUsingDELETEReader

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

UnregisterUsingDELETEReader is a Reader for the UnregisterUsingDELETE structure.

func (*UnregisterUsingDELETEReader) ReadResponse

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