Documentation
¶
Index ¶
- type Client
- func (a *Client) GetClusterUsingGET1(params *GetClusterUsingGET1Params, opts ...ClientOption) (*GetClusterUsingGET1OK, error)
- func (a *Client) GetClusterUsingGET2(params *GetClusterUsingGET2Params, opts ...ClientOption) (*GetClusterUsingGET2OK, error)
- func (a *Client) ListClustersOnEndpointUsingGET(params *ListClustersOnEndpointUsingGETParams, opts ...ClientOption) (*ListClustersOnEndpointUsingGETOK, error)
- func (a *Client) ListUsingGET4(params *ListUsingGET4Params, opts ...ClientOption) (*ListUsingGET4OK, error)
- func (a *Client) RegisterUsingPUT1(params *RegisterUsingPUT1Params, opts ...ClientOption) (*RegisterUsingPUT1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnregisterUsingDELETE(params *UnregisterUsingDELETEParams, opts ...ClientOption) (*UnregisterUsingDELETEOK, error)
- type ClientOption
- type ClientService
- type GetClusterUsingGET1OK
- type GetClusterUsingGET1Params
- func NewGetClusterUsingGET1Params() *GetClusterUsingGET1Params
- func NewGetClusterUsingGET1ParamsWithContext(ctx context.Context) *GetClusterUsingGET1Params
- func NewGetClusterUsingGET1ParamsWithHTTPClient(client *http.Client) *GetClusterUsingGET1Params
- func NewGetClusterUsingGET1ParamsWithTimeout(timeout time.Duration) *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) SetContext(ctx context.Context)
- func (o *GetClusterUsingGET1Params) SetDefaults()
- func (o *GetClusterUsingGET1Params) SetEndpointSelfLinkID(endpointSelfLinkID string)
- func (o *GetClusterUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *GetClusterUsingGET1Params) SetMoref(moref string)
- func (o *GetClusterUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *GetClusterUsingGET1Params) WithContext(ctx context.Context) *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) WithDefaults() *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) WithEndpointSelfLinkID(endpointSelfLinkID string) *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) WithHTTPClient(client *http.Client) *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) WithMoref(moref string) *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) WithTimeout(timeout time.Duration) *GetClusterUsingGET1Params
- func (o *GetClusterUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterUsingGET1Reader
- type GetClusterUsingGET2OK
- type GetClusterUsingGET2Params
- func NewGetClusterUsingGET2Params() *GetClusterUsingGET2Params
- func NewGetClusterUsingGET2ParamsWithContext(ctx context.Context) *GetClusterUsingGET2Params
- func NewGetClusterUsingGET2ParamsWithHTTPClient(client *http.Client) *GetClusterUsingGET2Params
- func NewGetClusterUsingGET2ParamsWithTimeout(timeout time.Duration) *GetClusterUsingGET2Params
- func (o *GetClusterUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetClusterUsingGET2Params) SetDefaults()
- func (o *GetClusterUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetClusterUsingGET2Params) SetSelfLinkID(selfLinkID string)
- func (o *GetClusterUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetClusterUsingGET2Params) WithContext(ctx context.Context) *GetClusterUsingGET2Params
- func (o *GetClusterUsingGET2Params) WithDefaults() *GetClusterUsingGET2Params
- func (o *GetClusterUsingGET2Params) WithHTTPClient(client *http.Client) *GetClusterUsingGET2Params
- func (o *GetClusterUsingGET2Params) WithSelfLinkID(selfLinkID string) *GetClusterUsingGET2Params
- func (o *GetClusterUsingGET2Params) WithTimeout(timeout time.Duration) *GetClusterUsingGET2Params
- func (o *GetClusterUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterUsingGET2Reader
- type ListClustersOnEndpointUsingGETOK
- type ListClustersOnEndpointUsingGETParams
- func NewListClustersOnEndpointUsingGETParams() *ListClustersOnEndpointUsingGETParams
- func NewListClustersOnEndpointUsingGETParamsWithContext(ctx context.Context) *ListClustersOnEndpointUsingGETParams
- func NewListClustersOnEndpointUsingGETParamsWithHTTPClient(client *http.Client) *ListClustersOnEndpointUsingGETParams
- func NewListClustersOnEndpointUsingGETParamsWithTimeout(timeout time.Duration) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) SetContext(ctx context.Context)
- func (o *ListClustersOnEndpointUsingGETParams) SetDefaults()
- func (o *ListClustersOnEndpointUsingGETParams) SetEndpointSelfLinkID(endpointSelfLinkID string)
- func (o *ListClustersOnEndpointUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersOnEndpointUsingGETParams) SetOffset(offset *int64)
- func (o *ListClustersOnEndpointUsingGETParams) SetPageNumber(pageNumber *int32)
- func (o *ListClustersOnEndpointUsingGETParams) SetPageSize(pageSize *int32)
- func (o *ListClustersOnEndpointUsingGETParams) SetPaged(paged *bool)
- func (o *ListClustersOnEndpointUsingGETParams) SetRegistered(registered *string)
- func (o *ListClustersOnEndpointUsingGETParams) SetSortSorted(sortSorted *bool)
- func (o *ListClustersOnEndpointUsingGETParams) SetSortUnsorted(sortUnsorted *bool)
- func (o *ListClustersOnEndpointUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersOnEndpointUsingGETParams) SetUnpaged(unpaged *bool)
- func (o *ListClustersOnEndpointUsingGETParams) WithContext(ctx context.Context) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithDefaults() *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithEndpointSelfLinkID(endpointSelfLinkID string) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithHTTPClient(client *http.Client) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithOffset(offset *int64) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithPageNumber(pageNumber *int32) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithPageSize(pageSize *int32) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithPaged(paged *bool) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithRegistered(registered *string) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithSortSorted(sortSorted *bool) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithSortUnsorted(sortUnsorted *bool) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithTimeout(timeout time.Duration) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WithUnpaged(unpaged *bool) *ListClustersOnEndpointUsingGETParams
- func (o *ListClustersOnEndpointUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersOnEndpointUsingGETReader
- type ListUsingGET4OK
- type ListUsingGET4Params
- func (o *ListUsingGET4Params) SetContext(ctx context.Context)
- func (o *ListUsingGET4Params) SetDefaults()
- func (o *ListUsingGET4Params) SetHTTPClient(client *http.Client)
- func (o *ListUsingGET4Params) SetOffset(offset *int64)
- func (o *ListUsingGET4Params) SetPageNumber(pageNumber *int32)
- func (o *ListUsingGET4Params) SetPageSize(pageSize *int32)
- func (o *ListUsingGET4Params) SetPaged(paged *bool)
- func (o *ListUsingGET4Params) SetSortSorted(sortSorted *bool)
- func (o *ListUsingGET4Params) SetSortUnsorted(sortUnsorted *bool)
- func (o *ListUsingGET4Params) SetTimeout(timeout time.Duration)
- func (o *ListUsingGET4Params) SetUnpaged(unpaged *bool)
- func (o *ListUsingGET4Params) WithContext(ctx context.Context) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithDefaults() *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithHTTPClient(client *http.Client) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithOffset(offset *int64) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithPageNumber(pageNumber *int32) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithPageSize(pageSize *int32) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithPaged(paged *bool) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithSortSorted(sortSorted *bool) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithSortUnsorted(sortUnsorted *bool) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithTimeout(timeout time.Duration) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WithUnpaged(unpaged *bool) *ListUsingGET4Params
- func (o *ListUsingGET4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUsingGET4Reader
- type RegisterUsingPUT1OK
- type RegisterUsingPUT1Params
- func NewRegisterUsingPUT1Params() *RegisterUsingPUT1Params
- func NewRegisterUsingPUT1ParamsWithContext(ctx context.Context) *RegisterUsingPUT1Params
- func NewRegisterUsingPUT1ParamsWithHTTPClient(client *http.Client) *RegisterUsingPUT1Params
- func NewRegisterUsingPUT1ParamsWithTimeout(timeout time.Duration) *RegisterUsingPUT1Params
- func (o *RegisterUsingPUT1Params) SetClusterSelfLinkID(clusterSelfLinkID string)
- func (o *RegisterUsingPUT1Params) SetContext(ctx context.Context)
- func (o *RegisterUsingPUT1Params) SetDefaults()
- func (o *RegisterUsingPUT1Params) SetHTTPClient(client *http.Client)
- func (o *RegisterUsingPUT1Params) SetTimeout(timeout time.Duration)
- func (o *RegisterUsingPUT1Params) WithClusterSelfLinkID(clusterSelfLinkID string) *RegisterUsingPUT1Params
- func (o *RegisterUsingPUT1Params) WithContext(ctx context.Context) *RegisterUsingPUT1Params
- func (o *RegisterUsingPUT1Params) WithDefaults() *RegisterUsingPUT1Params
- func (o *RegisterUsingPUT1Params) WithHTTPClient(client *http.Client) *RegisterUsingPUT1Params
- func (o *RegisterUsingPUT1Params) WithTimeout(timeout time.Duration) *RegisterUsingPUT1Params
- func (o *RegisterUsingPUT1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterUsingPUT1Reader
- type UnregisterUsingDELETEOK
- type UnregisterUsingDELETEParams
- func NewUnregisterUsingDELETEParams() *UnregisterUsingDELETEParams
- func NewUnregisterUsingDELETEParamsWithContext(ctx context.Context) *UnregisterUsingDELETEParams
- func NewUnregisterUsingDELETEParamsWithHTTPClient(client *http.Client) *UnregisterUsingDELETEParams
- func NewUnregisterUsingDELETEParamsWithTimeout(timeout time.Duration) *UnregisterUsingDELETEParams
- func (o *UnregisterUsingDELETEParams) SetClusterSelfLinkID(clusterSelfLinkID string)
- func (o *UnregisterUsingDELETEParams) SetContext(ctx context.Context)
- func (o *UnregisterUsingDELETEParams) SetDefaults()
- func (o *UnregisterUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *UnregisterUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *UnregisterUsingDELETEParams) WithClusterSelfLinkID(clusterSelfLinkID string) *UnregisterUsingDELETEParams
- func (o *UnregisterUsingDELETEParams) WithContext(ctx context.Context) *UnregisterUsingDELETEParams
- func (o *UnregisterUsingDELETEParams) WithDefaults() *UnregisterUsingDELETEParams
- func (o *UnregisterUsingDELETEParams) WithHTTPClient(client *http.Client) *UnregisterUsingDELETEParams
- func (o *UnregisterUsingDELETEParams) WithTimeout(timeout time.Duration) *UnregisterUsingDELETEParams
- func (o *UnregisterUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnregisterUsingDELETEReader
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 ¶
func (o *GetClusterUsingGET1OK) GetPayload() *models.SupervisorCluster
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 ¶
func (o *GetClusterUsingGET1Params) WithContext(ctx context.Context) *GetClusterUsingGET1Params
WithContext adds the context to the get cluster using get1 params
func (*GetClusterUsingGET1Params) WithDefaults ¶
func (o *GetClusterUsingGET1Params) WithDefaults() *GetClusterUsingGET1Params
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 ¶
func (o *GetClusterUsingGET1Params) WithMoref(moref string) *GetClusterUsingGET1Params
WithMoref adds the moref to the get cluster using get1 params
func (*GetClusterUsingGET1Params) WithTimeout ¶
func (o *GetClusterUsingGET1Params) WithTimeout(timeout time.Duration) *GetClusterUsingGET1Params
WithTimeout adds the timeout to the get cluster using get1 params
func (*GetClusterUsingGET1Params) WriteToRequest ¶
func (o *GetClusterUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetClusterUsingGET2OK) GetPayload() *models.SupervisorCluster
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 ¶
func (o *GetClusterUsingGET2Params) WithContext(ctx context.Context) *GetClusterUsingGET2Params
WithContext adds the context to the get cluster using g e t 2 params
func (*GetClusterUsingGET2Params) WithDefaults ¶
func (o *GetClusterUsingGET2Params) WithDefaults() *GetClusterUsingGET2Params
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 ¶
func (o *GetClusterUsingGET2Params) WithTimeout(timeout time.Duration) *GetClusterUsingGET2Params
WithTimeout adds the timeout to the get cluster using g e t 2 params
func (*GetClusterUsingGET2Params) WriteToRequest ¶
func (o *GetClusterUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListClustersOnEndpointUsingGETOK) Error() string
func (*ListClustersOnEndpointUsingGETOK) GetPayload ¶
func (o *ListClustersOnEndpointUsingGETOK) GetPayload() *models.PageOfSupervisorCluster
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 ¶
func (o *ListClustersOnEndpointUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *ListClustersOnEndpointUsingGETParams) WithContext(ctx context.Context) *ListClustersOnEndpointUsingGETParams
WithContext adds the context to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithDefaults ¶
func (o *ListClustersOnEndpointUsingGETParams) WithDefaults() *ListClustersOnEndpointUsingGETParams
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 ¶
func (o *ListClustersOnEndpointUsingGETParams) WithHTTPClient(client *http.Client) *ListClustersOnEndpointUsingGETParams
WithHTTPClient adds the HTTPClient to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithOffset ¶
func (o *ListClustersOnEndpointUsingGETParams) WithOffset(offset *int64) *ListClustersOnEndpointUsingGETParams
WithOffset adds the offset to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithPageNumber ¶
func (o *ListClustersOnEndpointUsingGETParams) WithPageNumber(pageNumber *int32) *ListClustersOnEndpointUsingGETParams
WithPageNumber adds the pageNumber to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithPageSize ¶
func (o *ListClustersOnEndpointUsingGETParams) WithPageSize(pageSize *int32) *ListClustersOnEndpointUsingGETParams
WithPageSize adds the pageSize to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithPaged ¶
func (o *ListClustersOnEndpointUsingGETParams) WithPaged(paged *bool) *ListClustersOnEndpointUsingGETParams
WithPaged adds the paged to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithRegistered ¶
func (o *ListClustersOnEndpointUsingGETParams) WithRegistered(registered *string) *ListClustersOnEndpointUsingGETParams
WithRegistered adds the registered to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithSortSorted ¶
func (o *ListClustersOnEndpointUsingGETParams) WithSortSorted(sortSorted *bool) *ListClustersOnEndpointUsingGETParams
WithSortSorted adds the sortSorted to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithSortUnsorted ¶
func (o *ListClustersOnEndpointUsingGETParams) WithSortUnsorted(sortUnsorted *bool) *ListClustersOnEndpointUsingGETParams
WithSortUnsorted adds the sortUnsorted to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithTimeout ¶
func (o *ListClustersOnEndpointUsingGETParams) WithTimeout(timeout time.Duration) *ListClustersOnEndpointUsingGETParams
WithTimeout adds the timeout to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WithUnpaged ¶
func (o *ListClustersOnEndpointUsingGETParams) WithUnpaged(unpaged *bool) *ListClustersOnEndpointUsingGETParams
WithUnpaged adds the unpaged to the list clusters on endpoint using get params
func (*ListClustersOnEndpointUsingGETParams) WriteToRequest ¶
func (o *ListClustersOnEndpointUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListUsingGET4OK) GetPayload() *models.PageOfSupervisorCluster
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 ¶
func (o *ListUsingGET4Params) WithContext(ctx context.Context) *ListUsingGET4Params
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 ¶
func (o *RegisterUsingPUT1Params) WithContext(ctx context.Context) *RegisterUsingPUT1Params
WithContext adds the context to the register using p u t 1 params
func (*RegisterUsingPUT1Params) WithDefaults ¶
func (o *RegisterUsingPUT1Params) WithDefaults() *RegisterUsingPUT1Params
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 ¶
func (o *RegisterUsingPUT1Params) WithTimeout(timeout time.Duration) *RegisterUsingPUT1Params
WithTimeout adds the timeout to the register using p u t 1 params
func (*RegisterUsingPUT1Params) WriteToRequest ¶
func (o *RegisterUsingPUT1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UnregisterUsingDELETEParams) WithContext(ctx context.Context) *UnregisterUsingDELETEParams
WithContext adds the context to the unregister using d e l e t e params
func (*UnregisterUsingDELETEParams) WithDefaults ¶
func (o *UnregisterUsingDELETEParams) WithDefaults() *UnregisterUsingDELETEParams
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 ¶
func (o *UnregisterUsingDELETEParams) WithHTTPClient(client *http.Client) *UnregisterUsingDELETEParams
WithHTTPClient adds the HTTPClient to the unregister using d e l e t e params
func (*UnregisterUsingDELETEParams) WithTimeout ¶
func (o *UnregisterUsingDELETEParams) WithTimeout(timeout time.Duration) *UnregisterUsingDELETEParams
WithTimeout adds the timeout to the unregister using d e l e t e params
func (*UnregisterUsingDELETEParams) WriteToRequest ¶
func (o *UnregisterUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- get_cluster_using_get1_parameters.go
- get_cluster_using_get1_responses.go
- get_cluster_using_get2_parameters.go
- get_cluster_using_get2_responses.go
- list_clusters_on_endpoint_using_get_parameters.go
- list_clusters_on_endpoint_using_get_responses.go
- list_using_get4_parameters.go
- list_using_get4_responses.go
- register_using_put1_parameters.go
- register_using_put1_responses.go
- supervisor_clusters_client.go
- unregister_using_delete_parameters.go
- unregister_using_delete_responses.go