database

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 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 Client

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

Client for database API

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) 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) 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 {
	CreatePostgres(params *CreatePostgresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresCreated, error)

	CreatePostgresBackupConfig(params *CreatePostgresBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePostgresBackupConfigCreated, 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)

	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

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

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

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

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 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 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

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

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

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

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