database

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptPostgresRestoreDefault added in v0.18.4

type AcceptPostgresRestoreDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

AcceptPostgresRestoreDefault describes a response with status code -1, with default header values.

Error

func NewAcceptPostgresRestoreDefault added in v0.18.4

func NewAcceptPostgresRestoreDefault(code int) *AcceptPostgresRestoreDefault

NewAcceptPostgresRestoreDefault creates a AcceptPostgresRestoreDefault with default headers values

func (*AcceptPostgresRestoreDefault) Code added in v0.18.4

Code gets the status code for the accept postgres restore default response

func (*AcceptPostgresRestoreDefault) Error added in v0.18.4

func (*AcceptPostgresRestoreDefault) GetPayload added in v0.18.4

func (*AcceptPostgresRestoreDefault) IsClientError added in v0.19.0

func (o *AcceptPostgresRestoreDefault) IsClientError() bool

IsClientError returns true when this accept postgres restore default response has a 4xx status code

func (*AcceptPostgresRestoreDefault) IsCode added in v0.19.0

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

IsCode returns true when this accept postgres restore default response a status code equal to that given

func (*AcceptPostgresRestoreDefault) IsRedirect added in v0.19.0

func (o *AcceptPostgresRestoreDefault) IsRedirect() bool

IsRedirect returns true when this accept postgres restore default response has a 3xx status code

func (*AcceptPostgresRestoreDefault) IsServerError added in v0.19.0

func (o *AcceptPostgresRestoreDefault) IsServerError() bool

IsServerError returns true when this accept postgres restore default response has a 5xx status code

func (*AcceptPostgresRestoreDefault) IsSuccess added in v0.19.0

func (o *AcceptPostgresRestoreDefault) IsSuccess() bool

IsSuccess returns true when this accept postgres restore default response has a 2xx status code

func (*AcceptPostgresRestoreDefault) String added in v0.19.0

type AcceptPostgresRestoreDeprecatedDefault added in v0.18.24

type AcceptPostgresRestoreDeprecatedDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

AcceptPostgresRestoreDeprecatedDefault describes a response with status code -1, with default header values.

Error

func NewAcceptPostgresRestoreDeprecatedDefault added in v0.18.24

func NewAcceptPostgresRestoreDeprecatedDefault(code int) *AcceptPostgresRestoreDeprecatedDefault

NewAcceptPostgresRestoreDeprecatedDefault creates a AcceptPostgresRestoreDeprecatedDefault with default headers values

func (*AcceptPostgresRestoreDeprecatedDefault) Code added in v0.18.24

Code gets the status code for the accept postgres restore deprecated default response

func (*AcceptPostgresRestoreDeprecatedDefault) Error added in v0.18.24

func (*AcceptPostgresRestoreDeprecatedDefault) GetPayload added in v0.18.24

func (*AcceptPostgresRestoreDeprecatedDefault) IsClientError added in v0.19.0

func (o *AcceptPostgresRestoreDeprecatedDefault) IsClientError() bool

IsClientError returns true when this accept postgres restore deprecated default response has a 4xx status code

func (*AcceptPostgresRestoreDeprecatedDefault) IsCode added in v0.19.0

IsCode returns true when this accept postgres restore deprecated default response a status code equal to that given

func (*AcceptPostgresRestoreDeprecatedDefault) IsRedirect added in v0.19.0

IsRedirect returns true when this accept postgres restore deprecated default response has a 3xx status code

func (*AcceptPostgresRestoreDeprecatedDefault) IsServerError added in v0.19.0

func (o *AcceptPostgresRestoreDeprecatedDefault) IsServerError() bool

IsServerError returns true when this accept postgres restore deprecated default response has a 5xx status code

func (*AcceptPostgresRestoreDeprecatedDefault) IsSuccess added in v0.19.0

IsSuccess returns true when this accept postgres restore deprecated default response has a 2xx status code

func (*AcceptPostgresRestoreDeprecatedDefault) String added in v0.19.0

type AcceptPostgresRestoreDeprecatedOK added in v0.18.24

type AcceptPostgresRestoreDeprecatedOK struct {
	Payload *models.V1PostgresResponse
}

AcceptPostgresRestoreDeprecatedOK describes a response with status code 200, with default header values.

OK

func NewAcceptPostgresRestoreDeprecatedOK added in v0.18.24

func NewAcceptPostgresRestoreDeprecatedOK() *AcceptPostgresRestoreDeprecatedOK

NewAcceptPostgresRestoreDeprecatedOK creates a AcceptPostgresRestoreDeprecatedOK with default headers values

func (*AcceptPostgresRestoreDeprecatedOK) Error added in v0.18.24

func (*AcceptPostgresRestoreDeprecatedOK) GetPayload added in v0.18.24

func (*AcceptPostgresRestoreDeprecatedOK) IsClientError added in v0.19.0

func (o *AcceptPostgresRestoreDeprecatedOK) IsClientError() bool

IsClientError returns true when this accept postgres restore deprecated o k response has a 4xx status code

func (*AcceptPostgresRestoreDeprecatedOK) IsCode added in v0.19.0

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

IsCode returns true when this accept postgres restore deprecated o k response a status code equal to that given

func (*AcceptPostgresRestoreDeprecatedOK) IsRedirect added in v0.19.0

func (o *AcceptPostgresRestoreDeprecatedOK) IsRedirect() bool

IsRedirect returns true when this accept postgres restore deprecated o k response has a 3xx status code

func (*AcceptPostgresRestoreDeprecatedOK) IsServerError added in v0.19.0

func (o *AcceptPostgresRestoreDeprecatedOK) IsServerError() bool

IsServerError returns true when this accept postgres restore deprecated o k response has a 5xx status code

func (*AcceptPostgresRestoreDeprecatedOK) IsSuccess added in v0.19.0

func (o *AcceptPostgresRestoreDeprecatedOK) IsSuccess() bool

IsSuccess returns true when this accept postgres restore deprecated o k response has a 2xx status code

func (*AcceptPostgresRestoreDeprecatedOK) String added in v0.19.0

type AcceptPostgresRestoreDeprecatedParams added in v0.18.24

type AcceptPostgresRestoreDeprecatedParams struct {

	/* ID.

	   identifier of the postgres
	*/
	ID string

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

AcceptPostgresRestoreDeprecatedParams contains all the parameters to send to the API endpoint

for the accept postgres restore deprecated operation.

Typically these are written to a http.Request.

func NewAcceptPostgresRestoreDeprecatedParams added in v0.18.24

func NewAcceptPostgresRestoreDeprecatedParams() *AcceptPostgresRestoreDeprecatedParams

NewAcceptPostgresRestoreDeprecatedParams creates a new AcceptPostgresRestoreDeprecatedParams 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 NewAcceptPostgresRestoreDeprecatedParamsWithContext added in v0.18.24

func NewAcceptPostgresRestoreDeprecatedParamsWithContext(ctx context.Context) *AcceptPostgresRestoreDeprecatedParams

NewAcceptPostgresRestoreDeprecatedParamsWithContext creates a new AcceptPostgresRestoreDeprecatedParams object with the ability to set a context for a request.

func NewAcceptPostgresRestoreDeprecatedParamsWithHTTPClient added in v0.18.24

func NewAcceptPostgresRestoreDeprecatedParamsWithHTTPClient(client *http.Client) *AcceptPostgresRestoreDeprecatedParams

NewAcceptPostgresRestoreDeprecatedParamsWithHTTPClient creates a new AcceptPostgresRestoreDeprecatedParams object with the ability to set a custom HTTPClient for a request.

func NewAcceptPostgresRestoreDeprecatedParamsWithTimeout added in v0.18.24

func NewAcceptPostgresRestoreDeprecatedParamsWithTimeout(timeout time.Duration) *AcceptPostgresRestoreDeprecatedParams

NewAcceptPostgresRestoreDeprecatedParamsWithTimeout creates a new AcceptPostgresRestoreDeprecatedParams object with the ability to set a timeout on a request.

func (*AcceptPostgresRestoreDeprecatedParams) SetContext added in v0.18.24

SetContext adds the context to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) SetDefaults added in v0.18.24

func (o *AcceptPostgresRestoreDeprecatedParams) SetDefaults()

SetDefaults hydrates default values in the accept postgres restore deprecated params (not the query body).

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

func (*AcceptPostgresRestoreDeprecatedParams) SetHTTPClient added in v0.18.24

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

SetHTTPClient adds the HTTPClient to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) SetID added in v0.18.24

SetID adds the id to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) SetTimeout added in v0.18.24

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

SetTimeout adds the timeout to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) WithContext added in v0.18.24

WithContext adds the context to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) WithDefaults added in v0.18.24

WithDefaults hydrates default values in the accept postgres restore deprecated params (not the query body).

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

func (*AcceptPostgresRestoreDeprecatedParams) WithHTTPClient added in v0.18.24

WithHTTPClient adds the HTTPClient to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) WithID added in v0.18.24

WithID adds the id to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) WithTimeout added in v0.18.24

WithTimeout adds the timeout to the accept postgres restore deprecated params

func (*AcceptPostgresRestoreDeprecatedParams) WriteToRequest added in v0.18.24

WriteToRequest writes these params to a swagger request

type AcceptPostgresRestoreDeprecatedReader added in v0.18.24

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

AcceptPostgresRestoreDeprecatedReader is a Reader for the AcceptPostgresRestoreDeprecated structure.

func (*AcceptPostgresRestoreDeprecatedReader) ReadResponse added in v0.18.24

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

ReadResponse reads a server response into the received o.

type AcceptPostgresRestoreOK added in v0.18.4

type AcceptPostgresRestoreOK struct {
	Payload *models.V1PostgresResponse
}

AcceptPostgresRestoreOK describes a response with status code 200, with default header values.

OK

func NewAcceptPostgresRestoreOK added in v0.18.4

func NewAcceptPostgresRestoreOK() *AcceptPostgresRestoreOK

NewAcceptPostgresRestoreOK creates a AcceptPostgresRestoreOK with default headers values

func (*AcceptPostgresRestoreOK) Error added in v0.18.4

func (o *AcceptPostgresRestoreOK) Error() string

func (*AcceptPostgresRestoreOK) GetPayload added in v0.18.4

func (*AcceptPostgresRestoreOK) IsClientError added in v0.19.0

func (o *AcceptPostgresRestoreOK) IsClientError() bool

IsClientError returns true when this accept postgres restore o k response has a 4xx status code

func (*AcceptPostgresRestoreOK) IsCode added in v0.19.0

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

IsCode returns true when this accept postgres restore o k response a status code equal to that given

func (*AcceptPostgresRestoreOK) IsRedirect added in v0.19.0

func (o *AcceptPostgresRestoreOK) IsRedirect() bool

IsRedirect returns true when this accept postgres restore o k response has a 3xx status code

func (*AcceptPostgresRestoreOK) IsServerError added in v0.19.0

func (o *AcceptPostgresRestoreOK) IsServerError() bool

IsServerError returns true when this accept postgres restore o k response has a 5xx status code

func (*AcceptPostgresRestoreOK) IsSuccess added in v0.19.0

func (o *AcceptPostgresRestoreOK) IsSuccess() bool

IsSuccess returns true when this accept postgres restore o k response has a 2xx status code

func (*AcceptPostgresRestoreOK) String added in v0.19.0

func (o *AcceptPostgresRestoreOK) String() string

type AcceptPostgresRestoreParams added in v0.18.4

