supervisor_clusters

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 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) 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 {
	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 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

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

type GetClusterUsingGET2Params

type GetClusterUsingGET2Params struct {

	/* SelfLinkID.

	   selfLinkId
	*/
	SelfLinkID 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) 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) SetSelfLinkID

func (o *GetClusterUsingGET2Params) SetSelfLinkID(selfLinkID string)

SetSelfLinkID adds the selfLinkId 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) 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) WithSelfLinkID

func (o *GetClusterUsingGET2Params) WithSelfLinkID(selfLinkID string) *GetClusterUsingGET2Params

WithSelfLinkID adds the selfLinkID 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 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

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

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

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

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