backupcredentials

package
v2.19.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 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 Client

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

Client for backupcredentials API

func (*Client) CreateOrUpdateBackupCredentials

func (a *Client) CreateOrUpdateBackupCredentials(params *CreateOrUpdateBackupCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrUpdateBackupCredentialsOK, error)

CreateOrUpdateBackupCredentials Creates or updates backup credentials for a given seed

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 {
	CreateOrUpdateBackupCredentials(params *CreateOrUpdateBackupCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrUpdateBackupCredentialsOK, 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 backupcredentials API client.

type CreateOrUpdateBackupCredentialsDefault

type CreateOrUpdateBackupCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateOrUpdateBackupCredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewCreateOrUpdateBackupCredentialsDefault

func NewCreateOrUpdateBackupCredentialsDefault(code int) *CreateOrUpdateBackupCredentialsDefault

NewCreateOrUpdateBackupCredentialsDefault creates a CreateOrUpdateBackupCredentialsDefault with default headers values

func (*CreateOrUpdateBackupCredentialsDefault) Code

Code gets the status code for the create or update backup credentials default response

func (*CreateOrUpdateBackupCredentialsDefault) Error

func (*CreateOrUpdateBackupCredentialsDefault) GetPayload

type CreateOrUpdateBackupCredentialsForbidden

type CreateOrUpdateBackupCredentialsForbidden struct {
}
CreateOrUpdateBackupCredentialsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewCreateOrUpdateBackupCredentialsForbidden

func NewCreateOrUpdateBackupCredentialsForbidden() *CreateOrUpdateBackupCredentialsForbidden

NewCreateOrUpdateBackupCredentialsForbidden creates a CreateOrUpdateBackupCredentialsForbidden with default headers values

func (*CreateOrUpdateBackupCredentialsForbidden) Error

type CreateOrUpdateBackupCredentialsOK

type CreateOrUpdateBackupCredentialsOK struct {
}
CreateOrUpdateBackupCredentialsOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewCreateOrUpdateBackupCredentialsOK

func NewCreateOrUpdateBackupCredentialsOK() *CreateOrUpdateBackupCredentialsOK

NewCreateOrUpdateBackupCredentialsOK creates a CreateOrUpdateBackupCredentialsOK with default headers values

func (*CreateOrUpdateBackupCredentialsOK) Error

type CreateOrUpdateBackupCredentialsParams

type CreateOrUpdateBackupCredentialsParams struct {

	// Body.
	Body *models.BcBody

	// SeedName.
	SeedName string

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

CreateOrUpdateBackupCredentialsParams contains all the parameters to send to the API endpoint

for the create or update backup credentials operation.

Typically these are written to a http.Request.

func NewCreateOrUpdateBackupCredentialsParams

func NewCreateOrUpdateBackupCredentialsParams() *CreateOrUpdateBackupCredentialsParams

NewCreateOrUpdateBackupCredentialsParams creates a new CreateOrUpdateBackupCredentialsParams 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 NewCreateOrUpdateBackupCredentialsParamsWithContext

func NewCreateOrUpdateBackupCredentialsParamsWithContext(ctx context.Context) *CreateOrUpdateBackupCredentialsParams

NewCreateOrUpdateBackupCredentialsParamsWithContext creates a new CreateOrUpdateBackupCredentialsParams object with the ability to set a context for a request.

func NewCreateOrUpdateBackupCredentialsParamsWithHTTPClient

func NewCreateOrUpdateBackupCredentialsParamsWithHTTPClient(client *http.Client) *CreateOrUpdateBackupCredentialsParams

NewCreateOrUpdateBackupCredentialsParamsWithHTTPClient creates a new CreateOrUpdateBackupCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrUpdateBackupCredentialsParamsWithTimeout

func NewCreateOrUpdateBackupCredentialsParamsWithTimeout(timeout time.Duration) *CreateOrUpdateBackupCredentialsParams

NewCreateOrUpdateBackupCredentialsParamsWithTimeout creates a new CreateOrUpdateBackupCredentialsParams object with the ability to set a timeout on a request.

func (*CreateOrUpdateBackupCredentialsParams) SetBody

SetBody adds the body to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) SetContext

SetContext adds the context to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) SetDefaults

func (o *CreateOrUpdateBackupCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the create or update backup credentials params (not the query body).

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

func (*CreateOrUpdateBackupCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) SetSeedName

func (o *CreateOrUpdateBackupCredentialsParams) SetSeedName(seedName string)

SetSeedName adds the seedName to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) WithBody

WithBody adds the body to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) WithContext

WithContext adds the context to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) WithDefaults

WithDefaults hydrates default values in the create or update backup credentials params (not the query body).

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

func (*CreateOrUpdateBackupCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) WithSeedName

WithSeedName adds the seedName to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) WithTimeout

WithTimeout adds the timeout to the create or update backup credentials params

func (*CreateOrUpdateBackupCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrUpdateBackupCredentialsReader

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

CreateOrUpdateBackupCredentialsReader is a Reader for the CreateOrUpdateBackupCredentials structure.

func (*CreateOrUpdateBackupCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrUpdateBackupCredentialsUnauthorized

type CreateOrUpdateBackupCredentialsUnauthorized struct {
}
CreateOrUpdateBackupCredentialsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewCreateOrUpdateBackupCredentialsUnauthorized

func NewCreateOrUpdateBackupCredentialsUnauthorized() *CreateOrUpdateBackupCredentialsUnauthorized

NewCreateOrUpdateBackupCredentialsUnauthorized creates a CreateOrUpdateBackupCredentialsUnauthorized with default headers values

func (*CreateOrUpdateBackupCredentialsUnauthorized) Error

Jump to

Keyboard shortcuts

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