backupcredentials

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 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

func (*CreateOrUpdateBackupCredentialsDefault) IsClientError

func (o *CreateOrUpdateBackupCredentialsDefault) IsClientError() bool

IsClientError returns true when this create or update backup credentials default response has a 4xx status code

func (*CreateOrUpdateBackupCredentialsDefault) IsCode

IsCode returns true when this create or update backup credentials default response a status code equal to that given

func (*CreateOrUpdateBackupCredentialsDefault) IsRedirect

IsRedirect returns true when this create or update backup credentials default response has a 3xx status code

func (*CreateOrUpdateBackupCredentialsDefault) IsServerError

func (o *CreateOrUpdateBackupCredentialsDefault) IsServerError() bool

IsServerError returns true when this create or update backup credentials default response has a 5xx status code

func (*CreateOrUpdateBackupCredentialsDefault) IsSuccess

IsSuccess returns true when this create or update backup credentials default response has a 2xx status code

func (*CreateOrUpdateBackupCredentialsDefault) String

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

func (*CreateOrUpdateBackupCredentialsForbidden) IsClientError

IsClientError returns true when this create or update backup credentials forbidden response has a 4xx status code

func (*CreateOrUpdateBackupCredentialsForbidden) IsCode

IsCode returns true when this create or update backup credentials forbidden response a status code equal to that given

func (*CreateOrUpdateBackupCredentialsForbidden) IsRedirect

IsRedirect returns true when this create or update backup credentials forbidden response has a 3xx status code

func (*CreateOrUpdateBackupCredentialsForbidden) IsServerError

IsServerError returns true when this create or update backup credentials forbidden response has a 5xx status code

func (*CreateOrUpdateBackupCredentialsForbidden) IsSuccess

IsSuccess returns true when this create or update backup credentials forbidden response has a 2xx status code

func (*CreateOrUpdateBackupCredentialsForbidden) String

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

func (*CreateOrUpdateBackupCredentialsOK) IsClientError

func (o *CreateOrUpdateBackupCredentialsOK) IsClientError() bool

IsClientError returns true when this create or update backup credentials o k response has a 4xx status code

func (*CreateOrUpdateBackupCredentialsOK) IsCode

func (o *CreateOrUpdateBackupCredentialsOK) IsCode(code int) bool

IsCode returns true when this create or update backup credentials o k response a status code equal to that given

func (*CreateOrUpdateBackupCredentialsOK) IsRedirect

func (o *CreateOrUpdateBackupCredentialsOK) IsRedirect() bool

IsRedirect returns true when this create or update backup credentials o k response has a 3xx status code

func (*CreateOrUpdateBackupCredentialsOK) IsServerError

func (o *CreateOrUpdateBackupCredentialsOK) IsServerError() bool

IsServerError returns true when this create or update backup credentials o k response has a 5xx status code

func (*CreateOrUpdateBackupCredentialsOK) IsSuccess

func (o *CreateOrUpdateBackupCredentialsOK) IsSuccess() bool

IsSuccess returns true when this create or update backup credentials o k response has a 2xx status code

func (*CreateOrUpdateBackupCredentialsOK) String

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

func (*CreateOrUpdateBackupCredentialsUnauthorized) IsClientError

IsClientError returns true when this create or update backup credentials unauthorized response has a 4xx status code

func (*CreateOrUpdateBackupCredentialsUnauthorized) IsCode

IsCode returns true when this create or update backup credentials unauthorized response a status code equal to that given

func (*CreateOrUpdateBackupCredentialsUnauthorized) IsRedirect

IsRedirect returns true when this create or update backup credentials unauthorized response has a 3xx status code

func (*CreateOrUpdateBackupCredentialsUnauthorized) IsServerError

IsServerError returns true when this create or update backup credentials unauthorized response has a 5xx status code

func (*CreateOrUpdateBackupCredentialsUnauthorized) IsSuccess

IsSuccess returns true when this create or update backup credentials unauthorized response has a 2xx status code

func (*CreateOrUpdateBackupCredentialsUnauthorized) String

Jump to

Keyboard shortcuts

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