Documentation
¶
Index ¶
- type BackupListGetUsingGETBadRequest
- type BackupListGetUsingGETNotFound
- type BackupListGetUsingGETOK
- type BackupListGetUsingGETParams
- func NewBackupListGetUsingGETParams() *BackupListGetUsingGETParams
- func NewBackupListGetUsingGETParamsWithContext(ctx context.Context) *BackupListGetUsingGETParams
- func NewBackupListGetUsingGETParamsWithHTTPClient(client *http.Client) *BackupListGetUsingGETParams
- func NewBackupListGetUsingGETParamsWithTimeout(timeout time.Duration) *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) SetBackupListID(backupListID string)
- func (o *BackupListGetUsingGETParams) SetBackupPlanID(backupPlanID string)
- func (o *BackupListGetUsingGETParams) SetContext(ctx context.Context)
- func (o *BackupListGetUsingGETParams) SetDefaults()
- func (o *BackupListGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *BackupListGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *BackupListGetUsingGETParams) WithBackupListID(backupListID string) *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) WithBackupPlanID(backupPlanID string) *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) WithContext(ctx context.Context) *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) WithDefaults() *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) WithHTTPClient(client *http.Client) *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) WithTimeout(timeout time.Duration) *BackupListGetUsingGETParams
- func (o *BackupListGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupListGetUsingGETReader
- type BackupListListUsingGETBadRequest
- type BackupListListUsingGETOK
- type BackupListListUsingGETParams
- func NewBackupListListUsingGETParams() *BackupListListUsingGETParams
- func NewBackupListListUsingGETParamsWithContext(ctx context.Context) *BackupListListUsingGETParams
- func NewBackupListListUsingGETParamsWithHTTPClient(client *http.Client) *BackupListListUsingGETParams
- func NewBackupListListUsingGETParamsWithTimeout(timeout time.Duration) *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) SetBackupListName(backupListName *string)
- func (o *BackupListListUsingGETParams) SetBackupPlanID(backupPlanID string)
- func (o *BackupListListUsingGETParams) SetContext(ctx context.Context)
- func (o *BackupListListUsingGETParams) SetDefaults()
- func (o *BackupListListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *BackupListListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *BackupListListUsingGETParams) WithBackupListName(backupListName *string) *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) WithBackupPlanID(backupPlanID string) *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) WithContext(ctx context.Context) *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) WithDefaults() *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) WithHTTPClient(client *http.Client) *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) WithTimeout(timeout time.Duration) *BackupListListUsingGETParams
- func (o *BackupListListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupListListUsingGETReader
- type BackupPlanGetUsingGETBadRequest
- type BackupPlanGetUsingGETNotFound
- type BackupPlanGetUsingGETOK
- type BackupPlanGetUsingGETParams
- func NewBackupPlanGetUsingGETParams() *BackupPlanGetUsingGETParams
- func NewBackupPlanGetUsingGETParamsWithContext(ctx context.Context) *BackupPlanGetUsingGETParams
- func NewBackupPlanGetUsingGETParamsWithHTTPClient(client *http.Client) *BackupPlanGetUsingGETParams
- func NewBackupPlanGetUsingGETParamsWithTimeout(timeout time.Duration) *BackupPlanGetUsingGETParams
- func (o *BackupPlanGetUsingGETParams) SetBackupPlanID(backupPlanID string)
- func (o *BackupPlanGetUsingGETParams) SetContext(ctx context.Context)
- func (o *BackupPlanGetUsingGETParams) SetDefaults()
- func (o *BackupPlanGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *BackupPlanGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *BackupPlanGetUsingGETParams) WithBackupPlanID(backupPlanID string) *BackupPlanGetUsingGETParams
- func (o *BackupPlanGetUsingGETParams) WithContext(ctx context.Context) *BackupPlanGetUsingGETParams
- func (o *BackupPlanGetUsingGETParams) WithDefaults() *BackupPlanGetUsingGETParams
- func (o *BackupPlanGetUsingGETParams) WithHTTPClient(client *http.Client) *BackupPlanGetUsingGETParams
- func (o *BackupPlanGetUsingGETParams) WithTimeout(timeout time.Duration) *BackupPlanGetUsingGETParams
- func (o *BackupPlanGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupPlanGetUsingGETReader
- type BackupPlanListUsingGETBadRequest
- type BackupPlanListUsingGETOK
- type BackupPlanListUsingGETParams
- func NewBackupPlanListUsingGETParams() *BackupPlanListUsingGETParams
- func NewBackupPlanListUsingGETParamsWithContext(ctx context.Context) *BackupPlanListUsingGETParams
- func NewBackupPlanListUsingGETParamsWithHTTPClient(client *http.Client) *BackupPlanListUsingGETParams
- func NewBackupPlanListUsingGETParamsWithTimeout(timeout time.Duration) *BackupPlanListUsingGETParams
- func (o *BackupPlanListUsingGETParams) SetBackupPlanName(backupPlanName *string)
- func (o *BackupPlanListUsingGETParams) SetContext(ctx context.Context)
- func (o *BackupPlanListUsingGETParams) SetDefaults()
- func (o *BackupPlanListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *BackupPlanListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *BackupPlanListUsingGETParams) WithBackupPlanName(backupPlanName *string) *BackupPlanListUsingGETParams
- func (o *BackupPlanListUsingGETParams) WithContext(ctx context.Context) *BackupPlanListUsingGETParams
- func (o *BackupPlanListUsingGETParams) WithDefaults() *BackupPlanListUsingGETParams
- func (o *BackupPlanListUsingGETParams) WithHTTPClient(client *http.Client) *BackupPlanListUsingGETParams
- func (o *BackupPlanListUsingGETParams) WithTimeout(timeout time.Duration) *BackupPlanListUsingGETParams
- func (o *BackupPlanListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BackupPlanListUsingGETReader
- type Client
- func (a *Client) BackupListGetUsingGET(params *BackupListGetUsingGETParams, opts ...ClientOption) (*BackupListGetUsingGETOK, error)
- func (a *Client) BackupListListUsingGET(params *BackupListListUsingGETParams, opts ...ClientOption) (*BackupListListUsingGETOK, error)
- func (a *Client) BackupPlanGetUsingGET(params *BackupPlanGetUsingGETParams, opts ...ClientOption) (*BackupPlanGetUsingGETOK, error)
- func (a *Client) BackupPlanListUsingGET(params *BackupPlanListUsingGETParams, opts ...ClientOption) (*BackupPlanListUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupListGetUsingGETBadRequest ¶
type BackupListGetUsingGETBadRequest struct { }
BackupListGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewBackupListGetUsingGETBadRequest ¶
func NewBackupListGetUsingGETBadRequest() *BackupListGetUsingGETBadRequest
NewBackupListGetUsingGETBadRequest creates a BackupListGetUsingGETBadRequest with default headers values
func (*BackupListGetUsingGETBadRequest) Error ¶
func (o *BackupListGetUsingGETBadRequest) Error() string
type BackupListGetUsingGETNotFound ¶
type BackupListGetUsingGETNotFound struct { }
BackupListGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewBackupListGetUsingGETNotFound ¶
func NewBackupListGetUsingGETNotFound() *BackupListGetUsingGETNotFound
NewBackupListGetUsingGETNotFound creates a BackupListGetUsingGETNotFound with default headers values
func (*BackupListGetUsingGETNotFound) Error ¶
func (o *BackupListGetUsingGETNotFound) Error() string
type BackupListGetUsingGETOK ¶
type BackupListGetUsingGETOK struct {
Payload *models.BackupListGetResponse
}
BackupListGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewBackupListGetUsingGETOK ¶
func NewBackupListGetUsingGETOK() *BackupListGetUsingGETOK
NewBackupListGetUsingGETOK creates a BackupListGetUsingGETOK with default headers values
func (*BackupListGetUsingGETOK) Error ¶
func (o *BackupListGetUsingGETOK) Error() string
func (*BackupListGetUsingGETOK) GetPayload ¶
func (o *BackupListGetUsingGETOK) GetPayload() *models.BackupListGetResponse
type BackupListGetUsingGETParams ¶
type BackupListGetUsingGETParams struct { /* BackupListID. backupListId */ BackupListID string /* BackupPlanID. backupPlanId */ BackupPlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupListGetUsingGETParams contains all the parameters to send to the API endpoint
for the backup list get using g e t operation. Typically these are written to a http.Request.
func NewBackupListGetUsingGETParams ¶
func NewBackupListGetUsingGETParams() *BackupListGetUsingGETParams
NewBackupListGetUsingGETParams creates a new BackupListGetUsingGETParams 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 NewBackupListGetUsingGETParamsWithContext ¶
func NewBackupListGetUsingGETParamsWithContext(ctx context.Context) *BackupListGetUsingGETParams
NewBackupListGetUsingGETParamsWithContext creates a new BackupListGetUsingGETParams object with the ability to set a context for a request.
func NewBackupListGetUsingGETParamsWithHTTPClient ¶
func NewBackupListGetUsingGETParamsWithHTTPClient(client *http.Client) *BackupListGetUsingGETParams
NewBackupListGetUsingGETParamsWithHTTPClient creates a new BackupListGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewBackupListGetUsingGETParamsWithTimeout ¶
func NewBackupListGetUsingGETParamsWithTimeout(timeout time.Duration) *BackupListGetUsingGETParams
NewBackupListGetUsingGETParamsWithTimeout creates a new BackupListGetUsingGETParams object with the ability to set a timeout on a request.
func (*BackupListGetUsingGETParams) SetBackupListID ¶
func (o *BackupListGetUsingGETParams) SetBackupListID(backupListID string)
SetBackupListID adds the backupListId to the backup list get using g e t params
func (*BackupListGetUsingGETParams) SetBackupPlanID ¶
func (o *BackupListGetUsingGETParams) SetBackupPlanID(backupPlanID string)
SetBackupPlanID adds the backupPlanId to the backup list get using g e t params
func (*BackupListGetUsingGETParams) SetContext ¶
func (o *BackupListGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the backup list get using g e t params
func (*BackupListGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *BackupListGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the backup list get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupListGetUsingGETParams) SetHTTPClient ¶
func (o *BackupListGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup list get using g e t params
func (*BackupListGetUsingGETParams) SetTimeout ¶
func (o *BackupListGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup list get using g e t params
func (*BackupListGetUsingGETParams) WithBackupListID ¶
func (o *BackupListGetUsingGETParams) WithBackupListID(backupListID string) *BackupListGetUsingGETParams
WithBackupListID adds the backupListID to the backup list get using g e t params
func (*BackupListGetUsingGETParams) WithBackupPlanID ¶
func (o *BackupListGetUsingGETParams) WithBackupPlanID(backupPlanID string) *BackupListGetUsingGETParams
WithBackupPlanID adds the backupPlanID to the backup list get using g e t params
func (*BackupListGetUsingGETParams) WithContext ¶
func (o *BackupListGetUsingGETParams) WithContext(ctx context.Context) *BackupListGetUsingGETParams
WithContext adds the context to the backup list get using g e t params
func (*BackupListGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *BackupListGetUsingGETParams) WithDefaults() *BackupListGetUsingGETParams
WithDefaults hydrates default values in the backup list get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupListGetUsingGETParams) WithHTTPClient ¶
func (o *BackupListGetUsingGETParams) WithHTTPClient(client *http.Client) *BackupListGetUsingGETParams
WithHTTPClient adds the HTTPClient to the backup list get using g e t params
func (*BackupListGetUsingGETParams) WithTimeout ¶
func (o *BackupListGetUsingGETParams) WithTimeout(timeout time.Duration) *BackupListGetUsingGETParams
WithTimeout adds the timeout to the backup list get using g e t params
func (*BackupListGetUsingGETParams) WriteToRequest ¶
func (o *BackupListGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupListGetUsingGETReader ¶
type BackupListGetUsingGETReader struct {
// contains filtered or unexported fields
}
BackupListGetUsingGETReader is a Reader for the BackupListGetUsingGET structure.
func (*BackupListGetUsingGETReader) ReadResponse ¶
func (o *BackupListGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupListListUsingGETBadRequest ¶
type BackupListListUsingGETBadRequest struct { }
BackupListListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewBackupListListUsingGETBadRequest ¶
func NewBackupListListUsingGETBadRequest() *BackupListListUsingGETBadRequest
NewBackupListListUsingGETBadRequest creates a BackupListListUsingGETBadRequest with default headers values
func (*BackupListListUsingGETBadRequest) Error ¶
func (o *BackupListListUsingGETBadRequest) Error() string
type BackupListListUsingGETOK ¶
type BackupListListUsingGETOK struct {
Payload *models.BackupListListResponse
}
BackupListListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewBackupListListUsingGETOK ¶
func NewBackupListListUsingGETOK() *BackupListListUsingGETOK
NewBackupListListUsingGETOK creates a BackupListListUsingGETOK with default headers values
func (*BackupListListUsingGETOK) Error ¶
func (o *BackupListListUsingGETOK) Error() string
func (*BackupListListUsingGETOK) GetPayload ¶
func (o *BackupListListUsingGETOK) GetPayload() *models.BackupListListResponse
type BackupListListUsingGETParams ¶
type BackupListListUsingGETParams struct { /* BackupListName. backupListName */ BackupListName *string /* BackupPlanID. backupPlanId */ BackupPlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupListListUsingGETParams contains all the parameters to send to the API endpoint
for the backup list list using g e t operation. Typically these are written to a http.Request.
func NewBackupListListUsingGETParams ¶
func NewBackupListListUsingGETParams() *BackupListListUsingGETParams
NewBackupListListUsingGETParams creates a new BackupListListUsingGETParams 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 NewBackupListListUsingGETParamsWithContext ¶
func NewBackupListListUsingGETParamsWithContext(ctx context.Context) *BackupListListUsingGETParams
NewBackupListListUsingGETParamsWithContext creates a new BackupListListUsingGETParams object with the ability to set a context for a request.
func NewBackupListListUsingGETParamsWithHTTPClient ¶
func NewBackupListListUsingGETParamsWithHTTPClient(client *http.Client) *BackupListListUsingGETParams
NewBackupListListUsingGETParamsWithHTTPClient creates a new BackupListListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewBackupListListUsingGETParamsWithTimeout ¶
func NewBackupListListUsingGETParamsWithTimeout(timeout time.Duration) *BackupListListUsingGETParams
NewBackupListListUsingGETParamsWithTimeout creates a new BackupListListUsingGETParams object with the ability to set a timeout on a request.
func (*BackupListListUsingGETParams) SetBackupListName ¶
func (o *BackupListListUsingGETParams) SetBackupListName(backupListName *string)
SetBackupListName adds the backupListName to the backup list list using g e t params
func (*BackupListListUsingGETParams) SetBackupPlanID ¶
func (o *BackupListListUsingGETParams) SetBackupPlanID(backupPlanID string)
SetBackupPlanID adds the backupPlanId to the backup list list using g e t params
func (*BackupListListUsingGETParams) SetContext ¶
func (o *BackupListListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the backup list list using g e t params
func (*BackupListListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *BackupListListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the backup list list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupListListUsingGETParams) SetHTTPClient ¶
func (o *BackupListListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup list list using g e t params
func (*BackupListListUsingGETParams) SetTimeout ¶
func (o *BackupListListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup list list using g e t params
func (*BackupListListUsingGETParams) WithBackupListName ¶
func (o *BackupListListUsingGETParams) WithBackupListName(backupListName *string) *BackupListListUsingGETParams
WithBackupListName adds the backupListName to the backup list list using g e t params
func (*BackupListListUsingGETParams) WithBackupPlanID ¶
func (o *BackupListListUsingGETParams) WithBackupPlanID(backupPlanID string) *BackupListListUsingGETParams
WithBackupPlanID adds the backupPlanID to the backup list list using g e t params
func (*BackupListListUsingGETParams) WithContext ¶
func (o *BackupListListUsingGETParams) WithContext(ctx context.Context) *BackupListListUsingGETParams
WithContext adds the context to the backup list list using g e t params
func (*BackupListListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *BackupListListUsingGETParams) WithDefaults() *BackupListListUsingGETParams
WithDefaults hydrates default values in the backup list list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupListListUsingGETParams) WithHTTPClient ¶
func (o *BackupListListUsingGETParams) WithHTTPClient(client *http.Client) *BackupListListUsingGETParams
WithHTTPClient adds the HTTPClient to the backup list list using g e t params
func (*BackupListListUsingGETParams) WithTimeout ¶
func (o *BackupListListUsingGETParams) WithTimeout(timeout time.Duration) *BackupListListUsingGETParams
WithTimeout adds the timeout to the backup list list using g e t params
func (*BackupListListUsingGETParams) WriteToRequest ¶
func (o *BackupListListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupListListUsingGETReader ¶
type BackupListListUsingGETReader struct {
// contains filtered or unexported fields
}
BackupListListUsingGETReader is a Reader for the BackupListListUsingGET structure.
func (*BackupListListUsingGETReader) ReadResponse ¶
func (o *BackupListListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupPlanGetUsingGETBadRequest ¶
type BackupPlanGetUsingGETBadRequest struct { }
BackupPlanGetUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewBackupPlanGetUsingGETBadRequest ¶
func NewBackupPlanGetUsingGETBadRequest() *BackupPlanGetUsingGETBadRequest
NewBackupPlanGetUsingGETBadRequest creates a BackupPlanGetUsingGETBadRequest with default headers values
func (*BackupPlanGetUsingGETBadRequest) Error ¶
func (o *BackupPlanGetUsingGETBadRequest) Error() string
type BackupPlanGetUsingGETNotFound ¶
type BackupPlanGetUsingGETNotFound struct { }
BackupPlanGetUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewBackupPlanGetUsingGETNotFound ¶
func NewBackupPlanGetUsingGETNotFound() *BackupPlanGetUsingGETNotFound
NewBackupPlanGetUsingGETNotFound creates a BackupPlanGetUsingGETNotFound with default headers values
func (*BackupPlanGetUsingGETNotFound) Error ¶
func (o *BackupPlanGetUsingGETNotFound) Error() string
type BackupPlanGetUsingGETOK ¶
type BackupPlanGetUsingGETOK struct {
Payload *models.BackupPlanGetResponse
}
BackupPlanGetUsingGETOK describes a response with status code 200, with default header values.
OK
func NewBackupPlanGetUsingGETOK ¶
func NewBackupPlanGetUsingGETOK() *BackupPlanGetUsingGETOK
NewBackupPlanGetUsingGETOK creates a BackupPlanGetUsingGETOK with default headers values
func (*BackupPlanGetUsingGETOK) Error ¶
func (o *BackupPlanGetUsingGETOK) Error() string
func (*BackupPlanGetUsingGETOK) GetPayload ¶
func (o *BackupPlanGetUsingGETOK) GetPayload() *models.BackupPlanGetResponse
type BackupPlanGetUsingGETParams ¶
type BackupPlanGetUsingGETParams struct { /* BackupPlanID. backupPlanId */ BackupPlanID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupPlanGetUsingGETParams contains all the parameters to send to the API endpoint
for the backup plan get using g e t operation. Typically these are written to a http.Request.
func NewBackupPlanGetUsingGETParams ¶
func NewBackupPlanGetUsingGETParams() *BackupPlanGetUsingGETParams
NewBackupPlanGetUsingGETParams creates a new BackupPlanGetUsingGETParams 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 NewBackupPlanGetUsingGETParamsWithContext ¶
func NewBackupPlanGetUsingGETParamsWithContext(ctx context.Context) *BackupPlanGetUsingGETParams
NewBackupPlanGetUsingGETParamsWithContext creates a new BackupPlanGetUsingGETParams object with the ability to set a context for a request.
func NewBackupPlanGetUsingGETParamsWithHTTPClient ¶
func NewBackupPlanGetUsingGETParamsWithHTTPClient(client *http.Client) *BackupPlanGetUsingGETParams
NewBackupPlanGetUsingGETParamsWithHTTPClient creates a new BackupPlanGetUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewBackupPlanGetUsingGETParamsWithTimeout ¶
func NewBackupPlanGetUsingGETParamsWithTimeout(timeout time.Duration) *BackupPlanGetUsingGETParams
NewBackupPlanGetUsingGETParamsWithTimeout creates a new BackupPlanGetUsingGETParams object with the ability to set a timeout on a request.
func (*BackupPlanGetUsingGETParams) SetBackupPlanID ¶
func (o *BackupPlanGetUsingGETParams) SetBackupPlanID(backupPlanID string)
SetBackupPlanID adds the backupPlanId to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) SetContext ¶
func (o *BackupPlanGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *BackupPlanGetUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the backup plan get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupPlanGetUsingGETParams) SetHTTPClient ¶
func (o *BackupPlanGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) SetTimeout ¶
func (o *BackupPlanGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) WithBackupPlanID ¶
func (o *BackupPlanGetUsingGETParams) WithBackupPlanID(backupPlanID string) *BackupPlanGetUsingGETParams
WithBackupPlanID adds the backupPlanID to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) WithContext ¶
func (o *BackupPlanGetUsingGETParams) WithContext(ctx context.Context) *BackupPlanGetUsingGETParams
WithContext adds the context to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *BackupPlanGetUsingGETParams) WithDefaults() *BackupPlanGetUsingGETParams
WithDefaults hydrates default values in the backup plan get using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupPlanGetUsingGETParams) WithHTTPClient ¶
func (o *BackupPlanGetUsingGETParams) WithHTTPClient(client *http.Client) *BackupPlanGetUsingGETParams
WithHTTPClient adds the HTTPClient to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) WithTimeout ¶
func (o *BackupPlanGetUsingGETParams) WithTimeout(timeout time.Duration) *BackupPlanGetUsingGETParams
WithTimeout adds the timeout to the backup plan get using g e t params
func (*BackupPlanGetUsingGETParams) WriteToRequest ¶
func (o *BackupPlanGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupPlanGetUsingGETReader ¶
type BackupPlanGetUsingGETReader struct {
// contains filtered or unexported fields
}
BackupPlanGetUsingGETReader is a Reader for the BackupPlanGetUsingGET structure.
func (*BackupPlanGetUsingGETReader) ReadResponse ¶
func (o *BackupPlanGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BackupPlanListUsingGETBadRequest ¶
type BackupPlanListUsingGETBadRequest struct { }
BackupPlanListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewBackupPlanListUsingGETBadRequest ¶
func NewBackupPlanListUsingGETBadRequest() *BackupPlanListUsingGETBadRequest
NewBackupPlanListUsingGETBadRequest creates a BackupPlanListUsingGETBadRequest with default headers values
func (*BackupPlanListUsingGETBadRequest) Error ¶
func (o *BackupPlanListUsingGETBadRequest) Error() string
type BackupPlanListUsingGETOK ¶
type BackupPlanListUsingGETOK struct {
Payload *models.BackupPlanListResponse
}
BackupPlanListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewBackupPlanListUsingGETOK ¶
func NewBackupPlanListUsingGETOK() *BackupPlanListUsingGETOK
NewBackupPlanListUsingGETOK creates a BackupPlanListUsingGETOK with default headers values
func (*BackupPlanListUsingGETOK) Error ¶
func (o *BackupPlanListUsingGETOK) Error() string
func (*BackupPlanListUsingGETOK) GetPayload ¶
func (o *BackupPlanListUsingGETOK) GetPayload() *models.BackupPlanListResponse
type BackupPlanListUsingGETParams ¶
type BackupPlanListUsingGETParams struct { /* BackupPlanName. backupPlanName */ BackupPlanName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BackupPlanListUsingGETParams contains all the parameters to send to the API endpoint
for the backup plan list using g e t operation. Typically these are written to a http.Request.
func NewBackupPlanListUsingGETParams ¶
func NewBackupPlanListUsingGETParams() *BackupPlanListUsingGETParams
NewBackupPlanListUsingGETParams creates a new BackupPlanListUsingGETParams 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 NewBackupPlanListUsingGETParamsWithContext ¶
func NewBackupPlanListUsingGETParamsWithContext(ctx context.Context) *BackupPlanListUsingGETParams
NewBackupPlanListUsingGETParamsWithContext creates a new BackupPlanListUsingGETParams object with the ability to set a context for a request.
func NewBackupPlanListUsingGETParamsWithHTTPClient ¶
func NewBackupPlanListUsingGETParamsWithHTTPClient(client *http.Client) *BackupPlanListUsingGETParams
NewBackupPlanListUsingGETParamsWithHTTPClient creates a new BackupPlanListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewBackupPlanListUsingGETParamsWithTimeout ¶
func NewBackupPlanListUsingGETParamsWithTimeout(timeout time.Duration) *BackupPlanListUsingGETParams
NewBackupPlanListUsingGETParamsWithTimeout creates a new BackupPlanListUsingGETParams object with the ability to set a timeout on a request.
func (*BackupPlanListUsingGETParams) SetBackupPlanName ¶
func (o *BackupPlanListUsingGETParams) SetBackupPlanName(backupPlanName *string)
SetBackupPlanName adds the backupPlanName to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) SetContext ¶
func (o *BackupPlanListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *BackupPlanListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the backup plan list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupPlanListUsingGETParams) SetHTTPClient ¶
func (o *BackupPlanListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) SetTimeout ¶
func (o *BackupPlanListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) WithBackupPlanName ¶
func (o *BackupPlanListUsingGETParams) WithBackupPlanName(backupPlanName *string) *BackupPlanListUsingGETParams
WithBackupPlanName adds the backupPlanName to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) WithContext ¶
func (o *BackupPlanListUsingGETParams) WithContext(ctx context.Context) *BackupPlanListUsingGETParams
WithContext adds the context to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *BackupPlanListUsingGETParams) WithDefaults() *BackupPlanListUsingGETParams
WithDefaults hydrates default values in the backup plan list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*BackupPlanListUsingGETParams) WithHTTPClient ¶
func (o *BackupPlanListUsingGETParams) WithHTTPClient(client *http.Client) *BackupPlanListUsingGETParams
WithHTTPClient adds the HTTPClient to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) WithTimeout ¶
func (o *BackupPlanListUsingGETParams) WithTimeout(timeout time.Duration) *BackupPlanListUsingGETParams
WithTimeout adds the timeout to the backup plan list using g e t params
func (*BackupPlanListUsingGETParams) WriteToRequest ¶
func (o *BackupPlanListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BackupPlanListUsingGETReader ¶
type BackupPlanListUsingGETReader struct {
// contains filtered or unexported fields
}
BackupPlanListUsingGETReader is a Reader for the BackupPlanListUsingGET structure.
func (*BackupPlanListUsingGETReader) ReadResponse ¶
func (o *BackupPlanListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for backups API
func (*Client) BackupListGetUsingGET ¶
func (a *Client) BackupListGetUsingGET(params *BackupListGetUsingGETParams, opts ...ClientOption) (*BackupListGetUsingGETOK, error)
BackupListGetUsingGET gets backup list get
Get backup list
func (*Client) BackupListListUsingGET ¶
func (a *Client) BackupListListUsingGET(params *BackupListListUsingGETParams, opts ...ClientOption) (*BackupListListUsingGETOK, error)
BackupListListUsingGET lists backup lists
List backup lists
func (*Client) BackupPlanGetUsingGET ¶
func (a *Client) BackupPlanGetUsingGET(params *BackupPlanGetUsingGETParams, opts ...ClientOption) (*BackupPlanGetUsingGETOK, error)
BackupPlanGetUsingGET gets backup plan
Get backup plan
func (*Client) BackupPlanListUsingGET ¶
func (a *Client) BackupPlanListUsingGET(params *BackupPlanListUsingGETParams, opts ...ClientOption) (*BackupPlanListUsingGETOK, error)
BackupPlanListUsingGET lists backup plans
List backup plans
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BackupListGetUsingGET(params *BackupListGetUsingGETParams, opts ...ClientOption) (*BackupListGetUsingGETOK, error) BackupListListUsingGET(params *BackupListListUsingGETParams, opts ...ClientOption) (*BackupListListUsingGETOK, error) BackupPlanGetUsingGET(params *BackupPlanGetUsingGETParams, opts ...ClientOption) (*BackupPlanGetUsingGETOK, error) BackupPlanListUsingGET(params *BackupPlanListUsingGETParams, opts ...ClientOption) (*BackupPlanListUsingGETOK, 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 backups API client.
Source Files
¶
- backup_list_get_using_g_e_t_parameters.go
- backup_list_get_using_g_e_t_responses.go
- backup_list_list_using_g_e_t_parameters.go
- backup_list_list_using_g_e_t_responses.go
- backup_plan_get_using_g_e_t_parameters.go
- backup_plan_get_using_g_e_t_responses.go
- backup_plan_list_using_g_e_t_parameters.go
- backup_plan_list_using_g_e_t_responses.go
- backups_client.go