Documentation
¶
Index ¶
- type Client
- func (a *Client) ClusterServiceCreate(params *ClusterServiceCreateParams, opts ...ClientOption) (*ClusterServiceCreateOK, error)
- func (a *Client) ClusterServiceDelete(params *ClusterServiceDeleteParams, opts ...ClientOption) (*ClusterServiceDeleteOK, error)
- func (a *Client) ClusterServiceGet(params *ClusterServiceGetParams, opts ...ClientOption) (*ClusterServiceGetOK, error)
- func (a *Client) ClusterServiceInvalidateCache(params *ClusterServiceInvalidateCacheParams, opts ...ClientOption) (*ClusterServiceInvalidateCacheOK, error)
- func (a *Client) ClusterServiceList(params *ClusterServiceListParams, opts ...ClientOption) (*ClusterServiceListOK, error)
- func (a *Client) ClusterServiceRotateAuth(params *ClusterServiceRotateAuthParams, opts ...ClientOption) (*ClusterServiceRotateAuthOK, error)
- func (a *Client) ClusterServiceUpdate(params *ClusterServiceUpdateParams, opts ...ClientOption) (*ClusterServiceUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ClusterServiceCreateDefault
- type ClusterServiceCreateOK
- type ClusterServiceCreateParams
- func NewClusterServiceCreateParams() *ClusterServiceCreateParams
- func NewClusterServiceCreateParamsWithContext(ctx context.Context) *ClusterServiceCreateParams
- func NewClusterServiceCreateParamsWithHTTPClient(client *http.Client) *ClusterServiceCreateParams
- func NewClusterServiceCreateParamsWithTimeout(timeout time.Duration) *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) SetBody(body *models.V1alpha1Cluster)
- func (o *ClusterServiceCreateParams) SetContext(ctx context.Context)
- func (o *ClusterServiceCreateParams) SetDefaults()
- func (o *ClusterServiceCreateParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceCreateParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceCreateParams) SetUpsert(upsert *bool)
- func (o *ClusterServiceCreateParams) WithBody(body *models.V1alpha1Cluster) *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) WithContext(ctx context.Context) *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) WithDefaults() *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) WithHTTPClient(client *http.Client) *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) WithTimeout(timeout time.Duration) *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) WithUpsert(upsert *bool) *ClusterServiceCreateParams
- func (o *ClusterServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceCreateReader
- type ClusterServiceDeleteDefault
- type ClusterServiceDeleteOK
- type ClusterServiceDeleteParams
- func NewClusterServiceDeleteParams() *ClusterServiceDeleteParams
- func NewClusterServiceDeleteParamsWithContext(ctx context.Context) *ClusterServiceDeleteParams
- func NewClusterServiceDeleteParamsWithHTTPClient(client *http.Client) *ClusterServiceDeleteParams
- func NewClusterServiceDeleteParamsWithTimeout(timeout time.Duration) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) SetContext(ctx context.Context)
- func (o *ClusterServiceDeleteParams) SetDefaults()
- func (o *ClusterServiceDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceDeleteParams) SetIDType(iDType *string)
- func (o *ClusterServiceDeleteParams) SetIDValue(iDValue string)
- func (o *ClusterServiceDeleteParams) SetName(name *string)
- func (o *ClusterServiceDeleteParams) SetServer(server *string)
- func (o *ClusterServiceDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceDeleteParams) WithContext(ctx context.Context) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithDefaults() *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithHTTPClient(client *http.Client) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithIDType(iDType *string) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithIDValue(iDValue string) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithName(name *string) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithServer(server *string) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WithTimeout(timeout time.Duration) *ClusterServiceDeleteParams
- func (o *ClusterServiceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceDeleteReader
- type ClusterServiceGetDefault
- type ClusterServiceGetOK
- type ClusterServiceGetParams
- func NewClusterServiceGetParams() *ClusterServiceGetParams
- func NewClusterServiceGetParamsWithContext(ctx context.Context) *ClusterServiceGetParams
- func NewClusterServiceGetParamsWithHTTPClient(client *http.Client) *ClusterServiceGetParams
- func NewClusterServiceGetParamsWithTimeout(timeout time.Duration) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) SetContext(ctx context.Context)
- func (o *ClusterServiceGetParams) SetDefaults()
- func (o *ClusterServiceGetParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceGetParams) SetIDType(iDType *string)
- func (o *ClusterServiceGetParams) SetIDValue(iDValue string)
- func (o *ClusterServiceGetParams) SetName(name *string)
- func (o *ClusterServiceGetParams) SetServer(server *string)
- func (o *ClusterServiceGetParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceGetParams) WithContext(ctx context.Context) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithDefaults() *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithHTTPClient(client *http.Client) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithIDType(iDType *string) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithIDValue(iDValue string) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithName(name *string) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithServer(server *string) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WithTimeout(timeout time.Duration) *ClusterServiceGetParams
- func (o *ClusterServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceGetReader
- type ClusterServiceInvalidateCacheDefault
- type ClusterServiceInvalidateCacheOK
- type ClusterServiceInvalidateCacheParams
- func NewClusterServiceInvalidateCacheParams() *ClusterServiceInvalidateCacheParams
- func NewClusterServiceInvalidateCacheParamsWithContext(ctx context.Context) *ClusterServiceInvalidateCacheParams
- func NewClusterServiceInvalidateCacheParamsWithHTTPClient(client *http.Client) *ClusterServiceInvalidateCacheParams
- func NewClusterServiceInvalidateCacheParamsWithTimeout(timeout time.Duration) *ClusterServiceInvalidateCacheParams
- func (o *ClusterServiceInvalidateCacheParams) SetContext(ctx context.Context)
- func (o *ClusterServiceInvalidateCacheParams) SetDefaults()
- func (o *ClusterServiceInvalidateCacheParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceInvalidateCacheParams) SetIDValue(iDValue string)
- func (o *ClusterServiceInvalidateCacheParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceInvalidateCacheParams) WithContext(ctx context.Context) *ClusterServiceInvalidateCacheParams
- func (o *ClusterServiceInvalidateCacheParams) WithDefaults() *ClusterServiceInvalidateCacheParams
- func (o *ClusterServiceInvalidateCacheParams) WithHTTPClient(client *http.Client) *ClusterServiceInvalidateCacheParams
- func (o *ClusterServiceInvalidateCacheParams) WithIDValue(iDValue string) *ClusterServiceInvalidateCacheParams
- func (o *ClusterServiceInvalidateCacheParams) WithTimeout(timeout time.Duration) *ClusterServiceInvalidateCacheParams
- func (o *ClusterServiceInvalidateCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceInvalidateCacheReader
- type ClusterServiceListDefault
- type ClusterServiceListOK
- type ClusterServiceListParams
- func NewClusterServiceListParams() *ClusterServiceListParams
- func NewClusterServiceListParamsWithContext(ctx context.Context) *ClusterServiceListParams
- func NewClusterServiceListParamsWithHTTPClient(client *http.Client) *ClusterServiceListParams
- func NewClusterServiceListParamsWithTimeout(timeout time.Duration) *ClusterServiceListParams
- func (o *ClusterServiceListParams) SetContext(ctx context.Context)
- func (o *ClusterServiceListParams) SetDefaults()
- func (o *ClusterServiceListParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceListParams) SetIDType(iDType *string)
- func (o *ClusterServiceListParams) SetIDValue(iDValue *string)
- func (o *ClusterServiceListParams) SetName(name *string)
- func (o *ClusterServiceListParams) SetServer(server *string)
- func (o *ClusterServiceListParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceListParams) WithContext(ctx context.Context) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithDefaults() *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithHTTPClient(client *http.Client) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithIDType(iDType *string) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithIDValue(iDValue *string) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithName(name *string) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithServer(server *string) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WithTimeout(timeout time.Duration) *ClusterServiceListParams
- func (o *ClusterServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceListReader
- type ClusterServiceRotateAuthDefault
- type ClusterServiceRotateAuthOK
- type ClusterServiceRotateAuthParams
- func NewClusterServiceRotateAuthParams() *ClusterServiceRotateAuthParams
- func NewClusterServiceRotateAuthParamsWithContext(ctx context.Context) *ClusterServiceRotateAuthParams
- func NewClusterServiceRotateAuthParamsWithHTTPClient(client *http.Client) *ClusterServiceRotateAuthParams
- func NewClusterServiceRotateAuthParamsWithTimeout(timeout time.Duration) *ClusterServiceRotateAuthParams
- func (o *ClusterServiceRotateAuthParams) SetContext(ctx context.Context)
- func (o *ClusterServiceRotateAuthParams) SetDefaults()
- func (o *ClusterServiceRotateAuthParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceRotateAuthParams) SetIDValue(iDValue string)
- func (o *ClusterServiceRotateAuthParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceRotateAuthParams) WithContext(ctx context.Context) *ClusterServiceRotateAuthParams
- func (o *ClusterServiceRotateAuthParams) WithDefaults() *ClusterServiceRotateAuthParams
- func (o *ClusterServiceRotateAuthParams) WithHTTPClient(client *http.Client) *ClusterServiceRotateAuthParams
- func (o *ClusterServiceRotateAuthParams) WithIDValue(iDValue string) *ClusterServiceRotateAuthParams
- func (o *ClusterServiceRotateAuthParams) WithTimeout(timeout time.Duration) *ClusterServiceRotateAuthParams
- func (o *ClusterServiceRotateAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceRotateAuthReader
- type ClusterServiceUpdateDefault
- type ClusterServiceUpdateOK
- type ClusterServiceUpdateParams
- func NewClusterServiceUpdateParams() *ClusterServiceUpdateParams
- func NewClusterServiceUpdateParamsWithContext(ctx context.Context) *ClusterServiceUpdateParams
- func NewClusterServiceUpdateParamsWithHTTPClient(client *http.Client) *ClusterServiceUpdateParams
- func NewClusterServiceUpdateParamsWithTimeout(timeout time.Duration) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) SetBody(body *models.V1alpha1Cluster)
- func (o *ClusterServiceUpdateParams) SetContext(ctx context.Context)
- func (o *ClusterServiceUpdateParams) SetDefaults()
- func (o *ClusterServiceUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ClusterServiceUpdateParams) SetIDType(iDType *string)
- func (o *ClusterServiceUpdateParams) SetIDValue(iDValue string)
- func (o *ClusterServiceUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ClusterServiceUpdateParams) SetUpdatedFields(updatedFields []string)
- func (o *ClusterServiceUpdateParams) WithBody(body *models.V1alpha1Cluster) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithContext(ctx context.Context) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithDefaults() *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithHTTPClient(client *http.Client) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithIDType(iDType *string) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithIDValue(iDValue string) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithTimeout(timeout time.Duration) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WithUpdatedFields(updatedFields []string) *ClusterServiceUpdateParams
- func (o *ClusterServiceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClusterServiceUpdateReader
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 cluster service API
func (*Client) ClusterServiceCreate ¶
func (a *Client) ClusterServiceCreate(params *ClusterServiceCreateParams, opts ...ClientOption) (*ClusterServiceCreateOK, error)
ClusterServiceCreate creates creates a cluster
func (*Client) ClusterServiceDelete ¶
func (a *Client) ClusterServiceDelete(params *ClusterServiceDeleteParams, opts ...ClientOption) (*ClusterServiceDeleteOK, error)
ClusterServiceDelete deletes deletes a cluster
func (*Client) ClusterServiceGet ¶
func (a *Client) ClusterServiceGet(params *ClusterServiceGetParams, opts ...ClientOption) (*ClusterServiceGetOK, error)
ClusterServiceGet gets returns a cluster by server address
func (*Client) ClusterServiceInvalidateCache ¶
func (a *Client) ClusterServiceInvalidateCache(params *ClusterServiceInvalidateCacheParams, opts ...ClientOption) (*ClusterServiceInvalidateCacheOK, error)
ClusterServiceInvalidateCache invalidates cache invalidates cluster cache
func (*Client) ClusterServiceList ¶
func (a *Client) ClusterServiceList(params *ClusterServiceListParams, opts ...ClientOption) (*ClusterServiceListOK, error)
ClusterServiceList lists returns list of clusters
func (*Client) ClusterServiceRotateAuth ¶
func (a *Client) ClusterServiceRotateAuth(params *ClusterServiceRotateAuthParams, opts ...ClientOption) (*ClusterServiceRotateAuthOK, error)
ClusterServiceRotateAuth rotates auth rotates the bearer token used for a cluster
func (*Client) ClusterServiceUpdate ¶
func (a *Client) ClusterServiceUpdate(params *ClusterServiceUpdateParams, opts ...ClientOption) (*ClusterServiceUpdateOK, error)
ClusterServiceUpdate updates updates a 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 { ClusterServiceCreate(params *ClusterServiceCreateParams, opts ...ClientOption) (*ClusterServiceCreateOK, error) ClusterServiceDelete(params *ClusterServiceDeleteParams, opts ...ClientOption) (*ClusterServiceDeleteOK, error) ClusterServiceGet(params *ClusterServiceGetParams, opts ...ClientOption) (*ClusterServiceGetOK, error) ClusterServiceInvalidateCache(params *ClusterServiceInvalidateCacheParams, opts ...ClientOption) (*ClusterServiceInvalidateCacheOK, error) ClusterServiceList(params *ClusterServiceListParams, opts ...ClientOption) (*ClusterServiceListOK, error) ClusterServiceRotateAuth(params *ClusterServiceRotateAuthParams, opts ...ClientOption) (*ClusterServiceRotateAuthOK, error) ClusterServiceUpdate(params *ClusterServiceUpdateParams, opts ...ClientOption) (*ClusterServiceUpdateOK, 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 cluster service API client.
type ClusterServiceCreateDefault ¶
type ClusterServiceCreateDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceCreateDefault ¶
func NewClusterServiceCreateDefault(code int) *ClusterServiceCreateDefault
NewClusterServiceCreateDefault creates a ClusterServiceCreateDefault with default headers values
func (*ClusterServiceCreateDefault) Code ¶
func (o *ClusterServiceCreateDefault) Code() int
Code gets the status code for the cluster service create default response
func (*ClusterServiceCreateDefault) Error ¶
func (o *ClusterServiceCreateDefault) Error() string
func (*ClusterServiceCreateDefault) GetPayload ¶
func (o *ClusterServiceCreateDefault) GetPayload() *models.RuntimeError
type ClusterServiceCreateOK ¶
type ClusterServiceCreateOK struct {
Payload *models.V1alpha1Cluster
}
ClusterServiceCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceCreateOK ¶
func NewClusterServiceCreateOK() *ClusterServiceCreateOK
NewClusterServiceCreateOK creates a ClusterServiceCreateOK with default headers values
func (*ClusterServiceCreateOK) Error ¶
func (o *ClusterServiceCreateOK) Error() string
func (*ClusterServiceCreateOK) GetPayload ¶
func (o *ClusterServiceCreateOK) GetPayload() *models.V1alpha1Cluster
type ClusterServiceCreateParams ¶
type ClusterServiceCreateParams struct { // Body. Body *models.V1alpha1Cluster // Upsert. Upsert *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceCreateParams contains all the parameters to send to the API endpoint
for the cluster service create operation. Typically these are written to a http.Request.
func NewClusterServiceCreateParams ¶
func NewClusterServiceCreateParams() *ClusterServiceCreateParams
NewClusterServiceCreateParams creates a new ClusterServiceCreateParams 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 NewClusterServiceCreateParamsWithContext ¶
func NewClusterServiceCreateParamsWithContext(ctx context.Context) *ClusterServiceCreateParams
NewClusterServiceCreateParamsWithContext creates a new ClusterServiceCreateParams object with the ability to set a context for a request.
func NewClusterServiceCreateParamsWithHTTPClient ¶
func NewClusterServiceCreateParamsWithHTTPClient(client *http.Client) *ClusterServiceCreateParams
NewClusterServiceCreateParamsWithHTTPClient creates a new ClusterServiceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceCreateParamsWithTimeout ¶
func NewClusterServiceCreateParamsWithTimeout(timeout time.Duration) *ClusterServiceCreateParams
NewClusterServiceCreateParamsWithTimeout creates a new ClusterServiceCreateParams object with the ability to set a timeout on a request.
func (*ClusterServiceCreateParams) SetBody ¶
func (o *ClusterServiceCreateParams) SetBody(body *models.V1alpha1Cluster)
SetBody adds the body to the cluster service create params
func (*ClusterServiceCreateParams) SetContext ¶
func (o *ClusterServiceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service create params
func (*ClusterServiceCreateParams) SetDefaults ¶
func (o *ClusterServiceCreateParams) SetDefaults()
SetDefaults hydrates default values in the cluster service create params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceCreateParams) SetHTTPClient ¶
func (o *ClusterServiceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service create params
func (*ClusterServiceCreateParams) SetTimeout ¶
func (o *ClusterServiceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service create params
func (*ClusterServiceCreateParams) SetUpsert ¶
func (o *ClusterServiceCreateParams) SetUpsert(upsert *bool)
SetUpsert adds the upsert to the cluster service create params
func (*ClusterServiceCreateParams) WithBody ¶
func (o *ClusterServiceCreateParams) WithBody(body *models.V1alpha1Cluster) *ClusterServiceCreateParams
WithBody adds the body to the cluster service create params
func (*ClusterServiceCreateParams) WithContext ¶
func (o *ClusterServiceCreateParams) WithContext(ctx context.Context) *ClusterServiceCreateParams
WithContext adds the context to the cluster service create params
func (*ClusterServiceCreateParams) WithDefaults ¶
func (o *ClusterServiceCreateParams) WithDefaults() *ClusterServiceCreateParams
WithDefaults hydrates default values in the cluster service create params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceCreateParams) WithHTTPClient ¶
func (o *ClusterServiceCreateParams) WithHTTPClient(client *http.Client) *ClusterServiceCreateParams
WithHTTPClient adds the HTTPClient to the cluster service create params
func (*ClusterServiceCreateParams) WithTimeout ¶
func (o *ClusterServiceCreateParams) WithTimeout(timeout time.Duration) *ClusterServiceCreateParams
WithTimeout adds the timeout to the cluster service create params
func (*ClusterServiceCreateParams) WithUpsert ¶
func (o *ClusterServiceCreateParams) WithUpsert(upsert *bool) *ClusterServiceCreateParams
WithUpsert adds the upsert to the cluster service create params
func (*ClusterServiceCreateParams) WriteToRequest ¶
func (o *ClusterServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceCreateReader ¶
type ClusterServiceCreateReader struct {
// contains filtered or unexported fields
}
ClusterServiceCreateReader is a Reader for the ClusterServiceCreate structure.
func (*ClusterServiceCreateReader) ReadResponse ¶
func (o *ClusterServiceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterServiceDeleteDefault ¶
type ClusterServiceDeleteDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceDeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceDeleteDefault ¶
func NewClusterServiceDeleteDefault(code int) *ClusterServiceDeleteDefault
NewClusterServiceDeleteDefault creates a ClusterServiceDeleteDefault with default headers values
func (*ClusterServiceDeleteDefault) Code ¶
func (o *ClusterServiceDeleteDefault) Code() int
Code gets the status code for the cluster service delete default response
func (*ClusterServiceDeleteDefault) Error ¶
func (o *ClusterServiceDeleteDefault) Error() string
func (*ClusterServiceDeleteDefault) GetPayload ¶
func (o *ClusterServiceDeleteDefault) GetPayload() *models.RuntimeError
type ClusterServiceDeleteOK ¶
type ClusterServiceDeleteOK struct {
Payload models.ClusterClusterResponse
}
ClusterServiceDeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceDeleteOK ¶
func NewClusterServiceDeleteOK() *ClusterServiceDeleteOK
NewClusterServiceDeleteOK creates a ClusterServiceDeleteOK with default headers values
func (*ClusterServiceDeleteOK) Error ¶
func (o *ClusterServiceDeleteOK) Error() string
func (*ClusterServiceDeleteOK) GetPayload ¶
func (o *ClusterServiceDeleteOK) GetPayload() models.ClusterClusterResponse
type ClusterServiceDeleteParams ¶
type ClusterServiceDeleteParams struct { /* IDType. type is the type of the specified cluster identifier ( "server" - default, "name" ). */ IDType *string /* IDValue. value holds the cluster server URL or cluster name */ IDValue string // Name. Name *string // Server. Server *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceDeleteParams contains all the parameters to send to the API endpoint
for the cluster service delete operation. Typically these are written to a http.Request.
func NewClusterServiceDeleteParams ¶
func NewClusterServiceDeleteParams() *ClusterServiceDeleteParams
NewClusterServiceDeleteParams creates a new ClusterServiceDeleteParams 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 NewClusterServiceDeleteParamsWithContext ¶
func NewClusterServiceDeleteParamsWithContext(ctx context.Context) *ClusterServiceDeleteParams
NewClusterServiceDeleteParamsWithContext creates a new ClusterServiceDeleteParams object with the ability to set a context for a request.
func NewClusterServiceDeleteParamsWithHTTPClient ¶
func NewClusterServiceDeleteParamsWithHTTPClient(client *http.Client) *ClusterServiceDeleteParams
NewClusterServiceDeleteParamsWithHTTPClient creates a new ClusterServiceDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceDeleteParamsWithTimeout ¶
func NewClusterServiceDeleteParamsWithTimeout(timeout time.Duration) *ClusterServiceDeleteParams
NewClusterServiceDeleteParamsWithTimeout creates a new ClusterServiceDeleteParams object with the ability to set a timeout on a request.
func (*ClusterServiceDeleteParams) SetContext ¶
func (o *ClusterServiceDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service delete params
func (*ClusterServiceDeleteParams) SetDefaults ¶
func (o *ClusterServiceDeleteParams) SetDefaults()
SetDefaults hydrates default values in the cluster service delete params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceDeleteParams) SetHTTPClient ¶
func (o *ClusterServiceDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service delete params
func (*ClusterServiceDeleteParams) SetIDType ¶
func (o *ClusterServiceDeleteParams) SetIDType(iDType *string)
SetIDType adds the idType to the cluster service delete params
func (*ClusterServiceDeleteParams) SetIDValue ¶
func (o *ClusterServiceDeleteParams) SetIDValue(iDValue string)
SetIDValue adds the idValue to the cluster service delete params
func (*ClusterServiceDeleteParams) SetName ¶
func (o *ClusterServiceDeleteParams) SetName(name *string)
SetName adds the name to the cluster service delete params
func (*ClusterServiceDeleteParams) SetServer ¶
func (o *ClusterServiceDeleteParams) SetServer(server *string)
SetServer adds the server to the cluster service delete params
func (*ClusterServiceDeleteParams) SetTimeout ¶
func (o *ClusterServiceDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service delete params
func (*ClusterServiceDeleteParams) WithContext ¶
func (o *ClusterServiceDeleteParams) WithContext(ctx context.Context) *ClusterServiceDeleteParams
WithContext adds the context to the cluster service delete params
func (*ClusterServiceDeleteParams) WithDefaults ¶
func (o *ClusterServiceDeleteParams) WithDefaults() *ClusterServiceDeleteParams
WithDefaults hydrates default values in the cluster service delete params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceDeleteParams) WithHTTPClient ¶
func (o *ClusterServiceDeleteParams) WithHTTPClient(client *http.Client) *ClusterServiceDeleteParams
WithHTTPClient adds the HTTPClient to the cluster service delete params
func (*ClusterServiceDeleteParams) WithIDType ¶
func (o *ClusterServiceDeleteParams) WithIDType(iDType *string) *ClusterServiceDeleteParams
WithIDType adds the iDType to the cluster service delete params
func (*ClusterServiceDeleteParams) WithIDValue ¶
func (o *ClusterServiceDeleteParams) WithIDValue(iDValue string) *ClusterServiceDeleteParams
WithIDValue adds the iDValue to the cluster service delete params
func (*ClusterServiceDeleteParams) WithName ¶
func (o *ClusterServiceDeleteParams) WithName(name *string) *ClusterServiceDeleteParams
WithName adds the name to the cluster service delete params
func (*ClusterServiceDeleteParams) WithServer ¶
func (o *ClusterServiceDeleteParams) WithServer(server *string) *ClusterServiceDeleteParams
WithServer adds the server to the cluster service delete params
func (*ClusterServiceDeleteParams) WithTimeout ¶
func (o *ClusterServiceDeleteParams) WithTimeout(timeout time.Duration) *ClusterServiceDeleteParams
WithTimeout adds the timeout to the cluster service delete params
func (*ClusterServiceDeleteParams) WriteToRequest ¶
func (o *ClusterServiceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceDeleteReader ¶
type ClusterServiceDeleteReader struct {
// contains filtered or unexported fields
}
ClusterServiceDeleteReader is a Reader for the ClusterServiceDelete structure.
func (*ClusterServiceDeleteReader) ReadResponse ¶
func (o *ClusterServiceDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterServiceGetDefault ¶
type ClusterServiceGetDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceGetDefault ¶
func NewClusterServiceGetDefault(code int) *ClusterServiceGetDefault
NewClusterServiceGetDefault creates a ClusterServiceGetDefault with default headers values
func (*ClusterServiceGetDefault) Code ¶
func (o *ClusterServiceGetDefault) Code() int
Code gets the status code for the cluster service get default response
func (*ClusterServiceGetDefault) Error ¶
func (o *ClusterServiceGetDefault) Error() string
func (*ClusterServiceGetDefault) GetPayload ¶
func (o *ClusterServiceGetDefault) GetPayload() *models.RuntimeError
type ClusterServiceGetOK ¶
type ClusterServiceGetOK struct {
Payload *models.V1alpha1Cluster
}
ClusterServiceGetOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceGetOK ¶
func NewClusterServiceGetOK() *ClusterServiceGetOK
NewClusterServiceGetOK creates a ClusterServiceGetOK with default headers values
func (*ClusterServiceGetOK) Error ¶
func (o *ClusterServiceGetOK) Error() string
func (*ClusterServiceGetOK) GetPayload ¶
func (o *ClusterServiceGetOK) GetPayload() *models.V1alpha1Cluster
type ClusterServiceGetParams ¶
type ClusterServiceGetParams struct { /* IDType. type is the type of the specified cluster identifier ( "server" - default, "name" ). */ IDType *string /* IDValue. value holds the cluster server URL or cluster name */ IDValue string // Name. Name *string // Server. Server *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceGetParams contains all the parameters to send to the API endpoint
for the cluster service get operation. Typically these are written to a http.Request.
func NewClusterServiceGetParams ¶
func NewClusterServiceGetParams() *ClusterServiceGetParams
NewClusterServiceGetParams creates a new ClusterServiceGetParams 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 NewClusterServiceGetParamsWithContext ¶
func NewClusterServiceGetParamsWithContext(ctx context.Context) *ClusterServiceGetParams
NewClusterServiceGetParamsWithContext creates a new ClusterServiceGetParams object with the ability to set a context for a request.
func NewClusterServiceGetParamsWithHTTPClient ¶
func NewClusterServiceGetParamsWithHTTPClient(client *http.Client) *ClusterServiceGetParams
NewClusterServiceGetParamsWithHTTPClient creates a new ClusterServiceGetParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceGetParamsWithTimeout ¶
func NewClusterServiceGetParamsWithTimeout(timeout time.Duration) *ClusterServiceGetParams
NewClusterServiceGetParamsWithTimeout creates a new ClusterServiceGetParams object with the ability to set a timeout on a request.
func (*ClusterServiceGetParams) SetContext ¶
func (o *ClusterServiceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service get params
func (*ClusterServiceGetParams) SetDefaults ¶
func (o *ClusterServiceGetParams) SetDefaults()
SetDefaults hydrates default values in the cluster service get params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceGetParams) SetHTTPClient ¶
func (o *ClusterServiceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service get params
func (*ClusterServiceGetParams) SetIDType ¶
func (o *ClusterServiceGetParams) SetIDType(iDType *string)
SetIDType adds the idType to the cluster service get params
func (*ClusterServiceGetParams) SetIDValue ¶
func (o *ClusterServiceGetParams) SetIDValue(iDValue string)
SetIDValue adds the idValue to the cluster service get params
func (*ClusterServiceGetParams) SetName ¶
func (o *ClusterServiceGetParams) SetName(name *string)
SetName adds the name to the cluster service get params
func (*ClusterServiceGetParams) SetServer ¶
func (o *ClusterServiceGetParams) SetServer(server *string)
SetServer adds the server to the cluster service get params
func (*ClusterServiceGetParams) SetTimeout ¶
func (o *ClusterServiceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service get params
func (*ClusterServiceGetParams) WithContext ¶
func (o *ClusterServiceGetParams) WithContext(ctx context.Context) *ClusterServiceGetParams
WithContext adds the context to the cluster service get params
func (*ClusterServiceGetParams) WithDefaults ¶
func (o *ClusterServiceGetParams) WithDefaults() *ClusterServiceGetParams
WithDefaults hydrates default values in the cluster service get params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceGetParams) WithHTTPClient ¶
func (o *ClusterServiceGetParams) WithHTTPClient(client *http.Client) *ClusterServiceGetParams
WithHTTPClient adds the HTTPClient to the cluster service get params
func (*ClusterServiceGetParams) WithIDType ¶
func (o *ClusterServiceGetParams) WithIDType(iDType *string) *ClusterServiceGetParams
WithIDType adds the iDType to the cluster service get params
func (*ClusterServiceGetParams) WithIDValue ¶
func (o *ClusterServiceGetParams) WithIDValue(iDValue string) *ClusterServiceGetParams
WithIDValue adds the iDValue to the cluster service get params
func (*ClusterServiceGetParams) WithName ¶
func (o *ClusterServiceGetParams) WithName(name *string) *ClusterServiceGetParams
WithName adds the name to the cluster service get params
func (*ClusterServiceGetParams) WithServer ¶
func (o *ClusterServiceGetParams) WithServer(server *string) *ClusterServiceGetParams
WithServer adds the server to the cluster service get params
func (*ClusterServiceGetParams) WithTimeout ¶
func (o *ClusterServiceGetParams) WithTimeout(timeout time.Duration) *ClusterServiceGetParams
WithTimeout adds the timeout to the cluster service get params
func (*ClusterServiceGetParams) WriteToRequest ¶
func (o *ClusterServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceGetReader ¶
type ClusterServiceGetReader struct {
// contains filtered or unexported fields
}
ClusterServiceGetReader is a Reader for the ClusterServiceGet structure.
func (*ClusterServiceGetReader) ReadResponse ¶
func (o *ClusterServiceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterServiceInvalidateCacheDefault ¶
type ClusterServiceInvalidateCacheDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceInvalidateCacheDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceInvalidateCacheDefault ¶
func NewClusterServiceInvalidateCacheDefault(code int) *ClusterServiceInvalidateCacheDefault
NewClusterServiceInvalidateCacheDefault creates a ClusterServiceInvalidateCacheDefault with default headers values
func (*ClusterServiceInvalidateCacheDefault) Code ¶
func (o *ClusterServiceInvalidateCacheDefault) Code() int
Code gets the status code for the cluster service invalidate cache default response
func (*ClusterServiceInvalidateCacheDefault) Error ¶
func (o *ClusterServiceInvalidateCacheDefault) Error() string
func (*ClusterServiceInvalidateCacheDefault) GetPayload ¶
func (o *ClusterServiceInvalidateCacheDefault) GetPayload() *models.RuntimeError
type ClusterServiceInvalidateCacheOK ¶
type ClusterServiceInvalidateCacheOK struct {
Payload *models.V1alpha1Cluster
}
ClusterServiceInvalidateCacheOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceInvalidateCacheOK ¶
func NewClusterServiceInvalidateCacheOK() *ClusterServiceInvalidateCacheOK
NewClusterServiceInvalidateCacheOK creates a ClusterServiceInvalidateCacheOK with default headers values
func (*ClusterServiceInvalidateCacheOK) Error ¶
func (o *ClusterServiceInvalidateCacheOK) Error() string
func (*ClusterServiceInvalidateCacheOK) GetPayload ¶
func (o *ClusterServiceInvalidateCacheOK) GetPayload() *models.V1alpha1Cluster
type ClusterServiceInvalidateCacheParams ¶
type ClusterServiceInvalidateCacheParams struct { /* IDValue. value holds the cluster server URL or cluster name */ IDValue string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceInvalidateCacheParams contains all the parameters to send to the API endpoint
for the cluster service invalidate cache operation. Typically these are written to a http.Request.
func NewClusterServiceInvalidateCacheParams ¶
func NewClusterServiceInvalidateCacheParams() *ClusterServiceInvalidateCacheParams
NewClusterServiceInvalidateCacheParams creates a new ClusterServiceInvalidateCacheParams 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 NewClusterServiceInvalidateCacheParamsWithContext ¶
func NewClusterServiceInvalidateCacheParamsWithContext(ctx context.Context) *ClusterServiceInvalidateCacheParams
NewClusterServiceInvalidateCacheParamsWithContext creates a new ClusterServiceInvalidateCacheParams object with the ability to set a context for a request.
func NewClusterServiceInvalidateCacheParamsWithHTTPClient ¶
func NewClusterServiceInvalidateCacheParamsWithHTTPClient(client *http.Client) *ClusterServiceInvalidateCacheParams
NewClusterServiceInvalidateCacheParamsWithHTTPClient creates a new ClusterServiceInvalidateCacheParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceInvalidateCacheParamsWithTimeout ¶
func NewClusterServiceInvalidateCacheParamsWithTimeout(timeout time.Duration) *ClusterServiceInvalidateCacheParams
NewClusterServiceInvalidateCacheParamsWithTimeout creates a new ClusterServiceInvalidateCacheParams object with the ability to set a timeout on a request.
func (*ClusterServiceInvalidateCacheParams) SetContext ¶
func (o *ClusterServiceInvalidateCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) SetDefaults ¶
func (o *ClusterServiceInvalidateCacheParams) SetDefaults()
SetDefaults hydrates default values in the cluster service invalidate cache params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceInvalidateCacheParams) SetHTTPClient ¶
func (o *ClusterServiceInvalidateCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) SetIDValue ¶
func (o *ClusterServiceInvalidateCacheParams) SetIDValue(iDValue string)
SetIDValue adds the idValue to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) SetTimeout ¶
func (o *ClusterServiceInvalidateCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) WithContext ¶
func (o *ClusterServiceInvalidateCacheParams) WithContext(ctx context.Context) *ClusterServiceInvalidateCacheParams
WithContext adds the context to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) WithDefaults ¶
func (o *ClusterServiceInvalidateCacheParams) WithDefaults() *ClusterServiceInvalidateCacheParams
WithDefaults hydrates default values in the cluster service invalidate cache params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceInvalidateCacheParams) WithHTTPClient ¶
func (o *ClusterServiceInvalidateCacheParams) WithHTTPClient(client *http.Client) *ClusterServiceInvalidateCacheParams
WithHTTPClient adds the HTTPClient to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) WithIDValue ¶
func (o *ClusterServiceInvalidateCacheParams) WithIDValue(iDValue string) *ClusterServiceInvalidateCacheParams
WithIDValue adds the iDValue to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) WithTimeout ¶
func (o *ClusterServiceInvalidateCacheParams) WithTimeout(timeout time.Duration) *ClusterServiceInvalidateCacheParams
WithTimeout adds the timeout to the cluster service invalidate cache params
func (*ClusterServiceInvalidateCacheParams) WriteToRequest ¶
func (o *ClusterServiceInvalidateCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceInvalidateCacheReader ¶
type ClusterServiceInvalidateCacheReader struct {
// contains filtered or unexported fields
}
ClusterServiceInvalidateCacheReader is a Reader for the ClusterServiceInvalidateCache structure.
func (*ClusterServiceInvalidateCacheReader) ReadResponse ¶
func (o *ClusterServiceInvalidateCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterServiceListDefault ¶
type ClusterServiceListDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceListDefault ¶
func NewClusterServiceListDefault(code int) *ClusterServiceListDefault
NewClusterServiceListDefault creates a ClusterServiceListDefault with default headers values
func (*ClusterServiceListDefault) Code ¶
func (o *ClusterServiceListDefault) Code() int
Code gets the status code for the cluster service list default response
func (*ClusterServiceListDefault) Error ¶
func (o *ClusterServiceListDefault) Error() string
func (*ClusterServiceListDefault) GetPayload ¶
func (o *ClusterServiceListDefault) GetPayload() *models.RuntimeError
type ClusterServiceListOK ¶
type ClusterServiceListOK struct {
Payload *models.V1alpha1ClusterList
}
ClusterServiceListOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceListOK ¶
func NewClusterServiceListOK() *ClusterServiceListOK
NewClusterServiceListOK creates a ClusterServiceListOK with default headers values
func (*ClusterServiceListOK) Error ¶
func (o *ClusterServiceListOK) Error() string
func (*ClusterServiceListOK) GetPayload ¶
func (o *ClusterServiceListOK) GetPayload() *models.V1alpha1ClusterList
type ClusterServiceListParams ¶
type ClusterServiceListParams struct { /* IDType. type is the type of the specified cluster identifier ( "server" - default, "name" ). */ IDType *string /* IDValue. value holds the cluster server URL or cluster name. */ IDValue *string // Name. Name *string // Server. Server *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceListParams contains all the parameters to send to the API endpoint
for the cluster service list operation. Typically these are written to a http.Request.
func NewClusterServiceListParams ¶
func NewClusterServiceListParams() *ClusterServiceListParams
NewClusterServiceListParams creates a new ClusterServiceListParams 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 NewClusterServiceListParamsWithContext ¶
func NewClusterServiceListParamsWithContext(ctx context.Context) *ClusterServiceListParams
NewClusterServiceListParamsWithContext creates a new ClusterServiceListParams object with the ability to set a context for a request.
func NewClusterServiceListParamsWithHTTPClient ¶
func NewClusterServiceListParamsWithHTTPClient(client *http.Client) *ClusterServiceListParams
NewClusterServiceListParamsWithHTTPClient creates a new ClusterServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceListParamsWithTimeout ¶
func NewClusterServiceListParamsWithTimeout(timeout time.Duration) *ClusterServiceListParams
NewClusterServiceListParamsWithTimeout creates a new ClusterServiceListParams object with the ability to set a timeout on a request.
func (*ClusterServiceListParams) SetContext ¶
func (o *ClusterServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service list params
func (*ClusterServiceListParams) SetDefaults ¶
func (o *ClusterServiceListParams) SetDefaults()
SetDefaults hydrates default values in the cluster service list params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceListParams) SetHTTPClient ¶
func (o *ClusterServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service list params
func (*ClusterServiceListParams) SetIDType ¶
func (o *ClusterServiceListParams) SetIDType(iDType *string)
SetIDType adds the idType to the cluster service list params
func (*ClusterServiceListParams) SetIDValue ¶
func (o *ClusterServiceListParams) SetIDValue(iDValue *string)
SetIDValue adds the idValue to the cluster service list params
func (*ClusterServiceListParams) SetName ¶
func (o *ClusterServiceListParams) SetName(name *string)
SetName adds the name to the cluster service list params
func (*ClusterServiceListParams) SetServer ¶
func (o *ClusterServiceListParams) SetServer(server *string)
SetServer adds the server to the cluster service list params
func (*ClusterServiceListParams) SetTimeout ¶
func (o *ClusterServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service list params
func (*ClusterServiceListParams) WithContext ¶
func (o *ClusterServiceListParams) WithContext(ctx context.Context) *ClusterServiceListParams
WithContext adds the context to the cluster service list params
func (*ClusterServiceListParams) WithDefaults ¶
func (o *ClusterServiceListParams) WithDefaults() *ClusterServiceListParams
WithDefaults hydrates default values in the cluster service list params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceListParams) WithHTTPClient ¶
func (o *ClusterServiceListParams) WithHTTPClient(client *http.Client) *ClusterServiceListParams
WithHTTPClient adds the HTTPClient to the cluster service list params
func (*ClusterServiceListParams) WithIDType ¶
func (o *ClusterServiceListParams) WithIDType(iDType *string) *ClusterServiceListParams
WithIDType adds the iDType to the cluster service list params
func (*ClusterServiceListParams) WithIDValue ¶
func (o *ClusterServiceListParams) WithIDValue(iDValue *string) *ClusterServiceListParams
WithIDValue adds the iDValue to the cluster service list params
func (*ClusterServiceListParams) WithName ¶
func (o *ClusterServiceListParams) WithName(name *string) *ClusterServiceListParams
WithName adds the name to the cluster service list params
func (*ClusterServiceListParams) WithServer ¶
func (o *ClusterServiceListParams) WithServer(server *string) *ClusterServiceListParams
WithServer adds the server to the cluster service list params
func (*ClusterServiceListParams) WithTimeout ¶
func (o *ClusterServiceListParams) WithTimeout(timeout time.Duration) *ClusterServiceListParams
WithTimeout adds the timeout to the cluster service list params
func (*ClusterServiceListParams) WriteToRequest ¶
func (o *ClusterServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceListReader ¶
type ClusterServiceListReader struct {
// contains filtered or unexported fields
}
ClusterServiceListReader is a Reader for the ClusterServiceList structure.
func (*ClusterServiceListReader) ReadResponse ¶
func (o *ClusterServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterServiceRotateAuthDefault ¶
type ClusterServiceRotateAuthDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceRotateAuthDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceRotateAuthDefault ¶
func NewClusterServiceRotateAuthDefault(code int) *ClusterServiceRotateAuthDefault
NewClusterServiceRotateAuthDefault creates a ClusterServiceRotateAuthDefault with default headers values
func (*ClusterServiceRotateAuthDefault) Code ¶
func (o *ClusterServiceRotateAuthDefault) Code() int
Code gets the status code for the cluster service rotate auth default response
func (*ClusterServiceRotateAuthDefault) Error ¶
func (o *ClusterServiceRotateAuthDefault) Error() string
func (*ClusterServiceRotateAuthDefault) GetPayload ¶
func (o *ClusterServiceRotateAuthDefault) GetPayload() *models.RuntimeError
type ClusterServiceRotateAuthOK ¶
type ClusterServiceRotateAuthOK struct {
Payload models.ClusterClusterResponse
}
ClusterServiceRotateAuthOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceRotateAuthOK ¶
func NewClusterServiceRotateAuthOK() *ClusterServiceRotateAuthOK
NewClusterServiceRotateAuthOK creates a ClusterServiceRotateAuthOK with default headers values
func (*ClusterServiceRotateAuthOK) Error ¶
func (o *ClusterServiceRotateAuthOK) Error() string
func (*ClusterServiceRotateAuthOK) GetPayload ¶
func (o *ClusterServiceRotateAuthOK) GetPayload() models.ClusterClusterResponse
type ClusterServiceRotateAuthParams ¶
type ClusterServiceRotateAuthParams struct { /* IDValue. value holds the cluster server URL or cluster name */ IDValue string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceRotateAuthParams contains all the parameters to send to the API endpoint
for the cluster service rotate auth operation. Typically these are written to a http.Request.
func NewClusterServiceRotateAuthParams ¶
func NewClusterServiceRotateAuthParams() *ClusterServiceRotateAuthParams
NewClusterServiceRotateAuthParams creates a new ClusterServiceRotateAuthParams 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 NewClusterServiceRotateAuthParamsWithContext ¶
func NewClusterServiceRotateAuthParamsWithContext(ctx context.Context) *ClusterServiceRotateAuthParams
NewClusterServiceRotateAuthParamsWithContext creates a new ClusterServiceRotateAuthParams object with the ability to set a context for a request.
func NewClusterServiceRotateAuthParamsWithHTTPClient ¶
func NewClusterServiceRotateAuthParamsWithHTTPClient(client *http.Client) *ClusterServiceRotateAuthParams
NewClusterServiceRotateAuthParamsWithHTTPClient creates a new ClusterServiceRotateAuthParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceRotateAuthParamsWithTimeout ¶
func NewClusterServiceRotateAuthParamsWithTimeout(timeout time.Duration) *ClusterServiceRotateAuthParams
NewClusterServiceRotateAuthParamsWithTimeout creates a new ClusterServiceRotateAuthParams object with the ability to set a timeout on a request.
func (*ClusterServiceRotateAuthParams) SetContext ¶
func (o *ClusterServiceRotateAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) SetDefaults ¶
func (o *ClusterServiceRotateAuthParams) SetDefaults()
SetDefaults hydrates default values in the cluster service rotate auth params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceRotateAuthParams) SetHTTPClient ¶
func (o *ClusterServiceRotateAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) SetIDValue ¶
func (o *ClusterServiceRotateAuthParams) SetIDValue(iDValue string)
SetIDValue adds the idValue to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) SetTimeout ¶
func (o *ClusterServiceRotateAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) WithContext ¶
func (o *ClusterServiceRotateAuthParams) WithContext(ctx context.Context) *ClusterServiceRotateAuthParams
WithContext adds the context to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) WithDefaults ¶
func (o *ClusterServiceRotateAuthParams) WithDefaults() *ClusterServiceRotateAuthParams
WithDefaults hydrates default values in the cluster service rotate auth params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceRotateAuthParams) WithHTTPClient ¶
func (o *ClusterServiceRotateAuthParams) WithHTTPClient(client *http.Client) *ClusterServiceRotateAuthParams
WithHTTPClient adds the HTTPClient to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) WithIDValue ¶
func (o *ClusterServiceRotateAuthParams) WithIDValue(iDValue string) *ClusterServiceRotateAuthParams
WithIDValue adds the iDValue to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) WithTimeout ¶
func (o *ClusterServiceRotateAuthParams) WithTimeout(timeout time.Duration) *ClusterServiceRotateAuthParams
WithTimeout adds the timeout to the cluster service rotate auth params
func (*ClusterServiceRotateAuthParams) WriteToRequest ¶
func (o *ClusterServiceRotateAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceRotateAuthReader ¶
type ClusterServiceRotateAuthReader struct {
// contains filtered or unexported fields
}
ClusterServiceRotateAuthReader is a Reader for the ClusterServiceRotateAuth structure.
func (*ClusterServiceRotateAuthReader) ReadResponse ¶
func (o *ClusterServiceRotateAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClusterServiceUpdateDefault ¶
type ClusterServiceUpdateDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
ClusterServiceUpdateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewClusterServiceUpdateDefault ¶
func NewClusterServiceUpdateDefault(code int) *ClusterServiceUpdateDefault
NewClusterServiceUpdateDefault creates a ClusterServiceUpdateDefault with default headers values
func (*ClusterServiceUpdateDefault) Code ¶
func (o *ClusterServiceUpdateDefault) Code() int
Code gets the status code for the cluster service update default response
func (*ClusterServiceUpdateDefault) Error ¶
func (o *ClusterServiceUpdateDefault) Error() string
func (*ClusterServiceUpdateDefault) GetPayload ¶
func (o *ClusterServiceUpdateDefault) GetPayload() *models.RuntimeError
type ClusterServiceUpdateOK ¶
type ClusterServiceUpdateOK struct {
Payload *models.V1alpha1Cluster
}
ClusterServiceUpdateOK describes a response with status code 200, with default header values.
A successful response.
func NewClusterServiceUpdateOK ¶
func NewClusterServiceUpdateOK() *ClusterServiceUpdateOK
NewClusterServiceUpdateOK creates a ClusterServiceUpdateOK with default headers values
func (*ClusterServiceUpdateOK) Error ¶
func (o *ClusterServiceUpdateOK) Error() string
func (*ClusterServiceUpdateOK) GetPayload ¶
func (o *ClusterServiceUpdateOK) GetPayload() *models.V1alpha1Cluster
type ClusterServiceUpdateParams ¶
type ClusterServiceUpdateParams struct { // Body. Body *models.V1alpha1Cluster /* IDType. type is the type of the specified cluster identifier ( "server" - default, "name" ). */ IDType *string /* IDValue. value holds the cluster server URL or cluster name */ IDValue string // UpdatedFields. UpdatedFields []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClusterServiceUpdateParams contains all the parameters to send to the API endpoint
for the cluster service update operation. Typically these are written to a http.Request.
func NewClusterServiceUpdateParams ¶
func NewClusterServiceUpdateParams() *ClusterServiceUpdateParams
NewClusterServiceUpdateParams creates a new ClusterServiceUpdateParams 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 NewClusterServiceUpdateParamsWithContext ¶
func NewClusterServiceUpdateParamsWithContext(ctx context.Context) *ClusterServiceUpdateParams
NewClusterServiceUpdateParamsWithContext creates a new ClusterServiceUpdateParams object with the ability to set a context for a request.
func NewClusterServiceUpdateParamsWithHTTPClient ¶
func NewClusterServiceUpdateParamsWithHTTPClient(client *http.Client) *ClusterServiceUpdateParams
NewClusterServiceUpdateParamsWithHTTPClient creates a new ClusterServiceUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewClusterServiceUpdateParamsWithTimeout ¶
func NewClusterServiceUpdateParamsWithTimeout(timeout time.Duration) *ClusterServiceUpdateParams
NewClusterServiceUpdateParamsWithTimeout creates a new ClusterServiceUpdateParams object with the ability to set a timeout on a request.
func (*ClusterServiceUpdateParams) SetBody ¶
func (o *ClusterServiceUpdateParams) SetBody(body *models.V1alpha1Cluster)
SetBody adds the body to the cluster service update params
func (*ClusterServiceUpdateParams) SetContext ¶
func (o *ClusterServiceUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the cluster service update params
func (*ClusterServiceUpdateParams) SetDefaults ¶
func (o *ClusterServiceUpdateParams) SetDefaults()
SetDefaults hydrates default values in the cluster service update params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceUpdateParams) SetHTTPClient ¶
func (o *ClusterServiceUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cluster service update params
func (*ClusterServiceUpdateParams) SetIDType ¶
func (o *ClusterServiceUpdateParams) SetIDType(iDType *string)
SetIDType adds the idType to the cluster service update params
func (*ClusterServiceUpdateParams) SetIDValue ¶
func (o *ClusterServiceUpdateParams) SetIDValue(iDValue string)
SetIDValue adds the idValue to the cluster service update params
func (*ClusterServiceUpdateParams) SetTimeout ¶
func (o *ClusterServiceUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cluster service update params
func (*ClusterServiceUpdateParams) SetUpdatedFields ¶
func (o *ClusterServiceUpdateParams) SetUpdatedFields(updatedFields []string)
SetUpdatedFields adds the updatedFields to the cluster service update params
func (*ClusterServiceUpdateParams) WithBody ¶
func (o *ClusterServiceUpdateParams) WithBody(body *models.V1alpha1Cluster) *ClusterServiceUpdateParams
WithBody adds the body to the cluster service update params
func (*ClusterServiceUpdateParams) WithContext ¶
func (o *ClusterServiceUpdateParams) WithContext(ctx context.Context) *ClusterServiceUpdateParams
WithContext adds the context to the cluster service update params
func (*ClusterServiceUpdateParams) WithDefaults ¶
func (o *ClusterServiceUpdateParams) WithDefaults() *ClusterServiceUpdateParams
WithDefaults hydrates default values in the cluster service update params (not the query body).
All values with no default are reset to their zero value.
func (*ClusterServiceUpdateParams) WithHTTPClient ¶
func (o *ClusterServiceUpdateParams) WithHTTPClient(client *http.Client) *ClusterServiceUpdateParams
WithHTTPClient adds the HTTPClient to the cluster service update params
func (*ClusterServiceUpdateParams) WithIDType ¶
func (o *ClusterServiceUpdateParams) WithIDType(iDType *string) *ClusterServiceUpdateParams
WithIDType adds the iDType to the cluster service update params
func (*ClusterServiceUpdateParams) WithIDValue ¶
func (o *ClusterServiceUpdateParams) WithIDValue(iDValue string) *ClusterServiceUpdateParams
WithIDValue adds the iDValue to the cluster service update params
func (*ClusterServiceUpdateParams) WithTimeout ¶
func (o *ClusterServiceUpdateParams) WithTimeout(timeout time.Duration) *ClusterServiceUpdateParams
WithTimeout adds the timeout to the cluster service update params
func (*ClusterServiceUpdateParams) WithUpdatedFields ¶
func (o *ClusterServiceUpdateParams) WithUpdatedFields(updatedFields []string) *ClusterServiceUpdateParams
WithUpdatedFields adds the updatedFields to the cluster service update params
func (*ClusterServiceUpdateParams) WriteToRequest ¶
func (o *ClusterServiceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClusterServiceUpdateReader ¶
type ClusterServiceUpdateReader struct {
// contains filtered or unexported fields
}
ClusterServiceUpdateReader is a Reader for the ClusterServiceUpdate structure.
func (*ClusterServiceUpdateReader) ReadResponse ¶
func (o *ClusterServiceUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- cluster_service_client.go
- cluster_service_create_parameters.go
- cluster_service_create_responses.go
- cluster_service_delete_parameters.go
- cluster_service_delete_responses.go
- cluster_service_get_parameters.go
- cluster_service_get_responses.go
- cluster_service_invalidate_cache_parameters.go
- cluster_service_invalidate_cache_responses.go
- cluster_service_list_parameters.go
- cluster_service_list_responses.go
- cluster_service_rotate_auth_parameters.go
- cluster_service_rotate_auth_responses.go
- cluster_service_update_parameters.go
- cluster_service_update_responses.go