backup_store_repository

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 backup store repository API

func (*Client) GetBackupStoreRepositories

func (a *Client) GetBackupStoreRepositories(params *GetBackupStoreRepositoriesParams, opts ...ClientOption) (*GetBackupStoreRepositoriesOK, error)

GetBackupStoreRepositories get backup store repositories API

func (*Client) GetBackupStoreRepositoriesConnection

func (a *Client) GetBackupStoreRepositoriesConnection(params *GetBackupStoreRepositoriesConnectionParams, opts ...ClientOption) (*GetBackupStoreRepositoriesConnectionOK, error)

GetBackupStoreRepositoriesConnection get backup store repositories connection API

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 {
	GetBackupStoreRepositories(params *GetBackupStoreRepositoriesParams, opts ...ClientOption) (*GetBackupStoreRepositoriesOK, error)

	GetBackupStoreRepositoriesConnection(params *GetBackupStoreRepositoriesConnectionParams, opts ...ClientOption) (*GetBackupStoreRepositoriesConnectionOK, 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 backup store repository API client.

type GetBackupStoreRepositoriesBadRequest

type GetBackupStoreRepositoriesBadRequest struct {
	Payload string
}
GetBackupStoreRepositoriesBadRequest describes a response with status code 400, with default header values.

GetBackupStoreRepositoriesBadRequest get backup store repositories bad request

func NewGetBackupStoreRepositoriesBadRequest

func NewGetBackupStoreRepositoriesBadRequest() *GetBackupStoreRepositoriesBadRequest

NewGetBackupStoreRepositoriesBadRequest creates a GetBackupStoreRepositoriesBadRequest with default headers values

func (*GetBackupStoreRepositoriesBadRequest) Error

func (*GetBackupStoreRepositoriesBadRequest) GetPayload

type GetBackupStoreRepositoriesConnectionBadRequest

type GetBackupStoreRepositoriesConnectionBadRequest struct {
	Payload string
}
GetBackupStoreRepositoriesConnectionBadRequest describes a response with status code 400, with default header values.

GetBackupStoreRepositoriesConnectionBadRequest get backup store repositories connection bad request

func NewGetBackupStoreRepositoriesConnectionBadRequest

func NewGetBackupStoreRepositoriesConnectionBadRequest() *GetBackupStoreRepositoriesConnectionBadRequest

NewGetBackupStoreRepositoriesConnectionBadRequest creates a GetBackupStoreRepositoriesConnectionBadRequest with default headers values

func (*GetBackupStoreRepositoriesConnectionBadRequest) Error

func (*GetBackupStoreRepositoriesConnectionBadRequest) GetPayload

type GetBackupStoreRepositoriesConnectionOK

type GetBackupStoreRepositoriesConnectionOK struct {
	Payload *models.BackupStoreRepositoryConnection
}
GetBackupStoreRepositoriesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetBackupStoreRepositoriesConnectionOK

func NewGetBackupStoreRepositoriesConnectionOK() *GetBackupStoreRepositoriesConnectionOK

NewGetBackupStoreRepositoriesConnectionOK creates a GetBackupStoreRepositoriesConnectionOK with default headers values

func (*GetBackupStoreRepositoriesConnectionOK) Error

func (*GetBackupStoreRepositoriesConnectionOK) GetPayload

type GetBackupStoreRepositoriesConnectionParams

type GetBackupStoreRepositoriesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetBackupStoreRepositoriesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBackupStoreRepositoriesConnectionParams contains all the parameters to send to the API endpoint

for the get backup store repositories connection operation.

Typically these are written to a http.Request.

func NewGetBackupStoreRepositoriesConnectionParams

func NewGetBackupStoreRepositoriesConnectionParams() *GetBackupStoreRepositoriesConnectionParams

NewGetBackupStoreRepositoriesConnectionParams creates a new GetBackupStoreRepositoriesConnectionParams 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 NewGetBackupStoreRepositoriesConnectionParamsWithContext

func NewGetBackupStoreRepositoriesConnectionParamsWithContext(ctx context.Context) *GetBackupStoreRepositoriesConnectionParams

NewGetBackupStoreRepositoriesConnectionParamsWithContext creates a new GetBackupStoreRepositoriesConnectionParams object with the ability to set a context for a request.

func NewGetBackupStoreRepositoriesConnectionParamsWithHTTPClient

func NewGetBackupStoreRepositoriesConnectionParamsWithHTTPClient(client *http.Client) *GetBackupStoreRepositoriesConnectionParams

NewGetBackupStoreRepositoriesConnectionParamsWithHTTPClient creates a new GetBackupStoreRepositoriesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupStoreRepositoriesConnectionParamsWithTimeout

func NewGetBackupStoreRepositoriesConnectionParamsWithTimeout(timeout time.Duration) *GetBackupStoreRepositoriesConnectionParams

NewGetBackupStoreRepositoriesConnectionParamsWithTimeout creates a new GetBackupStoreRepositoriesConnectionParams object with the ability to set a timeout on a request.

func (*GetBackupStoreRepositoriesConnectionParams) SetContentLanguage

func (o *GetBackupStoreRepositoriesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) SetContext

SetContext adds the context to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) SetDefaults

SetDefaults hydrates default values in the get backup store repositories connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetBackupStoreRepositoriesConnectionParams) SetHTTPClient

func (o *GetBackupStoreRepositoriesConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) SetTimeout

SetTimeout adds the timeout to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) WithContext

WithContext adds the context to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get backup store repositories connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetBackupStoreRepositoriesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get backup store repositories connection params

func (*GetBackupStoreRepositoriesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupStoreRepositoriesConnectionReader

type GetBackupStoreRepositoriesConnectionReader struct {
	// contains filtered or unexported fields
}

GetBackupStoreRepositoriesConnectionReader is a Reader for the GetBackupStoreRepositoriesConnection structure.

func (*GetBackupStoreRepositoriesConnectionReader) ReadResponse

func (o *GetBackupStoreRepositoriesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetBackupStoreRepositoriesOK

type GetBackupStoreRepositoriesOK struct {
	Payload []*models.BackupStoreRepository
}
GetBackupStoreRepositoriesOK describes a response with status code 200, with default header values.

Ok

func NewGetBackupStoreRepositoriesOK

func NewGetBackupStoreRepositoriesOK() *GetBackupStoreRepositoriesOK

NewGetBackupStoreRepositoriesOK creates a GetBackupStoreRepositoriesOK with default headers values

func (*GetBackupStoreRepositoriesOK) Error

func (*GetBackupStoreRepositoriesOK) GetPayload

type GetBackupStoreRepositoriesParams

type GetBackupStoreRepositoriesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetBackupStoreRepositoriesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBackupStoreRepositoriesParams contains all the parameters to send to the API endpoint

for the get backup store repositories operation.

Typically these are written to a http.Request.

func NewGetBackupStoreRepositoriesParams

func NewGetBackupStoreRepositoriesParams() *GetBackupStoreRepositoriesParams

NewGetBackupStoreRepositoriesParams creates a new GetBackupStoreRepositoriesParams 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 NewGetBackupStoreRepositoriesParamsWithContext

func NewGetBackupStoreRepositoriesParamsWithContext(ctx context.Context) *GetBackupStoreRepositoriesParams

NewGetBackupStoreRepositoriesParamsWithContext creates a new GetBackupStoreRepositoriesParams object with the ability to set a context for a request.

func NewGetBackupStoreRepositoriesParamsWithHTTPClient

func NewGetBackupStoreRepositoriesParamsWithHTTPClient(client *http.Client) *GetBackupStoreRepositoriesParams

NewGetBackupStoreRepositoriesParamsWithHTTPClient creates a new GetBackupStoreRepositoriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupStoreRepositoriesParamsWithTimeout

func NewGetBackupStoreRepositoriesParamsWithTimeout(timeout time.Duration) *GetBackupStoreRepositoriesParams

NewGetBackupStoreRepositoriesParamsWithTimeout creates a new GetBackupStoreRepositoriesParams object with the ability to set a timeout on a request.

func (*GetBackupStoreRepositoriesParams) SetContentLanguage

func (o *GetBackupStoreRepositoriesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) SetContext

SetContext adds the context to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) SetDefaults

func (o *GetBackupStoreRepositoriesParams) SetDefaults()

SetDefaults hydrates default values in the get backup store repositories params (not the query body).

All values with no default are reset to their zero value.

func (*GetBackupStoreRepositoriesParams) SetHTTPClient

func (o *GetBackupStoreRepositoriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) SetRequestBody

SetRequestBody adds the requestBody to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) SetTimeout

func (o *GetBackupStoreRepositoriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) WithContentLanguage

func (o *GetBackupStoreRepositoriesParams) WithContentLanguage(contentLanguage *string) *GetBackupStoreRepositoriesParams

WithContentLanguage adds the contentLanguage to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) WithContext

WithContext adds the context to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) WithDefaults

WithDefaults hydrates default values in the get backup store repositories params (not the query body).

All values with no default are reset to their zero value.

func (*GetBackupStoreRepositoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) WithRequestBody

WithRequestBody adds the requestBody to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) WithTimeout

WithTimeout adds the timeout to the get backup store repositories params

func (*GetBackupStoreRepositoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBackupStoreRepositoriesReader

type GetBackupStoreRepositoriesReader struct {
	// contains filtered or unexported fields
}

GetBackupStoreRepositoriesReader is a Reader for the GetBackupStoreRepositories structure.

func (*GetBackupStoreRepositoriesReader) ReadResponse

func (o *GetBackupStoreRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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