Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateEtcdBackupConfig(params *CreateEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEtcdBackupConfigCreated, error)
- func (a *Client) DeleteEtcdBackupConfig(params *DeleteEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteEtcdBackupConfigOK, error)
- func (a *Client) GetEtcdBackupConfig(params *GetEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEtcdBackupConfigOK, error)
- func (a *Client) ListEtcdBackupConfig(params *ListEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListEtcdBackupConfigOK, error)
- func (a *Client) ListProjectEtcdBackupConfig(params *ListProjectEtcdBackupConfigParams, ...) (*ListProjectEtcdBackupConfigOK, error)
- func (a *Client) PatchEtcdBackupConfig(params *PatchEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchEtcdBackupConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateEtcdBackupConfigCreated
- type CreateEtcdBackupConfigDefault
- type CreateEtcdBackupConfigForbidden
- type CreateEtcdBackupConfigParams
- func NewCreateEtcdBackupConfigParams() *CreateEtcdBackupConfigParams
- func NewCreateEtcdBackupConfigParamsWithContext(ctx context.Context) *CreateEtcdBackupConfigParams
- func NewCreateEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *CreateEtcdBackupConfigParams
- func NewCreateEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) SetBody(body *models.EbcBody)
- func (o *CreateEtcdBackupConfigParams) SetClusterID(clusterID string)
- func (o *CreateEtcdBackupConfigParams) SetContext(ctx context.Context)
- func (o *CreateEtcdBackupConfigParams) SetDefaults()
- func (o *CreateEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateEtcdBackupConfigParams) SetProjectID(projectID string)
- func (o *CreateEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateEtcdBackupConfigParams) WithBody(body *models.EbcBody) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WithClusterID(clusterID string) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WithContext(ctx context.Context) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WithDefaults() *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WithProjectID(projectID string) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *CreateEtcdBackupConfigParams
- func (o *CreateEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEtcdBackupConfigReader
- type CreateEtcdBackupConfigUnauthorized
- type DeleteEtcdBackupConfigDefault
- type DeleteEtcdBackupConfigForbidden
- type DeleteEtcdBackupConfigOK
- type DeleteEtcdBackupConfigParams
- func NewDeleteEtcdBackupConfigParams() *DeleteEtcdBackupConfigParams
- func NewDeleteEtcdBackupConfigParamsWithContext(ctx context.Context) *DeleteEtcdBackupConfigParams
- func NewDeleteEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *DeleteEtcdBackupConfigParams
- func NewDeleteEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) SetClusterID(clusterID string)
- func (o *DeleteEtcdBackupConfigParams) SetContext(ctx context.Context)
- func (o *DeleteEtcdBackupConfigParams) SetDefaults()
- func (o *DeleteEtcdBackupConfigParams) SetEtcdBackupConfigID(ebcID string)
- func (o *DeleteEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEtcdBackupConfigParams) SetProjectID(projectID string)
- func (o *DeleteEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEtcdBackupConfigParams) WithClusterID(clusterID string) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WithContext(ctx context.Context) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WithDefaults() *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WithEtcdBackupConfigID(ebcID string) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WithProjectID(projectID string) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *DeleteEtcdBackupConfigParams
- func (o *DeleteEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEtcdBackupConfigReader
- type DeleteEtcdBackupConfigUnauthorized
- type GetEtcdBackupConfigDefault
- type GetEtcdBackupConfigForbidden
- type GetEtcdBackupConfigOK
- type GetEtcdBackupConfigParams
- func NewGetEtcdBackupConfigParams() *GetEtcdBackupConfigParams
- func NewGetEtcdBackupConfigParamsWithContext(ctx context.Context) *GetEtcdBackupConfigParams
- func NewGetEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *GetEtcdBackupConfigParams
- func NewGetEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) SetClusterID(clusterID string)
- func (o *GetEtcdBackupConfigParams) SetContext(ctx context.Context)
- func (o *GetEtcdBackupConfigParams) SetDefaults()
- func (o *GetEtcdBackupConfigParams) SetEtcdBackupConfigID(ebcID string)
- func (o *GetEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetEtcdBackupConfigParams) SetProjectID(projectID string)
- func (o *GetEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetEtcdBackupConfigParams) WithClusterID(clusterID string) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WithContext(ctx context.Context) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WithDefaults() *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WithEtcdBackupConfigID(ebcID string) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WithProjectID(projectID string) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *GetEtcdBackupConfigParams
- func (o *GetEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEtcdBackupConfigReader
- type GetEtcdBackupConfigUnauthorized
- type ListEtcdBackupConfigDefault
- type ListEtcdBackupConfigForbidden
- type ListEtcdBackupConfigOK
- type ListEtcdBackupConfigParams
- func NewListEtcdBackupConfigParams() *ListEtcdBackupConfigParams
- func NewListEtcdBackupConfigParamsWithContext(ctx context.Context) *ListEtcdBackupConfigParams
- func NewListEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *ListEtcdBackupConfigParams
- func NewListEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) SetClusterID(clusterID string)
- func (o *ListEtcdBackupConfigParams) SetContext(ctx context.Context)
- func (o *ListEtcdBackupConfigParams) SetDefaults()
- func (o *ListEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *ListEtcdBackupConfigParams) SetProjectID(projectID string)
- func (o *ListEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *ListEtcdBackupConfigParams) WithClusterID(clusterID string) *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) WithContext(ctx context.Context) *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) WithDefaults() *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) WithProjectID(projectID string) *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *ListEtcdBackupConfigParams
- func (o *ListEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEtcdBackupConfigReader
- type ListEtcdBackupConfigUnauthorized
- type ListProjectEtcdBackupConfigDefault
- type ListProjectEtcdBackupConfigForbidden
- type ListProjectEtcdBackupConfigOK
- type ListProjectEtcdBackupConfigParams
- func NewListProjectEtcdBackupConfigParams() *ListProjectEtcdBackupConfigParams
- func NewListProjectEtcdBackupConfigParamsWithContext(ctx context.Context) *ListProjectEtcdBackupConfigParams
- func NewListProjectEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *ListProjectEtcdBackupConfigParams
- func NewListProjectEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) SetContext(ctx context.Context)
- func (o *ListProjectEtcdBackupConfigParams) SetDefaults()
- func (o *ListProjectEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectEtcdBackupConfigParams) SetProjectID(projectID string)
- func (o *ListProjectEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectEtcdBackupConfigParams) SetType(typeVar *string)
- func (o *ListProjectEtcdBackupConfigParams) WithContext(ctx context.Context) *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) WithDefaults() *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) WithProjectID(projectID string) *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) WithType(typeVar *string) *ListProjectEtcdBackupConfigParams
- func (o *ListProjectEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectEtcdBackupConfigReader
- type ListProjectEtcdBackupConfigUnauthorized
- type PatchEtcdBackupConfigDefault
- type PatchEtcdBackupConfigForbidden
- type PatchEtcdBackupConfigOK
- type PatchEtcdBackupConfigParams
- func NewPatchEtcdBackupConfigParams() *PatchEtcdBackupConfigParams
- func NewPatchEtcdBackupConfigParamsWithContext(ctx context.Context) *PatchEtcdBackupConfigParams
- func NewPatchEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *PatchEtcdBackupConfigParams
- func NewPatchEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) SetBody(body *models.EtcdBackupConfigSpec)
- func (o *PatchEtcdBackupConfigParams) SetClusterID(clusterID string)
- func (o *PatchEtcdBackupConfigParams) SetContext(ctx context.Context)
- func (o *PatchEtcdBackupConfigParams) SetDefaults()
- func (o *PatchEtcdBackupConfigParams) SetEtcdBackupConfigID(ebcID string)
- func (o *PatchEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *PatchEtcdBackupConfigParams) SetProjectID(projectID string)
- func (o *PatchEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *PatchEtcdBackupConfigParams) WithBody(body *models.EtcdBackupConfigSpec) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithClusterID(clusterID string) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithContext(ctx context.Context) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithDefaults() *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithEtcdBackupConfigID(ebcID string) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithProjectID(projectID string) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *PatchEtcdBackupConfigParams
- func (o *PatchEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchEtcdBackupConfigReader
- type PatchEtcdBackupConfigUnauthorized
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 etcdbackupconfig API
func (*Client) CreateEtcdBackupConfig ¶
func (a *Client) CreateEtcdBackupConfig(params *CreateEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEtcdBackupConfigCreated, error)
CreateEtcdBackupConfig Creates a etcd backup config that will belong to the given cluster
func (*Client) DeleteEtcdBackupConfig ¶
func (a *Client) DeleteEtcdBackupConfig(params *DeleteEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEtcdBackupConfigOK, error)
DeleteEtcdBackupConfig Deletes a etcd backup config for a given cluster based on its id
func (*Client) GetEtcdBackupConfig ¶
func (a *Client) GetEtcdBackupConfig(params *GetEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEtcdBackupConfigOK, error)
GetEtcdBackupConfig Gets a etcd backup config for a given cluster based on its id
func (*Client) ListEtcdBackupConfig ¶
func (a *Client) ListEtcdBackupConfig(params *ListEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEtcdBackupConfigOK, error)
ListEtcdBackupConfig List etcd backup configs for a given cluster
func (*Client) ListProjectEtcdBackupConfig ¶
func (a *Client) ListProjectEtcdBackupConfig(params *ListProjectEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectEtcdBackupConfigOK, error)
ListProjectEtcdBackupConfig List etcd backup configs for a given project
func (*Client) PatchEtcdBackupConfig ¶
func (a *Client) PatchEtcdBackupConfig(params *PatchEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEtcdBackupConfigOK, error)
PatchEtcdBackupConfig Patches a etcd backup config for a given cluster based on its id
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 { CreateEtcdBackupConfig(params *CreateEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEtcdBackupConfigCreated, error) DeleteEtcdBackupConfig(params *DeleteEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEtcdBackupConfigOK, error) GetEtcdBackupConfig(params *GetEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEtcdBackupConfigOK, error) ListEtcdBackupConfig(params *ListEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEtcdBackupConfigOK, error) ListProjectEtcdBackupConfig(params *ListProjectEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectEtcdBackupConfigOK, error) PatchEtcdBackupConfig(params *PatchEtcdBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchEtcdBackupConfigOK, 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 etcdbackupconfig API client.
type CreateEtcdBackupConfigCreated ¶
type CreateEtcdBackupConfigCreated struct {
Payload *models.EtcdBackupConfig
}
CreateEtcdBackupConfigCreated describes a response with status code 201, with default header values.
EtcdBackupConfig
func NewCreateEtcdBackupConfigCreated ¶
func NewCreateEtcdBackupConfigCreated() *CreateEtcdBackupConfigCreated
NewCreateEtcdBackupConfigCreated creates a CreateEtcdBackupConfigCreated with default headers values
func (*CreateEtcdBackupConfigCreated) Error ¶
func (o *CreateEtcdBackupConfigCreated) Error() string
func (*CreateEtcdBackupConfigCreated) GetPayload ¶
func (o *CreateEtcdBackupConfigCreated) GetPayload() *models.EtcdBackupConfig
type CreateEtcdBackupConfigDefault ¶
type CreateEtcdBackupConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateEtcdBackupConfigDefault describes a response with status code -1, with default header values.
errorResponse
func NewCreateEtcdBackupConfigDefault ¶
func NewCreateEtcdBackupConfigDefault(code int) *CreateEtcdBackupConfigDefault
NewCreateEtcdBackupConfigDefault creates a CreateEtcdBackupConfigDefault with default headers values
func (*CreateEtcdBackupConfigDefault) Code ¶
func (o *CreateEtcdBackupConfigDefault) Code() int
Code gets the status code for the create etcd backup config default response
func (*CreateEtcdBackupConfigDefault) Error ¶
func (o *CreateEtcdBackupConfigDefault) Error() string
func (*CreateEtcdBackupConfigDefault) GetPayload ¶
func (o *CreateEtcdBackupConfigDefault) GetPayload() *models.ErrorResponse
type CreateEtcdBackupConfigForbidden ¶
type CreateEtcdBackupConfigForbidden struct { }
CreateEtcdBackupConfigForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewCreateEtcdBackupConfigForbidden ¶
func NewCreateEtcdBackupConfigForbidden() *CreateEtcdBackupConfigForbidden
NewCreateEtcdBackupConfigForbidden creates a CreateEtcdBackupConfigForbidden with default headers values
func (*CreateEtcdBackupConfigForbidden) Error ¶
func (o *CreateEtcdBackupConfigForbidden) Error() string
type CreateEtcdBackupConfigParams ¶
type CreateEtcdBackupConfigParams struct { // Body. Body *models.EbcBody // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEtcdBackupConfigParams contains all the parameters to send to the API endpoint
for the create etcd backup config operation. Typically these are written to a http.Request.
func NewCreateEtcdBackupConfigParams ¶
func NewCreateEtcdBackupConfigParams() *CreateEtcdBackupConfigParams
NewCreateEtcdBackupConfigParams creates a new CreateEtcdBackupConfigParams 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 NewCreateEtcdBackupConfigParamsWithContext ¶
func NewCreateEtcdBackupConfigParamsWithContext(ctx context.Context) *CreateEtcdBackupConfigParams
NewCreateEtcdBackupConfigParamsWithContext creates a new CreateEtcdBackupConfigParams object with the ability to set a context for a request.
func NewCreateEtcdBackupConfigParamsWithHTTPClient ¶
func NewCreateEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *CreateEtcdBackupConfigParams
NewCreateEtcdBackupConfigParamsWithHTTPClient creates a new CreateEtcdBackupConfigParams object with the ability to set a custom HTTPClient for a request.
func NewCreateEtcdBackupConfigParamsWithTimeout ¶
func NewCreateEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *CreateEtcdBackupConfigParams
NewCreateEtcdBackupConfigParamsWithTimeout creates a new CreateEtcdBackupConfigParams object with the ability to set a timeout on a request.
func (*CreateEtcdBackupConfigParams) SetBody ¶
func (o *CreateEtcdBackupConfigParams) SetBody(body *models.EbcBody)
SetBody adds the body to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) SetClusterID ¶
func (o *CreateEtcdBackupConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) SetContext ¶
func (o *CreateEtcdBackupConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) SetDefaults ¶
func (o *CreateEtcdBackupConfigParams) SetDefaults()
SetDefaults hydrates default values in the create etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEtcdBackupConfigParams) SetHTTPClient ¶
func (o *CreateEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) SetProjectID ¶
func (o *CreateEtcdBackupConfigParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) SetTimeout ¶
func (o *CreateEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WithBody ¶
func (o *CreateEtcdBackupConfigParams) WithBody(body *models.EbcBody) *CreateEtcdBackupConfigParams
WithBody adds the body to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WithClusterID ¶
func (o *CreateEtcdBackupConfigParams) WithClusterID(clusterID string) *CreateEtcdBackupConfigParams
WithClusterID adds the clusterID to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WithContext ¶
func (o *CreateEtcdBackupConfigParams) WithContext(ctx context.Context) *CreateEtcdBackupConfigParams
WithContext adds the context to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WithDefaults ¶
func (o *CreateEtcdBackupConfigParams) WithDefaults() *CreateEtcdBackupConfigParams
WithDefaults hydrates default values in the create etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEtcdBackupConfigParams) WithHTTPClient ¶
func (o *CreateEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *CreateEtcdBackupConfigParams
WithHTTPClient adds the HTTPClient to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WithProjectID ¶
func (o *CreateEtcdBackupConfigParams) WithProjectID(projectID string) *CreateEtcdBackupConfigParams
WithProjectID adds the projectID to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WithTimeout ¶
func (o *CreateEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *CreateEtcdBackupConfigParams
WithTimeout adds the timeout to the create etcd backup config params
func (*CreateEtcdBackupConfigParams) WriteToRequest ¶
func (o *CreateEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEtcdBackupConfigReader ¶
type CreateEtcdBackupConfigReader struct {
// contains filtered or unexported fields
}
CreateEtcdBackupConfigReader is a Reader for the CreateEtcdBackupConfig structure.
func (*CreateEtcdBackupConfigReader) ReadResponse ¶
func (o *CreateEtcdBackupConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEtcdBackupConfigUnauthorized ¶
type CreateEtcdBackupConfigUnauthorized struct { }
CreateEtcdBackupConfigUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewCreateEtcdBackupConfigUnauthorized ¶
func NewCreateEtcdBackupConfigUnauthorized() *CreateEtcdBackupConfigUnauthorized
NewCreateEtcdBackupConfigUnauthorized creates a CreateEtcdBackupConfigUnauthorized with default headers values
func (*CreateEtcdBackupConfigUnauthorized) Error ¶
func (o *CreateEtcdBackupConfigUnauthorized) Error() string
type DeleteEtcdBackupConfigDefault ¶
type DeleteEtcdBackupConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteEtcdBackupConfigDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteEtcdBackupConfigDefault ¶
func NewDeleteEtcdBackupConfigDefault(code int) *DeleteEtcdBackupConfigDefault
NewDeleteEtcdBackupConfigDefault creates a DeleteEtcdBackupConfigDefault with default headers values
func (*DeleteEtcdBackupConfigDefault) Code ¶
func (o *DeleteEtcdBackupConfigDefault) Code() int
Code gets the status code for the delete etcd backup config default response
func (*DeleteEtcdBackupConfigDefault) Error ¶
func (o *DeleteEtcdBackupConfigDefault) Error() string
func (*DeleteEtcdBackupConfigDefault) GetPayload ¶
func (o *DeleteEtcdBackupConfigDefault) GetPayload() *models.ErrorResponse
type DeleteEtcdBackupConfigForbidden ¶
type DeleteEtcdBackupConfigForbidden struct { }
DeleteEtcdBackupConfigForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteEtcdBackupConfigForbidden ¶
func NewDeleteEtcdBackupConfigForbidden() *DeleteEtcdBackupConfigForbidden
NewDeleteEtcdBackupConfigForbidden creates a DeleteEtcdBackupConfigForbidden with default headers values
func (*DeleteEtcdBackupConfigForbidden) Error ¶
func (o *DeleteEtcdBackupConfigForbidden) Error() string
type DeleteEtcdBackupConfigOK ¶
type DeleteEtcdBackupConfigOK struct { }
DeleteEtcdBackupConfigOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewDeleteEtcdBackupConfigOK ¶
func NewDeleteEtcdBackupConfigOK() *DeleteEtcdBackupConfigOK
NewDeleteEtcdBackupConfigOK creates a DeleteEtcdBackupConfigOK with default headers values
func (*DeleteEtcdBackupConfigOK) Error ¶
func (o *DeleteEtcdBackupConfigOK) Error() string
type DeleteEtcdBackupConfigParams ¶
type DeleteEtcdBackupConfigParams struct { // ClusterID. ClusterID string // EbcID. EtcdBackupConfigID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEtcdBackupConfigParams contains all the parameters to send to the API endpoint
for the delete etcd backup config operation. Typically these are written to a http.Request.
func NewDeleteEtcdBackupConfigParams ¶
func NewDeleteEtcdBackupConfigParams() *DeleteEtcdBackupConfigParams
NewDeleteEtcdBackupConfigParams creates a new DeleteEtcdBackupConfigParams 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 NewDeleteEtcdBackupConfigParamsWithContext ¶
func NewDeleteEtcdBackupConfigParamsWithContext(ctx context.Context) *DeleteEtcdBackupConfigParams
NewDeleteEtcdBackupConfigParamsWithContext creates a new DeleteEtcdBackupConfigParams object with the ability to set a context for a request.
func NewDeleteEtcdBackupConfigParamsWithHTTPClient ¶
func NewDeleteEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *DeleteEtcdBackupConfigParams
NewDeleteEtcdBackupConfigParamsWithHTTPClient creates a new DeleteEtcdBackupConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteEtcdBackupConfigParamsWithTimeout ¶
func NewDeleteEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *DeleteEtcdBackupConfigParams
NewDeleteEtcdBackupConfigParamsWithTimeout creates a new DeleteEtcdBackupConfigParams object with the ability to set a timeout on a request.
func (*DeleteEtcdBackupConfigParams) SetClusterID ¶
func (o *DeleteEtcdBackupConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) SetContext ¶
func (o *DeleteEtcdBackupConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) SetDefaults ¶
func (o *DeleteEtcdBackupConfigParams) SetDefaults()
SetDefaults hydrates default values in the delete etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEtcdBackupConfigParams) SetEtcdBackupConfigID ¶
func (o *DeleteEtcdBackupConfigParams) SetEtcdBackupConfigID(ebcID string)
SetEtcdBackupConfigID adds the ebcId to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) SetHTTPClient ¶
func (o *DeleteEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) SetProjectID ¶
func (o *DeleteEtcdBackupConfigParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) SetTimeout ¶
func (o *DeleteEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WithClusterID ¶
func (o *DeleteEtcdBackupConfigParams) WithClusterID(clusterID string) *DeleteEtcdBackupConfigParams
WithClusterID adds the clusterID to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WithContext ¶
func (o *DeleteEtcdBackupConfigParams) WithContext(ctx context.Context) *DeleteEtcdBackupConfigParams
WithContext adds the context to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WithDefaults ¶
func (o *DeleteEtcdBackupConfigParams) WithDefaults() *DeleteEtcdBackupConfigParams
WithDefaults hydrates default values in the delete etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEtcdBackupConfigParams) WithEtcdBackupConfigID ¶
func (o *DeleteEtcdBackupConfigParams) WithEtcdBackupConfigID(ebcID string) *DeleteEtcdBackupConfigParams
WithEtcdBackupConfigID adds the ebcID to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WithHTTPClient ¶
func (o *DeleteEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *DeleteEtcdBackupConfigParams
WithHTTPClient adds the HTTPClient to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WithProjectID ¶
func (o *DeleteEtcdBackupConfigParams) WithProjectID(projectID string) *DeleteEtcdBackupConfigParams
WithProjectID adds the projectID to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WithTimeout ¶
func (o *DeleteEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *DeleteEtcdBackupConfigParams
WithTimeout adds the timeout to the delete etcd backup config params
func (*DeleteEtcdBackupConfigParams) WriteToRequest ¶
func (o *DeleteEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEtcdBackupConfigReader ¶
type DeleteEtcdBackupConfigReader struct {
// contains filtered or unexported fields
}
DeleteEtcdBackupConfigReader is a Reader for the DeleteEtcdBackupConfig structure.
func (*DeleteEtcdBackupConfigReader) ReadResponse ¶
func (o *DeleteEtcdBackupConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEtcdBackupConfigUnauthorized ¶
type DeleteEtcdBackupConfigUnauthorized struct { }
DeleteEtcdBackupConfigUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteEtcdBackupConfigUnauthorized ¶
func NewDeleteEtcdBackupConfigUnauthorized() *DeleteEtcdBackupConfigUnauthorized
NewDeleteEtcdBackupConfigUnauthorized creates a DeleteEtcdBackupConfigUnauthorized with default headers values
func (*DeleteEtcdBackupConfigUnauthorized) Error ¶
func (o *DeleteEtcdBackupConfigUnauthorized) Error() string
type GetEtcdBackupConfigDefault ¶
type GetEtcdBackupConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetEtcdBackupConfigDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetEtcdBackupConfigDefault ¶
func NewGetEtcdBackupConfigDefault(code int) *GetEtcdBackupConfigDefault
NewGetEtcdBackupConfigDefault creates a GetEtcdBackupConfigDefault with default headers values
func (*GetEtcdBackupConfigDefault) Code ¶
func (o *GetEtcdBackupConfigDefault) Code() int
Code gets the status code for the get etcd backup config default response
func (*GetEtcdBackupConfigDefault) Error ¶
func (o *GetEtcdBackupConfigDefault) Error() string
func (*GetEtcdBackupConfigDefault) GetPayload ¶
func (o *GetEtcdBackupConfigDefault) GetPayload() *models.ErrorResponse
type GetEtcdBackupConfigForbidden ¶
type GetEtcdBackupConfigForbidden struct { }
GetEtcdBackupConfigForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetEtcdBackupConfigForbidden ¶
func NewGetEtcdBackupConfigForbidden() *GetEtcdBackupConfigForbidden
NewGetEtcdBackupConfigForbidden creates a GetEtcdBackupConfigForbidden with default headers values
func (*GetEtcdBackupConfigForbidden) Error ¶
func (o *GetEtcdBackupConfigForbidden) Error() string
type GetEtcdBackupConfigOK ¶
type GetEtcdBackupConfigOK struct {
Payload *models.EtcdBackupConfig
}
GetEtcdBackupConfigOK describes a response with status code 200, with default header values.
EtcdBackupConfig
func NewGetEtcdBackupConfigOK ¶
func NewGetEtcdBackupConfigOK() *GetEtcdBackupConfigOK
NewGetEtcdBackupConfigOK creates a GetEtcdBackupConfigOK with default headers values
func (*GetEtcdBackupConfigOK) Error ¶
func (o *GetEtcdBackupConfigOK) Error() string
func (*GetEtcdBackupConfigOK) GetPayload ¶
func (o *GetEtcdBackupConfigOK) GetPayload() *models.EtcdBackupConfig
type GetEtcdBackupConfigParams ¶
type GetEtcdBackupConfigParams struct { // ClusterID. ClusterID string // EbcID. EtcdBackupConfigID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEtcdBackupConfigParams contains all the parameters to send to the API endpoint
for the get etcd backup config operation. Typically these are written to a http.Request.
func NewGetEtcdBackupConfigParams ¶
func NewGetEtcdBackupConfigParams() *GetEtcdBackupConfigParams
NewGetEtcdBackupConfigParams creates a new GetEtcdBackupConfigParams 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 NewGetEtcdBackupConfigParamsWithContext ¶
func NewGetEtcdBackupConfigParamsWithContext(ctx context.Context) *GetEtcdBackupConfigParams
NewGetEtcdBackupConfigParamsWithContext creates a new GetEtcdBackupConfigParams object with the ability to set a context for a request.
func NewGetEtcdBackupConfigParamsWithHTTPClient ¶
func NewGetEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *GetEtcdBackupConfigParams
NewGetEtcdBackupConfigParamsWithHTTPClient creates a new GetEtcdBackupConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetEtcdBackupConfigParamsWithTimeout ¶
func NewGetEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *GetEtcdBackupConfigParams
NewGetEtcdBackupConfigParamsWithTimeout creates a new GetEtcdBackupConfigParams object with the ability to set a timeout on a request.
func (*GetEtcdBackupConfigParams) SetClusterID ¶
func (o *GetEtcdBackupConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get etcd backup config params
func (*GetEtcdBackupConfigParams) SetContext ¶
func (o *GetEtcdBackupConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get etcd backup config params
func (*GetEtcdBackupConfigParams) SetDefaults ¶
func (o *GetEtcdBackupConfigParams) SetDefaults()
SetDefaults hydrates default values in the get etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*GetEtcdBackupConfigParams) SetEtcdBackupConfigID ¶
func (o *GetEtcdBackupConfigParams) SetEtcdBackupConfigID(ebcID string)
SetEtcdBackupConfigID adds the ebcId to the get etcd backup config params
func (*GetEtcdBackupConfigParams) SetHTTPClient ¶
func (o *GetEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get etcd backup config params
func (*GetEtcdBackupConfigParams) SetProjectID ¶
func (o *GetEtcdBackupConfigParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get etcd backup config params
func (*GetEtcdBackupConfigParams) SetTimeout ¶
func (o *GetEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WithClusterID ¶
func (o *GetEtcdBackupConfigParams) WithClusterID(clusterID string) *GetEtcdBackupConfigParams
WithClusterID adds the clusterID to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WithContext ¶
func (o *GetEtcdBackupConfigParams) WithContext(ctx context.Context) *GetEtcdBackupConfigParams
WithContext adds the context to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WithDefaults ¶
func (o *GetEtcdBackupConfigParams) WithDefaults() *GetEtcdBackupConfigParams
WithDefaults hydrates default values in the get etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*GetEtcdBackupConfigParams) WithEtcdBackupConfigID ¶
func (o *GetEtcdBackupConfigParams) WithEtcdBackupConfigID(ebcID string) *GetEtcdBackupConfigParams
WithEtcdBackupConfigID adds the ebcID to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WithHTTPClient ¶
func (o *GetEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *GetEtcdBackupConfigParams
WithHTTPClient adds the HTTPClient to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WithProjectID ¶
func (o *GetEtcdBackupConfigParams) WithProjectID(projectID string) *GetEtcdBackupConfigParams
WithProjectID adds the projectID to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WithTimeout ¶
func (o *GetEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *GetEtcdBackupConfigParams
WithTimeout adds the timeout to the get etcd backup config params
func (*GetEtcdBackupConfigParams) WriteToRequest ¶
func (o *GetEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEtcdBackupConfigReader ¶
type GetEtcdBackupConfigReader struct {
// contains filtered or unexported fields
}
GetEtcdBackupConfigReader is a Reader for the GetEtcdBackupConfig structure.
func (*GetEtcdBackupConfigReader) ReadResponse ¶
func (o *GetEtcdBackupConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEtcdBackupConfigUnauthorized ¶
type GetEtcdBackupConfigUnauthorized struct { }
GetEtcdBackupConfigUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetEtcdBackupConfigUnauthorized ¶
func NewGetEtcdBackupConfigUnauthorized() *GetEtcdBackupConfigUnauthorized
NewGetEtcdBackupConfigUnauthorized creates a GetEtcdBackupConfigUnauthorized with default headers values
func (*GetEtcdBackupConfigUnauthorized) Error ¶
func (o *GetEtcdBackupConfigUnauthorized) Error() string
type ListEtcdBackupConfigDefault ¶
type ListEtcdBackupConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListEtcdBackupConfigDefault describes a response with status code -1, with default header values.
errorResponse
func NewListEtcdBackupConfigDefault ¶
func NewListEtcdBackupConfigDefault(code int) *ListEtcdBackupConfigDefault
NewListEtcdBackupConfigDefault creates a ListEtcdBackupConfigDefault with default headers values
func (*ListEtcdBackupConfigDefault) Code ¶
func (o *ListEtcdBackupConfigDefault) Code() int
Code gets the status code for the list etcd backup config default response
func (*ListEtcdBackupConfigDefault) Error ¶
func (o *ListEtcdBackupConfigDefault) Error() string
func (*ListEtcdBackupConfigDefault) GetPayload ¶
func (o *ListEtcdBackupConfigDefault) GetPayload() *models.ErrorResponse
type ListEtcdBackupConfigForbidden ¶
type ListEtcdBackupConfigForbidden struct { }
ListEtcdBackupConfigForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewListEtcdBackupConfigForbidden ¶
func NewListEtcdBackupConfigForbidden() *ListEtcdBackupConfigForbidden
NewListEtcdBackupConfigForbidden creates a ListEtcdBackupConfigForbidden with default headers values
func (*ListEtcdBackupConfigForbidden) Error ¶
func (o *ListEtcdBackupConfigForbidden) Error() string
type ListEtcdBackupConfigOK ¶
type ListEtcdBackupConfigOK struct {
Payload []*models.EtcdBackupConfig
}
ListEtcdBackupConfigOK describes a response with status code 200, with default header values.
EtcdBackupConfig
func NewListEtcdBackupConfigOK ¶
func NewListEtcdBackupConfigOK() *ListEtcdBackupConfigOK
NewListEtcdBackupConfigOK creates a ListEtcdBackupConfigOK with default headers values
func (*ListEtcdBackupConfigOK) Error ¶
func (o *ListEtcdBackupConfigOK) Error() string
func (*ListEtcdBackupConfigOK) GetPayload ¶
func (o *ListEtcdBackupConfigOK) GetPayload() []*models.EtcdBackupConfig
type ListEtcdBackupConfigParams ¶
type ListEtcdBackupConfigParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEtcdBackupConfigParams contains all the parameters to send to the API endpoint
for the list etcd backup config operation. Typically these are written to a http.Request.
func NewListEtcdBackupConfigParams ¶
func NewListEtcdBackupConfigParams() *ListEtcdBackupConfigParams
NewListEtcdBackupConfigParams creates a new ListEtcdBackupConfigParams 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 NewListEtcdBackupConfigParamsWithContext ¶
func NewListEtcdBackupConfigParamsWithContext(ctx context.Context) *ListEtcdBackupConfigParams
NewListEtcdBackupConfigParamsWithContext creates a new ListEtcdBackupConfigParams object with the ability to set a context for a request.
func NewListEtcdBackupConfigParamsWithHTTPClient ¶
func NewListEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *ListEtcdBackupConfigParams
NewListEtcdBackupConfigParamsWithHTTPClient creates a new ListEtcdBackupConfigParams object with the ability to set a custom HTTPClient for a request.
func NewListEtcdBackupConfigParamsWithTimeout ¶
func NewListEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *ListEtcdBackupConfigParams
NewListEtcdBackupConfigParamsWithTimeout creates a new ListEtcdBackupConfigParams object with the ability to set a timeout on a request.
func (*ListEtcdBackupConfigParams) SetClusterID ¶
func (o *ListEtcdBackupConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list etcd backup config params
func (*ListEtcdBackupConfigParams) SetContext ¶
func (o *ListEtcdBackupConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the list etcd backup config params
func (*ListEtcdBackupConfigParams) SetDefaults ¶
func (o *ListEtcdBackupConfigParams) SetDefaults()
SetDefaults hydrates default values in the list etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*ListEtcdBackupConfigParams) SetHTTPClient ¶
func (o *ListEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list etcd backup config params
func (*ListEtcdBackupConfigParams) SetProjectID ¶
func (o *ListEtcdBackupConfigParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list etcd backup config params
func (*ListEtcdBackupConfigParams) SetTimeout ¶
func (o *ListEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list etcd backup config params
func (*ListEtcdBackupConfigParams) WithClusterID ¶
func (o *ListEtcdBackupConfigParams) WithClusterID(clusterID string) *ListEtcdBackupConfigParams
WithClusterID adds the clusterID to the list etcd backup config params
func (*ListEtcdBackupConfigParams) WithContext ¶
func (o *ListEtcdBackupConfigParams) WithContext(ctx context.Context) *ListEtcdBackupConfigParams
WithContext adds the context to the list etcd backup config params
func (*ListEtcdBackupConfigParams) WithDefaults ¶
func (o *ListEtcdBackupConfigParams) WithDefaults() *ListEtcdBackupConfigParams
WithDefaults hydrates default values in the list etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*ListEtcdBackupConfigParams) WithHTTPClient ¶
func (o *ListEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *ListEtcdBackupConfigParams
WithHTTPClient adds the HTTPClient to the list etcd backup config params
func (*ListEtcdBackupConfigParams) WithProjectID ¶
func (o *ListEtcdBackupConfigParams) WithProjectID(projectID string) *ListEtcdBackupConfigParams
WithProjectID adds the projectID to the list etcd backup config params
func (*ListEtcdBackupConfigParams) WithTimeout ¶
func (o *ListEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *ListEtcdBackupConfigParams
WithTimeout adds the timeout to the list etcd backup config params
func (*ListEtcdBackupConfigParams) WriteToRequest ¶
func (o *ListEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEtcdBackupConfigReader ¶
type ListEtcdBackupConfigReader struct {
// contains filtered or unexported fields
}
ListEtcdBackupConfigReader is a Reader for the ListEtcdBackupConfig structure.
func (*ListEtcdBackupConfigReader) ReadResponse ¶
func (o *ListEtcdBackupConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEtcdBackupConfigUnauthorized ¶
type ListEtcdBackupConfigUnauthorized struct { }
ListEtcdBackupConfigUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewListEtcdBackupConfigUnauthorized ¶
func NewListEtcdBackupConfigUnauthorized() *ListEtcdBackupConfigUnauthorized
NewListEtcdBackupConfigUnauthorized creates a ListEtcdBackupConfigUnauthorized with default headers values
func (*ListEtcdBackupConfigUnauthorized) Error ¶
func (o *ListEtcdBackupConfigUnauthorized) Error() string
type ListProjectEtcdBackupConfigDefault ¶
type ListProjectEtcdBackupConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListProjectEtcdBackupConfigDefault describes a response with status code -1, with default header values.
errorResponse
func NewListProjectEtcdBackupConfigDefault ¶
func NewListProjectEtcdBackupConfigDefault(code int) *ListProjectEtcdBackupConfigDefault
NewListProjectEtcdBackupConfigDefault creates a ListProjectEtcdBackupConfigDefault with default headers values
func (*ListProjectEtcdBackupConfigDefault) Code ¶
func (o *ListProjectEtcdBackupConfigDefault) Code() int
Code gets the status code for the list project etcd backup config default response
func (*ListProjectEtcdBackupConfigDefault) Error ¶
func (o *ListProjectEtcdBackupConfigDefault) Error() string
func (*ListProjectEtcdBackupConfigDefault) GetPayload ¶
func (o *ListProjectEtcdBackupConfigDefault) GetPayload() *models.ErrorResponse
type ListProjectEtcdBackupConfigForbidden ¶
type ListProjectEtcdBackupConfigForbidden struct { }
ListProjectEtcdBackupConfigForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewListProjectEtcdBackupConfigForbidden ¶
func NewListProjectEtcdBackupConfigForbidden() *ListProjectEtcdBackupConfigForbidden
NewListProjectEtcdBackupConfigForbidden creates a ListProjectEtcdBackupConfigForbidden with default headers values
func (*ListProjectEtcdBackupConfigForbidden) Error ¶
func (o *ListProjectEtcdBackupConfigForbidden) Error() string
type ListProjectEtcdBackupConfigOK ¶
type ListProjectEtcdBackupConfigOK struct {
Payload []*models.EtcdBackupConfig
}
ListProjectEtcdBackupConfigOK describes a response with status code 200, with default header values.
EtcdBackupConfig
func NewListProjectEtcdBackupConfigOK ¶
func NewListProjectEtcdBackupConfigOK() *ListProjectEtcdBackupConfigOK
NewListProjectEtcdBackupConfigOK creates a ListProjectEtcdBackupConfigOK with default headers values
func (*ListProjectEtcdBackupConfigOK) Error ¶
func (o *ListProjectEtcdBackupConfigOK) Error() string
func (*ListProjectEtcdBackupConfigOK) GetPayload ¶
func (o *ListProjectEtcdBackupConfigOK) GetPayload() []*models.EtcdBackupConfig
type ListProjectEtcdBackupConfigParams ¶
type ListProjectEtcdBackupConfigParams struct { // ProjectID. ProjectID string // Type. Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectEtcdBackupConfigParams contains all the parameters to send to the API endpoint
for the list project etcd backup config operation. Typically these are written to a http.Request.
func NewListProjectEtcdBackupConfigParams ¶
func NewListProjectEtcdBackupConfigParams() *ListProjectEtcdBackupConfigParams
NewListProjectEtcdBackupConfigParams creates a new ListProjectEtcdBackupConfigParams 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 NewListProjectEtcdBackupConfigParamsWithContext ¶
func NewListProjectEtcdBackupConfigParamsWithContext(ctx context.Context) *ListProjectEtcdBackupConfigParams
NewListProjectEtcdBackupConfigParamsWithContext creates a new ListProjectEtcdBackupConfigParams object with the ability to set a context for a request.
func NewListProjectEtcdBackupConfigParamsWithHTTPClient ¶
func NewListProjectEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *ListProjectEtcdBackupConfigParams
NewListProjectEtcdBackupConfigParamsWithHTTPClient creates a new ListProjectEtcdBackupConfigParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectEtcdBackupConfigParamsWithTimeout ¶
func NewListProjectEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *ListProjectEtcdBackupConfigParams
NewListProjectEtcdBackupConfigParamsWithTimeout creates a new ListProjectEtcdBackupConfigParams object with the ability to set a timeout on a request.
func (*ListProjectEtcdBackupConfigParams) SetContext ¶
func (o *ListProjectEtcdBackupConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) SetDefaults ¶
func (o *ListProjectEtcdBackupConfigParams) SetDefaults()
SetDefaults hydrates default values in the list project etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectEtcdBackupConfigParams) SetHTTPClient ¶
func (o *ListProjectEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) SetProjectID ¶
func (o *ListProjectEtcdBackupConfigParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) SetTimeout ¶
func (o *ListProjectEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) SetType ¶
func (o *ListProjectEtcdBackupConfigParams) SetType(typeVar *string)
SetType adds the type to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) WithContext ¶
func (o *ListProjectEtcdBackupConfigParams) WithContext(ctx context.Context) *ListProjectEtcdBackupConfigParams
WithContext adds the context to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) WithDefaults ¶
func (o *ListProjectEtcdBackupConfigParams) WithDefaults() *ListProjectEtcdBackupConfigParams
WithDefaults hydrates default values in the list project etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectEtcdBackupConfigParams) WithHTTPClient ¶
func (o *ListProjectEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *ListProjectEtcdBackupConfigParams
WithHTTPClient adds the HTTPClient to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) WithProjectID ¶
func (o *ListProjectEtcdBackupConfigParams) WithProjectID(projectID string) *ListProjectEtcdBackupConfigParams
WithProjectID adds the projectID to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) WithTimeout ¶
func (o *ListProjectEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *ListProjectEtcdBackupConfigParams
WithTimeout adds the timeout to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) WithType ¶
func (o *ListProjectEtcdBackupConfigParams) WithType(typeVar *string) *ListProjectEtcdBackupConfigParams
WithType adds the typeVar to the list project etcd backup config params
func (*ListProjectEtcdBackupConfigParams) WriteToRequest ¶
func (o *ListProjectEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectEtcdBackupConfigReader ¶
type ListProjectEtcdBackupConfigReader struct {
// contains filtered or unexported fields
}
ListProjectEtcdBackupConfigReader is a Reader for the ListProjectEtcdBackupConfig structure.
func (*ListProjectEtcdBackupConfigReader) ReadResponse ¶
func (o *ListProjectEtcdBackupConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectEtcdBackupConfigUnauthorized ¶
type ListProjectEtcdBackupConfigUnauthorized struct { }
ListProjectEtcdBackupConfigUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewListProjectEtcdBackupConfigUnauthorized ¶
func NewListProjectEtcdBackupConfigUnauthorized() *ListProjectEtcdBackupConfigUnauthorized
NewListProjectEtcdBackupConfigUnauthorized creates a ListProjectEtcdBackupConfigUnauthorized with default headers values
func (*ListProjectEtcdBackupConfigUnauthorized) Error ¶
func (o *ListProjectEtcdBackupConfigUnauthorized) Error() string
type PatchEtcdBackupConfigDefault ¶
type PatchEtcdBackupConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
PatchEtcdBackupConfigDefault describes a response with status code -1, with default header values.
errorResponse
func NewPatchEtcdBackupConfigDefault ¶
func NewPatchEtcdBackupConfigDefault(code int) *PatchEtcdBackupConfigDefault
NewPatchEtcdBackupConfigDefault creates a PatchEtcdBackupConfigDefault with default headers values
func (*PatchEtcdBackupConfigDefault) Code ¶
func (o *PatchEtcdBackupConfigDefault) Code() int
Code gets the status code for the patch etcd backup config default response
func (*PatchEtcdBackupConfigDefault) Error ¶
func (o *PatchEtcdBackupConfigDefault) Error() string
func (*PatchEtcdBackupConfigDefault) GetPayload ¶
func (o *PatchEtcdBackupConfigDefault) GetPayload() *models.ErrorResponse
type PatchEtcdBackupConfigForbidden ¶
type PatchEtcdBackupConfigForbidden struct { }
PatchEtcdBackupConfigForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewPatchEtcdBackupConfigForbidden ¶
func NewPatchEtcdBackupConfigForbidden() *PatchEtcdBackupConfigForbidden
NewPatchEtcdBackupConfigForbidden creates a PatchEtcdBackupConfigForbidden with default headers values
func (*PatchEtcdBackupConfigForbidden) Error ¶
func (o *PatchEtcdBackupConfigForbidden) Error() string
type PatchEtcdBackupConfigOK ¶
type PatchEtcdBackupConfigOK struct {
Payload *models.EtcdBackupConfig
}
PatchEtcdBackupConfigOK describes a response with status code 200, with default header values.
EtcdBackupConfig
func NewPatchEtcdBackupConfigOK ¶
func NewPatchEtcdBackupConfigOK() *PatchEtcdBackupConfigOK
NewPatchEtcdBackupConfigOK creates a PatchEtcdBackupConfigOK with default headers values
func (*PatchEtcdBackupConfigOK) Error ¶
func (o *PatchEtcdBackupConfigOK) Error() string
func (*PatchEtcdBackupConfigOK) GetPayload ¶
func (o *PatchEtcdBackupConfigOK) GetPayload() *models.EtcdBackupConfig
type PatchEtcdBackupConfigParams ¶
type PatchEtcdBackupConfigParams struct { // Body. Body *models.EtcdBackupConfigSpec // ClusterID. ClusterID string // EbcID. EtcdBackupConfigID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchEtcdBackupConfigParams contains all the parameters to send to the API endpoint
for the patch etcd backup config operation. Typically these are written to a http.Request.
func NewPatchEtcdBackupConfigParams ¶
func NewPatchEtcdBackupConfigParams() *PatchEtcdBackupConfigParams
NewPatchEtcdBackupConfigParams creates a new PatchEtcdBackupConfigParams 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 NewPatchEtcdBackupConfigParamsWithContext ¶
func NewPatchEtcdBackupConfigParamsWithContext(ctx context.Context) *PatchEtcdBackupConfigParams
NewPatchEtcdBackupConfigParamsWithContext creates a new PatchEtcdBackupConfigParams object with the ability to set a context for a request.
func NewPatchEtcdBackupConfigParamsWithHTTPClient ¶
func NewPatchEtcdBackupConfigParamsWithHTTPClient(client *http.Client) *PatchEtcdBackupConfigParams
NewPatchEtcdBackupConfigParamsWithHTTPClient creates a new PatchEtcdBackupConfigParams object with the ability to set a custom HTTPClient for a request.
func NewPatchEtcdBackupConfigParamsWithTimeout ¶
func NewPatchEtcdBackupConfigParamsWithTimeout(timeout time.Duration) *PatchEtcdBackupConfigParams
NewPatchEtcdBackupConfigParamsWithTimeout creates a new PatchEtcdBackupConfigParams object with the ability to set a timeout on a request.
func (*PatchEtcdBackupConfigParams) SetBody ¶
func (o *PatchEtcdBackupConfigParams) SetBody(body *models.EtcdBackupConfigSpec)
SetBody adds the body to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) SetClusterID ¶
func (o *PatchEtcdBackupConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) SetContext ¶
func (o *PatchEtcdBackupConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) SetDefaults ¶
func (o *PatchEtcdBackupConfigParams) SetDefaults()
SetDefaults hydrates default values in the patch etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEtcdBackupConfigParams) SetEtcdBackupConfigID ¶
func (o *PatchEtcdBackupConfigParams) SetEtcdBackupConfigID(ebcID string)
SetEtcdBackupConfigID adds the ebcId to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) SetHTTPClient ¶
func (o *PatchEtcdBackupConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) SetProjectID ¶
func (o *PatchEtcdBackupConfigParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) SetTimeout ¶
func (o *PatchEtcdBackupConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithBody ¶
func (o *PatchEtcdBackupConfigParams) WithBody(body *models.EtcdBackupConfigSpec) *PatchEtcdBackupConfigParams
WithBody adds the body to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithClusterID ¶
func (o *PatchEtcdBackupConfigParams) WithClusterID(clusterID string) *PatchEtcdBackupConfigParams
WithClusterID adds the clusterID to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithContext ¶
func (o *PatchEtcdBackupConfigParams) WithContext(ctx context.Context) *PatchEtcdBackupConfigParams
WithContext adds the context to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithDefaults ¶
func (o *PatchEtcdBackupConfigParams) WithDefaults() *PatchEtcdBackupConfigParams
WithDefaults hydrates default values in the patch etcd backup config params (not the query body).
All values with no default are reset to their zero value.
func (*PatchEtcdBackupConfigParams) WithEtcdBackupConfigID ¶
func (o *PatchEtcdBackupConfigParams) WithEtcdBackupConfigID(ebcID string) *PatchEtcdBackupConfigParams
WithEtcdBackupConfigID adds the ebcID to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithHTTPClient ¶
func (o *PatchEtcdBackupConfigParams) WithHTTPClient(client *http.Client) *PatchEtcdBackupConfigParams
WithHTTPClient adds the HTTPClient to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithProjectID ¶
func (o *PatchEtcdBackupConfigParams) WithProjectID(projectID string) *PatchEtcdBackupConfigParams
WithProjectID adds the projectID to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WithTimeout ¶
func (o *PatchEtcdBackupConfigParams) WithTimeout(timeout time.Duration) *PatchEtcdBackupConfigParams
WithTimeout adds the timeout to the patch etcd backup config params
func (*PatchEtcdBackupConfigParams) WriteToRequest ¶
func (o *PatchEtcdBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchEtcdBackupConfigReader ¶
type PatchEtcdBackupConfigReader struct {
// contains filtered or unexported fields
}
PatchEtcdBackupConfigReader is a Reader for the PatchEtcdBackupConfig structure.
func (*PatchEtcdBackupConfigReader) ReadResponse ¶
func (o *PatchEtcdBackupConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchEtcdBackupConfigUnauthorized ¶
type PatchEtcdBackupConfigUnauthorized struct { }
PatchEtcdBackupConfigUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewPatchEtcdBackupConfigUnauthorized ¶
func NewPatchEtcdBackupConfigUnauthorized() *PatchEtcdBackupConfigUnauthorized
NewPatchEtcdBackupConfigUnauthorized creates a PatchEtcdBackupConfigUnauthorized with default headers values
func (*PatchEtcdBackupConfigUnauthorized) Error ¶
func (o *PatchEtcdBackupConfigUnauthorized) Error() string
Source Files
¶
- create_etcd_backup_config_parameters.go
- create_etcd_backup_config_responses.go
- delete_etcd_backup_config_parameters.go
- delete_etcd_backup_config_responses.go
- etcdbackupconfig_client.go
- get_etcd_backup_config_parameters.go
- get_etcd_backup_config_responses.go
- list_etcd_backup_config_parameters.go
- list_etcd_backup_config_responses.go
- list_project_etcd_backup_config_parameters.go
- list_project_etcd_backup_config_responses.go
- patch_etcd_backup_config_parameters.go
- patch_etcd_backup_config_responses.go