type AcceptPostgresRestoreParams struct {

	/* ID.

	   identifier of the postgres
	*/
	ID string

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

AcceptPostgresRestoreParams contains all the parameters to send to the API endpoint

for the accept postgres restore operation.

Typically these are written to a http.Request.

func NewAcceptPostgresRestoreParams added in v0.18.4

func NewAcceptPostgresRestoreParams() *AcceptPostgresRestoreParams

NewAcceptPostgresRestoreParams creates a new AcceptPostgresRestoreParams 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 NewAcceptPostgresRestoreParamsWithContext added in v0.18.4

func NewAcceptPostgresRestoreParamsWithContext(ctx context.Context) *AcceptPostgresRestoreParams

NewAcceptPostgresRestoreParamsWithContext creates a new AcceptPostgresRestoreParams object with the ability to set a context for a request.

func NewAcceptPostgresRestoreParamsWithHTTPClient added in v0.18.4

func NewAcceptPostgresRestoreParamsWithHTTPClient(client *http.Client) *AcceptPostgresRestoreParams

NewAcceptPostgresRestoreParamsWithHTTPClient creates a new AcceptPostgresRestoreParams object with the ability to set a custom HTTPClient for a request.

func NewAcceptPostgresRestoreParamsWithTimeout added in v0.18.4

func NewAcceptPostgresRestoreParamsWithTimeout(timeout time.Duration) *AcceptPostgresRestoreParams

NewAcceptPostgresRestoreParamsWithTimeout creates a new AcceptPostgresRestoreParams object with the ability to set a timeout on a request.

func (*AcceptPostgresRestoreParams) SetContext added in v0.18.4

func (o *AcceptPostgresRestoreParams) SetContext(ctx context.Context)

SetContext adds the context to the accept postgres restore params

func (*AcceptPostgresRestoreParams) SetDefaults added in v0.18.4

func (o *AcceptPostgresRestoreParams) SetDefaults()

SetDefaults hydrates default values in the accept postgres restore params (not the query body).

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

func (*AcceptPostgresRestoreParams) SetHTTPClient added in v0.18.4

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

SetHTTPClient adds the HTTPClient to the accept postgres restore params

func (*AcceptPostgresRestoreParams) SetID added in v0.18.4

func (o *AcceptPostgresRestoreParams) SetID(id string)

SetID adds the id to the accept postgres restore params

func (*AcceptPostgresRestoreParams) SetTimeout added in v0.18.4

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

SetTimeout adds the timeout to the accept postgres restore params

func (*AcceptPostgresRestoreParams) WithContext added in v0.18.4

WithContext adds the context to the accept postgres restore params

func (*AcceptPostgresRestoreParams) WithDefaults added in v0.18.4

WithDefaults hydrates default values in the accept postgres restore params (not the query body).

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

func (*AcceptPostgresRestoreParams) WithHTTPClient added in v0.18.4

WithHTTPClient adds the HTTPClient to the accept postgres restore params

func (*AcceptPostgresRestoreParams) WithID added in v0.18.4

WithID adds the id to the accept postgres restore params

func (*AcceptPostgresRestoreParams) WithTimeout added in v0.18.4

WithTimeout adds the timeout to the accept postgres restore params

func (*AcceptPostgresRestoreParams) WriteToRequest added in v0.18.4

WriteToRequest writes these params to a swagger request

type AcceptPostgresRestoreReader added in v0.18.4

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

AcceptPostgresRestoreReader is a Reader for the AcceptPostgresRestore structure.

func (*AcceptPostgresRestoreReader) ReadResponse added in v0.18.4

func (o *AcceptPostgresRestoreReader) 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 database API

func (*Client) AcceptPostgresRestore added in v0.18.4

func (a *Client) AcceptPostgresRestore(params *AcceptPostgresRestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptPostgresRestoreOK, error)

AcceptPostgresRestore indicates a validated restore if the postgres was changed since this one was read a conflict is returned

func (*Client) AcceptPostgresRestoreDeprecated added in v0.18.24

func (a *Client) AcceptPostgresRestoreDeprecated(params *AcceptPostgresRestoreDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptPostgresRestoreDeprecatedOK, error)

AcceptPostgresRestoreDeprecated indicates a validated restore if the postgres was changed since this one was read a conflict is returned

func (*Client) CreatePostgres

func (a *Client) CreatePostgres(params *CreatePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresCreated, error)

CreatePostgres creates a postgres if the given ID already exists a conflict is returned

func (*Client) CreatePostgresBackupConfig

func (a *Client) CreatePostgresBackupConfig(params *CreatePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresBackupConfigCreated, error)

CreatePostgresBackupConfig creates a postgres backup

func (*Client) CreatePostgresStandby added in v0.18.3

func (a *Client) CreatePostgresStandby(params *CreatePostgresStandbyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresStandbyCreated, error)

CreatePostgresStandby creates a standby postgres if the given ID does not already exists a conflict is returned

func (*Client) DeletePostgres

func (a *Client) DeletePostgres(params *DeletePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostgresOK, error)

DeletePostgres deletes an postgres and returns the deleted entity

func (*Client) DeletePostgresBackupConfig

func (a *Client) DeletePostgresBackupConfig(params *DeletePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostgresBackupConfigOK, error)

DeletePostgresBackupConfig deletes a postgres backup

func (*Client) FindPostgres

func (a *Client) FindPostgres(params *FindPostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindPostgresOK, error)

FindPostgres finds postgres databases by multiple criteria

func (*Client) GetBackupConfig

func (a *Client) GetBackupConfig(params *GetBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBackupConfigOK, error)

GetBackupConfig gets postgres backups

func (*Client) GetPostgres

func (a *Client) GetPostgres(params *GetPostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresOK, error)

GetPostgres gets postgres by id

func (*Client) GetPostgresBackups

func (a *Client) GetPostgresBackups(params *GetPostgresBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresBackupsOK, error)

GetPostgresBackups gets postgres stored backups by id

func (*Client) GetPostgresPartitions

func (a *Client) GetPostgresPartitions(params *GetPostgresPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresPartitionsOK, error)

GetPostgresPartitions gets postgres partitions supported

func (*Client) GetPostgresSecrets

func (a *Client) GetPostgresSecrets(params *GetPostgresSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresSecretsOK, error)

GetPostgresSecrets gets postgres secrets by id

func (*Client) GetPostgresVersions

func (a *Client) GetPostgresVersions(params *GetPostgresVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresVersionsOK, error)

GetPostgresVersions gets postgres versions supported

func (*Client) ListPostgres

func (a *Client) ListPostgres(params *ListPostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostgresOK, error)

ListPostgres gets all postgres databases

func (*Client) ListPostgresBackupConfigs

func (a *Client) ListPostgresBackupConfigs(params *ListPostgresBackupConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostgresBackupConfigsOK, error)

ListPostgresBackupConfigs gets all postgres backups

func (*Client) RestorePostgres added in v0.18.4

func (a *Client) RestorePostgres(params *RestorePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestorePostgresCreated, error)

RestorePostgres restores a postgres based on an existing postgres if the given source ID does already exist a conflict is returned

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdatePostgres

func (a *Client) UpdatePostgres(params *UpdatePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostgresOK, error)

UpdatePostgres updates a postgres if the postgres was changed since this one was read a conflict is returned

func (*Client) UpdatePostgresBackupConfig

func (a *Client) UpdatePostgresBackupConfig(params *UpdatePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostgresBackupConfigOK, error)

UpdatePostgresBackupConfig updates the postgres backup

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AcceptPostgresRestore(params *AcceptPostgresRestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptPostgresRestoreOK, error)

	AcceptPostgresRestoreDeprecated(params *AcceptPostgresRestoreDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AcceptPostgresRestoreDeprecatedOK, error)

	CreatePostgres(params *CreatePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresCreated, error)

	CreatePostgresBackupConfig(params *CreatePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresBackupConfigCreated, error)

	CreatePostgresStandby(params *CreatePostgresStandbyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresStandbyCreated, error)

	DeletePostgres(params *DeletePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostgresOK, error)

	DeletePostgresBackupConfig(params *DeletePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePostgresBackupConfigOK, error)

	FindPostgres(params *FindPostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindPostgresOK, error)

	GetBackupConfig(params *GetBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBackupConfigOK, error)

	GetPostgres(params *GetPostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresOK, error)

	GetPostgresBackups(params *GetPostgresBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresBackupsOK, error)

	GetPostgresPartitions(params *GetPostgresPartitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresPartitionsOK, error)

	GetPostgresSecrets(params *GetPostgresSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresSecretsOK, error)

	GetPostgresVersions(params *GetPostgresVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPostgresVersionsOK, error)

	ListPostgres(params *ListPostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostgresOK, error)

	ListPostgresBackupConfigs(params *ListPostgresBackupConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPostgresBackupConfigsOK, error)

	RestorePostgres(params *RestorePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestorePostgresCreated, error)

	UpdatePostgres(params *UpdatePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostgresOK, error)

	UpdatePostgresBackupConfig(params *UpdatePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePostgresBackupConfigOK, 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 database API client.

type CreatePostgresBackupConfigCreated

type CreatePostgresBackupConfigCreated struct {
	Payload *models.V1PostgresBackupConfigResponse
}

CreatePostgresBackupConfigCreated describes a response with status code 201, with default header values.

Created

func NewCreatePostgresBackupConfigCreated

func NewCreatePostgresBackupConfigCreated() *CreatePostgresBackupConfigCreated

NewCreatePostgresBackupConfigCreated creates a CreatePostgresBackupConfigCreated with default headers values

func (*CreatePostgresBackupConfigCreated) Error

func (*CreatePostgresBackupConfigCreated) GetPayload

func (*CreatePostgresBackupConfigCreated) IsClientError added in v0.19.0

func (o *CreatePostgresBackupConfigCreated) IsClientError() bool

IsClientError returns true when this create postgres backup config created response has a 4xx status code

func (*CreatePostgresBackupConfigCreated) IsCode added in v0.19.0

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

IsCode returns true when this create postgres backup config created response a status code equal to that given

func (*CreatePostgresBackupConfigCreated) IsRedirect added in v0.19.0

func (o *CreatePostgresBackupConfigCreated) IsRedirect() bool

IsRedirect returns true when this create postgres backup config created response has a 3xx status code

func (*CreatePostgresBackupConfigCreated) IsServerError added in v0.19.0

func (o *CreatePostgresBackupConfigCreated) IsServerError() bool

IsServerError returns true when this create postgres backup config created response has a 5xx status code

func (*CreatePostgresBackupConfigCreated) IsSuccess added in v0.19.0

func (o *CreatePostgresBackupConfigCreated) IsSuccess() bool

IsSuccess returns true when this create postgres backup config created response has a 2xx status code

func (*CreatePostgresBackupConfigCreated) String added in v0.19.0

type CreatePostgresBackupConfigDefault

type CreatePostgresBackupConfigDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreatePostgresBackupConfigDefault describes a response with status code -1, with default header values.

Error

func NewCreatePostgresBackupConfigDefault

func NewCreatePostgresBackupConfigDefault(code int) *CreatePostgresBackupConfigDefault

NewCreatePostgresBackupConfigDefault creates a CreatePostgresBackupConfigDefault with default headers values

func (*CreatePostgresBackupConfigDefault) Code

Code gets the status code for the create postgres backup config default response

func (*CreatePostgresBackupConfigDefault) Error

func (*CreatePostgresBackupConfigDefault) GetPayload

func (*CreatePostgresBackupConfigDefault) IsClientError added in v0.19.0

func (o *CreatePostgresBackupConfigDefault) IsClientError() bool

IsClientError returns true when this create postgres backup config default response has a 4xx status code

func (*CreatePostgresBackupConfigDefault) IsCode added in v0.19.0

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

IsCode returns true when this create postgres backup config default response a status code equal to that given

func (*CreatePostgresBackupConfigDefault) IsRedirect added in v0.19.0

func (o *CreatePostgresBackupConfigDefault) IsRedirect() bool

IsRedirect returns true when this create postgres backup config default response has a 3xx status code

func (*CreatePostgresBackupConfigDefault) IsServerError added in v0.19.0

func (o *CreatePostgresBackupConfigDefault) IsServerError() bool

IsServerError returns true when this create postgres backup config default response has a 5xx status code

func (*CreatePostgresBackupConfigDefault) IsSuccess added in v0.19.0

func (o *CreatePostgresBackupConfigDefault) IsSuccess() bool

IsSuccess returns true when this create postgres backup config default response has a 2xx status code

func (*CreatePostgresBackupConfigDefault) String added in v0.19.0

type CreatePostgresBackupConfigParams

type CreatePostgresBackupConfigParams struct {

	// Body.
	Body *models.V1PostgresBackupConfigCreateRequest

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

CreatePostgresBackupConfigParams contains all the parameters to send to the API endpoint

for the create postgres backup config operation.

Typically these are written to a http.Request.

func NewCreatePostgresBackupConfigParams

func NewCreatePostgresBackupConfigParams() *CreatePostgresBackupConfigParams

NewCreatePostgresBackupConfigParams creates a new CreatePostgresBackupConfigParams 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 NewCreatePostgresBackupConfigParamsWithContext

func NewCreatePostgresBackupConfigParamsWithContext(ctx context.Context) *CreatePostgresBackupConfigParams

NewCreatePostgresBackupConfigParamsWithContext creates a new CreatePostgresBackupConfigParams object with the ability to set a context for a request.

func NewCreatePostgresBackupConfigParamsWithHTTPClient

func NewCreatePostgresBackupConfigParamsWithHTTPClient(client *http.Client) *CreatePostgresBackupConfigParams

NewCreatePostgresBackupConfigParamsWithHTTPClient creates a new CreatePostgresBackupConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePostgresBackupConfigParamsWithTimeout

func NewCreatePostgresBackupConfigParamsWithTimeout(timeout time.Duration) *CreatePostgresBackupConfigParams

NewCreatePostgresBackupConfigParamsWithTimeout creates a new CreatePostgresBackupConfigParams object with the ability to set a timeout on a request.

func (*CreatePostgresBackupConfigParams) SetBody

SetBody adds the body to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) SetContext

SetContext adds the context to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) SetDefaults

func (o *CreatePostgresBackupConfigParams) SetDefaults()

SetDefaults hydrates default values in the create postgres backup config params (not the query body).

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

func (*CreatePostgresBackupConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) WithBody

WithBody adds the body to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) WithContext

WithContext adds the context to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) WithDefaults

WithDefaults hydrates default values in the create postgres backup config params (not the query body).

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

func (*CreatePostgresBackupConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) WithTimeout

WithTimeout adds the timeout to the create postgres backup config params

