backups

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupListGetUsingGETBadRequest

type BackupListGetUsingGETBadRequest struct {
}

BackupListGetUsingGETBadRequest handles this case 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

type BackupListGetUsingGETNotFound

type BackupListGetUsingGETNotFound struct {
}

BackupListGetUsingGETNotFound handles this case with default header values.

Entity not found.

func NewBackupListGetUsingGETNotFound

func NewBackupListGetUsingGETNotFound() *BackupListGetUsingGETNotFound

NewBackupListGetUsingGETNotFound creates a BackupListGetUsingGETNotFound with default headers values

func (*BackupListGetUsingGETNotFound) Error

type BackupListGetUsingGETOK

type BackupListGetUsingGETOK struct {
	Payload *models.BackupListGetResponse
}

BackupListGetUsingGETOK handles this case 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

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 values initialized.

func NewBackupListGetUsingGETParamsWithContext

func NewBackupListGetUsingGETParamsWithContext(ctx context.Context) *BackupListGetUsingGETParams

NewBackupListGetUsingGETParamsWithContext creates a new BackupListGetUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the backup list get using g e t params

func (*BackupListGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the backup list get using g e t params

func (*BackupListGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the backup list get using g e t params

func (*BackupListGetUsingGETParams) WriteToRequest

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 handles this case 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

type BackupListListUsingGETOK

type BackupListListUsingGETOK struct {
	Payload *models.BackupListListResponse
}

BackupListListUsingGETOK handles this case 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

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 values initialized.

func NewBackupListListUsingGETParamsWithContext

func NewBackupListListUsingGETParamsWithContext(ctx context.Context) *BackupListListUsingGETParams

NewBackupListListUsingGETParamsWithContext creates a new BackupListListUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the backup list list using g e t params

func (*BackupListListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the backup list list using g e t params

func (*BackupListListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the backup list list using g e t params

func (*BackupListListUsingGETParams) WriteToRequest

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 handles this case 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

type BackupPlanGetUsingGETNotFound

type BackupPlanGetUsingGETNotFound struct {
}

BackupPlanGetUsingGETNotFound handles this case with default header values.

Entity not found.

func NewBackupPlanGetUsingGETNotFound

func NewBackupPlanGetUsingGETNotFound() *BackupPlanGetUsingGETNotFound

NewBackupPlanGetUsingGETNotFound creates a BackupPlanGetUsingGETNotFound with default headers values

func (*BackupPlanGetUsingGETNotFound) Error

type BackupPlanGetUsingGETOK

type BackupPlanGetUsingGETOK struct {
	Payload *models.BackupPlanGetResponse
}

BackupPlanGetUsingGETOK handles this case 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

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 values initialized.

func NewBackupPlanGetUsingGETParamsWithContext

func NewBackupPlanGetUsingGETParamsWithContext(ctx context.Context) *BackupPlanGetUsingGETParams

NewBackupPlanGetUsingGETParamsWithContext creates a new BackupPlanGetUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the backup plan get using g e t params

func (*BackupPlanGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the backup plan get using g e t params

func (*BackupPlanGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the backup plan get using g e t params

func (*BackupPlanGetUsingGETParams) WriteToRequest

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 handles this case 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

type BackupPlanListUsingGETOK

type BackupPlanListUsingGETOK struct {
	Payload *models.BackupPlanListResponse
}

BackupPlanListUsingGETOK handles this case 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

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 values initialized.

func NewBackupPlanListUsingGETParamsWithContext

func NewBackupPlanListUsingGETParamsWithContext(ctx context.Context) *BackupPlanListUsingGETParams

NewBackupPlanListUsingGETParamsWithContext creates a new BackupPlanListUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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

WithContext adds the context to the backup plan list using g e t params

func (*BackupPlanListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the backup plan list using g e t params

func (*BackupPlanListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the backup plan list using g e t params

func (*BackupPlanListUsingGETParams) WriteToRequest

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) (*BackupListGetUsingGETOK, error)

BackupListGetUsingGET gets backup list get

Get backup list

func (*Client) BackupListListUsingGET

func (a *Client) BackupListListUsingGET(params *BackupListListUsingGETParams) (*BackupListListUsingGETOK, error)

BackupListListUsingGET lists backup lists

List backup lists

func (*Client) BackupPlanGetUsingGET

func (a *Client) BackupPlanGetUsingGET(params *BackupPlanGetUsingGETParams) (*BackupPlanGetUsingGETOK, error)

BackupPlanGetUsingGET gets backup plan

Get backup plan

func (*Client) BackupPlanListUsingGET

func (a *Client) BackupPlanListUsingGET(params *BackupPlanListUsingGETParams) (*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 ClientService

type ClientService interface {
	BackupListGetUsingGET(params *BackupListGetUsingGETParams) (*BackupListGetUsingGETOK, error)

	BackupListListUsingGET(params *BackupListListUsingGETParams) (*BackupListListUsingGETOK, error)

	BackupPlanGetUsingGET(params *BackupPlanGetUsingGETParams) (*BackupPlanGetUsingGETOK, error)

	BackupPlanListUsingGET(params *BackupPlanListUsingGETParams) (*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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL