Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPIV2ClustersSelector(params *DeleteAPIV2ClustersSelectorParams, opts ...ClientOption) (*DeleteAPIV2ClustersSelectorOK, error)
- func (a *Client) GetAPIV2Clusters(params *GetAPIV2ClustersParams, opts ...ClientOption) (*GetAPIV2ClustersOK, error)
- func (a *Client) GetAPIV2ClustersSelector(params *GetAPIV2ClustersSelectorParams, opts ...ClientOption) (*GetAPIV2ClustersSelectorOK, error)
- func (a *Client) GetAPIV2SelectorsClustersSelector(params *GetAPIV2SelectorsClustersSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsClustersSelectorOK, error)
- func (a *Client) PatchAPIV2ClustersSelector(params *PatchAPIV2ClustersSelectorParams, opts ...ClientOption) (*PatchAPIV2ClustersSelectorOK, error)
- func (a *Client) PostAPIV2Clusters(params *PostAPIV2ClustersParams, opts ...ClientOption) (*PostAPIV2ClustersOK, *PostAPIV2ClustersCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIV2ClustersSelectorBadRequest
- type DeleteAPIV2ClustersSelectorConflict
- type DeleteAPIV2ClustersSelectorForbidden
- type DeleteAPIV2ClustersSelectorInternalServerError
- type DeleteAPIV2ClustersSelectorNotFound
- type DeleteAPIV2ClustersSelectorOK
- type DeleteAPIV2ClustersSelectorParams
- func NewDeleteAPIV2ClustersSelectorParams() *DeleteAPIV2ClustersSelectorParams
- func NewDeleteAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2ClustersSelectorParams
- func NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2ClustersSelectorParams
- func NewDeleteAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2ClustersSelectorParams
- func (o *DeleteAPIV2ClustersSelectorParams) SetContext(ctx context.Context)
- func (o *DeleteAPIV2ClustersSelectorParams) SetDefaults()
- func (o *DeleteAPIV2ClustersSelectorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIV2ClustersSelectorParams) SetSelector(selector string)
- func (o *DeleteAPIV2ClustersSelectorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIV2ClustersSelectorParams) WithContext(ctx context.Context) *DeleteAPIV2ClustersSelectorParams
- func (o *DeleteAPIV2ClustersSelectorParams) WithDefaults() *DeleteAPIV2ClustersSelectorParams
- func (o *DeleteAPIV2ClustersSelectorParams) WithHTTPClient(client *http.Client) *DeleteAPIV2ClustersSelectorParams
- func (o *DeleteAPIV2ClustersSelectorParams) WithSelector(selector string) *DeleteAPIV2ClustersSelectorParams
- func (o *DeleteAPIV2ClustersSelectorParams) WithTimeout(timeout time.Duration) *DeleteAPIV2ClustersSelectorParams
- func (o *DeleteAPIV2ClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIV2ClustersSelectorProxyAuthenticationRequired
- type DeleteAPIV2ClustersSelectorReader
- type GetAPIV2ClustersBadRequest
- type GetAPIV2ClustersConflict
- type GetAPIV2ClustersForbidden
- type GetAPIV2ClustersInternalServerError
- type GetAPIV2ClustersNotFound
- type GetAPIV2ClustersOK
- type GetAPIV2ClustersParams
- func NewGetAPIV2ClustersParams() *GetAPIV2ClustersParams
- func NewGetAPIV2ClustersParamsWithContext(ctx context.Context) *GetAPIV2ClustersParams
- func NewGetAPIV2ClustersParamsWithHTTPClient(client *http.Client) *GetAPIV2ClustersParams
- func NewGetAPIV2ClustersParamsWithTimeout(timeout time.Duration) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) SetAddress(address *string)
- func (o *GetAPIV2ClustersParams) SetAzureSubscription(azureSubscription *string)
- func (o *GetAPIV2ClustersParams) SetBase(base *string)
- func (o *GetAPIV2ClustersParams) SetContext(ctx context.Context)
- func (o *GetAPIV2ClustersParams) SetCreatedAt(createdAt *string)
- func (o *GetAPIV2ClustersParams) SetDefaults()
- func (o *GetAPIV2ClustersParams) SetGoogleProject(googleProject *string)
- func (o *GetAPIV2ClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2ClustersParams) SetHelmfileRef(helmfileRef *string)
- func (o *GetAPIV2ClustersParams) SetID(id *int64)
- func (o *GetAPIV2ClustersParams) SetLimit(limit *int64)
- func (o *GetAPIV2ClustersParams) SetLocation(location *string)
- func (o *GetAPIV2ClustersParams) SetName(name *string)
- func (o *GetAPIV2ClustersParams) SetProvider(provider *string)
- func (o *GetAPIV2ClustersParams) SetRequiresSuitability(requiresSuitability *bool)
- func (o *GetAPIV2ClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2ClustersParams) SetUpdatedAt(updatedAt *string)
- func (o *GetAPIV2ClustersParams) WithAddress(address *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithAzureSubscription(azureSubscription *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithBase(base *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithContext(ctx context.Context) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithCreatedAt(createdAt *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithDefaults() *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithGoogleProject(googleProject *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithHTTPClient(client *http.Client) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithHelmfileRef(helmfileRef *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithID(id *int64) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithLimit(limit *int64) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithLocation(location *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithName(name *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithProvider(provider *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithRequiresSuitability(requiresSuitability *bool) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithTimeout(timeout time.Duration) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WithUpdatedAt(updatedAt *string) *GetAPIV2ClustersParams
- func (o *GetAPIV2ClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2ClustersProxyAuthenticationRequired
- type GetAPIV2ClustersReader
- type GetAPIV2ClustersSelectorBadRequest
- type GetAPIV2ClustersSelectorConflict
- type GetAPIV2ClustersSelectorForbidden
- type GetAPIV2ClustersSelectorInternalServerError
- type GetAPIV2ClustersSelectorNotFound
- type GetAPIV2ClustersSelectorOK
- type GetAPIV2ClustersSelectorParams
- func NewGetAPIV2ClustersSelectorParams() *GetAPIV2ClustersSelectorParams
- func NewGetAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *GetAPIV2ClustersSelectorParams
- func NewGetAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2ClustersSelectorParams
- func NewGetAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2ClustersSelectorParams
- func (o *GetAPIV2ClustersSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2ClustersSelectorParams) SetDefaults()
- func (o *GetAPIV2ClustersSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2ClustersSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2ClustersSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2ClustersSelectorParams) WithContext(ctx context.Context) *GetAPIV2ClustersSelectorParams
- func (o *GetAPIV2ClustersSelectorParams) WithDefaults() *GetAPIV2ClustersSelectorParams
- func (o *GetAPIV2ClustersSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2ClustersSelectorParams
- func (o *GetAPIV2ClustersSelectorParams) WithSelector(selector string) *GetAPIV2ClustersSelectorParams
- func (o *GetAPIV2ClustersSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2ClustersSelectorParams
- func (o *GetAPIV2ClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2ClustersSelectorProxyAuthenticationRequired
- type GetAPIV2ClustersSelectorReader
- type GetAPIV2SelectorsClustersSelectorBadRequest
- type GetAPIV2SelectorsClustersSelectorConflict
- type GetAPIV2SelectorsClustersSelectorForbidden
- type GetAPIV2SelectorsClustersSelectorInternalServerError
- type GetAPIV2SelectorsClustersSelectorNotFound
- type GetAPIV2SelectorsClustersSelectorOK
- type GetAPIV2SelectorsClustersSelectorParams
- func NewGetAPIV2SelectorsClustersSelectorParams() *GetAPIV2SelectorsClustersSelectorParams
- func NewGetAPIV2SelectorsClustersSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsClustersSelectorParams
- func NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsClustersSelectorParams
- func NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsClustersSelectorParams
- func (o *GetAPIV2SelectorsClustersSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2SelectorsClustersSelectorParams) SetDefaults()
- func (o *GetAPIV2SelectorsClustersSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2SelectorsClustersSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2SelectorsClustersSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2SelectorsClustersSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsClustersSelectorParams
- func (o *GetAPIV2SelectorsClustersSelectorParams) WithDefaults() *GetAPIV2SelectorsClustersSelectorParams
- func (o *GetAPIV2SelectorsClustersSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsClustersSelectorParams
- func (o *GetAPIV2SelectorsClustersSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsClustersSelectorParams
- func (o *GetAPIV2SelectorsClustersSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsClustersSelectorParams
- func (o *GetAPIV2SelectorsClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired
- type GetAPIV2SelectorsClustersSelectorReader
- type PatchAPIV2ClustersSelectorBadRequest
- type PatchAPIV2ClustersSelectorConflict
- type PatchAPIV2ClustersSelectorForbidden
- type PatchAPIV2ClustersSelectorInternalServerError
- type PatchAPIV2ClustersSelectorNotFound
- type PatchAPIV2ClustersSelectorOK
- type PatchAPIV2ClustersSelectorParams
- func NewPatchAPIV2ClustersSelectorParams() *PatchAPIV2ClustersSelectorParams
- func NewPatchAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *PatchAPIV2ClustersSelectorParams
- func NewPatchAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2ClustersSelectorParams
- func NewPatchAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) SetCluster(cluster *models.V2controllersEditableCluster)
- func (o *PatchAPIV2ClustersSelectorParams) SetContext(ctx context.Context)
- func (o *PatchAPIV2ClustersSelectorParams) SetDefaults()
- func (o *PatchAPIV2ClustersSelectorParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPIV2ClustersSelectorParams) SetSelector(selector string)
- func (o *PatchAPIV2ClustersSelectorParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPIV2ClustersSelectorParams) WithCluster(cluster *models.V2controllersEditableCluster) *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) WithContext(ctx context.Context) *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) WithDefaults() *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) WithHTTPClient(client *http.Client) *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) WithSelector(selector string) *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) WithTimeout(timeout time.Duration) *PatchAPIV2ClustersSelectorParams
- func (o *PatchAPIV2ClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPIV2ClustersSelectorProxyAuthenticationRequired
- type PatchAPIV2ClustersSelectorReader
- type PostAPIV2ClustersBadRequest
- type PostAPIV2ClustersConflict
- type PostAPIV2ClustersCreated
- type PostAPIV2ClustersForbidden
- type PostAPIV2ClustersInternalServerError
- type PostAPIV2ClustersNotFound
- type PostAPIV2ClustersOK
- type PostAPIV2ClustersParams
- func NewPostAPIV2ClustersParams() *PostAPIV2ClustersParams
- func NewPostAPIV2ClustersParamsWithContext(ctx context.Context) *PostAPIV2ClustersParams
- func NewPostAPIV2ClustersParamsWithHTTPClient(client *http.Client) *PostAPIV2ClustersParams
- func NewPostAPIV2ClustersParamsWithTimeout(timeout time.Duration) *PostAPIV2ClustersParams
- func (o *PostAPIV2ClustersParams) SetCluster(cluster *models.V2controllersCreatableCluster)
- func (o *PostAPIV2ClustersParams) SetContext(ctx context.Context)
- func (o *PostAPIV2ClustersParams) SetDefaults()
- func (o *PostAPIV2ClustersParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV2ClustersParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV2ClustersParams) WithCluster(cluster *models.V2controllersCreatableCluster) *PostAPIV2ClustersParams
- func (o *PostAPIV2ClustersParams) WithContext(ctx context.Context) *PostAPIV2ClustersParams
- func (o *PostAPIV2ClustersParams) WithDefaults() *PostAPIV2ClustersParams
- func (o *PostAPIV2ClustersParams) WithHTTPClient(client *http.Client) *PostAPIV2ClustersParams
- func (o *PostAPIV2ClustersParams) WithTimeout(timeout time.Duration) *PostAPIV2ClustersParams
- func (o *PostAPIV2ClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV2ClustersProxyAuthenticationRequired
- type PostAPIV2ClustersReader
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 clusters API
func (*Client) DeleteAPIV2ClustersSelector ¶
func (a *Client) DeleteAPIV2ClustersSelector(params *DeleteAPIV2ClustersSelectorParams, opts ...ClientOption) (*DeleteAPIV2ClustersSelectorOK, error)
DeleteAPIV2ClustersSelector deletes a cluster entry
Delete an existing Cluster entry via one of its "selectors": name or numeric ID.
func (*Client) GetAPIV2Clusters ¶
func (a *Client) GetAPIV2Clusters(params *GetAPIV2ClustersParams, opts ...ClientOption) (*GetAPIV2ClustersOK, error)
GetAPIV2Clusters lists cluster entries
List existing Cluster entries, ordered by most recently updated.
func (*Client) GetAPIV2ClustersSelector ¶
func (a *Client) GetAPIV2ClustersSelector(params *GetAPIV2ClustersSelectorParams, opts ...ClientOption) (*GetAPIV2ClustersSelectorOK, error)
GetAPIV2ClustersSelector gets a cluster entry
Get an existing Cluster entry via one of its "selectors": name or numeric ID.
func (*Client) GetAPIV2SelectorsClustersSelector ¶
func (a *Client) GetAPIV2SelectorsClustersSelector(params *GetAPIV2SelectorsClustersSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsClustersSelectorOK, error)
GetAPIV2SelectorsClustersSelector lists cluster selectors
Validate a given Cluster selector and provide any other selectors that would match the same Cluster.
func (*Client) PatchAPIV2ClustersSelector ¶
func (a *Client) PatchAPIV2ClustersSelector(params *PatchAPIV2ClustersSelectorParams, opts ...ClientOption) (*PatchAPIV2ClustersSelectorOK, error)
PatchAPIV2ClustersSelector edits a cluster entry
Edit an existing Cluster entry via one of its "selectors": name or numeric ID. Note that only mutable fields are available here, immutable fields can only be set using /create.
func (*Client) PostAPIV2Clusters ¶
func (a *Client) PostAPIV2Clusters(params *PostAPIV2ClustersParams, opts ...ClientOption) (*PostAPIV2ClustersOK, *PostAPIV2ClustersCreated, error)
PostAPIV2Clusters creates a new cluster entry
Create a new Cluster entry. Note that some fields are immutable after creation; /edit lists mutable fields.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteAPIV2ClustersSelector(params *DeleteAPIV2ClustersSelectorParams, opts ...ClientOption) (*DeleteAPIV2ClustersSelectorOK, error) GetAPIV2Clusters(params *GetAPIV2ClustersParams, opts ...ClientOption) (*GetAPIV2ClustersOK, error) GetAPIV2ClustersSelector(params *GetAPIV2ClustersSelectorParams, opts ...ClientOption) (*GetAPIV2ClustersSelectorOK, error) GetAPIV2SelectorsClustersSelector(params *GetAPIV2SelectorsClustersSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsClustersSelectorOK, error) PatchAPIV2ClustersSelector(params *PatchAPIV2ClustersSelectorParams, opts ...ClientOption) (*PatchAPIV2ClustersSelectorOK, error) PostAPIV2Clusters(params *PostAPIV2ClustersParams, opts ...ClientOption) (*PostAPIV2ClustersOK, *PostAPIV2ClustersCreated, 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 clusters API client.
type DeleteAPIV2ClustersSelectorBadRequest ¶
type DeleteAPIV2ClustersSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIV2ClustersSelectorBadRequest ¶
func NewDeleteAPIV2ClustersSelectorBadRequest() *DeleteAPIV2ClustersSelectorBadRequest
NewDeleteAPIV2ClustersSelectorBadRequest creates a DeleteAPIV2ClustersSelectorBadRequest with default headers values
func (*DeleteAPIV2ClustersSelectorBadRequest) Error ¶
func (o *DeleteAPIV2ClustersSelectorBadRequest) Error() string
func (*DeleteAPIV2ClustersSelectorBadRequest) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type DeleteAPIV2ClustersSelectorConflict ¶
type DeleteAPIV2ClustersSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewDeleteAPIV2ClustersSelectorConflict ¶
func NewDeleteAPIV2ClustersSelectorConflict() *DeleteAPIV2ClustersSelectorConflict
NewDeleteAPIV2ClustersSelectorConflict creates a DeleteAPIV2ClustersSelectorConflict with default headers values
func (*DeleteAPIV2ClustersSelectorConflict) Error ¶
func (o *DeleteAPIV2ClustersSelectorConflict) Error() string
func (*DeleteAPIV2ClustersSelectorConflict) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type DeleteAPIV2ClustersSelectorForbidden ¶
type DeleteAPIV2ClustersSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteAPIV2ClustersSelectorForbidden ¶
func NewDeleteAPIV2ClustersSelectorForbidden() *DeleteAPIV2ClustersSelectorForbidden
NewDeleteAPIV2ClustersSelectorForbidden creates a DeleteAPIV2ClustersSelectorForbidden with default headers values
func (*DeleteAPIV2ClustersSelectorForbidden) Error ¶
func (o *DeleteAPIV2ClustersSelectorForbidden) Error() string
func (*DeleteAPIV2ClustersSelectorForbidden) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type DeleteAPIV2ClustersSelectorInternalServerError ¶
type DeleteAPIV2ClustersSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAPIV2ClustersSelectorInternalServerError ¶
func NewDeleteAPIV2ClustersSelectorInternalServerError() *DeleteAPIV2ClustersSelectorInternalServerError
NewDeleteAPIV2ClustersSelectorInternalServerError creates a DeleteAPIV2ClustersSelectorInternalServerError with default headers values
func (*DeleteAPIV2ClustersSelectorInternalServerError) Error ¶
func (o *DeleteAPIV2ClustersSelectorInternalServerError) Error() string
func (*DeleteAPIV2ClustersSelectorInternalServerError) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type DeleteAPIV2ClustersSelectorNotFound ¶
type DeleteAPIV2ClustersSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteAPIV2ClustersSelectorNotFound ¶
func NewDeleteAPIV2ClustersSelectorNotFound() *DeleteAPIV2ClustersSelectorNotFound
NewDeleteAPIV2ClustersSelectorNotFound creates a DeleteAPIV2ClustersSelectorNotFound with default headers values
func (*DeleteAPIV2ClustersSelectorNotFound) Error ¶
func (o *DeleteAPIV2ClustersSelectorNotFound) Error() string
func (*DeleteAPIV2ClustersSelectorNotFound) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type DeleteAPIV2ClustersSelectorOK ¶
type DeleteAPIV2ClustersSelectorOK struct {
Payload *models.V2controllersCluster
}
DeleteAPIV2ClustersSelectorOK describes a response with status code 200, with default header values.
OK
func NewDeleteAPIV2ClustersSelectorOK ¶
func NewDeleteAPIV2ClustersSelectorOK() *DeleteAPIV2ClustersSelectorOK
NewDeleteAPIV2ClustersSelectorOK creates a DeleteAPIV2ClustersSelectorOK with default headers values
func (*DeleteAPIV2ClustersSelectorOK) Error ¶
func (o *DeleteAPIV2ClustersSelectorOK) Error() string
func (*DeleteAPIV2ClustersSelectorOK) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorOK) GetPayload() *models.V2controllersCluster
type DeleteAPIV2ClustersSelectorParams ¶
type DeleteAPIV2ClustersSelectorParams struct { /* Selector. The Cluster to delete's selector: name or numeric ID */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPIV2ClustersSelectorParams contains all the parameters to send to the API endpoint
for the delete API v2 clusters selector operation. Typically these are written to a http.Request.
func NewDeleteAPIV2ClustersSelectorParams ¶
func NewDeleteAPIV2ClustersSelectorParams() *DeleteAPIV2ClustersSelectorParams
NewDeleteAPIV2ClustersSelectorParams creates a new DeleteAPIV2ClustersSelectorParams 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 NewDeleteAPIV2ClustersSelectorParamsWithContext ¶
func NewDeleteAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2ClustersSelectorParams
NewDeleteAPIV2ClustersSelectorParamsWithContext creates a new DeleteAPIV2ClustersSelectorParams object with the ability to set a context for a request.
func NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient ¶
func NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2ClustersSelectorParams
NewDeleteAPIV2ClustersSelectorParamsWithHTTPClient creates a new DeleteAPIV2ClustersSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIV2ClustersSelectorParamsWithTimeout ¶
func NewDeleteAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2ClustersSelectorParams
NewDeleteAPIV2ClustersSelectorParamsWithTimeout creates a new DeleteAPIV2ClustersSelectorParams object with the ability to set a timeout on a request.
func (*DeleteAPIV2ClustersSelectorParams) SetContext ¶
func (o *DeleteAPIV2ClustersSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) SetDefaults ¶
func (o *DeleteAPIV2ClustersSelectorParams) SetDefaults()
SetDefaults hydrates default values in the delete API v2 clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIV2ClustersSelectorParams) SetHTTPClient ¶
func (o *DeleteAPIV2ClustersSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) SetSelector ¶
func (o *DeleteAPIV2ClustersSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) SetTimeout ¶
func (o *DeleteAPIV2ClustersSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) WithContext ¶
func (o *DeleteAPIV2ClustersSelectorParams) WithContext(ctx context.Context) *DeleteAPIV2ClustersSelectorParams
WithContext adds the context to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) WithDefaults ¶
func (o *DeleteAPIV2ClustersSelectorParams) WithDefaults() *DeleteAPIV2ClustersSelectorParams
WithDefaults hydrates default values in the delete API v2 clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIV2ClustersSelectorParams) WithHTTPClient ¶
func (o *DeleteAPIV2ClustersSelectorParams) WithHTTPClient(client *http.Client) *DeleteAPIV2ClustersSelectorParams
WithHTTPClient adds the HTTPClient to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) WithSelector ¶
func (o *DeleteAPIV2ClustersSelectorParams) WithSelector(selector string) *DeleteAPIV2ClustersSelectorParams
WithSelector adds the selector to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) WithTimeout ¶
func (o *DeleteAPIV2ClustersSelectorParams) WithTimeout(timeout time.Duration) *DeleteAPIV2ClustersSelectorParams
WithTimeout adds the timeout to the delete API v2 clusters selector params
func (*DeleteAPIV2ClustersSelectorParams) WriteToRequest ¶
func (o *DeleteAPIV2ClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIV2ClustersSelectorProxyAuthenticationRequired ¶
type DeleteAPIV2ClustersSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewDeleteAPIV2ClustersSelectorProxyAuthenticationRequired ¶
func NewDeleteAPIV2ClustersSelectorProxyAuthenticationRequired() *DeleteAPIV2ClustersSelectorProxyAuthenticationRequired
NewDeleteAPIV2ClustersSelectorProxyAuthenticationRequired creates a DeleteAPIV2ClustersSelectorProxyAuthenticationRequired with default headers values
func (*DeleteAPIV2ClustersSelectorProxyAuthenticationRequired) Error ¶
func (o *DeleteAPIV2ClustersSelectorProxyAuthenticationRequired) Error() string
func (*DeleteAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *DeleteAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type DeleteAPIV2ClustersSelectorReader ¶
type DeleteAPIV2ClustersSelectorReader struct {
// contains filtered or unexported fields
}
DeleteAPIV2ClustersSelectorReader is a Reader for the DeleteAPIV2ClustersSelector structure.
func (*DeleteAPIV2ClustersSelectorReader) ReadResponse ¶
func (o *DeleteAPIV2ClustersSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2ClustersBadRequest ¶
type GetAPIV2ClustersBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2ClustersBadRequest ¶
func NewGetAPIV2ClustersBadRequest() *GetAPIV2ClustersBadRequest
NewGetAPIV2ClustersBadRequest creates a GetAPIV2ClustersBadRequest with default headers values
func (*GetAPIV2ClustersBadRequest) Error ¶
func (o *GetAPIV2ClustersBadRequest) Error() string
func (*GetAPIV2ClustersBadRequest) GetPayload ¶
func (o *GetAPIV2ClustersBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersConflict ¶
type GetAPIV2ClustersConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2ClustersConflict ¶
func NewGetAPIV2ClustersConflict() *GetAPIV2ClustersConflict
NewGetAPIV2ClustersConflict creates a GetAPIV2ClustersConflict with default headers values
func (*GetAPIV2ClustersConflict) Error ¶
func (o *GetAPIV2ClustersConflict) Error() string
func (*GetAPIV2ClustersConflict) GetPayload ¶
func (o *GetAPIV2ClustersConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersForbidden ¶
type GetAPIV2ClustersForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2ClustersForbidden ¶
func NewGetAPIV2ClustersForbidden() *GetAPIV2ClustersForbidden
NewGetAPIV2ClustersForbidden creates a GetAPIV2ClustersForbidden with default headers values
func (*GetAPIV2ClustersForbidden) Error ¶
func (o *GetAPIV2ClustersForbidden) Error() string
func (*GetAPIV2ClustersForbidden) GetPayload ¶
func (o *GetAPIV2ClustersForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersInternalServerError ¶
type GetAPIV2ClustersInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2ClustersInternalServerError ¶
func NewGetAPIV2ClustersInternalServerError() *GetAPIV2ClustersInternalServerError
NewGetAPIV2ClustersInternalServerError creates a GetAPIV2ClustersInternalServerError with default headers values
func (*GetAPIV2ClustersInternalServerError) Error ¶
func (o *GetAPIV2ClustersInternalServerError) Error() string
func (*GetAPIV2ClustersInternalServerError) GetPayload ¶
func (o *GetAPIV2ClustersInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersNotFound ¶
type GetAPIV2ClustersNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2ClustersNotFound ¶
func NewGetAPIV2ClustersNotFound() *GetAPIV2ClustersNotFound
NewGetAPIV2ClustersNotFound creates a GetAPIV2ClustersNotFound with default headers values
func (*GetAPIV2ClustersNotFound) Error ¶
func (o *GetAPIV2ClustersNotFound) Error() string
func (*GetAPIV2ClustersNotFound) GetPayload ¶
func (o *GetAPIV2ClustersNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersOK ¶
type GetAPIV2ClustersOK struct {
Payload []*models.V2controllersCluster
}
GetAPIV2ClustersOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2ClustersOK ¶
func NewGetAPIV2ClustersOK() *GetAPIV2ClustersOK
NewGetAPIV2ClustersOK creates a GetAPIV2ClustersOK with default headers values
func (*GetAPIV2ClustersOK) Error ¶
func (o *GetAPIV2ClustersOK) Error() string
func (*GetAPIV2ClustersOK) GetPayload ¶
func (o *GetAPIV2ClustersOK) GetPayload() []*models.V2controllersCluster
type GetAPIV2ClustersParams ¶
type GetAPIV2ClustersParams struct { /* Address. Required when creating */ Address *string /* AzureSubscription. Required when creating if providers is 'azure' */ AzureSubscription *string /* Base. Required when creating */ Base *string // CreatedAt. CreatedAt *string /* GoogleProject. Required when creating if provider is 'google' */ GoogleProject *string // HelmfileRef. // // Default: "HEAD" HelmfileRef *string // ID. ID *int64 /* Limit. An optional limit to the number of entries returned */ Limit *int64 // Location. // // Default: "us-central1-a" Location *string /* Name. Required when creating */ Name *string // Provider. // // Default: "google" Provider *string // RequiresSuitability. RequiresSuitability *bool // UpdatedAt. UpdatedAt *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2ClustersParams contains all the parameters to send to the API endpoint
for the get API v2 clusters operation. Typically these are written to a http.Request.
func NewGetAPIV2ClustersParams ¶
func NewGetAPIV2ClustersParams() *GetAPIV2ClustersParams
NewGetAPIV2ClustersParams creates a new GetAPIV2ClustersParams 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 NewGetAPIV2ClustersParamsWithContext ¶
func NewGetAPIV2ClustersParamsWithContext(ctx context.Context) *GetAPIV2ClustersParams
NewGetAPIV2ClustersParamsWithContext creates a new GetAPIV2ClustersParams object with the ability to set a context for a request.
func NewGetAPIV2ClustersParamsWithHTTPClient ¶
func NewGetAPIV2ClustersParamsWithHTTPClient(client *http.Client) *GetAPIV2ClustersParams
NewGetAPIV2ClustersParamsWithHTTPClient creates a new GetAPIV2ClustersParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2ClustersParamsWithTimeout ¶
func NewGetAPIV2ClustersParamsWithTimeout(timeout time.Duration) *GetAPIV2ClustersParams
NewGetAPIV2ClustersParamsWithTimeout creates a new GetAPIV2ClustersParams object with the ability to set a timeout on a request.
func (*GetAPIV2ClustersParams) SetAddress ¶
func (o *GetAPIV2ClustersParams) SetAddress(address *string)
SetAddress adds the address to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetAzureSubscription ¶
func (o *GetAPIV2ClustersParams) SetAzureSubscription(azureSubscription *string)
SetAzureSubscription adds the azureSubscription to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetBase ¶
func (o *GetAPIV2ClustersParams) SetBase(base *string)
SetBase adds the base to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetContext ¶
func (o *GetAPIV2ClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetCreatedAt ¶
func (o *GetAPIV2ClustersParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetDefaults ¶
func (o *GetAPIV2ClustersParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 clusters params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ClustersParams) SetGoogleProject ¶
func (o *GetAPIV2ClustersParams) SetGoogleProject(googleProject *string)
SetGoogleProject adds the googleProject to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetHTTPClient ¶
func (o *GetAPIV2ClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetHelmfileRef ¶ added in v0.0.64
func (o *GetAPIV2ClustersParams) SetHelmfileRef(helmfileRef *string)
SetHelmfileRef adds the helmfileRef to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetID ¶
func (o *GetAPIV2ClustersParams) SetID(id *int64)
SetID adds the id to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetLimit ¶
func (o *GetAPIV2ClustersParams) SetLimit(limit *int64)
SetLimit adds the limit to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetLocation ¶ added in v0.0.64
func (o *GetAPIV2ClustersParams) SetLocation(location *string)
SetLocation adds the location to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetName ¶
func (o *GetAPIV2ClustersParams) SetName(name *string)
SetName adds the name to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetProvider ¶
func (o *GetAPIV2ClustersParams) SetProvider(provider *string)
SetProvider adds the provider to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetRequiresSuitability ¶
func (o *GetAPIV2ClustersParams) SetRequiresSuitability(requiresSuitability *bool)
SetRequiresSuitability adds the requiresSuitability to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetTimeout ¶
func (o *GetAPIV2ClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 clusters params
func (*GetAPIV2ClustersParams) SetUpdatedAt ¶
func (o *GetAPIV2ClustersParams) SetUpdatedAt(updatedAt *string)
SetUpdatedAt adds the updatedAt to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithAddress ¶
func (o *GetAPIV2ClustersParams) WithAddress(address *string) *GetAPIV2ClustersParams
WithAddress adds the address to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithAzureSubscription ¶
func (o *GetAPIV2ClustersParams) WithAzureSubscription(azureSubscription *string) *GetAPIV2ClustersParams
WithAzureSubscription adds the azureSubscription to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithBase ¶
func (o *GetAPIV2ClustersParams) WithBase(base *string) *GetAPIV2ClustersParams
WithBase adds the base to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithContext ¶
func (o *GetAPIV2ClustersParams) WithContext(ctx context.Context) *GetAPIV2ClustersParams
WithContext adds the context to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithCreatedAt ¶
func (o *GetAPIV2ClustersParams) WithCreatedAt(createdAt *string) *GetAPIV2ClustersParams
WithCreatedAt adds the createdAt to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithDefaults ¶
func (o *GetAPIV2ClustersParams) WithDefaults() *GetAPIV2ClustersParams
WithDefaults hydrates default values in the get API v2 clusters params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ClustersParams) WithGoogleProject ¶
func (o *GetAPIV2ClustersParams) WithGoogleProject(googleProject *string) *GetAPIV2ClustersParams
WithGoogleProject adds the googleProject to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithHTTPClient ¶
func (o *GetAPIV2ClustersParams) WithHTTPClient(client *http.Client) *GetAPIV2ClustersParams
WithHTTPClient adds the HTTPClient to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithHelmfileRef ¶ added in v0.0.64
func (o *GetAPIV2ClustersParams) WithHelmfileRef(helmfileRef *string) *GetAPIV2ClustersParams
WithHelmfileRef adds the helmfileRef to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithID ¶
func (o *GetAPIV2ClustersParams) WithID(id *int64) *GetAPIV2ClustersParams
WithID adds the id to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithLimit ¶
func (o *GetAPIV2ClustersParams) WithLimit(limit *int64) *GetAPIV2ClustersParams
WithLimit adds the limit to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithLocation ¶ added in v0.0.64
func (o *GetAPIV2ClustersParams) WithLocation(location *string) *GetAPIV2ClustersParams
WithLocation adds the location to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithName ¶
func (o *GetAPIV2ClustersParams) WithName(name *string) *GetAPIV2ClustersParams
WithName adds the name to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithProvider ¶
func (o *GetAPIV2ClustersParams) WithProvider(provider *string) *GetAPIV2ClustersParams
WithProvider adds the provider to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithRequiresSuitability ¶
func (o *GetAPIV2ClustersParams) WithRequiresSuitability(requiresSuitability *bool) *GetAPIV2ClustersParams
WithRequiresSuitability adds the requiresSuitability to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithTimeout ¶
func (o *GetAPIV2ClustersParams) WithTimeout(timeout time.Duration) *GetAPIV2ClustersParams
WithTimeout adds the timeout to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WithUpdatedAt ¶
func (o *GetAPIV2ClustersParams) WithUpdatedAt(updatedAt *string) *GetAPIV2ClustersParams
WithUpdatedAt adds the updatedAt to the get API v2 clusters params
func (*GetAPIV2ClustersParams) WriteToRequest ¶
func (o *GetAPIV2ClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2ClustersProxyAuthenticationRequired ¶
type GetAPIV2ClustersProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2ClustersProxyAuthenticationRequired ¶
func NewGetAPIV2ClustersProxyAuthenticationRequired() *GetAPIV2ClustersProxyAuthenticationRequired
NewGetAPIV2ClustersProxyAuthenticationRequired creates a GetAPIV2ClustersProxyAuthenticationRequired with default headers values
func (*GetAPIV2ClustersProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2ClustersProxyAuthenticationRequired) Error() string
func (*GetAPIV2ClustersProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2ClustersProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersReader ¶
type GetAPIV2ClustersReader struct {
// contains filtered or unexported fields
}
GetAPIV2ClustersReader is a Reader for the GetAPIV2Clusters structure.
func (*GetAPIV2ClustersReader) ReadResponse ¶
func (o *GetAPIV2ClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2ClustersSelectorBadRequest ¶
type GetAPIV2ClustersSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2ClustersSelectorBadRequest ¶
func NewGetAPIV2ClustersSelectorBadRequest() *GetAPIV2ClustersSelectorBadRequest
NewGetAPIV2ClustersSelectorBadRequest creates a GetAPIV2ClustersSelectorBadRequest with default headers values
func (*GetAPIV2ClustersSelectorBadRequest) Error ¶
func (o *GetAPIV2ClustersSelectorBadRequest) Error() string
func (*GetAPIV2ClustersSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2ClustersSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersSelectorConflict ¶
type GetAPIV2ClustersSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2ClustersSelectorConflict ¶
func NewGetAPIV2ClustersSelectorConflict() *GetAPIV2ClustersSelectorConflict
NewGetAPIV2ClustersSelectorConflict creates a GetAPIV2ClustersSelectorConflict with default headers values
func (*GetAPIV2ClustersSelectorConflict) Error ¶
func (o *GetAPIV2ClustersSelectorConflict) Error() string
func (*GetAPIV2ClustersSelectorConflict) GetPayload ¶
func (o *GetAPIV2ClustersSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersSelectorForbidden ¶
type GetAPIV2ClustersSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2ClustersSelectorForbidden ¶
func NewGetAPIV2ClustersSelectorForbidden() *GetAPIV2ClustersSelectorForbidden
NewGetAPIV2ClustersSelectorForbidden creates a GetAPIV2ClustersSelectorForbidden with default headers values
func (*GetAPIV2ClustersSelectorForbidden) Error ¶
func (o *GetAPIV2ClustersSelectorForbidden) Error() string
func (*GetAPIV2ClustersSelectorForbidden) GetPayload ¶
func (o *GetAPIV2ClustersSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersSelectorInternalServerError ¶
type GetAPIV2ClustersSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2ClustersSelectorInternalServerError ¶
func NewGetAPIV2ClustersSelectorInternalServerError() *GetAPIV2ClustersSelectorInternalServerError
NewGetAPIV2ClustersSelectorInternalServerError creates a GetAPIV2ClustersSelectorInternalServerError with default headers values
func (*GetAPIV2ClustersSelectorInternalServerError) Error ¶
func (o *GetAPIV2ClustersSelectorInternalServerError) Error() string
func (*GetAPIV2ClustersSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2ClustersSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersSelectorNotFound ¶
type GetAPIV2ClustersSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2ClustersSelectorNotFound ¶
func NewGetAPIV2ClustersSelectorNotFound() *GetAPIV2ClustersSelectorNotFound
NewGetAPIV2ClustersSelectorNotFound creates a GetAPIV2ClustersSelectorNotFound with default headers values
func (*GetAPIV2ClustersSelectorNotFound) Error ¶
func (o *GetAPIV2ClustersSelectorNotFound) Error() string
func (*GetAPIV2ClustersSelectorNotFound) GetPayload ¶
func (o *GetAPIV2ClustersSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersSelectorOK ¶
type GetAPIV2ClustersSelectorOK struct {
Payload *models.V2controllersCluster
}
GetAPIV2ClustersSelectorOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2ClustersSelectorOK ¶
func NewGetAPIV2ClustersSelectorOK() *GetAPIV2ClustersSelectorOK
NewGetAPIV2ClustersSelectorOK creates a GetAPIV2ClustersSelectorOK with default headers values
func (*GetAPIV2ClustersSelectorOK) Error ¶
func (o *GetAPIV2ClustersSelectorOK) Error() string
func (*GetAPIV2ClustersSelectorOK) GetPayload ¶
func (o *GetAPIV2ClustersSelectorOK) GetPayload() *models.V2controllersCluster
type GetAPIV2ClustersSelectorParams ¶
type GetAPIV2ClustersSelectorParams struct { /* Selector. The Cluster to get's selector: name or numeric ID */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2ClustersSelectorParams contains all the parameters to send to the API endpoint
for the get API v2 clusters selector operation. Typically these are written to a http.Request.
func NewGetAPIV2ClustersSelectorParams ¶
func NewGetAPIV2ClustersSelectorParams() *GetAPIV2ClustersSelectorParams
NewGetAPIV2ClustersSelectorParams creates a new GetAPIV2ClustersSelectorParams 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 NewGetAPIV2ClustersSelectorParamsWithContext ¶
func NewGetAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *GetAPIV2ClustersSelectorParams
NewGetAPIV2ClustersSelectorParamsWithContext creates a new GetAPIV2ClustersSelectorParams object with the ability to set a context for a request.
func NewGetAPIV2ClustersSelectorParamsWithHTTPClient ¶
func NewGetAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2ClustersSelectorParams
NewGetAPIV2ClustersSelectorParamsWithHTTPClient creates a new GetAPIV2ClustersSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2ClustersSelectorParamsWithTimeout ¶
func NewGetAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2ClustersSelectorParams
NewGetAPIV2ClustersSelectorParamsWithTimeout creates a new GetAPIV2ClustersSelectorParams object with the ability to set a timeout on a request.
func (*GetAPIV2ClustersSelectorParams) SetContext ¶
func (o *GetAPIV2ClustersSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) SetDefaults ¶
func (o *GetAPIV2ClustersSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ClustersSelectorParams) SetHTTPClient ¶
func (o *GetAPIV2ClustersSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) SetSelector ¶
func (o *GetAPIV2ClustersSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) SetTimeout ¶
func (o *GetAPIV2ClustersSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) WithContext ¶
func (o *GetAPIV2ClustersSelectorParams) WithContext(ctx context.Context) *GetAPIV2ClustersSelectorParams
WithContext adds the context to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) WithDefaults ¶
func (o *GetAPIV2ClustersSelectorParams) WithDefaults() *GetAPIV2ClustersSelectorParams
WithDefaults hydrates default values in the get API v2 clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ClustersSelectorParams) WithHTTPClient ¶
func (o *GetAPIV2ClustersSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2ClustersSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) WithSelector ¶
func (o *GetAPIV2ClustersSelectorParams) WithSelector(selector string) *GetAPIV2ClustersSelectorParams
WithSelector adds the selector to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) WithTimeout ¶
func (o *GetAPIV2ClustersSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2ClustersSelectorParams
WithTimeout adds the timeout to the get API v2 clusters selector params
func (*GetAPIV2ClustersSelectorParams) WriteToRequest ¶
func (o *GetAPIV2ClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2ClustersSelectorProxyAuthenticationRequired ¶
type GetAPIV2ClustersSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2ClustersSelectorProxyAuthenticationRequired ¶
func NewGetAPIV2ClustersSelectorProxyAuthenticationRequired() *GetAPIV2ClustersSelectorProxyAuthenticationRequired
NewGetAPIV2ClustersSelectorProxyAuthenticationRequired creates a GetAPIV2ClustersSelectorProxyAuthenticationRequired with default headers values
func (*GetAPIV2ClustersSelectorProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2ClustersSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ClustersSelectorReader ¶
type GetAPIV2ClustersSelectorReader struct {
// contains filtered or unexported fields
}
GetAPIV2ClustersSelectorReader is a Reader for the GetAPIV2ClustersSelector structure.
func (*GetAPIV2ClustersSelectorReader) ReadResponse ¶
func (o *GetAPIV2ClustersSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2SelectorsClustersSelectorBadRequest ¶
type GetAPIV2SelectorsClustersSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2SelectorsClustersSelectorBadRequest ¶
func NewGetAPIV2SelectorsClustersSelectorBadRequest() *GetAPIV2SelectorsClustersSelectorBadRequest
NewGetAPIV2SelectorsClustersSelectorBadRequest creates a GetAPIV2SelectorsClustersSelectorBadRequest with default headers values
func (*GetAPIV2SelectorsClustersSelectorBadRequest) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorBadRequest) Error() string
func (*GetAPIV2SelectorsClustersSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsClustersSelectorConflict ¶
type GetAPIV2SelectorsClustersSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2SelectorsClustersSelectorConflict ¶
func NewGetAPIV2SelectorsClustersSelectorConflict() *GetAPIV2SelectorsClustersSelectorConflict
NewGetAPIV2SelectorsClustersSelectorConflict creates a GetAPIV2SelectorsClustersSelectorConflict with default headers values
func (*GetAPIV2SelectorsClustersSelectorConflict) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorConflict) Error() string
func (*GetAPIV2SelectorsClustersSelectorConflict) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsClustersSelectorForbidden ¶
type GetAPIV2SelectorsClustersSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2SelectorsClustersSelectorForbidden ¶
func NewGetAPIV2SelectorsClustersSelectorForbidden() *GetAPIV2SelectorsClustersSelectorForbidden
NewGetAPIV2SelectorsClustersSelectorForbidden creates a GetAPIV2SelectorsClustersSelectorForbidden with default headers values
func (*GetAPIV2SelectorsClustersSelectorForbidden) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorForbidden) Error() string
func (*GetAPIV2SelectorsClustersSelectorForbidden) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsClustersSelectorInternalServerError ¶
type GetAPIV2SelectorsClustersSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2SelectorsClustersSelectorInternalServerError ¶
func NewGetAPIV2SelectorsClustersSelectorInternalServerError() *GetAPIV2SelectorsClustersSelectorInternalServerError
NewGetAPIV2SelectorsClustersSelectorInternalServerError creates a GetAPIV2SelectorsClustersSelectorInternalServerError with default headers values
func (*GetAPIV2SelectorsClustersSelectorInternalServerError) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorInternalServerError) Error() string
func (*GetAPIV2SelectorsClustersSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsClustersSelectorNotFound ¶
type GetAPIV2SelectorsClustersSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2SelectorsClustersSelectorNotFound ¶
func NewGetAPIV2SelectorsClustersSelectorNotFound() *GetAPIV2SelectorsClustersSelectorNotFound
NewGetAPIV2SelectorsClustersSelectorNotFound creates a GetAPIV2SelectorsClustersSelectorNotFound with default headers values
func (*GetAPIV2SelectorsClustersSelectorNotFound) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorNotFound) Error() string
func (*GetAPIV2SelectorsClustersSelectorNotFound) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsClustersSelectorOK ¶
type GetAPIV2SelectorsClustersSelectorOK struct {
Payload []string
}
GetAPIV2SelectorsClustersSelectorOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2SelectorsClustersSelectorOK ¶
func NewGetAPIV2SelectorsClustersSelectorOK() *GetAPIV2SelectorsClustersSelectorOK
NewGetAPIV2SelectorsClustersSelectorOK creates a GetAPIV2SelectorsClustersSelectorOK with default headers values
func (*GetAPIV2SelectorsClustersSelectorOK) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorOK) Error() string
func (*GetAPIV2SelectorsClustersSelectorOK) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorOK) GetPayload() []string
type GetAPIV2SelectorsClustersSelectorParams ¶
type GetAPIV2SelectorsClustersSelectorParams struct { /* Selector. The selector of the Cluster to list other selectors for */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2SelectorsClustersSelectorParams contains all the parameters to send to the API endpoint
for the get API v2 selectors clusters selector operation. Typically these are written to a http.Request.
func NewGetAPIV2SelectorsClustersSelectorParams ¶
func NewGetAPIV2SelectorsClustersSelectorParams() *GetAPIV2SelectorsClustersSelectorParams
NewGetAPIV2SelectorsClustersSelectorParams creates a new GetAPIV2SelectorsClustersSelectorParams 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 NewGetAPIV2SelectorsClustersSelectorParamsWithContext ¶
func NewGetAPIV2SelectorsClustersSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsClustersSelectorParams
NewGetAPIV2SelectorsClustersSelectorParamsWithContext creates a new GetAPIV2SelectorsClustersSelectorParams object with the ability to set a context for a request.
func NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient ¶
func NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsClustersSelectorParams
NewGetAPIV2SelectorsClustersSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsClustersSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout ¶
func NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsClustersSelectorParams
NewGetAPIV2SelectorsClustersSelectorParamsWithTimeout creates a new GetAPIV2SelectorsClustersSelectorParams object with the ability to set a timeout on a request.
func (*GetAPIV2SelectorsClustersSelectorParams) SetContext ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) SetDefaults ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 selectors clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2SelectorsClustersSelectorParams) SetHTTPClient ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) SetSelector ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) SetTimeout ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) WithContext ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsClustersSelectorParams
WithContext adds the context to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) WithDefaults ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) WithDefaults() *GetAPIV2SelectorsClustersSelectorParams
WithDefaults hydrates default values in the get API v2 selectors clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2SelectorsClustersSelectorParams) WithHTTPClient ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsClustersSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) WithSelector ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsClustersSelectorParams
WithSelector adds the selector to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) WithTimeout ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsClustersSelectorParams
WithTimeout adds the timeout to the get API v2 selectors clusters selector params
func (*GetAPIV2SelectorsClustersSelectorParams) WriteToRequest ¶
func (o *GetAPIV2SelectorsClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired ¶
type GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired ¶
func NewGetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired
NewGetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired with default headers values
func (*GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2SelectorsClustersSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsClustersSelectorReader ¶
type GetAPIV2SelectorsClustersSelectorReader struct {
// contains filtered or unexported fields
}
GetAPIV2SelectorsClustersSelectorReader is a Reader for the GetAPIV2SelectorsClustersSelector structure.
func (*GetAPIV2SelectorsClustersSelectorReader) ReadResponse ¶
func (o *GetAPIV2SelectorsClustersSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAPIV2ClustersSelectorBadRequest ¶
type PatchAPIV2ClustersSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPatchAPIV2ClustersSelectorBadRequest ¶
func NewPatchAPIV2ClustersSelectorBadRequest() *PatchAPIV2ClustersSelectorBadRequest
NewPatchAPIV2ClustersSelectorBadRequest creates a PatchAPIV2ClustersSelectorBadRequest with default headers values
func (*PatchAPIV2ClustersSelectorBadRequest) Error ¶
func (o *PatchAPIV2ClustersSelectorBadRequest) Error() string
func (*PatchAPIV2ClustersSelectorBadRequest) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type PatchAPIV2ClustersSelectorConflict ¶
type PatchAPIV2ClustersSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewPatchAPIV2ClustersSelectorConflict ¶
func NewPatchAPIV2ClustersSelectorConflict() *PatchAPIV2ClustersSelectorConflict
NewPatchAPIV2ClustersSelectorConflict creates a PatchAPIV2ClustersSelectorConflict with default headers values
func (*PatchAPIV2ClustersSelectorConflict) Error ¶
func (o *PatchAPIV2ClustersSelectorConflict) Error() string
func (*PatchAPIV2ClustersSelectorConflict) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type PatchAPIV2ClustersSelectorForbidden ¶
type PatchAPIV2ClustersSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPatchAPIV2ClustersSelectorForbidden ¶
func NewPatchAPIV2ClustersSelectorForbidden() *PatchAPIV2ClustersSelectorForbidden
NewPatchAPIV2ClustersSelectorForbidden creates a PatchAPIV2ClustersSelectorForbidden with default headers values
func (*PatchAPIV2ClustersSelectorForbidden) Error ¶
func (o *PatchAPIV2ClustersSelectorForbidden) Error() string
func (*PatchAPIV2ClustersSelectorForbidden) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type PatchAPIV2ClustersSelectorInternalServerError ¶
type PatchAPIV2ClustersSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPatchAPIV2ClustersSelectorInternalServerError ¶
func NewPatchAPIV2ClustersSelectorInternalServerError() *PatchAPIV2ClustersSelectorInternalServerError
NewPatchAPIV2ClustersSelectorInternalServerError creates a PatchAPIV2ClustersSelectorInternalServerError with default headers values
func (*PatchAPIV2ClustersSelectorInternalServerError) Error ¶
func (o *PatchAPIV2ClustersSelectorInternalServerError) Error() string
func (*PatchAPIV2ClustersSelectorInternalServerError) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type PatchAPIV2ClustersSelectorNotFound ¶
type PatchAPIV2ClustersSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewPatchAPIV2ClustersSelectorNotFound ¶
func NewPatchAPIV2ClustersSelectorNotFound() *PatchAPIV2ClustersSelectorNotFound
NewPatchAPIV2ClustersSelectorNotFound creates a PatchAPIV2ClustersSelectorNotFound with default headers values
func (*PatchAPIV2ClustersSelectorNotFound) Error ¶
func (o *PatchAPIV2ClustersSelectorNotFound) Error() string
func (*PatchAPIV2ClustersSelectorNotFound) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type PatchAPIV2ClustersSelectorOK ¶
type PatchAPIV2ClustersSelectorOK struct {
Payload *models.V2controllersCluster
}
PatchAPIV2ClustersSelectorOK describes a response with status code 200, with default header values.
OK
func NewPatchAPIV2ClustersSelectorOK ¶
func NewPatchAPIV2ClustersSelectorOK() *PatchAPIV2ClustersSelectorOK
NewPatchAPIV2ClustersSelectorOK creates a PatchAPIV2ClustersSelectorOK with default headers values
func (*PatchAPIV2ClustersSelectorOK) Error ¶
func (o *PatchAPIV2ClustersSelectorOK) Error() string
func (*PatchAPIV2ClustersSelectorOK) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorOK) GetPayload() *models.V2controllersCluster
type PatchAPIV2ClustersSelectorParams ¶
type PatchAPIV2ClustersSelectorParams struct { /* Cluster. The edits to make to the Cluster */ Cluster *models.V2controllersEditableCluster /* Selector. The Cluster to edit's selector: name or numeric ID */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPIV2ClustersSelectorParams contains all the parameters to send to the API endpoint
for the patch API v2 clusters selector operation. Typically these are written to a http.Request.
func NewPatchAPIV2ClustersSelectorParams ¶
func NewPatchAPIV2ClustersSelectorParams() *PatchAPIV2ClustersSelectorParams
NewPatchAPIV2ClustersSelectorParams creates a new PatchAPIV2ClustersSelectorParams 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 NewPatchAPIV2ClustersSelectorParamsWithContext ¶
func NewPatchAPIV2ClustersSelectorParamsWithContext(ctx context.Context) *PatchAPIV2ClustersSelectorParams
NewPatchAPIV2ClustersSelectorParamsWithContext creates a new PatchAPIV2ClustersSelectorParams object with the ability to set a context for a request.
func NewPatchAPIV2ClustersSelectorParamsWithHTTPClient ¶
func NewPatchAPIV2ClustersSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2ClustersSelectorParams
NewPatchAPIV2ClustersSelectorParamsWithHTTPClient creates a new PatchAPIV2ClustersSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAPIV2ClustersSelectorParamsWithTimeout ¶
func NewPatchAPIV2ClustersSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2ClustersSelectorParams
NewPatchAPIV2ClustersSelectorParamsWithTimeout creates a new PatchAPIV2ClustersSelectorParams object with the ability to set a timeout on a request.
func (*PatchAPIV2ClustersSelectorParams) SetCluster ¶
func (o *PatchAPIV2ClustersSelectorParams) SetCluster(cluster *models.V2controllersEditableCluster)
SetCluster adds the cluster to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) SetContext ¶
func (o *PatchAPIV2ClustersSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) SetDefaults ¶
func (o *PatchAPIV2ClustersSelectorParams) SetDefaults()
SetDefaults hydrates default values in the patch API v2 clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPIV2ClustersSelectorParams) SetHTTPClient ¶
func (o *PatchAPIV2ClustersSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) SetSelector ¶
func (o *PatchAPIV2ClustersSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) SetTimeout ¶
func (o *PatchAPIV2ClustersSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) WithCluster ¶
func (o *PatchAPIV2ClustersSelectorParams) WithCluster(cluster *models.V2controllersEditableCluster) *PatchAPIV2ClustersSelectorParams
WithCluster adds the cluster to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) WithContext ¶
func (o *PatchAPIV2ClustersSelectorParams) WithContext(ctx context.Context) *PatchAPIV2ClustersSelectorParams
WithContext adds the context to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) WithDefaults ¶
func (o *PatchAPIV2ClustersSelectorParams) WithDefaults() *PatchAPIV2ClustersSelectorParams
WithDefaults hydrates default values in the patch API v2 clusters selector params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPIV2ClustersSelectorParams) WithHTTPClient ¶
func (o *PatchAPIV2ClustersSelectorParams) WithHTTPClient(client *http.Client) *PatchAPIV2ClustersSelectorParams
WithHTTPClient adds the HTTPClient to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) WithSelector ¶
func (o *PatchAPIV2ClustersSelectorParams) WithSelector(selector string) *PatchAPIV2ClustersSelectorParams
WithSelector adds the selector to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) WithTimeout ¶
func (o *PatchAPIV2ClustersSelectorParams) WithTimeout(timeout time.Duration) *PatchAPIV2ClustersSelectorParams
WithTimeout adds the timeout to the patch API v2 clusters selector params
func (*PatchAPIV2ClustersSelectorParams) WriteToRequest ¶
func (o *PatchAPIV2ClustersSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPIV2ClustersSelectorProxyAuthenticationRequired ¶
type PatchAPIV2ClustersSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
PatchAPIV2ClustersSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewPatchAPIV2ClustersSelectorProxyAuthenticationRequired ¶
func NewPatchAPIV2ClustersSelectorProxyAuthenticationRequired() *PatchAPIV2ClustersSelectorProxyAuthenticationRequired
NewPatchAPIV2ClustersSelectorProxyAuthenticationRequired creates a PatchAPIV2ClustersSelectorProxyAuthenticationRequired with default headers values
func (*PatchAPIV2ClustersSelectorProxyAuthenticationRequired) Error ¶
func (o *PatchAPIV2ClustersSelectorProxyAuthenticationRequired) Error() string
func (*PatchAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *PatchAPIV2ClustersSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type PatchAPIV2ClustersSelectorReader ¶
type PatchAPIV2ClustersSelectorReader struct {
// contains filtered or unexported fields
}
PatchAPIV2ClustersSelectorReader is a Reader for the PatchAPIV2ClustersSelector structure.
func (*PatchAPIV2ClustersSelectorReader) ReadResponse ¶
func (o *PatchAPIV2ClustersSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV2ClustersBadRequest ¶
type PostAPIV2ClustersBadRequest struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIV2ClustersBadRequest ¶
func NewPostAPIV2ClustersBadRequest() *PostAPIV2ClustersBadRequest
NewPostAPIV2ClustersBadRequest creates a PostAPIV2ClustersBadRequest with default headers values
func (*PostAPIV2ClustersBadRequest) Error ¶
func (o *PostAPIV2ClustersBadRequest) Error() string
func (*PostAPIV2ClustersBadRequest) GetPayload ¶
func (o *PostAPIV2ClustersBadRequest) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ClustersConflict ¶
type PostAPIV2ClustersConflict struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersConflict describes a response with status code 409, with default header values.
Conflict
func NewPostAPIV2ClustersConflict ¶
func NewPostAPIV2ClustersConflict() *PostAPIV2ClustersConflict
NewPostAPIV2ClustersConflict creates a PostAPIV2ClustersConflict with default headers values
func (*PostAPIV2ClustersConflict) Error ¶
func (o *PostAPIV2ClustersConflict) Error() string
func (*PostAPIV2ClustersConflict) GetPayload ¶
func (o *PostAPIV2ClustersConflict) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ClustersCreated ¶ added in v0.0.29
type PostAPIV2ClustersCreated struct {
Payload *models.V2controllersCluster
}
PostAPIV2ClustersCreated describes a response with status code 201, with default header values.
Created
func NewPostAPIV2ClustersCreated ¶ added in v0.0.29
func NewPostAPIV2ClustersCreated() *PostAPIV2ClustersCreated
NewPostAPIV2ClustersCreated creates a PostAPIV2ClustersCreated with default headers values
func (*PostAPIV2ClustersCreated) Error ¶ added in v0.0.29
func (o *PostAPIV2ClustersCreated) Error() string
func (*PostAPIV2ClustersCreated) GetPayload ¶ added in v0.0.29
func (o *PostAPIV2ClustersCreated) GetPayload() *models.V2controllersCluster
type PostAPIV2ClustersForbidden ¶
type PostAPIV2ClustersForbidden struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostAPIV2ClustersForbidden ¶
func NewPostAPIV2ClustersForbidden() *PostAPIV2ClustersForbidden
NewPostAPIV2ClustersForbidden creates a PostAPIV2ClustersForbidden with default headers values
func (*PostAPIV2ClustersForbidden) Error ¶
func (o *PostAPIV2ClustersForbidden) Error() string
func (*PostAPIV2ClustersForbidden) GetPayload ¶
func (o *PostAPIV2ClustersForbidden) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ClustersInternalServerError ¶
type PostAPIV2ClustersInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIV2ClustersInternalServerError ¶
func NewPostAPIV2ClustersInternalServerError() *PostAPIV2ClustersInternalServerError
NewPostAPIV2ClustersInternalServerError creates a PostAPIV2ClustersInternalServerError with default headers values
func (*PostAPIV2ClustersInternalServerError) Error ¶
func (o *PostAPIV2ClustersInternalServerError) Error() string
func (*PostAPIV2ClustersInternalServerError) GetPayload ¶
func (o *PostAPIV2ClustersInternalServerError) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ClustersNotFound ¶
type PostAPIV2ClustersNotFound struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersNotFound describes a response with status code 404, with default header values.
Not Found
func NewPostAPIV2ClustersNotFound ¶
func NewPostAPIV2ClustersNotFound() *PostAPIV2ClustersNotFound
NewPostAPIV2ClustersNotFound creates a PostAPIV2ClustersNotFound with default headers values
func (*PostAPIV2ClustersNotFound) Error ¶
func (o *PostAPIV2ClustersNotFound) Error() string
func (*PostAPIV2ClustersNotFound) GetPayload ¶
func (o *PostAPIV2ClustersNotFound) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ClustersOK ¶
type PostAPIV2ClustersOK struct {
Payload *models.V2controllersCluster
}
PostAPIV2ClustersOK describes a response with status code 200, with default header values.
OK
func NewPostAPIV2ClustersOK ¶
func NewPostAPIV2ClustersOK() *PostAPIV2ClustersOK
NewPostAPIV2ClustersOK creates a PostAPIV2ClustersOK with default headers values
func (*PostAPIV2ClustersOK) Error ¶
func (o *PostAPIV2ClustersOK) Error() string
func (*PostAPIV2ClustersOK) GetPayload ¶
func (o *PostAPIV2ClustersOK) GetPayload() *models.V2controllersCluster
type PostAPIV2ClustersParams ¶
type PostAPIV2ClustersParams struct { /* Cluster. The Cluster to create */ Cluster *models.V2controllersCreatableCluster Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV2ClustersParams contains all the parameters to send to the API endpoint
for the post API v2 clusters operation. Typically these are written to a http.Request.
func NewPostAPIV2ClustersParams ¶
func NewPostAPIV2ClustersParams() *PostAPIV2ClustersParams
NewPostAPIV2ClustersParams creates a new PostAPIV2ClustersParams 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 NewPostAPIV2ClustersParamsWithContext ¶
func NewPostAPIV2ClustersParamsWithContext(ctx context.Context) *PostAPIV2ClustersParams
NewPostAPIV2ClustersParamsWithContext creates a new PostAPIV2ClustersParams object with the ability to set a context for a request.
func NewPostAPIV2ClustersParamsWithHTTPClient ¶
func NewPostAPIV2ClustersParamsWithHTTPClient(client *http.Client) *PostAPIV2ClustersParams
NewPostAPIV2ClustersParamsWithHTTPClient creates a new PostAPIV2ClustersParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIV2ClustersParamsWithTimeout ¶
func NewPostAPIV2ClustersParamsWithTimeout(timeout time.Duration) *PostAPIV2ClustersParams
NewPostAPIV2ClustersParamsWithTimeout creates a new PostAPIV2ClustersParams object with the ability to set a timeout on a request.
func (*PostAPIV2ClustersParams) SetCluster ¶
func (o *PostAPIV2ClustersParams) SetCluster(cluster *models.V2controllersCreatableCluster)
SetCluster adds the cluster to the post API v2 clusters params
func (*PostAPIV2ClustersParams) SetContext ¶
func (o *PostAPIV2ClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v2 clusters params
func (*PostAPIV2ClustersParams) SetDefaults ¶
func (o *PostAPIV2ClustersParams) SetDefaults()
SetDefaults hydrates default values in the post API v2 clusters params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2ClustersParams) SetHTTPClient ¶
func (o *PostAPIV2ClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v2 clusters params
func (*PostAPIV2ClustersParams) SetTimeout ¶
func (o *PostAPIV2ClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v2 clusters params
func (*PostAPIV2ClustersParams) WithCluster ¶
func (o *PostAPIV2ClustersParams) WithCluster(cluster *models.V2controllersCreatableCluster) *PostAPIV2ClustersParams
WithCluster adds the cluster to the post API v2 clusters params
func (*PostAPIV2ClustersParams) WithContext ¶
func (o *PostAPIV2ClustersParams) WithContext(ctx context.Context) *PostAPIV2ClustersParams
WithContext adds the context to the post API v2 clusters params
func (*PostAPIV2ClustersParams) WithDefaults ¶
func (o *PostAPIV2ClustersParams) WithDefaults() *PostAPIV2ClustersParams
WithDefaults hydrates default values in the post API v2 clusters params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2ClustersParams) WithHTTPClient ¶
func (o *PostAPIV2ClustersParams) WithHTTPClient(client *http.Client) *PostAPIV2ClustersParams
WithHTTPClient adds the HTTPClient to the post API v2 clusters params
func (*PostAPIV2ClustersParams) WithTimeout ¶
func (o *PostAPIV2ClustersParams) WithTimeout(timeout time.Duration) *PostAPIV2ClustersParams
WithTimeout adds the timeout to the post API v2 clusters params
func (*PostAPIV2ClustersParams) WriteToRequest ¶
func (o *PostAPIV2ClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV2ClustersProxyAuthenticationRequired ¶
type PostAPIV2ClustersProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ClustersProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewPostAPIV2ClustersProxyAuthenticationRequired ¶
func NewPostAPIV2ClustersProxyAuthenticationRequired() *PostAPIV2ClustersProxyAuthenticationRequired
NewPostAPIV2ClustersProxyAuthenticationRequired creates a PostAPIV2ClustersProxyAuthenticationRequired with default headers values
func (*PostAPIV2ClustersProxyAuthenticationRequired) Error ¶
func (o *PostAPIV2ClustersProxyAuthenticationRequired) Error() string
func (*PostAPIV2ClustersProxyAuthenticationRequired) GetPayload ¶
func (o *PostAPIV2ClustersProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ClustersReader ¶
type PostAPIV2ClustersReader struct {
// contains filtered or unexported fields
}
PostAPIV2ClustersReader is a Reader for the PostAPIV2Clusters structure.
func (*PostAPIV2ClustersReader) ReadResponse ¶
func (o *PostAPIV2ClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clusters_client.go
- delete_api_v2_clusters_selector_parameters.go
- delete_api_v2_clusters_selector_responses.go
- get_api_v2_clusters_parameters.go
- get_api_v2_clusters_responses.go
- get_api_v2_clusters_selector_parameters.go
- get_api_v2_clusters_selector_responses.go
- get_api_v2_selectors_clusters_selector_parameters.go
- get_api_v2_selectors_clusters_selector_responses.go
- patch_api_v2_clusters_selector_parameters.go
- patch_api_v2_clusters_selector_responses.go
- post_api_v2_clusters_parameters.go
- post_api_v2_clusters_responses.go