func (*CreatePostgresBackupConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePostgresBackupConfigReader

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

CreatePostgresBackupConfigReader is a Reader for the CreatePostgresBackupConfig structure.

func (*CreatePostgresBackupConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePostgresCreated

type CreatePostgresCreated struct {
	Payload *models.V1PostgresResponse
}

CreatePostgresCreated describes a response with status code 201, with default header values.

Created

func NewCreatePostgresCreated

func NewCreatePostgresCreated() *CreatePostgresCreated

NewCreatePostgresCreated creates a CreatePostgresCreated with default headers values

func (*CreatePostgresCreated) Error

func (o *CreatePostgresCreated) Error() string

func (*CreatePostgresCreated) GetPayload

func (*CreatePostgresCreated) IsClientError added in v0.19.0

func (o *CreatePostgresCreated) IsClientError() bool

IsClientError returns true when this create postgres created response has a 4xx status code

func (*CreatePostgresCreated) IsCode added in v0.19.0

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

IsCode returns true when this create postgres created response a status code equal to that given

func (*CreatePostgresCreated) IsRedirect added in v0.19.0

func (o *CreatePostgresCreated) IsRedirect() bool

IsRedirect returns true when this create postgres created response has a 3xx status code

func (*CreatePostgresCreated) IsServerError added in v0.19.0

func (o *CreatePostgresCreated) IsServerError() bool

IsServerError returns true when this create postgres created response has a 5xx status code

func (*CreatePostgresCreated) IsSuccess added in v0.19.0

func (o *CreatePostgresCreated) IsSuccess() bool

IsSuccess returns true when this create postgres created response has a 2xx status code

func (*CreatePostgresCreated) String added in v0.19.0

func (o *CreatePostgresCreated) String() string

type CreatePostgresDefault

type CreatePostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreatePostgresDefault describes a response with status code -1, with default header values.

Error

func NewCreatePostgresDefault

func NewCreatePostgresDefault(code int) *CreatePostgresDefault

NewCreatePostgresDefault creates a CreatePostgresDefault with default headers values

func (*CreatePostgresDefault) Code

func (o *CreatePostgresDefault) Code() int

Code gets the status code for the create postgres default response

func (*CreatePostgresDefault) Error

func (o *CreatePostgresDefault) Error() string

func (*CreatePostgresDefault) GetPayload

func (*CreatePostgresDefault) IsClientError added in v0.19.0

func (o *CreatePostgresDefault) IsClientError() bool

IsClientError returns true when this create postgres default response has a 4xx status code

func (*CreatePostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this create postgres default response a status code equal to that given

func (*CreatePostgresDefault) IsRedirect added in v0.19.0

func (o *CreatePostgresDefault) IsRedirect() bool

IsRedirect returns true when this create postgres default response has a 3xx status code

func (*CreatePostgresDefault) IsServerError added in v0.19.0

func (o *CreatePostgresDefault) IsServerError() bool

IsServerError returns true when this create postgres default response has a 5xx status code

func (*CreatePostgresDefault) IsSuccess added in v0.19.0

func (o *CreatePostgresDefault) IsSuccess() bool

IsSuccess returns true when this create postgres default response has a 2xx status code

func (*CreatePostgresDefault) String added in v0.19.0

func (o *CreatePostgresDefault) String() string

type CreatePostgresParams

type CreatePostgresParams struct {

	// Body.
	Body *models.V1PostgresCreateRequest

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

CreatePostgresParams contains all the parameters to send to the API endpoint

for the create postgres operation.

Typically these are written to a http.Request.

func NewCreatePostgresParams

func NewCreatePostgresParams() *CreatePostgresParams

NewCreatePostgresParams creates a new CreatePostgresParams 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 NewCreatePostgresParamsWithContext

func NewCreatePostgresParamsWithContext(ctx context.Context) *CreatePostgresParams

NewCreatePostgresParamsWithContext creates a new CreatePostgresParams object with the ability to set a context for a request.

func NewCreatePostgresParamsWithHTTPClient

func NewCreatePostgresParamsWithHTTPClient(client *http.Client) *CreatePostgresParams

NewCreatePostgresParamsWithHTTPClient creates a new CreatePostgresParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePostgresParamsWithTimeout

func NewCreatePostgresParamsWithTimeout(timeout time.Duration) *CreatePostgresParams

NewCreatePostgresParamsWithTimeout creates a new CreatePostgresParams object with the ability to set a timeout on a request.

func (*CreatePostgresParams) SetBody

SetBody adds the body to the create postgres params

func (*CreatePostgresParams) SetContext

func (o *CreatePostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the create postgres params

func (*CreatePostgresParams) SetDefaults

func (o *CreatePostgresParams) SetDefaults()

SetDefaults hydrates default values in the create postgres params (not the query body).

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

func (*CreatePostgresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create postgres params

func (*CreatePostgresParams) SetTimeout

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

SetTimeout adds the timeout to the create postgres params

func (*CreatePostgresParams) WithBody

WithBody adds the body to the create postgres params

func (*CreatePostgresParams) WithContext

WithContext adds the context to the create postgres params

func (*CreatePostgresParams) WithDefaults

func (o *CreatePostgresParams) WithDefaults() *CreatePostgresParams

WithDefaults hydrates default values in the create postgres params (not the query body).

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

func (*CreatePostgresParams) WithHTTPClient

func (o *CreatePostgresParams) WithHTTPClient(client *http.Client) *CreatePostgresParams

WithHTTPClient adds the HTTPClient to the create postgres params

func (*CreatePostgresParams) WithTimeout

func (o *CreatePostgresParams) WithTimeout(timeout time.Duration) *CreatePostgresParams

WithTimeout adds the timeout to the create postgres params

func (*CreatePostgresParams) WriteToRequest

func (o *CreatePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreatePostgresReader

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

CreatePostgresReader is a Reader for the CreatePostgres structure.

func (*CreatePostgresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePostgresStandbyCreated added in v0.18.3

type CreatePostgresStandbyCreated struct {
	Payload *models.V1PostgresResponse
}

CreatePostgresStandbyCreated describes a response with status code 201, with default header values.

Created

func NewCreatePostgresStandbyCreated added in v0.18.3

func NewCreatePostgresStandbyCreated() *CreatePostgresStandbyCreated

NewCreatePostgresStandbyCreated creates a CreatePostgresStandbyCreated with default headers values

func (*CreatePostgresStandbyCreated) Error added in v0.18.3

func (*CreatePostgresStandbyCreated) GetPayload added in v0.18.3

func (*CreatePostgresStandbyCreated) IsClientError added in v0.19.0

func (o *CreatePostgresStandbyCreated) IsClientError() bool

IsClientError returns true when this create postgres standby created response has a 4xx status code

func (*CreatePostgresStandbyCreated) IsCode added in v0.19.0

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

IsCode returns true when this create postgres standby created response a status code equal to that given

func (*CreatePostgresStandbyCreated) IsRedirect added in v0.19.0

func (o *CreatePostgresStandbyCreated) IsRedirect() bool

IsRedirect returns true when this create postgres standby created response has a 3xx status code

func (*CreatePostgresStandbyCreated) IsServerError added in v0.19.0

func (o *CreatePostgresStandbyCreated) IsServerError() bool

IsServerError returns true when this create postgres standby created response has a 5xx status code

func (*CreatePostgresStandbyCreated) IsSuccess added in v0.19.0

func (o *CreatePostgresStandbyCreated) IsSuccess() bool

IsSuccess returns true when this create postgres standby created response has a 2xx status code

func (*CreatePostgresStandbyCreated) String added in v0.19.0

type CreatePostgresStandbyDefault added in v0.18.3

type CreatePostgresStandbyDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

CreatePostgresStandbyDefault describes a response with status code -1, with default header values.

Error

func NewCreatePostgresStandbyDefault added in v0.18.3

func NewCreatePostgresStandbyDefault(code int) *CreatePostgresStandbyDefault

NewCreatePostgresStandbyDefault creates a CreatePostgresStandbyDefault with default headers values

func (*CreatePostgresStandbyDefault) Code added in v0.18.3

Code gets the status code for the create postgres standby default response

func (*CreatePostgresStandbyDefault) Error added in v0.18.3

func (*CreatePostgresStandbyDefault) GetPayload added in v0.18.3

func (*CreatePostgresStandbyDefault) IsClientError added in v0.19.0

func (o *CreatePostgresStandbyDefault) IsClientError() bool

IsClientError returns true when this create postgres standby default response has a 4xx status code

func (*CreatePostgresStandbyDefault) IsCode added in v0.19.0

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

IsCode returns true when this create postgres standby default response a status code equal to that given

func (*CreatePostgresStandbyDefault) IsRedirect added in v0.19.0

func (o *CreatePostgresStandbyDefault) IsRedirect() bool

IsRedirect returns true when this create postgres standby default response has a 3xx status code

func (*CreatePostgresStandbyDefault) IsServerError added in v0.19.0

func (o *CreatePostgresStandbyDefault) IsServerError() bool

IsServerError returns true when this create postgres standby default response has a 5xx status code

func (*CreatePostgresStandbyDefault) IsSuccess added in v0.19.0

func (o *CreatePostgresStandbyDefault) IsSuccess() bool

IsSuccess returns true when this create postgres standby default response has a 2xx status code

func (*CreatePostgresStandbyDefault) String added in v0.19.0

type CreatePostgresStandbyParams added in v0.18.3

type CreatePostgresStandbyParams struct {

	// Body.
	Body *models.V1PostgresCreateStandbyRequest

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

CreatePostgresStandbyParams contains all the parameters to send to the API endpoint

for the create postgres standby operation.

Typically these are written to a http.Request.

func NewCreatePostgresStandbyParams added in v0.18.3

func NewCreatePostgresStandbyParams() *CreatePostgresStandbyParams

NewCreatePostgresStandbyParams creates a new CreatePostgresStandbyParams 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 NewCreatePostgresStandbyParamsWithContext added in v0.18.3

func NewCreatePostgresStandbyParamsWithContext(ctx context.Context) *CreatePostgresStandbyParams

NewCreatePostgresStandbyParamsWithContext creates a new CreatePostgresStandbyParams object with the ability to set a context for a request.

func NewCreatePostgresStandbyParamsWithHTTPClient added in v0.18.3

func NewCreatePostgresStandbyParamsWithHTTPClient(client *http.Client) *CreatePostgresStandbyParams

NewCreatePostgresStandbyParamsWithHTTPClient creates a new CreatePostgresStandbyParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePostgresStandbyParamsWithTimeout added in v0.18.3

func NewCreatePostgresStandbyParamsWithTimeout(timeout time.Duration) *CreatePostgresStandbyParams

NewCreatePostgresStandbyParamsWithTimeout creates a new CreatePostgresStandbyParams object with the ability to set a timeout on a request.

func (*CreatePostgresStandbyParams) SetBody added in v0.18.3

SetBody adds the body to the create postgres standby params

func (*CreatePostgresStandbyParams) SetContext added in v0.18.3

func (o *CreatePostgresStandbyParams) SetContext(ctx context.Context)

SetContext adds the context to the create postgres standby params

func (*CreatePostgresStandbyParams) SetDefaults added in v0.18.3

func (o *CreatePostgresStandbyParams) SetDefaults()

SetDefaults hydrates default values in the create postgres standby params (not the query body).

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

func (*CreatePostgresStandbyParams) SetHTTPClient added in v0.18.3

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

SetHTTPClient adds the HTTPClient to the create postgres standby params

func (*CreatePostgresStandbyParams) SetTimeout added in v0.18.3

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

SetTimeout adds the timeout to the create postgres standby params

func (*CreatePostgresStandbyParams) WithBody added in v0.18.3

WithBody adds the body to the create postgres standby params

func (*CreatePostgresStandbyParams) WithContext added in v0.18.3

WithContext adds the context to the create postgres standby params

func (*CreatePostgresStandbyParams) WithDefaults added in v0.18.3

WithDefaults hydrates default values in the create postgres standby params (not the query body).

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

func (*CreatePostgresStandbyParams) WithHTTPClient added in v0.18.3

WithHTTPClient adds the HTTPClient to the create postgres standby params

func (*CreatePostgresStandbyParams) WithTimeout added in v0.18.3

WithTimeout adds the timeout to the create postgres standby params

func (*CreatePostgresStandbyParams) WriteToRequest added in v0.18.3

WriteToRequest writes these params to a swagger request

type CreatePostgresStandbyReader added in v0.18.3

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

CreatePostgresStandbyReader is a Reader for the CreatePostgresStandby structure.

func (*CreatePostgresStandbyReader) ReadResponse added in v0.18.3

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

ReadResponse reads a server response into the received o.

type DeletePostgresBackupConfigDefault

type DeletePostgresBackupConfigDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

DeletePostgresBackupConfigDefault describes a response with status code -1, with default header values.

Error

func NewDeletePostgresBackupConfigDefault

func NewDeletePostgresBackupConfigDefault(code int) *DeletePostgresBackupConfigDefault

NewDeletePostgresBackupConfigDefault creates a DeletePostgresBackupConfigDefault with default headers values

func (*DeletePostgresBackupConfigDefault) Code

Code gets the status code for the delete postgres backup config default response

func (*DeletePostgresBackupConfigDefault) Error

func (*DeletePostgresBackupConfigDefault) GetPayload

func (*DeletePostgresBackupConfigDefault) IsClientError added in v0.19.0

func (o *DeletePostgresBackupConfigDefault) IsClientError() bool

IsClientError returns true when this delete postgres backup config default response has a 4xx status code

func (*DeletePostgresBackupConfigDefault) IsCode added in v0.19.0

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

IsCode returns true when this delete postgres backup config default response a status code equal to that given

func (*DeletePostgresBackupConfigDefault) IsRedirect added in v0.19.0

func (o *DeletePostgresBackupConfigDefault) IsRedirect() bool

IsRedirect returns true when this delete postgres backup config default response has a 3xx status code

func (*DeletePostgresBackupConfigDefault) IsServerError added in v0.19.0

func (o *DeletePostgresBackupConfigDefault) IsServerError() bool

IsServerError returns true when this delete postgres backup config default response has a 5xx status code

func (*DeletePostgresBackupConfigDefault) IsSuccess added in v0.19.0

func (o *DeletePostgresBackupConfigDefault) IsSuccess() bool

IsSuccess returns true when this delete postgres backup config default response has a 2xx status code

func (*DeletePostgresBackupConfigDefault) String added in v0.19.0

type DeletePostgresBackupConfigOK

type DeletePostgresBackupConfigOK struct {
	Payload *models.V1PostgresBackupConfigResponse
}

DeletePostgresBackupConfigOK describes a response with status code 200, with default header values.

OK

func NewDeletePostgresBackupConfigOK

func NewDeletePostgresBackupConfigOK() *DeletePostgresBackupConfigOK

NewDeletePostgresBackupConfigOK creates a DeletePostgresBackupConfigOK with default headers values

func (*DeletePostgresBackupConfigOK) Error

func (*DeletePostgresBackupConfigOK) GetPayload

func (*DeletePostgresBackupConfigOK) IsClientError added in v0.19.0

func (o *DeletePostgresBackupConfigOK) IsClientError() bool

IsClientError returns true when this delete postgres backup config o k response has a 4xx status code

func (*DeletePostgresBackupConfigOK) IsCode added in v0.19.0

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

IsCode returns true when this delete postgres backup config o k response a status code equal to that given

func (*DeletePostgresBackupConfigOK) IsRedirect added in v0.19.0

func (o *DeletePostgresBackupConfigOK) IsRedirect() bool

IsRedirect returns true when this delete postgres backup config o k response has a 3xx status code

func (*DeletePostgresBackupConfigOK) IsServerError added in v0.19.0

func (o *DeletePostgresBackupConfigOK) IsServerError() bool

IsServerError returns true when this delete postgres backup config o k response has a 5xx status code

func (*DeletePostgresBackupConfigOK) IsSuccess added in v0.19.0

func (o *DeletePostgresBackupConfigOK) IsSuccess() bool

IsSuccess returns true when this delete postgres backup config o k response has a 2xx status code

func (*DeletePostgresBackupConfigOK) String added in v0.19.0

type DeletePostgresBackupConfigParams

type DeletePostgresBackupConfigParams struct {

	/* ID.

	   identifier of the backup config
	*/
	ID string

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

DeletePostgresBackupConfigParams contains all the parameters to send to the API endpoint

for the delete postgres backup config operation.

Typically these are written to a http.Request.

func NewDeletePostgresBackupConfigParams

func NewDeletePostgresBackupConfigParams() *DeletePostgresBackupConfigParams

NewDeletePostgresBackupConfigParams creates a new DeletePostgresBackupConfigParams 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 NewDeletePostgresBackupConfigParamsWithContext

func NewDeletePostgresBackupConfigParamsWithContext(ctx context.Context) *DeletePostgresBackupConfigParams

NewDeletePostgresBackupConfigParamsWithContext creates a new DeletePostgresBackupConfigParams object with the ability to set a context for a request.

func NewDeletePostgresBackupConfigParamsWithHTTPClient

func NewDeletePostgresBackupConfigParamsWithHTTPClient(client *http.Client) *DeletePostgresBackupConfigParams

NewDeletePostgresBackupConfigParamsWithHTTPClient creates a new DeletePostgresBackupConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePostgresBackupConfigParamsWithTimeout

func NewDeletePostgresBackupConfigParamsWithTimeout(timeout time.Duration) *DeletePostgresBackupConfigParams

NewDeletePostgresBackupConfigParamsWithTimeout creates a new DeletePostgresBackupConfigParams object with the ability to set a timeout on a request.

func (*DeletePostgresBackupConfigParams) SetContext

SetContext adds the context to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) SetDefaults

func (o *DeletePostgresBackupConfigParams) SetDefaults()

SetDefaults hydrates default values in the delete postgres backup config params (not the query body).

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

func (*DeletePostgresBackupConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) SetID

SetID adds the id to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) WithContext

WithContext adds the context to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) WithDefaults

WithDefaults hydrates default values in the delete postgres backup config params (not the query body).

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

func (*DeletePostgresBackupConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) WithID

WithID adds the id to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) WithTimeout

WithTimeout adds the timeout to the delete postgres backup config params

func (*DeletePostgresBackupConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePostgresBackupConfigReader

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

DeletePostgresBackupConfigReader is a Reader for the DeletePostgresBackupConfig structure.

func (*DeletePostgresBackupConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePostgresDefault

type DeletePostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

DeletePostgresDefault describes a response with status code -1, with default header values.

Error

func NewDeletePostgresDefault

func NewDeletePostgresDefault(code int) *DeletePostgresDefault

NewDeletePostgresDefault creates a DeletePostgresDefault with default headers values

func (*DeletePostgresDefault) Code

func (o *DeletePostgresDefault) Code() int

Code gets the status code for the delete postgres default response

func (*DeletePostgresDefault) Error

func (o *DeletePostgresDefault) Error() string

func (*DeletePostgresDefault) GetPayload

func (*DeletePostgresDefault) IsClientError added in v0.19.0

func (o *DeletePostgresDefault) IsClientError() bool

IsClientError returns true when this delete postgres default response has a 4xx status code

func (*DeletePostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this delete postgres default response a status code equal to that given

func (*DeletePostgresDefault) IsRedirect added in v0.19.0

func (o *DeletePostgresDefault) IsRedirect() bool

IsRedirect returns true when this delete postgres default response has a 3xx status code

func (*DeletePostgresDefault) IsServerError added in v0.19.0

func (o *DeletePostgresDefault) IsServerError() bool

IsServerError returns true when this delete postgres default response has a 5xx status code

func (*DeletePostgresDefault) IsSuccess added in v0.19.0

func (o *DeletePostgresDefault) IsSuccess() bool

IsSuccess returns true when this delete postgres default response has a 2xx status code

func (*DeletePostgresDefault) String added in v0.19.0

func (o *DeletePostgresDefault) String() string

type DeletePostgresOK

type DeletePostgresOK struct {
	Payload *models.V1PostgresResponse
}

DeletePostgresOK describes a response with status code 200, with default header values.

OK

func NewDeletePostgresOK

func NewDeletePostgresOK() *DeletePostgresOK

NewDeletePostgresOK creates a DeletePostgresOK with default headers values

func (*DeletePostgresOK) Error

func (o *DeletePostgresOK) Error() string

func (*DeletePostgresOK) GetPayload

func (o *DeletePostgresOK) GetPayload() *models.V1PostgresResponse

func (*DeletePostgresOK) IsClientError added in v0.19.0

func (o *DeletePostgresOK) IsClientError() bool

IsClientError returns true when this delete postgres o k response has a 4xx status code

func (*DeletePostgresOK) IsCode added in v0.19.0

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

IsCode returns true when this delete postgres o k response a status code equal to that given

func (*DeletePostgresOK) IsRedirect added in v0.19.0

func (o *DeletePostgresOK) IsRedirect() bool

IsRedirect returns true when this delete postgres o k response has a 3xx status code

func (*DeletePostgresOK) IsServerError added in v0.19.0

func (o *DeletePostgresOK) IsServerError() bool

IsServerError returns true when this delete postgres o k response has a 5xx status code

func (*DeletePostgresOK) IsSuccess added in v0.19.0

func (o *DeletePostgresOK) IsSuccess() bool

IsSuccess returns true when this delete postgres o k response has a 2xx status code

func (*DeletePostgresOK) String added in v0.19.0

func (o *DeletePostgresOK) String() string

type DeletePostgresParams

type DeletePostgresParams struct {

	/* ID.

	   identifier of the postgres
	*/
	ID string

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

DeletePostgresParams contains all the parameters to send to the API endpoint

for the delete postgres operation.

Typically these are written to a http.Request.

func NewDeletePostgresParams

func NewDeletePostgresParams() *DeletePostgresParams

NewDeletePostgresParams creates a new DeletePostgresParams 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 NewDeletePostgresParamsWithContext

func NewDeletePostgresParamsWithContext(ctx context.Context) *DeletePostgresParams

NewDeletePostgresParamsWithContext creates a new DeletePostgresParams object with the ability to set a context for a request.

func NewDeletePostgresParamsWithHTTPClient

func NewDeletePostgresParamsWithHTTPClient(client *http.Client) *DeletePostgresParams

NewDeletePostgresParamsWithHTTPClient creates a new DeletePostgresParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePostgresParamsWithTimeout

func NewDeletePostgresParamsWithTimeout(timeout time.Duration) *DeletePostgresParams

NewDeletePostgresParamsWithTimeout creates a new DeletePostgresParams object with the ability to set a timeout on a request.

func (*DeletePostgresParams) SetContext

func (o *DeletePostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the delete postgres params

func (*DeletePostgresParams) SetDefaults

func (o *DeletePostgresParams) SetDefaults()

SetDefaults hydrates default values in the delete postgres params (not the query body).

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

func (*DeletePostgresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete postgres params

func (*DeletePostgresParams) SetID

func (o *DeletePostgresParams) SetID(id string)

SetID adds the id to the delete postgres params

func (*DeletePostgresParams) SetTimeout

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

SetTimeout adds the timeout to the delete postgres params

func (*DeletePostgresParams) WithContext

WithContext adds the context to the delete postgres params

func (*DeletePostgresParams) WithDefaults

func (o *DeletePostgresParams) WithDefaults() *DeletePostgresParams

WithDefaults hydrates default values in the delete postgres params (not the query body).

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

func (*DeletePostgresParams) WithHTTPClient

func (o *DeletePostgresParams) WithHTTPClient(client *http.Client) *DeletePostgresParams

WithHTTPClient adds the HTTPClient to the delete postgres params

func (*DeletePostgresParams) WithID

WithID adds the id to the delete postgres params

func (*DeletePostgresParams) WithTimeout

func (o *DeletePostgresParams) WithTimeout(timeout time.Duration) *DeletePostgresParams

WithTimeout adds the timeout to the delete postgres params

func (*DeletePostgresParams) WriteToRequest

func (o *DeletePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeletePostgresReader

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

DeletePostgresReader is a Reader for the DeletePostgres structure.

func (*DeletePostgresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindPostgresDefault

type FindPostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FindPostgresDefault describes a response with status code -1, with default header values.

Error

func NewFindPostgresDefault

func NewFindPostgresDefault(code int) *FindPostgresDefault

NewFindPostgresDefault creates a FindPostgresDefault with default headers values

func (*FindPostgresDefault) Code

func (o *FindPostgresDefault) Code() int

Code gets the status code for the find postgres default response

func (*FindPostgresDefault) Error

func (o *FindPostgresDefault) Error() string

func (*FindPostgresDefault) GetPayload

func (*FindPostgresDefault) IsClientError added in v0.19.0

func (o *FindPostgresDefault) IsClientError() bool

IsClientError returns true when this find postgres default response has a 4xx status code

func (*FindPostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this find postgres default response a status code equal to that given

func (*FindPostgresDefault) IsRedirect added in v0.19.0

func (o *FindPostgresDefault) IsRedirect() bool

IsRedirect returns true when this find postgres default response has a 3xx status code

func (*FindPostgresDefault) IsServerError added in v0.19.0

func (o *FindPostgresDefault) IsServerError() bool

IsServerError returns true when this find postgres default response has a 5xx status code

func (*FindPostgresDefault) IsSuccess added in v0.19.0

func (o *FindPostgresDefault) IsSuccess() bool

IsSuccess returns true when this find postgres default response has a 2xx status code

func (*FindPostgresDefault) String added in v0.19.0

func (o *FindPostgresDefault) String() string

type FindPostgresOK

type FindPostgresOK struct {
	Payload []*models.V1PostgresResponse
}

FindPostgresOK describes a response with status code 200, with default header values.

OK

func NewFindPostgresOK

func NewFindPostgresOK() *FindPostgresOK

NewFindPostgresOK creates a FindPostgresOK with default headers values

func (*FindPostgresOK) Error

func (o *FindPostgresOK) Error() string

func (*FindPostgresOK) GetPayload

func (o *FindPostgresOK) GetPayload() []*models.V1PostgresResponse

func (*FindPostgresOK) IsClientError added in v0.19.0

func (o *FindPostgresOK) IsClientError() bool

IsClientError returns true when this find postgres o k response has a 4xx status code

func (*FindPostgresOK) IsCode added in v0.19.0

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

IsCode returns true when this find postgres o k response a status code equal to that given

func (*FindPostgresOK) IsRedirect added in v0.19.0

func (o *FindPostgresOK) IsRedirect() bool

IsRedirect returns true when this find postgres o k response has a 3xx status code

func (*FindPostgresOK) IsServerError added in v0.19.0

func (o *FindPostgresOK) IsServerError() bool

IsServerError returns true when this find postgres o k response has a 5xx status code

func (*FindPostgresOK) IsSuccess added in v0.19.0

func (o *FindPostgresOK) IsSuccess() bool

IsSuccess returns true when this find postgres o k response has a 2xx status code

func (*FindPostgresOK) String added in v0.19.0

func (o *FindPostgresOK) String() string

type FindPostgresParams

type FindPostgresParams struct {

	// Body.
	Body *models.V1PostgresFindRequest

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

FindPostgresParams contains all the parameters to send to the API endpoint

for the find postgres operation.

Typically these are written to a http.Request.

func NewFindPostgresParams

func NewFindPostgresParams() *FindPostgresParams

NewFindPostgresParams creates a new FindPostgresParams 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 NewFindPostgresParamsWithContext

func NewFindPostgresParamsWithContext(ctx context.Context) *FindPostgresParams

NewFindPostgresParamsWithContext creates a new FindPostgresParams object with the ability to set a context for a request.

func NewFindPostgresParamsWithHTTPClient

func NewFindPostgresParamsWithHTTPClient(client *http.Client) *FindPostgresParams

NewFindPostgresParamsWithHTTPClient creates a new FindPostgresParams object with the ability to set a custom HTTPClient for a request.

func NewFindPostgresParamsWithTimeout

func NewFindPostgresParamsWithTimeout(timeout time.Duration) *FindPostgresParams

NewFindPostgresParamsWithTimeout creates a new FindPostgresParams object with the ability to set a timeout on a request.

func (*FindPostgresParams) SetBody

SetBody adds the body to the find postgres params

func (*FindPostgresParams) SetContext

func (o *FindPostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the find postgres params

func (*FindPostgresParams) SetDefaults

func (o *FindPostgresParams) SetDefaults()

SetDefaults hydrates default values in the find postgres params (not the query body).

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

func (*FindPostgresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find postgres params

func (*FindPostgresParams) SetTimeout

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

SetTimeout adds the timeout to the find postgres params

func (*FindPostgresParams) WithBody

WithBody adds the body to the find postgres params

func (*FindPostgresParams) WithContext

WithContext adds the context to the find postgres params

func (*FindPostgresParams) WithDefaults

func (o *FindPostgresParams) WithDefaults() *FindPostgresParams

WithDefaults hydrates default values in the find postgres params (not the query body).

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

func (*FindPostgresParams) WithHTTPClient

func (o *FindPostgresParams) WithHTTPClient(client *http.Client) *FindPostgresParams

WithHTTPClient adds the HTTPClient to the find postgres params

func (*FindPostgresParams) WithTimeout

func (o *FindPostgresParams) WithTimeout(timeout time.Duration) *FindPostgresParams

WithTimeout adds the timeout to the find postgres params

func (*FindPostgresParams) WriteToRequest

func (o *FindPostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FindPostgresReader

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

FindPostgresReader is a Reader for the FindPostgres structure.

func (*FindPostgresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupConfigDefault

type GetBackupConfigDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetBackupConfigDefault describes a response with status code -1, with default header values.

Error

func NewGetBackupConfigDefault

func NewGetBackupConfigDefault(code int) *GetBackupConfigDefault

NewGetBackupConfigDefault creates a GetBackupConfigDefault with default headers values

func (*GetBackupConfigDefault) Code

func (o *GetBackupConfigDefault) Code() int

Code gets the status code for the get backup config default response

func (*GetBackupConfigDefault) Error

func (o *GetBackupConfigDefault) Error() string

func (*GetBackupConfigDefault) GetPayload

func (*GetBackupConfigDefault) IsClientError added in v0.19.0

func (o *GetBackupConfigDefault) IsClientError() bool

IsClientError returns true when this get backup config default response has a 4xx status code

func (*GetBackupConfigDefault) IsCode added in v0.19.0

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

IsCode returns true when this get backup config default response a status code equal to that given

func (*GetBackupConfigDefault) IsRedirect added in v0.19.0

func (o *GetBackupConfigDefault) IsRedirect() bool

IsRedirect returns true when this get backup config default response has a 3xx status code

func (*GetBackupConfigDefault) IsServerError added in v0.19.0

func (o *GetBackupConfigDefault) IsServerError() bool

IsServerError returns true when this get backup config default response has a 5xx status code

func (*GetBackupConfigDefault) IsSuccess added in v0.19.0

func (o *GetBackupConfigDefault) IsSuccess() bool

IsSuccess returns true when this get backup config default response has a 2xx status code

func (*GetBackupConfigDefault) String added in v0.19.0

func (o *GetBackupConfigDefault) String() string

type GetBackupConfigOK

type GetBackupConfigOK struct {
	Payload *models.V1PostgresBackupConfigResponse
}

GetBackupConfigOK describes a response with status code 200, with default header values.

OK

func NewGetBackupConfigOK

func NewGetBackupConfigOK() *GetBackupConfigOK

NewGetBackupConfigOK creates a GetBackupConfigOK with default headers values

func (*GetBackupConfigOK) Error

func (o *GetBackupConfigOK) Error() string

func (*GetBackupConfigOK) GetPayload

func (*GetBackupConfigOK) IsClientError added in v0.19.0

func (o *GetBackupConfigOK) IsClientError() bool

IsClientError returns true when this get backup config o k response has a 4xx status code

func (*GetBackupConfigOK) IsCode added in v0.19.0

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

IsCode returns true when this get backup config o k response a status code equal to that given

func (*GetBackupConfigOK) IsRedirect added in v0.19.0

func (o *GetBackupConfigOK) IsRedirect() bool

IsRedirect returns true when this get backup config o k response has a 3xx status code

func (*GetBackupConfigOK) IsServerError added in v0.19.0

func (o *GetBackupConfigOK) IsServerError() bool

IsServerError returns true when this get backup config o k response has a 5xx status code

func (*GetBackupConfigOK) IsSuccess added in v0.19.0

func (o *GetBackupConfigOK) IsSuccess() bool

IsSuccess returns true when this get backup config o k response has a 2xx status code

func (*GetBackupConfigOK) String added in v0.19.0

func (o *GetBackupConfigOK) String() string

type GetBackupConfigParams

type GetBackupConfigParams struct {

	/* ID.

	   identifier of the backup config
	*/
	ID string

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

GetBackupConfigParams contains all the parameters to send to the API endpoint

for the get backup config operation.

Typically these are written to a http.Request.

func NewGetBackupConfigParams

func NewGetBackupConfigParams() *GetBackupConfigParams

NewGetBackupConfigParams creates a new GetBackupConfigParams 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 NewGetBackupConfigParamsWithContext

func NewGetBackupConfigParamsWithContext(ctx context.Context) *GetBackupConfigParams

NewGetBackupConfigParamsWithContext creates a new GetBackupConfigParams object with the ability to set a context for a request.

func NewGetBackupConfigParamsWithHTTPClient

func NewGetBackupConfigParamsWithHTTPClient(client *http.Client) *GetBackupConfigParams

NewGetBackupConfigParamsWithHTTPClient creates a new GetBackupConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetBackupConfigParamsWithTimeout

func NewGetBackupConfigParamsWithTimeout(timeout time.Duration) *GetBackupConfigParams

NewGetBackupConfigParamsWithTimeout creates a new GetBackupConfigParams object with the ability to set a timeout on a request.

func (*GetBackupConfigParams) SetContext

func (o *GetBackupConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the get backup config params

func (*GetBackupConfigParams) SetDefaults

func (o *GetBackupConfigParams) SetDefaults()

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

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

func (*GetBackupConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup config params

func (*GetBackupConfigParams) SetID

func (o *GetBackupConfigParams) SetID(id string)

SetID adds the id to the get backup config params

func (*GetBackupConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get backup config params

func (*GetBackupConfigParams) WithContext

WithContext adds the context to the get backup config params

func (*GetBackupConfigParams) WithDefaults

func (o *GetBackupConfigParams) WithDefaults() *GetBackupConfigParams

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

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

func (*GetBackupConfigParams) WithHTTPClient

func (o *GetBackupConfigParams) WithHTTPClient(client *http.Client) *GetBackupConfigParams

WithHTTPClient adds the HTTPClient to the get backup config params

func (*GetBackupConfigParams) WithID

WithID adds the id to the get backup config params

func (*GetBackupConfigParams) WithTimeout

func (o *GetBackupConfigParams) WithTimeout(timeout time.Duration) *GetBackupConfigParams

WithTimeout adds the timeout to the get backup config params

func (*GetBackupConfigParams) WriteToRequest

func (o *GetBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBackupConfigReader

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

GetBackupConfigReader is a Reader for the GetBackupConfig structure.

func (*GetBackupConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPostgresBackupsDefault

type GetPostgresBackupsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetPostgresBackupsDefault describes a response with status code -1, with default header values.

Error

func NewGetPostgresBackupsDefault

func NewGetPostgresBackupsDefault(code int) *GetPostgresBackupsDefault

NewGetPostgresBackupsDefault creates a GetPostgresBackupsDefault with default headers values

func (*GetPostgresBackupsDefault) Code

func (o *GetPostgresBackupsDefault) Code() int

Code gets the status code for the get postgres backups default response

func (*GetPostgresBackupsDefault) Error

func (o *GetPostgresBackupsDefault) Error() string

func (*GetPostgresBackupsDefault) GetPayload

func (*GetPostgresBackupsDefault) IsClientError added in v0.19.0

func (o *GetPostgresBackupsDefault) IsClientError() bool

IsClientError returns true when this get postgres backups default response has a 4xx status code

func (*GetPostgresBackupsDefault) IsCode added in v0.19.0

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

IsCode returns true when this get postgres backups default response a status code equal to that given

func (*GetPostgresBackupsDefault) IsRedirect added in v0.19.0

func (o *GetPostgresBackupsDefault) IsRedirect() bool

IsRedirect returns true when this get postgres backups default response has a 3xx status code

func (*GetPostgresBackupsDefault) IsServerError added in v0.19.0

func (o *GetPostgresBackupsDefault) IsServerError() bool

IsServerError returns true when this get postgres backups default response has a 5xx status code

func (*GetPostgresBackupsDefault) IsSuccess added in v0.19.0

func (o *GetPostgresBackupsDefault) IsSuccess() bool

IsSuccess returns true when this get postgres backups default response has a 2xx status code

func (*GetPostgresBackupsDefault) String added in v0.19.0

func (o *GetPostgresBackupsDefault) String() string

type GetPostgresBackupsOK

type GetPostgresBackupsOK struct {
	Payload []*models.V1PostgresBackupEntry
}

GetPostgresBackupsOK describes a response with status code 200, with default header values.

OK

func NewGetPostgresBackupsOK

func NewGetPostgresBackupsOK() *GetPostgresBackupsOK

NewGetPostgresBackupsOK creates a GetPostgresBackupsOK with default headers values

func (*GetPostgresBackupsOK) Error

func (o *GetPostgresBackupsOK) Error() string

func (*GetPostgresBackupsOK) GetPayload

func (*GetPostgresBackupsOK) IsClientError added in v0.19.0

func (o *GetPostgresBackupsOK) IsClientError() bool

IsClientError returns true when this get postgres backups o k response has a 4xx status code

func (*GetPostgresBackupsOK) IsCode added in v0.19.0

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

IsCode returns true when this get postgres backups o k response a status code equal to that given

func (*GetPostgresBackupsOK) IsRedirect added in v0.19.0

func (o *GetPostgresBackupsOK) IsRedirect() bool

IsRedirect returns true when this get postgres backups o k response has a 3xx status code

func (*GetPostgresBackupsOK) IsServerError added in v0.19.0

func (o *GetPostgresBackupsOK) IsServerError() bool

IsServerError returns true when this get postgres backups o k response has a 5xx status code

func (*GetPostgresBackupsOK) IsSuccess added in v0.19.0

func (o *GetPostgresBackupsOK) IsSuccess() bool

IsSuccess returns true when this get postgres backups o k response has a 2xx status code

func (*GetPostgresBackupsOK) String added in v0.19.0

func (o *GetPostgresBackupsOK) String() string

type GetPostgresBackupsParams

type GetPostgresBackupsParams struct {

	/* ID.

	   identifier of the postgres
	*/
	ID string

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

GetPostgresBackupsParams contains all the parameters to send to the API endpoint

for the get postgres backups operation.

Typically these are written to a http.Request.

func NewGetPostgresBackupsParams

func NewGetPostgresBackupsParams() *GetPostgresBackupsParams

NewGetPostgresBackupsParams creates a new GetPostgresBackupsParams 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 NewGetPostgresBackupsParamsWithContext

func NewGetPostgresBackupsParamsWithContext(ctx context.Context) *GetPostgresBackupsParams

NewGetPostgresBackupsParamsWithContext creates a new GetPostgresBackupsParams object with the ability to set a context for a request.

func NewGetPostgresBackupsParamsWithHTTPClient

func NewGetPostgresBackupsParamsWithHTTPClient(client *http.Client) *GetPostgresBackupsParams

NewGetPostgresBackupsParamsWithHTTPClient creates a new GetPostgresBackupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPostgresBackupsParamsWithTimeout

func NewGetPostgresBackupsParamsWithTimeout(timeout time.Duration) *GetPostgresBackupsParams

NewGetPostgresBackupsParamsWithTimeout creates a new GetPostgresBackupsParams object with the ability to set a timeout on a request.

func (*GetPostgresBackupsParams) SetContext

func (o *GetPostgresBackupsParams) SetContext(ctx context.Context)

SetContext adds the context to the get postgres backups params

func (*GetPostgresBackupsParams) SetDefaults

func (o *GetPostgresBackupsParams) SetDefaults()

SetDefaults hydrates default values in the get postgres backups params (not the query body).

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

func (*GetPostgresBackupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get postgres backups params

func (*GetPostgresBackupsParams) SetID

func (o *GetPostgresBackupsParams) SetID(id string)

SetID adds the id to the get postgres backups params

func (*GetPostgresBackupsParams) SetTimeout

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

SetTimeout adds the timeout to the get postgres backups params

func (*GetPostgresBackupsParams) WithContext

WithContext adds the context to the get postgres backups params

func (*GetPostgresBackupsParams) WithDefaults

WithDefaults hydrates default values in the get postgres backups params (not the query body).

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

func (*GetPostgresBackupsParams) WithHTTPClient

func (o *GetPostgresBackupsParams) WithHTTPClient(client *http.Client) *GetPostgresBackupsParams

WithHTTPClient adds the HTTPClient to the get postgres backups params

func (*GetPostgresBackupsParams) WithID

WithID adds the id to the get postgres backups params

func (*GetPostgresBackupsParams) WithTimeout

WithTimeout adds the timeout to the get postgres backups params

func (*GetPostgresBackupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPostgresBackupsReader

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

GetPostgresBackupsReader is a Reader for the GetPostgresBackups structure.

func (*GetPostgresBackupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPostgresDefault

type GetPostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetPostgresDefault describes a response with status code -1, with default header values.

Error

func NewGetPostgresDefault

func NewGetPostgresDefault(code int) *GetPostgresDefault

NewGetPostgresDefault creates a GetPostgresDefault with default headers values

func (*GetPostgresDefault) Code

func (o *GetPostgresDefault) Code() int

Code gets the status code for the get postgres default response

func (*GetPostgresDefault) Error

func (o *GetPostgresDefault) Error() string

func (*GetPostgresDefault) GetPayload

func (*GetPostgresDefault) IsClientError added in v0.19.0

func (o *GetPostgresDefault) IsClientError() bool

IsClientError returns true when this get postgres default response has a 4xx status code

func (*GetPostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this get postgres default response a status code equal to that given

func (*GetPostgresDefault) IsRedirect added in v0.19.0

func (o *GetPostgresDefault) IsRedirect() bool

IsRedirect returns true when this get postgres default response has a 3xx status code

func (*GetPostgresDefault) IsServerError added in v0.19.0

func (o *GetPostgresDefault) IsServerError() bool

IsServerError returns true when this get postgres default response has a 5xx status code

func (*GetPostgresDefault) IsSuccess added in v0.19.0

func (o *GetPostgresDefault) IsSuccess() bool

IsSuccess returns true when this get postgres default response has a 2xx status code

func (*GetPostgresDefault) String added in v0.19.0

func (o *GetPostgresDefault) String() string

type GetPostgresOK

type GetPostgresOK struct {
	Payload *models.V1PostgresResponse
}

GetPostgresOK describes a response with status code 200, with default header values.

OK

func NewGetPostgresOK

func NewGetPostgresOK() *GetPostgresOK

NewGetPostgresOK creates a GetPostgresOK with default headers values

func (*GetPostgresOK) Error

func (o *GetPostgresOK) Error() string

func (*GetPostgresOK) GetPayload

func (o *GetPostgresOK) GetPayload() *models.V1PostgresResponse

func (*GetPostgresOK) IsClientError added in v0.19.0

func (o *GetPostgresOK) IsClientError() bool

IsClientError returns true when this get postgres o k response has a 4xx status code

func (*GetPostgresOK) IsCode added in v0.19.0

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

IsCode returns true when this get postgres o k response a status code equal to that given

func (*GetPostgresOK) IsRedirect added in v0.19.0

func (o *GetPostgresOK) IsRedirect() bool

IsRedirect returns true when this get postgres o k response has a 3xx status code

func (*GetPostgresOK) IsServerError added in v0.19.0

func (o *GetPostgresOK) IsServerError() bool

IsServerError returns true when this get postgres o k response has a 5xx status code

func (*GetPostgresOK) IsSuccess added in v0.19.0

func (o *GetPostgresOK) IsSuccess() bool

IsSuccess returns true when this get postgres o k response has a 2xx status code

func (*GetPostgresOK) String added in v0.19.0

func (o *GetPostgresOK) String() string

type GetPostgresParams

type GetPostgresParams struct {

	/* ID.

	   identifier of the postgres
	*/
	ID string

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

GetPostgresParams contains all the parameters to send to the API endpoint

for the get postgres operation.

Typically these are written to a http.Request.

func NewGetPostgresParams

func NewGetPostgresParams() *GetPostgresParams

NewGetPostgresParams creates a new GetPostgresParams 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 NewGetPostgresParamsWithContext

func NewGetPostgresParamsWithContext(ctx context.Context) *GetPostgresParams

NewGetPostgresParamsWithContext creates a new GetPostgresParams object with the ability to set a context for a request.

func NewGetPostgresParamsWithHTTPClient

func NewGetPostgresParamsWithHTTPClient(client *http.Client) *GetPostgresParams

NewGetPostgresParamsWithHTTPClient creates a new GetPostgresParams object with the ability to set a custom HTTPClient for a request.

func NewGetPostgresParamsWithTimeout

func NewGetPostgresParamsWithTimeout(timeout time.Duration) *GetPostgresParams

NewGetPostgresParamsWithTimeout creates a new GetPostgresParams object with the ability to set a timeout on a request.

func (*GetPostgresParams) SetContext

func (o *GetPostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the get postgres params

func (*GetPostgresParams) SetDefaults

func (o *GetPostgresParams) SetDefaults()

SetDefaults hydrates default values in the get postgres params (not the query body).

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

func (*GetPostgresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get postgres params

func (*GetPostgresParams) SetID

func (o *GetPostgresParams) SetID(id string)

SetID adds the id to the get postgres params

func (*GetPostgresParams) SetTimeout

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

SetTimeout adds the timeout to the get postgres params

func (*GetPostgresParams) WithContext

func (o *GetPostgresParams) WithContext(ctx context.Context) *GetPostgresParams

WithContext adds the context to the get postgres params

func (*GetPostgresParams) WithDefaults

func (o *GetPostgresParams) WithDefaults() *GetPostgresParams

WithDefaults hydrates default values in the get postgres params (not the query body).

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

func (*GetPostgresParams) WithHTTPClient

func (o *GetPostgresParams) WithHTTPClient(client *http.Client) *GetPostgresParams

WithHTTPClient adds the HTTPClient to the get postgres params

func (*GetPostgresParams) WithID

WithID adds the id to the get postgres params

func (*GetPostgresParams) WithTimeout

func (o *GetPostgresParams) WithTimeout(timeout time.Duration) *GetPostgresParams

WithTimeout adds the timeout to the get postgres params

func (*GetPostgresParams) WriteToRequest

func (o *GetPostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPostgresPartitionsDefault

type GetPostgresPartitionsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetPostgresPartitionsDefault describes a response with status code -1, with default header values.

Error

func NewGetPostgresPartitionsDefault

func NewGetPostgresPartitionsDefault(code int) *GetPostgresPartitionsDefault

NewGetPostgresPartitionsDefault creates a GetPostgresPartitionsDefault with default headers values

func (*GetPostgresPartitionsDefault) Code

Code gets the status code for the get postgres partitions default response

func (*GetPostgresPartitionsDefault) Error

func (*GetPostgresPartitionsDefault) GetPayload

func (*GetPostgresPartitionsDefault) IsClientError added in v0.19.0

func (o *GetPostgresPartitionsDefault) IsClientError() bool

IsClientError returns true when this get postgres partitions default response has a 4xx status code

func (*GetPostgresPartitionsDefault) IsCode added in v0.19.0

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

IsCode returns true when this get postgres partitions default response a status code equal to that given

func (*GetPostgresPartitionsDefault) IsRedirect added in v0.19.0

func (o *GetPostgresPartitionsDefault) IsRedirect() bool

IsRedirect returns true when this get postgres partitions default response has a 3xx status code

func (*GetPostgresPartitionsDefault) IsServerError added in v0.19.0

func (o *GetPostgresPartitionsDefault) IsServerError() bool

IsServerError returns true when this get postgres partitions default response has a 5xx status code

func (*GetPostgresPartitionsDefault) IsSuccess added in v0.19.0

func (o *GetPostgresPartitionsDefault) IsSuccess() bool

IsSuccess returns true when this get postgres partitions default response has a 2xx status code

func (*GetPostgresPartitionsDefault) String added in v0.19.0

type GetPostgresPartitionsOK

type GetPostgresPartitionsOK struct {
	Payload models.V1PostgresPartitionsResponse
}

GetPostgresPartitionsOK describes a response with status code 200, with default header values.

OK

func NewGetPostgresPartitionsOK

func NewGetPostgresPartitionsOK() *GetPostgresPartitionsOK

NewGetPostgresPartitionsOK creates a GetPostgresPartitionsOK with default headers values

func (*GetPostgresPartitionsOK) Error

func (o *GetPostgresPartitionsOK) Error() string

func (*GetPostgresPartitionsOK) GetPayload

func (*GetPostgresPartitionsOK) IsClientError added in v0.19.0

func (o *GetPostgresPartitionsOK) IsClientError() bool

IsClientError returns true when this get postgres partitions o k response has a 4xx status code

func (*GetPostgresPartitionsOK) IsCode added in v0.19.0

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

IsCode returns true when this get postgres partitions o k response a status code equal to that given

func (*GetPostgresPartitionsOK) IsRedirect added in v0.19.0

func (o *GetPostgresPartitionsOK) IsRedirect() bool

IsRedirect returns true when this get postgres partitions o k response has a 3xx status code

func (*GetPostgresPartitionsOK) IsServerError added in v0.19.0

func (o *GetPostgresPartitionsOK) IsServerError() bool

IsServerError returns true when this get postgres partitions o k response has a 5xx status code

func (*GetPostgresPartitionsOK) IsSuccess added in v0.19.0

func (o *GetPostgresPartitionsOK) IsSuccess() bool

IsSuccess returns true when this get postgres partitions o k response has a 2xx status code

func (*GetPostgresPartitionsOK) String added in v0.19.0

func (o *GetPostgresPartitionsOK) String() string

type GetPostgresPartitionsParams

type GetPostgresPartitionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPostgresPartitionsParams contains all the parameters to send to the API endpoint

for the get postgres partitions operation.

Typically these are written to a http.Request.

func NewGetPostgresPartitionsParams

func NewGetPostgresPartitionsParams() *GetPostgresPartitionsParams

NewGetPostgresPartitionsParams creates a new GetPostgresPartitionsParams 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 NewGetPostgresPartitionsParamsWithContext

func NewGetPostgresPartitionsParamsWithContext(ctx context.Context) *GetPostgresPartitionsParams

NewGetPostgresPartitionsParamsWithContext creates a new GetPostgresPartitionsParams object with the ability to set a context for a request.

func NewGetPostgresPartitionsParamsWithHTTPClient

func NewGetPostgresPartitionsParamsWithHTTPClient(client *http.Client) *GetPostgresPartitionsParams

NewGetPostgresPartitionsParamsWithHTTPClient creates a new GetPostgresPartitionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPostgresPartitionsParamsWithTimeout

func NewGetPostgresPartitionsParamsWithTimeout(timeout time.Duration) *GetPostgresPartitionsParams

NewGetPostgresPartitionsParamsWithTimeout creates a new GetPostgresPartitionsParams object with the ability to set a timeout on a request.

func (*GetPostgresPartitionsParams) SetContext

func (o *GetPostgresPartitionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get postgres partitions params

func (*GetPostgresPartitionsParams) SetDefaults

func (o *GetPostgresPartitionsParams) SetDefaults()

SetDefaults hydrates default values in the get postgres partitions params (not the query body).

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

func (*GetPostgresPartitionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get postgres partitions params

func (*GetPostgresPartitionsParams) SetTimeout

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

SetTimeout adds the timeout to the get postgres partitions params

func (*GetPostgresPartitionsParams) WithContext

WithContext adds the context to the get postgres partitions params

func (*GetPostgresPartitionsParams) WithDefaults

WithDefaults hydrates default values in the get postgres partitions params (not the query body).

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

func (*GetPostgresPartitionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get postgres partitions params

func (*GetPostgresPartitionsParams) WithTimeout

WithTimeout adds the timeout to the get postgres partitions params

func (*GetPostgresPartitionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPostgresPartitionsReader

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

GetPostgresPartitionsReader is a Reader for the GetPostgresPartitions structure.

func (*GetPostgresPartitionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPostgresReader

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

GetPostgresReader is a Reader for the GetPostgres structure.

func (*GetPostgresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPostgresSecretsDefault

type GetPostgresSecretsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetPostgresSecretsDefault describes a response with status code -1, with default header values.

Error

func NewGetPostgresSecretsDefault

func NewGetPostgresSecretsDefault(code int) *GetPostgresSecretsDefault

NewGetPostgresSecretsDefault creates a GetPostgresSecretsDefault with default headers values

func (*GetPostgresSecretsDefault) Code

func (o *GetPostgresSecretsDefault) Code() int

Code gets the status code for the get postgres secrets default response

func (*GetPostgresSecretsDefault) Error

func (o *GetPostgresSecretsDefault) Error() string

func (*GetPostgresSecretsDefault) GetPayload

func (*GetPostgresSecretsDefault) IsClientError added in v0.19.0

func (o *GetPostgresSecretsDefault) IsClientError() bool

IsClientError returns true when this get postgres secrets default response has a 4xx status code

func (*GetPostgresSecretsDefault) IsCode added in v0.19.0

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

IsCode returns true when this get postgres secrets default response a status code equal to that given

func (*GetPostgresSecretsDefault) IsRedirect added in v0.19.0

func (o *GetPostgresSecretsDefault) IsRedirect() bool

IsRedirect returns true when this get postgres secrets default response has a 3xx status code

func (*GetPostgresSecretsDefault) IsServerError added in v0.19.0

func (o *GetPostgresSecretsDefault) IsServerError() bool

IsServerError returns true when this get postgres secrets default response has a 5xx status code

func (*GetPostgresSecretsDefault) IsSuccess added in v0.19.0

func (o *GetPostgresSecretsDefault) IsSuccess() bool

IsSuccess returns true when this get postgres secrets default response has a 2xx status code

func (*GetPostgresSecretsDefault) String added in v0.19.0

func (o *GetPostgresSecretsDefault) String() string

type GetPostgresSecretsOK

type GetPostgresSecretsOK struct {
	Payload *models.V1PostgresSecretsRespone
}

GetPostgresSecretsOK describes a response with status code 200, with default header values.

OK

func NewGetPostgresSecretsOK

func NewGetPostgresSecretsOK() *GetPostgresSecretsOK

NewGetPostgresSecretsOK creates a GetPostgresSecretsOK with default headers values

func (*GetPostgresSecretsOK) Error

func (o *GetPostgresSecretsOK) Error() string

func (*GetPostgresSecretsOK) GetPayload

func (*GetPostgresSecretsOK) IsClientError added in v0.19.0

func (o *GetPostgresSecretsOK) IsClientError() bool

IsClientError returns true when this get postgres secrets o k response has a 4xx status code

func (*GetPostgresSecretsOK) IsCode added in v0.19.0

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

IsCode returns true when this get postgres secrets o k response a status code equal to that given

func (*GetPostgresSecretsOK) IsRedirect added in v0.19.0

func (o *GetPostgresSecretsOK) IsRedirect() bool

IsRedirect returns true when this get postgres secrets o k response has a 3xx status code

func (*GetPostgresSecretsOK) IsServerError added in v0.19.0

func (o *GetPostgresSecretsOK) IsServerError() bool

IsServerError returns true when this get postgres secrets o k response has a 5xx status code

func (*GetPostgresSecretsOK) IsSuccess added in v0.19.0

func (o *GetPostgresSecretsOK) IsSuccess() bool

IsSuccess returns true when this get postgres secrets o k response has a 2xx status code

func (*GetPostgresSecretsOK) String added in v0.19.0

func (o *GetPostgresSecretsOK) String() string

type GetPostgresSecretsParams

type GetPostgresSecretsParams struct {

	/* ID.

	   identifier of the postgres
	*/
	ID string

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

GetPostgresSecretsParams contains all the parameters to send to the API endpoint

for the get postgres secrets operation.

Typically these are written to a http.Request.

func NewGetPostgresSecretsParams

func NewGetPostgresSecretsParams() *GetPostgresSecretsParams

NewGetPostgresSecretsParams creates a new GetPostgresSecretsParams 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 NewGetPostgresSecretsParamsWithContext

func NewGetPostgresSecretsParamsWithContext(ctx context.Context) *GetPostgresSecretsParams

NewGetPostgresSecretsParamsWithContext creates a new GetPostgresSecretsParams object with the ability to set a context for a request.

func NewGetPostgresSecretsParamsWithHTTPClient

func NewGetPostgresSecretsParamsWithHTTPClient(client *http.Client) *GetPostgresSecretsParams

NewGetPostgresSecretsParamsWithHTTPClient creates a new GetPostgresSecretsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPostgresSecretsParamsWithTimeout

func NewGetPostgresSecretsParamsWithTimeout(timeout time.Duration) *GetPostgresSecretsParams

NewGetPostgresSecretsParamsWithTimeout creates a new GetPostgresSecretsParams object with the ability to set a timeout on a request.

func (*GetPostgresSecretsParams) SetContext

func (o *GetPostgresSecretsParams) SetContext(ctx context.Context)

SetContext adds the context to the get postgres secrets params

func (*GetPostgresSecretsParams) SetDefaults

func (o *GetPostgresSecretsParams) SetDefaults()

SetDefaults hydrates default values in the get postgres secrets params (not the query body).

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

func (*GetPostgresSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get postgres secrets params

func (*GetPostgresSecretsParams) SetID

func (o *GetPostgresSecretsParams) SetID(id string)

SetID adds the id to the get postgres secrets params

func (*GetPostgresSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the get postgres secrets params

func (*GetPostgresSecretsParams) WithContext

WithContext adds the context to the get postgres secrets params

func (*GetPostgresSecretsParams) WithDefaults

WithDefaults hydrates default values in the get postgres secrets params (not the query body).

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

func (*GetPostgresSecretsParams) WithHTTPClient

func (o *GetPostgresSecretsParams) WithHTTPClient(client *http.Client) *GetPostgresSecretsParams

WithHTTPClient adds the HTTPClient to the get postgres secrets params

func (*GetPostgresSecretsParams) WithID

WithID adds the id to the get postgres secrets params

func (*GetPostgresSecretsParams) WithTimeout

WithTimeout adds the timeout to the get postgres secrets params

func (*GetPostgresSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPostgresSecretsReader

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

GetPostgresSecretsReader is a Reader for the GetPostgresSecrets structure.

func (*GetPostgresSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPostgresVersionsDefault

type GetPostgresVersionsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

GetPostgresVersionsDefault describes a response with status code -1, with default header values.

Error

func NewGetPostgresVersionsDefault

func NewGetPostgresVersionsDefault(code int) *GetPostgresVersionsDefault

NewGetPostgresVersionsDefault creates a GetPostgresVersionsDefault with default headers values

func (*GetPostgresVersionsDefault) Code

func (o *GetPostgresVersionsDefault) Code() int

Code gets the status code for the get postgres versions default response

func (*GetPostgresVersionsDefault) Error

func (*GetPostgresVersionsDefault) GetPayload

func (*GetPostgresVersionsDefault) IsClientError added in v0.19.0

func (o *GetPostgresVersionsDefault) IsClientError() bool

IsClientError returns true when this get postgres versions default response has a 4xx status code

func (*GetPostgresVersionsDefault) IsCode added in v0.19.0

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

IsCode returns true when this get postgres versions default response a status code equal to that given

func (*GetPostgresVersionsDefault) IsRedirect added in v0.19.0

func (o *GetPostgresVersionsDefault) IsRedirect() bool

IsRedirect returns true when this get postgres versions default response has a 3xx status code

func (*GetPostgresVersionsDefault) IsServerError added in v0.19.0

func (o *GetPostgresVersionsDefault) IsServerError() bool

IsServerError returns true when this get postgres versions default response has a 5xx status code

func (*GetPostgresVersionsDefault) IsSuccess added in v0.19.0

func (o *GetPostgresVersionsDefault) IsSuccess() bool

IsSuccess returns true when this get postgres versions default response has a 2xx status code

func (*GetPostgresVersionsDefault) String added in v0.19.0

func (o *GetPostgresVersionsDefault) String() string

type GetPostgresVersionsOK

type GetPostgresVersionsOK struct {
	Payload []*models.V1PostgresVersion
}

GetPostgresVersionsOK describes a response with status code 200, with default header values.

OK

func NewGetPostgresVersionsOK

func NewGetPostgresVersionsOK() *GetPostgresVersionsOK

NewGetPostgresVersionsOK creates a GetPostgresVersionsOK with default headers values

func (*GetPostgresVersionsOK) Error

func (o *GetPostgresVersionsOK) Error() string

func (*GetPostgresVersionsOK) GetPayload

func (o *GetPostgresVersionsOK) GetPayload() []*models.V1PostgresVersion

func (*GetPostgresVersionsOK) IsClientError added in v0.19.0

func (o *GetPostgresVersionsOK) IsClientError() bool

IsClientError returns true when this get postgres versions o k response has a 4xx status code

func (*GetPostgresVersionsOK) IsCode added in v0.19.0

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

IsCode returns true when this get postgres versions o k response a status code equal to that given

func (*GetPostgresVersionsOK) IsRedirect added in v0.19.0

func (o *GetPostgresVersionsOK) IsRedirect() bool

IsRedirect returns true when this get postgres versions o k response has a 3xx status code

func (*GetPostgresVersionsOK) IsServerError added in v0.19.0

func (o *GetPostgresVersionsOK) IsServerError() bool

IsServerError returns true when this get postgres versions o k response has a 5xx status code

func (*GetPostgresVersionsOK) IsSuccess added in v0.19.0

func (o *GetPostgresVersionsOK) IsSuccess() bool

IsSuccess returns true when this get postgres versions o k response has a 2xx status code

func (*GetPostgresVersionsOK) String added in v0.19.0

func (o *GetPostgresVersionsOK) String() string

type GetPostgresVersionsParams

type GetPostgresVersionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPostgresVersionsParams contains all the parameters to send to the API endpoint

for the get postgres versions operation.

Typically these are written to a http.Request.

func NewGetPostgresVersionsParams

func NewGetPostgresVersionsParams() *GetPostgresVersionsParams

NewGetPostgresVersionsParams creates a new GetPostgresVersionsParams 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 NewGetPostgresVersionsParamsWithContext

func NewGetPostgresVersionsParamsWithContext(ctx context.Context) *GetPostgresVersionsParams

NewGetPostgresVersionsParamsWithContext creates a new GetPostgresVersionsParams object with the ability to set a context for a request.

func NewGetPostgresVersionsParamsWithHTTPClient

func NewGetPostgresVersionsParamsWithHTTPClient(client *http.Client) *GetPostgresVersionsParams

NewGetPostgresVersionsParamsWithHTTPClient creates a new GetPostgresVersionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPostgresVersionsParamsWithTimeout

func NewGetPostgresVersionsParamsWithTimeout(timeout time.Duration) *GetPostgresVersionsParams

NewGetPostgresVersionsParamsWithTimeout creates a new GetPostgresVersionsParams object with the ability to set a timeout on a request.

func (*GetPostgresVersionsParams) SetContext

func (o *GetPostgresVersionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get postgres versions params

func (*GetPostgresVersionsParams) SetDefaults

func (o *GetPostgresVersionsParams) SetDefaults()

SetDefaults hydrates default values in the get postgres versions params (not the query body).

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

func (*GetPostgresVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get postgres versions params

func (*GetPostgresVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the get postgres versions params

func (*GetPostgresVersionsParams) WithContext

WithContext adds the context to the get postgres versions params

func (*GetPostgresVersionsParams) WithDefaults

WithDefaults hydrates default values in the get postgres versions params (not the query body).

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

func (*GetPostgresVersionsParams) WithHTTPClient

func (o *GetPostgresVersionsParams) WithHTTPClient(client *http.Client) *GetPostgresVersionsParams

WithHTTPClient adds the HTTPClient to the get postgres versions params

func (*GetPostgresVersionsParams) WithTimeout

WithTimeout adds the timeout to the get postgres versions params

func (*GetPostgresVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPostgresVersionsReader

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

GetPostgresVersionsReader is a Reader for the GetPostgresVersions structure.

func (*GetPostgresVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPostgresBackupConfigsDefault

type ListPostgresBackupConfigsDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ListPostgresBackupConfigsDefault describes a response with status code -1, with default header values.

Error

func NewListPostgresBackupConfigsDefault

func NewListPostgresBackupConfigsDefault(code int) *ListPostgresBackupConfigsDefault

NewListPostgresBackupConfigsDefault creates a ListPostgresBackupConfigsDefault with default headers values

func (*ListPostgresBackupConfigsDefault) Code

Code gets the status code for the list postgres backup configs default response

func (*ListPostgresBackupConfigsDefault) Error

func (*ListPostgresBackupConfigsDefault) GetPayload

func (*ListPostgresBackupConfigsDefault) IsClientError added in v0.19.0

func (o *ListPostgresBackupConfigsDefault) IsClientError() bool

IsClientError returns true when this list postgres backup configs default response has a 4xx status code

func (*ListPostgresBackupConfigsDefault) IsCode added in v0.19.0

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

IsCode returns true when this list postgres backup configs default response a status code equal to that given

func (*ListPostgresBackupConfigsDefault) IsRedirect added in v0.19.0

func (o *ListPostgresBackupConfigsDefault) IsRedirect() bool

IsRedirect returns true when this list postgres backup configs default response has a 3xx status code

func (*ListPostgresBackupConfigsDefault) IsServerError added in v0.19.0

func (o *ListPostgresBackupConfigsDefault) IsServerError() bool

IsServerError returns true when this list postgres backup configs default response has a 5xx status code

func (*ListPostgresBackupConfigsDefault) IsSuccess added in v0.19.0

func (o *ListPostgresBackupConfigsDefault) IsSuccess() bool

IsSuccess returns true when this list postgres backup configs default response has a 2xx status code

func (*ListPostgresBackupConfigsDefault) String added in v0.19.0

type ListPostgresBackupConfigsOK

type ListPostgresBackupConfigsOK struct {
	Payload []*models.V1PostgresBackupConfigResponse
}

ListPostgresBackupConfigsOK describes a response with status code 200, with default header values.

OK

func NewListPostgresBackupConfigsOK

func NewListPostgresBackupConfigsOK() *ListPostgresBackupConfigsOK

NewListPostgresBackupConfigsOK creates a ListPostgresBackupConfigsOK with default headers values

func (*ListPostgresBackupConfigsOK) Error

func (*ListPostgresBackupConfigsOK) GetPayload

func (*ListPostgresBackupConfigsOK) IsClientError added in v0.19.0

func (o *ListPostgresBackupConfigsOK) IsClientError() bool

IsClientError returns true when this list postgres backup configs o k response has a 4xx status code

func (*ListPostgresBackupConfigsOK) IsCode added in v0.19.0

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

IsCode returns true when this list postgres backup configs o k response a status code equal to that given

func (*ListPostgresBackupConfigsOK) IsRedirect added in v0.19.0

func (o *ListPostgresBackupConfigsOK) IsRedirect() bool

IsRedirect returns true when this list postgres backup configs o k response has a 3xx status code

func (*ListPostgresBackupConfigsOK) IsServerError added in v0.19.0

func (o *ListPostgresBackupConfigsOK) IsServerError() bool

IsServerError returns true when this list postgres backup configs o k response has a 5xx status code

func (*ListPostgresBackupConfigsOK) IsSuccess added in v0.19.0

func (o *ListPostgresBackupConfigsOK) IsSuccess() bool

IsSuccess returns true when this list postgres backup configs o k response has a 2xx status code

func (*ListPostgresBackupConfigsOK) String added in v0.19.0

func (o *ListPostgresBackupConfigsOK) String() string

type ListPostgresBackupConfigsParams

type ListPostgresBackupConfigsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPostgresBackupConfigsParams contains all the parameters to send to the API endpoint

for the list postgres backup configs operation.

Typically these are written to a http.Request.

func NewListPostgresBackupConfigsParams

func NewListPostgresBackupConfigsParams() *ListPostgresBackupConfigsParams

NewListPostgresBackupConfigsParams creates a new ListPostgresBackupConfigsParams 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 NewListPostgresBackupConfigsParamsWithContext

func NewListPostgresBackupConfigsParamsWithContext(ctx context.Context) *ListPostgresBackupConfigsParams

NewListPostgresBackupConfigsParamsWithContext creates a new ListPostgresBackupConfigsParams object with the ability to set a context for a request.

func NewListPostgresBackupConfigsParamsWithHTTPClient

func NewListPostgresBackupConfigsParamsWithHTTPClient(client *http.Client) *ListPostgresBackupConfigsParams

NewListPostgresBackupConfigsParamsWithHTTPClient creates a new ListPostgresBackupConfigsParams object with the ability to set a custom HTTPClient for a request.

func NewListPostgresBackupConfigsParamsWithTimeout

func NewListPostgresBackupConfigsParamsWithTimeout(timeout time.Duration) *ListPostgresBackupConfigsParams

NewListPostgresBackupConfigsParamsWithTimeout creates a new ListPostgresBackupConfigsParams object with the ability to set a timeout on a request.

func (*ListPostgresBackupConfigsParams) SetContext

func (o *ListPostgresBackupConfigsParams) SetContext(ctx context.Context)

SetContext adds the context to the list postgres backup configs params

func (*ListPostgresBackupConfigsParams) SetDefaults

func (o *ListPostgresBackupConfigsParams) SetDefaults()

SetDefaults hydrates default values in the list postgres backup configs params (not the query body).

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

func (*ListPostgresBackupConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list postgres backup configs params

func (*ListPostgresBackupConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the list postgres backup configs params

func (*ListPostgresBackupConfigsParams) WithContext

WithContext adds the context to the list postgres backup configs params

func (*ListPostgresBackupConfigsParams) WithDefaults

WithDefaults hydrates default values in the list postgres backup configs params (not the query body).

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

func (*ListPostgresBackupConfigsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list postgres backup configs params

func (*ListPostgresBackupConfigsParams) WithTimeout

WithTimeout adds the timeout to the list postgres backup configs params

func (*ListPostgresBackupConfigsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPostgresBackupConfigsReader

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

ListPostgresBackupConfigsReader is a Reader for the ListPostgresBackupConfigs structure.

func (*ListPostgresBackupConfigsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPostgresDefault

type ListPostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

ListPostgresDefault describes a response with status code -1, with default header values.

Error

func NewListPostgresDefault

func NewListPostgresDefault(code int) *ListPostgresDefault

NewListPostgresDefault creates a ListPostgresDefault with default headers values

func (*ListPostgresDefault) Code

func (o *ListPostgresDefault) Code() int

Code gets the status code for the list postgres default response

func (*ListPostgresDefault) Error

func (o *ListPostgresDefault) Error() string

func (*ListPostgresDefault) GetPayload

func (*ListPostgresDefault) IsClientError added in v0.19.0

func (o *ListPostgresDefault) IsClientError() bool

IsClientError returns true when this list postgres default response has a 4xx status code

func (*ListPostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this list postgres default response a status code equal to that given

func (*ListPostgresDefault) IsRedirect added in v0.19.0

func (o *ListPostgresDefault) IsRedirect() bool

IsRedirect returns true when this list postgres default response has a 3xx status code

func (*ListPostgresDefault) IsServerError added in v0.19.0

func (o *ListPostgresDefault) IsServerError() bool

IsServerError returns true when this list postgres default response has a 5xx status code

func (*ListPostgresDefault) IsSuccess added in v0.19.0

func (o *ListPostgresDefault) IsSuccess() bool

IsSuccess returns true when this list postgres default response has a 2xx status code

func (*ListPostgresDefault) String added in v0.19.0

func (o *ListPostgresDefault) String() string

type ListPostgresOK

type ListPostgresOK struct {
	Payload []*models.V1PostgresResponse
}

ListPostgresOK describes a response with status code 200, with default header values.

OK

func NewListPostgresOK

func NewListPostgresOK() *ListPostgresOK

NewListPostgresOK creates a ListPostgresOK with default headers values

func (*ListPostgresOK) Error

func (o *ListPostgresOK) Error() string

func (*ListPostgresOK) GetPayload

func (o *ListPostgresOK) GetPayload() []*models.V1PostgresResponse

func (*ListPostgresOK) IsClientError added in v0.19.0

func (o *ListPostgresOK) IsClientError() bool

IsClientError returns true when this list postgres o k response has a 4xx status code

func (*ListPostgresOK) IsCode added in v0.19.0

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

IsCode returns true when this list postgres o k response a status code equal to that given

func (*ListPostgresOK) IsRedirect added in v0.19.0

func (o *ListPostgresOK) IsRedirect() bool

IsRedirect returns true when this list postgres o k response has a 3xx status code

func (*ListPostgresOK) IsServerError added in v0.19.0

func (o *ListPostgresOK) IsServerError() bool

IsServerError returns true when this list postgres o k response has a 5xx status code

func (*ListPostgresOK) IsSuccess added in v0.19.0

func (o *ListPostgresOK) IsSuccess() bool

IsSuccess returns true when this list postgres o k response has a 2xx status code

func (*ListPostgresOK) String added in v0.19.0

func (o *ListPostgresOK) String() string

type ListPostgresParams

type ListPostgresParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPostgresParams contains all the parameters to send to the API endpoint

for the list postgres operation.

Typically these are written to a http.Request.

func NewListPostgresParams

func NewListPostgresParams() *ListPostgresParams

NewListPostgresParams creates a new ListPostgresParams 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 NewListPostgresParamsWithContext

func NewListPostgresParamsWithContext(ctx context.Context) *ListPostgresParams

NewListPostgresParamsWithContext creates a new ListPostgresParams object with the ability to set a context for a request.

func NewListPostgresParamsWithHTTPClient

func NewListPostgresParamsWithHTTPClient(client *http.Client) *ListPostgresParams

NewListPostgresParamsWithHTTPClient creates a new ListPostgresParams object with the ability to set a custom HTTPClient for a request.

func NewListPostgresParamsWithTimeout

func NewListPostgresParamsWithTimeout(timeout time.Duration) *ListPostgresParams

NewListPostgresParamsWithTimeout creates a new ListPostgresParams object with the ability to set a timeout on a request.

func (*ListPostgresParams) SetContext

func (o *ListPostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the list postgres params

func (*ListPostgresParams) SetDefaults

func (o *ListPostgresParams) SetDefaults()

SetDefaults hydrates default values in the list postgres params (not the query body).

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

func (*ListPostgresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list postgres params

func (*ListPostgresParams) SetTimeout

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

SetTimeout adds the timeout to the list postgres params

func (*ListPostgresParams) WithContext

WithContext adds the context to the list postgres params

func (*ListPostgresParams) WithDefaults

func (o *ListPostgresParams) WithDefaults() *ListPostgresParams

WithDefaults hydrates default values in the list postgres params (not the query body).

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

func (*ListPostgresParams) WithHTTPClient

func (o *ListPostgresParams) WithHTTPClient(client *http.Client) *ListPostgresParams

WithHTTPClient adds the HTTPClient to the list postgres params

func (*ListPostgresParams) WithTimeout

func (o *ListPostgresParams) WithTimeout(timeout time.Duration) *ListPostgresParams

WithTimeout adds the timeout to the list postgres params

func (*ListPostgresParams) WriteToRequest

func (o *ListPostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListPostgresReader

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

ListPostgresReader is a Reader for the ListPostgres structure.

func (*ListPostgresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestorePostgresCreated added in v0.18.4

type RestorePostgresCreated struct {
	Payload *models.V1PostgresResponse
}

RestorePostgresCreated describes a response with status code 201, with default header values.

Created

func NewRestorePostgresCreated added in v0.18.4

func NewRestorePostgresCreated() *RestorePostgresCreated

NewRestorePostgresCreated creates a RestorePostgresCreated with default headers values

func (*RestorePostgresCreated) Error added in v0.18.4

func (o *RestorePostgresCreated) Error() string

func (*RestorePostgresCreated) GetPayload added in v0.18.4

func (*RestorePostgresCreated) IsClientError added in v0.19.0

func (o *RestorePostgresCreated) IsClientError() bool

IsClientError returns true when this restore postgres created response has a 4xx status code

func (*RestorePostgresCreated) IsCode added in v0.19.0

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

IsCode returns true when this restore postgres created response a status code equal to that given

func (*RestorePostgresCreated) IsRedirect added in v0.19.0

func (o *RestorePostgresCreated) IsRedirect() bool

IsRedirect returns true when this restore postgres created response has a 3xx status code

func (*RestorePostgresCreated) IsServerError added in v0.19.0

func (o *RestorePostgresCreated) IsServerError() bool

IsServerError returns true when this restore postgres created response has a 5xx status code

func (*RestorePostgresCreated) IsSuccess added in v0.19.0

func (o *RestorePostgresCreated) IsSuccess() bool

IsSuccess returns true when this restore postgres created response has a 2xx status code

func (*RestorePostgresCreated) String added in v0.19.0

func (o *RestorePostgresCreated) String() string

type RestorePostgresDefault added in v0.18.4

type RestorePostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

RestorePostgresDefault describes a response with status code -1, with default header values.

Error

func NewRestorePostgresDefault added in v0.18.4

func NewRestorePostgresDefault(code int) *RestorePostgresDefault

NewRestorePostgresDefault creates a RestorePostgresDefault with default headers values

func (*RestorePostgresDefault) Code added in v0.18.4

func (o *RestorePostgresDefault) Code() int

Code gets the status code for the restore postgres default response

func (*RestorePostgresDefault) Error added in v0.18.4

func (o *RestorePostgresDefault) Error() string

func (*RestorePostgresDefault) GetPayload added in v0.18.4

func (*RestorePostgresDefault) IsClientError added in v0.19.0

func (o *RestorePostgresDefault) IsClientError() bool

IsClientError returns true when this restore postgres default response has a 4xx status code

func (*RestorePostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this restore postgres default response a status code equal to that given

func (*RestorePostgresDefault) IsRedirect added in v0.19.0

func (o *RestorePostgresDefault) IsRedirect() bool

IsRedirect returns true when this restore postgres default response has a 3xx status code

func (*RestorePostgresDefault) IsServerError added in v0.19.0

func (o *RestorePostgresDefault) IsServerError() bool

IsServerError returns true when this restore postgres default response has a 5xx status code

func (*RestorePostgresDefault) IsSuccess added in v0.19.0

func (o *RestorePostgresDefault) IsSuccess() bool

IsSuccess returns true when this restore postgres default response has a 2xx status code

func (*RestorePostgresDefault) String added in v0.19.0

func (o *RestorePostgresDefault) String() string

type RestorePostgresParams added in v0.18.4

type RestorePostgresParams struct {

	// Body.
	Body *models.V1PostgresRestoreRequest

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

RestorePostgresParams contains all the parameters to send to the API endpoint

for the restore postgres operation.

Typically these are written to a http.Request.

func NewRestorePostgresParams added in v0.18.4

func NewRestorePostgresParams() *RestorePostgresParams

NewRestorePostgresParams creates a new RestorePostgresParams 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 NewRestorePostgresParamsWithContext added in v0.18.4

func NewRestorePostgresParamsWithContext(ctx context.Context) *RestorePostgresParams

NewRestorePostgresParamsWithContext creates a new RestorePostgresParams object with the ability to set a context for a request.

func NewRestorePostgresParamsWithHTTPClient added in v0.18.4

func NewRestorePostgresParamsWithHTTPClient(client *http.Client) *RestorePostgresParams

NewRestorePostgresParamsWithHTTPClient creates a new RestorePostgresParams object with the ability to set a custom HTTPClient for a request.

func NewRestorePostgresParamsWithTimeout added in v0.18.4

func NewRestorePostgresParamsWithTimeout(timeout time.Duration) *RestorePostgresParams

NewRestorePostgresParamsWithTimeout creates a new RestorePostgresParams object with the ability to set a timeout on a request.

func (*RestorePostgresParams) SetBody added in v0.18.4

SetBody adds the body to the restore postgres params

func (*RestorePostgresParams) SetContext added in v0.18.4

func (o *RestorePostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the restore postgres params

func (*RestorePostgresParams) SetDefaults added in v0.18.4

func (o *RestorePostgresParams) SetDefaults()

SetDefaults hydrates default values in the restore postgres params (not the query body).

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

func (*RestorePostgresParams) SetHTTPClient added in v0.18.4

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

SetHTTPClient adds the HTTPClient to the restore postgres params

func (*RestorePostgresParams) SetTimeout added in v0.18.4

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

SetTimeout adds the timeout to the restore postgres params

func (*RestorePostgresParams) WithBody added in v0.18.4

WithBody adds the body to the restore postgres params

func (*RestorePostgresParams) WithContext added in v0.18.4

WithContext adds the context to the restore postgres params

func (*RestorePostgresParams) WithDefaults added in v0.18.4

func (o *RestorePostgresParams) WithDefaults() *RestorePostgresParams

WithDefaults hydrates default values in the restore postgres params (not the query body).

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

func (*RestorePostgresParams) WithHTTPClient added in v0.18.4

func (o *RestorePostgresParams) WithHTTPClient(client *http.Client) *RestorePostgresParams

WithHTTPClient adds the HTTPClient to the restore postgres params

func (*RestorePostgresParams) WithTimeout added in v0.18.4

func (o *RestorePostgresParams) WithTimeout(timeout time.Duration) *RestorePostgresParams

WithTimeout adds the timeout to the restore postgres params

func (*RestorePostgresParams) WriteToRequest added in v0.18.4

func (o *RestorePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RestorePostgresReader added in v0.18.4

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

RestorePostgresReader is a Reader for the RestorePostgres structure.

func (*RestorePostgresReader) ReadResponse added in v0.18.4

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

ReadResponse reads a server response into the received o.

type UpdatePostgresBackupConfigDefault

type UpdatePostgresBackupConfigDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

UpdatePostgresBackupConfigDefault describes a response with status code -1, with default header values.

Error

func NewUpdatePostgresBackupConfigDefault

func NewUpdatePostgresBackupConfigDefault(code int) *UpdatePostgresBackupConfigDefault

NewUpdatePostgresBackupConfigDefault creates a UpdatePostgresBackupConfigDefault with default headers values

func (*UpdatePostgresBackupConfigDefault) Code

Code gets the status code for the update postgres backup config default response

func (*UpdatePostgresBackupConfigDefault) Error

func (*UpdatePostgresBackupConfigDefault) GetPayload

func (*UpdatePostgresBackupConfigDefault) IsClientError added in v0.19.0

func (o *UpdatePostgresBackupConfigDefault) IsClientError() bool

IsClientError returns true when this update postgres backup config default response has a 4xx status code

func (*UpdatePostgresBackupConfigDefault) IsCode added in v0.19.0

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

IsCode returns true when this update postgres backup config default response a status code equal to that given

func (*UpdatePostgresBackupConfigDefault) IsRedirect added in v0.19.0

func (o *UpdatePostgresBackupConfigDefault) IsRedirect() bool

IsRedirect returns true when this update postgres backup config default response has a 3xx status code

func (*UpdatePostgresBackupConfigDefault) IsServerError added in v0.19.0

func (o *UpdatePostgresBackupConfigDefault) IsServerError() bool

IsServerError returns true when this update postgres backup config default response has a 5xx status code

func (*UpdatePostgresBackupConfigDefault) IsSuccess added in v0.19.0

func (o *UpdatePostgresBackupConfigDefault) IsSuccess() bool

IsSuccess returns true when this update postgres backup config default response has a 2xx status code

func (*UpdatePostgresBackupConfigDefault) String added in v0.19.0

type UpdatePostgresBackupConfigOK

type UpdatePostgresBackupConfigOK struct {
	Payload *models.V1PostgresBackupConfigResponse
}

UpdatePostgresBackupConfigOK describes a response with status code 200, with default header values.

OK

func NewUpdatePostgresBackupConfigOK

func NewUpdatePostgresBackupConfigOK() *UpdatePostgresBackupConfigOK

NewUpdatePostgresBackupConfigOK creates a UpdatePostgresBackupConfigOK with default headers values

func (*UpdatePostgresBackupConfigOK) Error

func (*UpdatePostgresBackupConfigOK) GetPayload

func (*UpdatePostgresBackupConfigOK) IsClientError added in v0.19.0

func (o *UpdatePostgresBackupConfigOK) IsClientError() bool

IsClientError returns true when this update postgres backup config o k response has a 4xx status code

func (*UpdatePostgresBackupConfigOK) IsCode added in v0.19.0

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

IsCode returns true when this update postgres backup config o k response a status code equal to that given

func (*UpdatePostgresBackupConfigOK) IsRedirect added in v0.19.0

func (o *UpdatePostgresBackupConfigOK) IsRedirect() bool

IsRedirect returns true when this update postgres backup config o k response has a 3xx status code

func (*UpdatePostgresBackupConfigOK) IsServerError added in v0.19.0

func (o *UpdatePostgresBackupConfigOK) IsServerError() bool

IsServerError returns true when this update postgres backup config o k response has a 5xx status code

func (*UpdatePostgresBackupConfigOK) IsSuccess added in v0.19.0

func (o *UpdatePostgresBackupConfigOK) IsSuccess() bool

IsSuccess returns true when this update postgres backup config o k response has a 2xx status code

func (*UpdatePostgresBackupConfigOK) String added in v0.19.0

type UpdatePostgresBackupConfigParams

type UpdatePostgresBackupConfigParams struct {

	// Body.
	Body *models.V1PostgresBackupConfigUpdateRequest

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

UpdatePostgresBackupConfigParams contains all the parameters to send to the API endpoint

for the update postgres backup config operation.

Typically these are written to a http.Request.

func NewUpdatePostgresBackupConfigParams

func NewUpdatePostgresBackupConfigParams() *UpdatePostgresBackupConfigParams

NewUpdatePostgresBackupConfigParams creates a new UpdatePostgresBackupConfigParams 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 NewUpdatePostgresBackupConfigParamsWithContext

func NewUpdatePostgresBackupConfigParamsWithContext(ctx context.Context) *UpdatePostgresBackupConfigParams

NewUpdatePostgresBackupConfigParamsWithContext creates a new UpdatePostgresBackupConfigParams object with the ability to set a context for a request.

func NewUpdatePostgresBackupConfigParamsWithHTTPClient

func NewUpdatePostgresBackupConfigParamsWithHTTPClient(client *http.Client) *UpdatePostgresBackupConfigParams

NewUpdatePostgresBackupConfigParamsWithHTTPClient creates a new UpdatePostgresBackupConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePostgresBackupConfigParamsWithTimeout

func NewUpdatePostgresBackupConfigParamsWithTimeout(timeout time.Duration) *UpdatePostgresBackupConfigParams

NewUpdatePostgresBackupConfigParamsWithTimeout creates a new UpdatePostgresBackupConfigParams object with the ability to set a timeout on a request.

func (*UpdatePostgresBackupConfigParams) SetBody

SetBody adds the body to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) SetContext

SetContext adds the context to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) SetDefaults

func (o *UpdatePostgresBackupConfigParams) SetDefaults()

SetDefaults hydrates default values in the update postgres backup config params (not the query body).

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

func (*UpdatePostgresBackupConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) WithBody

WithBody adds the body to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) WithContext

WithContext adds the context to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) WithDefaults

WithDefaults hydrates default values in the update postgres backup config params (not the query body).

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

func (*UpdatePostgresBackupConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) WithTimeout

WithTimeout adds the timeout to the update postgres backup config params

func (*UpdatePostgresBackupConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePostgresBackupConfigReader

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

UpdatePostgresBackupConfigReader is a Reader for the UpdatePostgresBackupConfig structure.

func (*UpdatePostgresBackupConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePostgresDefault

type UpdatePostgresDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

UpdatePostgresDefault describes a response with status code -1, with default header values.

Error

func NewUpdatePostgresDefault

func NewUpdatePostgresDefault(code int) *UpdatePostgresDefault

NewUpdatePostgresDefault creates a UpdatePostgresDefault with default headers values

func (*UpdatePostgresDefault) Code

func (o *UpdatePostgresDefault) Code() int

Code gets the status code for the update postgres default response

func (*UpdatePostgresDefault) Error

func (o *UpdatePostgresDefault) Error() string

func (*UpdatePostgresDefault) GetPayload

func (*UpdatePostgresDefault) IsClientError added in v0.19.0

func (o *UpdatePostgresDefault) IsClientError() bool

IsClientError returns true when this update postgres default response has a 4xx status code

func (*UpdatePostgresDefault) IsCode added in v0.19.0

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

IsCode returns true when this update postgres default response a status code equal to that given

func (*UpdatePostgresDefault) IsRedirect added in v0.19.0

func (o *UpdatePostgresDefault) IsRedirect() bool

IsRedirect returns true when this update postgres default response has a 3xx status code

func (*UpdatePostgresDefault) IsServerError added in v0.19.0

func (o *UpdatePostgresDefault) IsServerError() bool

IsServerError returns true when this update postgres default response has a 5xx status code

func (*UpdatePostgresDefault) IsSuccess added in v0.19.0

func (o *UpdatePostgresDefault) IsSuccess() bool

IsSuccess returns true when this update postgres default response has a 2xx status code

func (*UpdatePostgresDefault) String added in v0.19.0

func (o *UpdatePostgresDefault) String() string

type UpdatePostgresOK

type UpdatePostgresOK struct {
	Payload *models.V1PostgresResponse
}

UpdatePostgresOK describes a response with status code 200, with default header values.

OK

func NewUpdatePostgresOK

func NewUpdatePostgresOK() *UpdatePostgresOK

NewUpdatePostgresOK creates a UpdatePostgresOK with default headers values

func (*UpdatePostgresOK) Error

func (o *UpdatePostgresOK) Error() string

func (*UpdatePostgresOK) GetPayload

func (o *UpdatePostgresOK) GetPayload() *models.V1PostgresResponse

func (*UpdatePostgresOK) IsClientError added in v0.19.0

func (o *UpdatePostgresOK) IsClientError() bool

IsClientError returns true when this update postgres o k response has a 4xx status code

func (*UpdatePostgresOK) IsCode added in v0.19.0

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

IsCode returns true when this update postgres o k response a status code equal to that given

func (*UpdatePostgresOK) IsRedirect added in v0.19.0

func (o *UpdatePostgresOK) IsRedirect() bool

IsRedirect returns true when this update postgres o k response has a 3xx status code

func (*UpdatePostgresOK) IsServerError added in v0.19.0

func (o *UpdatePostgresOK) IsServerError() bool

IsServerError returns true when this update postgres o k response has a 5xx status code

func (*UpdatePostgresOK) IsSuccess added in v0.19.0

func (o *UpdatePostgresOK) IsSuccess() bool

IsSuccess returns true when this update postgres o k response has a 2xx status code

func (*UpdatePostgresOK) String added in v0.19.0

func (o *UpdatePostgresOK) String() string

type UpdatePostgresParams

type UpdatePostgresParams struct {

	// Body.
	Body *models.V1PostgresUpdateRequest

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

UpdatePostgresParams contains all the parameters to send to the API endpoint

for the update postgres operation.

Typically these are written to a http.Request.

func NewUpdatePostgresParams

func NewUpdatePostgresParams() *UpdatePostgresParams

NewUpdatePostgresParams creates a new UpdatePostgresParams 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 NewUpdatePostgresParamsWithContext

func NewUpdatePostgresParamsWithContext(ctx context.Context) *UpdatePostgresParams

NewUpdatePostgresParamsWithContext creates a new UpdatePostgresParams object with the ability to set a context for a request.

func NewUpdatePostgresParamsWithHTTPClient

func NewUpdatePostgresParamsWithHTTPClient(client *http.Client) *UpdatePostgresParams

NewUpdatePostgresParamsWithHTTPClient creates a new UpdatePostgresParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePostgresParamsWithTimeout

func NewUpdatePostgresParamsWithTimeout(timeout time.Duration) *UpdatePostgresParams

NewUpdatePostgresParamsWithTimeout creates a new UpdatePostgresParams object with the ability to set a timeout on a request.

func (*UpdatePostgresParams) SetBody

SetBody adds the body to the update postgres params

func (*UpdatePostgresParams) SetContext

func (o *UpdatePostgresParams) SetContext(ctx context.Context)

SetContext adds the context to the update postgres params

func (*UpdatePostgresParams) SetDefaults

func (o *UpdatePostgresParams) SetDefaults()

SetDefaults hydrates default values in the update postgres params (not the query body).

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

func (*UpdatePostgresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update postgres params

func (*UpdatePostgresParams) SetTimeout

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

SetTimeout adds the timeout to the update postgres params

func (*UpdatePostgresParams) WithBody

WithBody adds the body to the update postgres params

func (*UpdatePostgresParams) WithContext

WithContext adds the context to the update postgres params

func (*UpdatePostgresParams) WithDefaults

func (o *UpdatePostgresParams) WithDefaults() *UpdatePostgresParams

WithDefaults hydrates default values in the update postgres params (not the query body).

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

func (*UpdatePostgresParams) WithHTTPClient

func (o *UpdatePostgresParams) WithHTTPClient(client *http.Client) *UpdatePostgresParams

WithHTTPClient adds the HTTPClient to the update postgres params

func (*UpdatePostgresParams) WithTimeout

func (o *UpdatePostgresParams) WithTimeout(timeout time.Duration) *UpdatePostgresParams

WithTimeout adds the timeout to the update postgres params

func (*UpdatePostgresParams) WriteToRequest

func (o *UpdatePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdatePostgresReader

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

UpdatePostgresReader is a Reader for the UpdatePostgres structure.

func (*UpdatePostgresReader) ReadResponse

func (o *UpdatePostgresReader) 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