Documentation ¶
Index ¶
- type Client
- func (a *Client) GetProvisioningV1InternalClusterClusterID(params *GetProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*GetProvisioningV1InternalClusterClusterIDOK, error)
- func (a *Client) PatchProvisioningV1InternalClusterClusterID(params *PatchProvisioningV1InternalClusterClusterIDParams, ...) (*PatchProvisioningV1InternalClusterClusterIDNoContent, error)
- func (a *Client) PostProvisioningV1InternalClusters(params *PostProvisioningV1InternalClustersParams, opts ...ClientOption) (*PostProvisioningV1InternalClustersCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetProvisioningV1InternalClusterClusterIDNotFound
- type GetProvisioningV1InternalClusterClusterIDOK
- type GetProvisioningV1InternalClusterClusterIDParams
- func NewGetProvisioningV1InternalClusterClusterIDParams() *GetProvisioningV1InternalClusterClusterIDParams
- func NewGetProvisioningV1InternalClusterClusterIDParamsWithContext(ctx context.Context) *GetProvisioningV1InternalClusterClusterIDParams
- func NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient(client *http.Client) *GetProvisioningV1InternalClusterClusterIDParams
- func NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout(timeout time.Duration) *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) SetClusterID(clusterID string)
- func (o *GetProvisioningV1InternalClusterClusterIDParams) SetContext(ctx context.Context)
- func (o *GetProvisioningV1InternalClusterClusterIDParams) SetDefaults()
- func (o *GetProvisioningV1InternalClusterClusterIDParams) SetDetailed(detailed *bool)
- func (o *GetProvisioningV1InternalClusterClusterIDParams) SetHTTPClient(client *http.Client)
- func (o *GetProvisioningV1InternalClusterClusterIDParams) SetTimeout(timeout time.Duration)
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WithClusterID(clusterID string) *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WithContext(ctx context.Context) *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WithDefaults() *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WithDetailed(detailed *bool) *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WithHTTPClient(client *http.Client) *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WithTimeout(timeout time.Duration) *GetProvisioningV1InternalClusterClusterIDParams
- func (o *GetProvisioningV1InternalClusterClusterIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProvisioningV1InternalClusterClusterIDReader
- type PatchProvisioningV1InternalClusterClusterIDBadRequest
- type PatchProvisioningV1InternalClusterClusterIDInternalServerError
- type PatchProvisioningV1InternalClusterClusterIDNoContent
- type PatchProvisioningV1InternalClusterClusterIDNotFound
- type PatchProvisioningV1InternalClusterClusterIDParams
- func NewPatchProvisioningV1InternalClusterClusterIDParams() *PatchProvisioningV1InternalClusterClusterIDParams
- func NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext(ctx context.Context) *PatchProvisioningV1InternalClusterClusterIDParams
- func NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient(client *http.Client) *PatchProvisioningV1InternalClusterClusterIDParams
- func NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout(timeout time.Duration) *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetClusterID(clusterID string)
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetContext(ctx context.Context)
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetDefaults()
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetRequest(request *models.V1PatchClusterRequest)
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithClusterID(clusterID string) *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithContext(ctx context.Context) *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithDefaults() *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithHTTPClient(client *http.Client) *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithRequest(request *models.V1PatchClusterRequest) *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithTimeout(timeout time.Duration) *PatchProvisioningV1InternalClusterClusterIDParams
- func (o *PatchProvisioningV1InternalClusterClusterIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchProvisioningV1InternalClusterClusterIDReader
- type PostProvisioningV1InternalClustersBadRequest
- type PostProvisioningV1InternalClustersCreated
- type PostProvisioningV1InternalClustersInternalServerError
- type PostProvisioningV1InternalClustersParams
- func NewPostProvisioningV1InternalClustersParams() *PostProvisioningV1InternalClustersParams
- func NewPostProvisioningV1InternalClustersParamsWithContext(ctx context.Context) *PostProvisioningV1InternalClustersParams
- func NewPostProvisioningV1InternalClustersParamsWithHTTPClient(client *http.Client) *PostProvisioningV1InternalClustersParams
- func NewPostProvisioningV1InternalClustersParamsWithTimeout(timeout time.Duration) *PostProvisioningV1InternalClustersParams
- func (o *PostProvisioningV1InternalClustersParams) SetContext(ctx context.Context)
- func (o *PostProvisioningV1InternalClustersParams) SetDefaults()
- func (o *PostProvisioningV1InternalClustersParams) SetHTTPClient(client *http.Client)
- func (o *PostProvisioningV1InternalClustersParams) SetRequest(request *models.V1CreateClusterRequest)
- func (o *PostProvisioningV1InternalClustersParams) SetTimeout(timeout time.Duration)
- func (o *PostProvisioningV1InternalClustersParams) WithContext(ctx context.Context) *PostProvisioningV1InternalClustersParams
- func (o *PostProvisioningV1InternalClustersParams) WithDefaults() *PostProvisioningV1InternalClustersParams
- func (o *PostProvisioningV1InternalClustersParams) WithHTTPClient(client *http.Client) *PostProvisioningV1InternalClustersParams
- func (o *PostProvisioningV1InternalClustersParams) WithRequest(request *models.V1CreateClusterRequest) *PostProvisioningV1InternalClustersParams
- func (o *PostProvisioningV1InternalClustersParams) WithTimeout(timeout time.Duration) *PostProvisioningV1InternalClustersParams
- func (o *PostProvisioningV1InternalClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostProvisioningV1InternalClustersReader
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) GetProvisioningV1InternalClusterClusterID ¶
func (a *Client) GetProvisioningV1InternalClusterClusterID(params *GetProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*GetProvisioningV1InternalClusterClusterIDOK, error)
GetProvisioningV1InternalClusterClusterID gets cluster by ID detailed
Retrieve a cluster by ID with additional details
func (*Client) PatchProvisioningV1InternalClusterClusterID ¶
func (a *Client) PatchProvisioningV1InternalClusterClusterID(params *PatchProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*PatchProvisioningV1InternalClusterClusterIDNoContent, error)
PatchProvisioningV1InternalClusterClusterID updates cluster
Update the cluster
func (*Client) PostProvisioningV1InternalClusters ¶
func (a *Client) PostProvisioningV1InternalClusters(params *PostProvisioningV1InternalClustersParams, opts ...ClientOption) (*PostProvisioningV1InternalClustersCreated, error)
PostProvisioningV1InternalClusters creates a new cluster
Create a new cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetProvisioningV1InternalClusterClusterID(params *GetProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*GetProvisioningV1InternalClusterClusterIDOK, error) PatchProvisioningV1InternalClusterClusterID(params *PatchProvisioningV1InternalClusterClusterIDParams, opts ...ClientOption) (*PatchProvisioningV1InternalClusterClusterIDNoContent, error) PostProvisioningV1InternalClusters(params *PostProvisioningV1InternalClustersParams, opts ...ClientOption) (*PostProvisioningV1InternalClustersCreated, 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 GetProvisioningV1InternalClusterClusterIDNotFound ¶
type GetProvisioningV1InternalClusterClusterIDNotFound struct {
Payload *models.ErrrErrorResponse
}
GetProvisioningV1InternalClusterClusterIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetProvisioningV1InternalClusterClusterIDNotFound ¶
func NewGetProvisioningV1InternalClusterClusterIDNotFound() *GetProvisioningV1InternalClusterClusterIDNotFound
NewGetProvisioningV1InternalClusterClusterIDNotFound creates a GetProvisioningV1InternalClusterClusterIDNotFound with default headers values
func (*GetProvisioningV1InternalClusterClusterIDNotFound) Error ¶
func (o *GetProvisioningV1InternalClusterClusterIDNotFound) Error() string
func (*GetProvisioningV1InternalClusterClusterIDNotFound) GetPayload ¶
func (o *GetProvisioningV1InternalClusterClusterIDNotFound) GetPayload() *models.ErrrErrorResponse
type GetProvisioningV1InternalClusterClusterIDOK ¶
type GetProvisioningV1InternalClusterClusterIDOK struct {
Payload *models.V1ServiceResponseInternal
}
GetProvisioningV1InternalClusterClusterIDOK describes a response with status code 200, with default header values.
OK
func NewGetProvisioningV1InternalClusterClusterIDOK ¶
func NewGetProvisioningV1InternalClusterClusterIDOK() *GetProvisioningV1InternalClusterClusterIDOK
NewGetProvisioningV1InternalClusterClusterIDOK creates a GetProvisioningV1InternalClusterClusterIDOK with default headers values
func (*GetProvisioningV1InternalClusterClusterIDOK) Error ¶
func (o *GetProvisioningV1InternalClusterClusterIDOK) Error() string
func (*GetProvisioningV1InternalClusterClusterIDOK) GetPayload ¶
func (o *GetProvisioningV1InternalClusterClusterIDOK) GetPayload() *models.V1ServiceResponseInternal
type GetProvisioningV1InternalClusterClusterIDParams ¶
type GetProvisioningV1InternalClusterClusterIDParams struct { /* ClusterID. Identifier for a services */ ClusterID string /* Detailed. detailed */ Detailed *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProvisioningV1InternalClusterClusterIDParams contains all the parameters to send to the API endpoint
for the get provisioning v1 internal cluster cluster ID operation. Typically these are written to a http.Request.
func NewGetProvisioningV1InternalClusterClusterIDParams ¶
func NewGetProvisioningV1InternalClusterClusterIDParams() *GetProvisioningV1InternalClusterClusterIDParams
NewGetProvisioningV1InternalClusterClusterIDParams creates a new GetProvisioningV1InternalClusterClusterIDParams 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 NewGetProvisioningV1InternalClusterClusterIDParamsWithContext ¶
func NewGetProvisioningV1InternalClusterClusterIDParamsWithContext(ctx context.Context) *GetProvisioningV1InternalClusterClusterIDParams
NewGetProvisioningV1InternalClusterClusterIDParamsWithContext creates a new GetProvisioningV1InternalClusterClusterIDParams object with the ability to set a context for a request.
func NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient ¶
func NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient(client *http.Client) *GetProvisioningV1InternalClusterClusterIDParams
NewGetProvisioningV1InternalClusterClusterIDParamsWithHTTPClient creates a new GetProvisioningV1InternalClusterClusterIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout ¶
func NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout(timeout time.Duration) *GetProvisioningV1InternalClusterClusterIDParams
NewGetProvisioningV1InternalClusterClusterIDParamsWithTimeout creates a new GetProvisioningV1InternalClusterClusterIDParams object with the ability to set a timeout on a request.
func (*GetProvisioningV1InternalClusterClusterIDParams) SetClusterID ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) SetContext ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) SetDefaults ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) SetDefaults()
SetDefaults hydrates default values in the get provisioning v1 internal cluster cluster ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetProvisioningV1InternalClusterClusterIDParams) SetDetailed ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) SetDetailed(detailed *bool)
SetDetailed adds the detailed to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) SetHTTPClient ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) SetTimeout ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) WithClusterID ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WithClusterID(clusterID string) *GetProvisioningV1InternalClusterClusterIDParams
WithClusterID adds the clusterID to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) WithContext ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WithContext(ctx context.Context) *GetProvisioningV1InternalClusterClusterIDParams
WithContext adds the context to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) WithDefaults ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WithDefaults() *GetProvisioningV1InternalClusterClusterIDParams
WithDefaults hydrates default values in the get provisioning v1 internal cluster cluster ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetProvisioningV1InternalClusterClusterIDParams) WithDetailed ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WithDetailed(detailed *bool) *GetProvisioningV1InternalClusterClusterIDParams
WithDetailed adds the detailed to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) WithHTTPClient ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WithHTTPClient(client *http.Client) *GetProvisioningV1InternalClusterClusterIDParams
WithHTTPClient adds the HTTPClient to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) WithTimeout ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WithTimeout(timeout time.Duration) *GetProvisioningV1InternalClusterClusterIDParams
WithTimeout adds the timeout to the get provisioning v1 internal cluster cluster ID params
func (*GetProvisioningV1InternalClusterClusterIDParams) WriteToRequest ¶
func (o *GetProvisioningV1InternalClusterClusterIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProvisioningV1InternalClusterClusterIDReader ¶
type GetProvisioningV1InternalClusterClusterIDReader struct {
// contains filtered or unexported fields
}
GetProvisioningV1InternalClusterClusterIDReader is a Reader for the GetProvisioningV1InternalClusterClusterID structure.
func (*GetProvisioningV1InternalClusterClusterIDReader) ReadResponse ¶
func (o *GetProvisioningV1InternalClusterClusterIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchProvisioningV1InternalClusterClusterIDBadRequest ¶
type PatchProvisioningV1InternalClusterClusterIDBadRequest struct {
Payload *models.ErrrErrorResponse
}
PatchProvisioningV1InternalClusterClusterIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPatchProvisioningV1InternalClusterClusterIDBadRequest ¶
func NewPatchProvisioningV1InternalClusterClusterIDBadRequest() *PatchProvisioningV1InternalClusterClusterIDBadRequest
NewPatchProvisioningV1InternalClusterClusterIDBadRequest creates a PatchProvisioningV1InternalClusterClusterIDBadRequest with default headers values
func (*PatchProvisioningV1InternalClusterClusterIDBadRequest) Error ¶
func (o *PatchProvisioningV1InternalClusterClusterIDBadRequest) Error() string
func (*PatchProvisioningV1InternalClusterClusterIDBadRequest) GetPayload ¶
func (o *PatchProvisioningV1InternalClusterClusterIDBadRequest) GetPayload() *models.ErrrErrorResponse
type PatchProvisioningV1InternalClusterClusterIDInternalServerError ¶
type PatchProvisioningV1InternalClusterClusterIDInternalServerError struct {
Payload *models.ErrrErrorResponse
}
PatchProvisioningV1InternalClusterClusterIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPatchProvisioningV1InternalClusterClusterIDInternalServerError ¶
func NewPatchProvisioningV1InternalClusterClusterIDInternalServerError() *PatchProvisioningV1InternalClusterClusterIDInternalServerError
NewPatchProvisioningV1InternalClusterClusterIDInternalServerError creates a PatchProvisioningV1InternalClusterClusterIDInternalServerError with default headers values
func (*PatchProvisioningV1InternalClusterClusterIDInternalServerError) Error ¶
func (o *PatchProvisioningV1InternalClusterClusterIDInternalServerError) Error() string
func (*PatchProvisioningV1InternalClusterClusterIDInternalServerError) GetPayload ¶
func (o *PatchProvisioningV1InternalClusterClusterIDInternalServerError) GetPayload() *models.ErrrErrorResponse
type PatchProvisioningV1InternalClusterClusterIDNoContent ¶
type PatchProvisioningV1InternalClusterClusterIDNoContent struct { }
PatchProvisioningV1InternalClusterClusterIDNoContent describes a response with status code 204, with default header values.
No Content
func NewPatchProvisioningV1InternalClusterClusterIDNoContent ¶
func NewPatchProvisioningV1InternalClusterClusterIDNoContent() *PatchProvisioningV1InternalClusterClusterIDNoContent
NewPatchProvisioningV1InternalClusterClusterIDNoContent creates a PatchProvisioningV1InternalClusterClusterIDNoContent with default headers values
func (*PatchProvisioningV1InternalClusterClusterIDNoContent) Error ¶
func (o *PatchProvisioningV1InternalClusterClusterIDNoContent) Error() string
type PatchProvisioningV1InternalClusterClusterIDNotFound ¶
type PatchProvisioningV1InternalClusterClusterIDNotFound struct {
Payload *models.ErrrErrorResponse
}
PatchProvisioningV1InternalClusterClusterIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPatchProvisioningV1InternalClusterClusterIDNotFound ¶
func NewPatchProvisioningV1InternalClusterClusterIDNotFound() *PatchProvisioningV1InternalClusterClusterIDNotFound
NewPatchProvisioningV1InternalClusterClusterIDNotFound creates a PatchProvisioningV1InternalClusterClusterIDNotFound with default headers values
func (*PatchProvisioningV1InternalClusterClusterIDNotFound) Error ¶
func (o *PatchProvisioningV1InternalClusterClusterIDNotFound) Error() string
func (*PatchProvisioningV1InternalClusterClusterIDNotFound) GetPayload ¶
func (o *PatchProvisioningV1InternalClusterClusterIDNotFound) GetPayload() *models.ErrrErrorResponse
type PatchProvisioningV1InternalClusterClusterIDParams ¶
type PatchProvisioningV1InternalClusterClusterIDParams struct { /* ClusterID. Identifier for a services */ ClusterID string /* Request. Request Body */ Request *models.V1PatchClusterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchProvisioningV1InternalClusterClusterIDParams contains all the parameters to send to the API endpoint
for the patch provisioning v1 internal cluster cluster ID operation. Typically these are written to a http.Request.
func NewPatchProvisioningV1InternalClusterClusterIDParams ¶
func NewPatchProvisioningV1InternalClusterClusterIDParams() *PatchProvisioningV1InternalClusterClusterIDParams
NewPatchProvisioningV1InternalClusterClusterIDParams creates a new PatchProvisioningV1InternalClusterClusterIDParams 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 NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext ¶
func NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext(ctx context.Context) *PatchProvisioningV1InternalClusterClusterIDParams
NewPatchProvisioningV1InternalClusterClusterIDParamsWithContext creates a new PatchProvisioningV1InternalClusterClusterIDParams object with the ability to set a context for a request.
func NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient ¶
func NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient(client *http.Client) *PatchProvisioningV1InternalClusterClusterIDParams
NewPatchProvisioningV1InternalClusterClusterIDParamsWithHTTPClient creates a new PatchProvisioningV1InternalClusterClusterIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout ¶
func NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout(timeout time.Duration) *PatchProvisioningV1InternalClusterClusterIDParams
NewPatchProvisioningV1InternalClusterClusterIDParamsWithTimeout creates a new PatchProvisioningV1InternalClusterClusterIDParams object with the ability to set a timeout on a request.
func (*PatchProvisioningV1InternalClusterClusterIDParams) SetClusterID ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) SetContext ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) SetDefaults ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetDefaults()
SetDefaults hydrates default values in the patch provisioning v1 internal cluster cluster ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProvisioningV1InternalClusterClusterIDParams) SetHTTPClient ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) SetRequest ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetRequest(request *models.V1PatchClusterRequest)
SetRequest adds the request to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) SetTimeout ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) WithClusterID ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithClusterID(clusterID string) *PatchProvisioningV1InternalClusterClusterIDParams
WithClusterID adds the clusterID to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) WithContext ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithContext(ctx context.Context) *PatchProvisioningV1InternalClusterClusterIDParams
WithContext adds the context to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) WithDefaults ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithDefaults() *PatchProvisioningV1InternalClusterClusterIDParams
WithDefaults hydrates default values in the patch provisioning v1 internal cluster cluster ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProvisioningV1InternalClusterClusterIDParams) WithHTTPClient ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithHTTPClient(client *http.Client) *PatchProvisioningV1InternalClusterClusterIDParams
WithHTTPClient adds the HTTPClient to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) WithRequest ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithRequest(request *models.V1PatchClusterRequest) *PatchProvisioningV1InternalClusterClusterIDParams
WithRequest adds the request to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) WithTimeout ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WithTimeout(timeout time.Duration) *PatchProvisioningV1InternalClusterClusterIDParams
WithTimeout adds the timeout to the patch provisioning v1 internal cluster cluster ID params
func (*PatchProvisioningV1InternalClusterClusterIDParams) WriteToRequest ¶
func (o *PatchProvisioningV1InternalClusterClusterIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchProvisioningV1InternalClusterClusterIDReader ¶
type PatchProvisioningV1InternalClusterClusterIDReader struct {
// contains filtered or unexported fields
}
PatchProvisioningV1InternalClusterClusterIDReader is a Reader for the PatchProvisioningV1InternalClusterClusterID structure.
func (*PatchProvisioningV1InternalClusterClusterIDReader) ReadResponse ¶
func (o *PatchProvisioningV1InternalClusterClusterIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostProvisioningV1InternalClustersBadRequest ¶
type PostProvisioningV1InternalClustersBadRequest struct {
Payload *models.ErrrErrorResponse
}
PostProvisioningV1InternalClustersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostProvisioningV1InternalClustersBadRequest ¶
func NewPostProvisioningV1InternalClustersBadRequest() *PostProvisioningV1InternalClustersBadRequest
NewPostProvisioningV1InternalClustersBadRequest creates a PostProvisioningV1InternalClustersBadRequest with default headers values
func (*PostProvisioningV1InternalClustersBadRequest) Error ¶
func (o *PostProvisioningV1InternalClustersBadRequest) Error() string
func (*PostProvisioningV1InternalClustersBadRequest) GetPayload ¶
func (o *PostProvisioningV1InternalClustersBadRequest) GetPayload() *models.ErrrErrorResponse
type PostProvisioningV1InternalClustersCreated ¶
type PostProvisioningV1InternalClustersCreated struct {
Payload *models.V1ClusterResponse
}
PostProvisioningV1InternalClustersCreated describes a response with status code 201, with default header values.
Created
func NewPostProvisioningV1InternalClustersCreated ¶
func NewPostProvisioningV1InternalClustersCreated() *PostProvisioningV1InternalClustersCreated
NewPostProvisioningV1InternalClustersCreated creates a PostProvisioningV1InternalClustersCreated with default headers values
func (*PostProvisioningV1InternalClustersCreated) Error ¶
func (o *PostProvisioningV1InternalClustersCreated) Error() string
func (*PostProvisioningV1InternalClustersCreated) GetPayload ¶
func (o *PostProvisioningV1InternalClustersCreated) GetPayload() *models.V1ClusterResponse
type PostProvisioningV1InternalClustersInternalServerError ¶
type PostProvisioningV1InternalClustersInternalServerError struct {
Payload *models.ErrrErrorResponse
}
PostProvisioningV1InternalClustersInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostProvisioningV1InternalClustersInternalServerError ¶
func NewPostProvisioningV1InternalClustersInternalServerError() *PostProvisioningV1InternalClustersInternalServerError
NewPostProvisioningV1InternalClustersInternalServerError creates a PostProvisioningV1InternalClustersInternalServerError with default headers values
func (*PostProvisioningV1InternalClustersInternalServerError) Error ¶
func (o *PostProvisioningV1InternalClustersInternalServerError) Error() string
func (*PostProvisioningV1InternalClustersInternalServerError) GetPayload ¶
func (o *PostProvisioningV1InternalClustersInternalServerError) GetPayload() *models.ErrrErrorResponse
type PostProvisioningV1InternalClustersParams ¶
type PostProvisioningV1InternalClustersParams struct { /* Request. Request Body */ Request *models.V1CreateClusterRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostProvisioningV1InternalClustersParams contains all the parameters to send to the API endpoint
for the post provisioning v1 internal clusters operation. Typically these are written to a http.Request.
func NewPostProvisioningV1InternalClustersParams ¶
func NewPostProvisioningV1InternalClustersParams() *PostProvisioningV1InternalClustersParams
NewPostProvisioningV1InternalClustersParams creates a new PostProvisioningV1InternalClustersParams 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 NewPostProvisioningV1InternalClustersParamsWithContext ¶
func NewPostProvisioningV1InternalClustersParamsWithContext(ctx context.Context) *PostProvisioningV1InternalClustersParams
NewPostProvisioningV1InternalClustersParamsWithContext creates a new PostProvisioningV1InternalClustersParams object with the ability to set a context for a request.
func NewPostProvisioningV1InternalClustersParamsWithHTTPClient ¶
func NewPostProvisioningV1InternalClustersParamsWithHTTPClient(client *http.Client) *PostProvisioningV1InternalClustersParams
NewPostProvisioningV1InternalClustersParamsWithHTTPClient creates a new PostProvisioningV1InternalClustersParams object with the ability to set a custom HTTPClient for a request.
func NewPostProvisioningV1InternalClustersParamsWithTimeout ¶
func NewPostProvisioningV1InternalClustersParamsWithTimeout(timeout time.Duration) *PostProvisioningV1InternalClustersParams
NewPostProvisioningV1InternalClustersParamsWithTimeout creates a new PostProvisioningV1InternalClustersParams object with the ability to set a timeout on a request.
func (*PostProvisioningV1InternalClustersParams) SetContext ¶
func (o *PostProvisioningV1InternalClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) SetDefaults ¶
func (o *PostProvisioningV1InternalClustersParams) SetDefaults()
SetDefaults hydrates default values in the post provisioning v1 internal clusters params (not the query body).
All values with no default are reset to their zero value.
func (*PostProvisioningV1InternalClustersParams) SetHTTPClient ¶
func (o *PostProvisioningV1InternalClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) SetRequest ¶
func (o *PostProvisioningV1InternalClustersParams) SetRequest(request *models.V1CreateClusterRequest)
SetRequest adds the request to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) SetTimeout ¶
func (o *PostProvisioningV1InternalClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) WithContext ¶
func (o *PostProvisioningV1InternalClustersParams) WithContext(ctx context.Context) *PostProvisioningV1InternalClustersParams
WithContext adds the context to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) WithDefaults ¶
func (o *PostProvisioningV1InternalClustersParams) WithDefaults() *PostProvisioningV1InternalClustersParams
WithDefaults hydrates default values in the post provisioning v1 internal clusters params (not the query body).
All values with no default are reset to their zero value.
func (*PostProvisioningV1InternalClustersParams) WithHTTPClient ¶
func (o *PostProvisioningV1InternalClustersParams) WithHTTPClient(client *http.Client) *PostProvisioningV1InternalClustersParams
WithHTTPClient adds the HTTPClient to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) WithRequest ¶
func (o *PostProvisioningV1InternalClustersParams) WithRequest(request *models.V1CreateClusterRequest) *PostProvisioningV1InternalClustersParams
WithRequest adds the request to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) WithTimeout ¶
func (o *PostProvisioningV1InternalClustersParams) WithTimeout(timeout time.Duration) *PostProvisioningV1InternalClustersParams
WithTimeout adds the timeout to the post provisioning v1 internal clusters params
func (*PostProvisioningV1InternalClustersParams) WriteToRequest ¶
func (o *PostProvisioningV1InternalClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostProvisioningV1InternalClustersReader ¶
type PostProvisioningV1InternalClustersReader struct {
// contains filtered or unexported fields
}
PostProvisioningV1InternalClustersReader is a Reader for the PostProvisioningV1InternalClusters structure.
func (*PostProvisioningV1InternalClustersReader) ReadResponse ¶
func (o *PostProvisioningV1InternalClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clusters_client.go
- get_provisioning_v1_internal_cluster_cluster_id_parameters.go
- get_provisioning_v1_internal_cluster_cluster_id_responses.go
- patch_provisioning_v1_internal_cluster_cluster_id_parameters.go
- patch_provisioning_v1_internal_cluster_cluster_id_responses.go
- post_provisioning_v1_internal_clusters_parameters.go
- post_provisioning_v1_internal_clusters_responses.go