Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type CreateOrUpdateBackupCredentialsDefault
- func (o *CreateOrUpdateBackupCredentialsDefault) Code() int
- func (o *CreateOrUpdateBackupCredentialsDefault) Error() string
- func (o *CreateOrUpdateBackupCredentialsDefault) GetPayload() *models.ErrorResponse
- func (o *CreateOrUpdateBackupCredentialsDefault) IsClientError() bool
- func (o *CreateOrUpdateBackupCredentialsDefault) IsCode(code int) bool
- func (o *CreateOrUpdateBackupCredentialsDefault) IsRedirect() bool
- func (o *CreateOrUpdateBackupCredentialsDefault) IsServerError() bool
- func (o *CreateOrUpdateBackupCredentialsDefault) IsSuccess() bool
- func (o *CreateOrUpdateBackupCredentialsDefault) String() string
- type CreateOrUpdateBackupCredentialsForbidden
- func (o *CreateOrUpdateBackupCredentialsForbidden) Error() string
- func (o *CreateOrUpdateBackupCredentialsForbidden) IsClientError() bool
- func (o *CreateOrUpdateBackupCredentialsForbidden) IsCode(code int) bool
- func (o *CreateOrUpdateBackupCredentialsForbidden) IsRedirect() bool
- func (o *CreateOrUpdateBackupCredentialsForbidden) IsServerError() bool
- func (o *CreateOrUpdateBackupCredentialsForbidden) IsSuccess() bool
- func (o *CreateOrUpdateBackupCredentialsForbidden) String() string
- type CreateOrUpdateBackupCredentialsOK
- func (o *CreateOrUpdateBackupCredentialsOK) Error() string
- func (o *CreateOrUpdateBackupCredentialsOK) IsClientError() bool
- func (o *CreateOrUpdateBackupCredentialsOK) IsCode(code int) bool
- func (o *CreateOrUpdateBackupCredentialsOK) IsRedirect() bool
- func (o *CreateOrUpdateBackupCredentialsOK) IsServerError() bool
- func (o *CreateOrUpdateBackupCredentialsOK) IsSuccess() bool
- func (o *CreateOrUpdateBackupCredentialsOK) String() string
- type CreateOrUpdateBackupCredentialsParams
- func NewCreateOrUpdateBackupCredentialsParams() *CreateOrUpdateBackupCredentialsParams
- func NewCreateOrUpdateBackupCredentialsParamsWithContext(ctx context.Context) *CreateOrUpdateBackupCredentialsParams
- func NewCreateOrUpdateBackupCredentialsParamsWithHTTPClient(client *http.Client) *CreateOrUpdateBackupCredentialsParams
- func NewCreateOrUpdateBackupCredentialsParamsWithTimeout(timeout time.Duration) *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) SetBody(body *models.BcBody)
- func (o *CreateOrUpdateBackupCredentialsParams) SetContext(ctx context.Context)
- func (o *CreateOrUpdateBackupCredentialsParams) SetDefaults()
- func (o *CreateOrUpdateBackupCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrUpdateBackupCredentialsParams) SetSeedName(seedName string)
- func (o *CreateOrUpdateBackupCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrUpdateBackupCredentialsParams) WithBody(body *models.BcBody) *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) WithContext(ctx context.Context) *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) WithDefaults() *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) WithHTTPClient(client *http.Client) *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) WithSeedName(seedName string) *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) WithTimeout(timeout time.Duration) *CreateOrUpdateBackupCredentialsParams
- func (o *CreateOrUpdateBackupCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrUpdateBackupCredentialsReader
- type CreateOrUpdateBackupCredentialsUnauthorized
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) Error() string
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsClientError() bool
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsCode(code int) bool
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsRedirect() bool
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsServerError() bool
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsSuccess() bool
- func (o *CreateOrUpdateBackupCredentialsUnauthorized) String() string
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 ¶
func (o *CreateOrUpdateBackupCredentialsDefault) Code() int
Code gets the status code for the create or update backup credentials default response
func (*CreateOrUpdateBackupCredentialsDefault) Error ¶
func (o *CreateOrUpdateBackupCredentialsDefault) Error() string
func (*CreateOrUpdateBackupCredentialsDefault) GetPayload ¶
func (o *CreateOrUpdateBackupCredentialsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *CreateOrUpdateBackupCredentialsDefault) IsCode(code int) bool
IsCode returns true when this create or update backup credentials default response a status code equal to that given
func (*CreateOrUpdateBackupCredentialsDefault) IsRedirect ¶
func (o *CreateOrUpdateBackupCredentialsDefault) IsRedirect() bool
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 ¶
func (o *CreateOrUpdateBackupCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this create or update backup credentials default response has a 2xx status code
func (*CreateOrUpdateBackupCredentialsDefault) String ¶
func (o *CreateOrUpdateBackupCredentialsDefault) String() 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 (o *CreateOrUpdateBackupCredentialsForbidden) Error() string
func (*CreateOrUpdateBackupCredentialsForbidden) IsClientError ¶
func (o *CreateOrUpdateBackupCredentialsForbidden) IsClientError() bool
IsClientError returns true when this create or update backup credentials forbidden response has a 4xx status code
func (*CreateOrUpdateBackupCredentialsForbidden) IsCode ¶
func (o *CreateOrUpdateBackupCredentialsForbidden) IsCode(code int) bool
IsCode returns true when this create or update backup credentials forbidden response a status code equal to that given
func (*CreateOrUpdateBackupCredentialsForbidden) IsRedirect ¶
func (o *CreateOrUpdateBackupCredentialsForbidden) IsRedirect() bool
IsRedirect returns true when this create or update backup credentials forbidden response has a 3xx status code
func (*CreateOrUpdateBackupCredentialsForbidden) IsServerError ¶
func (o *CreateOrUpdateBackupCredentialsForbidden) IsServerError() bool
IsServerError returns true when this create or update backup credentials forbidden response has a 5xx status code
func (*CreateOrUpdateBackupCredentialsForbidden) IsSuccess ¶
func (o *CreateOrUpdateBackupCredentialsForbidden) IsSuccess() bool
IsSuccess returns true when this create or update backup credentials forbidden response has a 2xx status code
func (*CreateOrUpdateBackupCredentialsForbidden) String ¶
func (o *CreateOrUpdateBackupCredentialsForbidden) String() 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 (o *CreateOrUpdateBackupCredentialsOK) Error() string
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 ¶
func (o *CreateOrUpdateBackupCredentialsOK) String() 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 ¶
func (o *CreateOrUpdateBackupCredentialsParams) SetBody(body *models.BcBody)
SetBody adds the body to the create or update backup credentials params
func (*CreateOrUpdateBackupCredentialsParams) SetContext ¶
func (o *CreateOrUpdateBackupCredentialsParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateOrUpdateBackupCredentialsParams) WithBody(body *models.BcBody) *CreateOrUpdateBackupCredentialsParams
WithBody adds the body to the create or update backup credentials params
func (*CreateOrUpdateBackupCredentialsParams) WithContext ¶
func (o *CreateOrUpdateBackupCredentialsParams) WithContext(ctx context.Context) *CreateOrUpdateBackupCredentialsParams
WithContext adds the context to the create or update backup credentials params
func (*CreateOrUpdateBackupCredentialsParams) WithDefaults ¶
func (o *CreateOrUpdateBackupCredentialsParams) WithDefaults() *CreateOrUpdateBackupCredentialsParams
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 ¶
func (o *CreateOrUpdateBackupCredentialsParams) WithHTTPClient(client *http.Client) *CreateOrUpdateBackupCredentialsParams
WithHTTPClient adds the HTTPClient to the create or update backup credentials params
func (*CreateOrUpdateBackupCredentialsParams) WithSeedName ¶
func (o *CreateOrUpdateBackupCredentialsParams) WithSeedName(seedName string) *CreateOrUpdateBackupCredentialsParams
WithSeedName adds the seedName to the create or update backup credentials params
func (*CreateOrUpdateBackupCredentialsParams) WithTimeout ¶
func (o *CreateOrUpdateBackupCredentialsParams) WithTimeout(timeout time.Duration) *CreateOrUpdateBackupCredentialsParams
WithTimeout adds the timeout to the create or update backup credentials params
func (*CreateOrUpdateBackupCredentialsParams) WriteToRequest ¶
func (o *CreateOrUpdateBackupCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateOrUpdateBackupCredentialsUnauthorized) Error() string
func (*CreateOrUpdateBackupCredentialsUnauthorized) IsClientError ¶
func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsClientError() bool
IsClientError returns true when this create or update backup credentials unauthorized response has a 4xx status code
func (*CreateOrUpdateBackupCredentialsUnauthorized) IsCode ¶
func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsCode(code int) bool
IsCode returns true when this create or update backup credentials unauthorized response a status code equal to that given
func (*CreateOrUpdateBackupCredentialsUnauthorized) IsRedirect ¶
func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsRedirect() bool
IsRedirect returns true when this create or update backup credentials unauthorized response has a 3xx status code
func (*CreateOrUpdateBackupCredentialsUnauthorized) IsServerError ¶
func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsServerError() bool
IsServerError returns true when this create or update backup credentials unauthorized response has a 5xx status code
func (*CreateOrUpdateBackupCredentialsUnauthorized) IsSuccess ¶
func (o *CreateOrUpdateBackupCredentialsUnauthorized) IsSuccess() bool
IsSuccess returns true when this create or update backup credentials unauthorized response has a 2xx status code
func (*CreateOrUpdateBackupCredentialsUnauthorized) String ¶
func (o *CreateOrUpdateBackupCredentialsUnauthorized) String() string