Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePostgres(params *CreatePostgresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePostgresCreated, error)
- func (a *Client) CreatePostgresBackupConfig(params *CreatePostgresBackupConfigParams, ...) (*CreatePostgresBackupConfigCreated, error)
- func (a *Client) DeletePostgres(params *DeletePostgresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePostgresOK, error)
- func (a *Client) DeletePostgresBackupConfig(params *DeletePostgresBackupConfigParams, ...) (*DeletePostgresBackupConfigOK, error)
- func (a *Client) FindPostgres(params *FindPostgresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindPostgresOK, error)
- func (a *Client) GetBackupConfig(params *GetBackupConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBackupConfigOK, error)
- func (a *Client) GetPostgres(params *GetPostgresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPostgresOK, error)
- func (a *Client) GetPostgresBackups(params *GetPostgresBackupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPostgresBackupsOK, error)
- func (a *Client) GetPostgresPartitions(params *GetPostgresPartitionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPostgresPartitionsOK, error)
- func (a *Client) GetPostgresSecrets(params *GetPostgresSecretsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPostgresSecretsOK, error)
- func (a *Client) GetPostgresVersions(params *GetPostgresVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPostgresVersionsOK, error)
- func (a *Client) ListPostgres(params *ListPostgresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPostgresOK, error)
- func (a *Client) ListPostgresBackupConfigs(params *ListPostgresBackupConfigsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPostgresBackupConfigsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePostgres(params *UpdatePostgresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePostgresOK, error)
- func (a *Client) UpdatePostgresBackupConfig(params *UpdatePostgresBackupConfigParams, ...) (*UpdatePostgresBackupConfigOK, error)
- type ClientOption
- type ClientService
- type CreatePostgresBackupConfigCreated
- type CreatePostgresBackupConfigDefault
- type CreatePostgresBackupConfigParams
- func NewCreatePostgresBackupConfigParams() *CreatePostgresBackupConfigParams
- func NewCreatePostgresBackupConfigParamsWithContext(ctx context.Context) *CreatePostgresBackupConfigParams
- func NewCreatePostgresBackupConfigParamsWithHTTPClient(client *http.Client) *CreatePostgresBackupConfigParams
- func NewCreatePostgresBackupConfigParamsWithTimeout(timeout time.Duration) *CreatePostgresBackupConfigParams
- func (o *CreatePostgresBackupConfigParams) SetBody(body *models.V1PostgresBackupConfigCreateRequest)
- func (o *CreatePostgresBackupConfigParams) SetContext(ctx context.Context)
- func (o *CreatePostgresBackupConfigParams) SetDefaults()
- func (o *CreatePostgresBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreatePostgresBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreatePostgresBackupConfigParams) WithBody(body *models.V1PostgresBackupConfigCreateRequest) *CreatePostgresBackupConfigParams
- func (o *CreatePostgresBackupConfigParams) WithContext(ctx context.Context) *CreatePostgresBackupConfigParams
- func (o *CreatePostgresBackupConfigParams) WithDefaults() *CreatePostgresBackupConfigParams
- func (o *CreatePostgresBackupConfigParams) WithHTTPClient(client *http.Client) *CreatePostgresBackupConfigParams
- func (o *CreatePostgresBackupConfigParams) WithTimeout(timeout time.Duration) *CreatePostgresBackupConfigParams
- func (o *CreatePostgresBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePostgresBackupConfigReader
- type CreatePostgresCreated
- type CreatePostgresDefault
- type CreatePostgresParams
- func NewCreatePostgresParams() *CreatePostgresParams
- func NewCreatePostgresParamsWithContext(ctx context.Context) *CreatePostgresParams
- func NewCreatePostgresParamsWithHTTPClient(client *http.Client) *CreatePostgresParams
- func NewCreatePostgresParamsWithTimeout(timeout time.Duration) *CreatePostgresParams
- func (o *CreatePostgresParams) SetBody(body *models.V1PostgresCreateRequest)
- func (o *CreatePostgresParams) SetContext(ctx context.Context)
- func (o *CreatePostgresParams) SetDefaults()
- func (o *CreatePostgresParams) SetHTTPClient(client *http.Client)
- func (o *CreatePostgresParams) SetTimeout(timeout time.Duration)
- func (o *CreatePostgresParams) WithBody(body *models.V1PostgresCreateRequest) *CreatePostgresParams
- func (o *CreatePostgresParams) WithContext(ctx context.Context) *CreatePostgresParams
- func (o *CreatePostgresParams) WithDefaults() *CreatePostgresParams
- func (o *CreatePostgresParams) WithHTTPClient(client *http.Client) *CreatePostgresParams
- func (o *CreatePostgresParams) WithTimeout(timeout time.Duration) *CreatePostgresParams
- func (o *CreatePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePostgresReader
- type DeletePostgresBackupConfigDefault
- type DeletePostgresBackupConfigOK
- type DeletePostgresBackupConfigParams
- func NewDeletePostgresBackupConfigParams() *DeletePostgresBackupConfigParams
- func NewDeletePostgresBackupConfigParamsWithContext(ctx context.Context) *DeletePostgresBackupConfigParams
- func NewDeletePostgresBackupConfigParamsWithHTTPClient(client *http.Client) *DeletePostgresBackupConfigParams
- func NewDeletePostgresBackupConfigParamsWithTimeout(timeout time.Duration) *DeletePostgresBackupConfigParams
- func (o *DeletePostgresBackupConfigParams) SetContext(ctx context.Context)
- func (o *DeletePostgresBackupConfigParams) SetDefaults()
- func (o *DeletePostgresBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeletePostgresBackupConfigParams) SetID(id string)
- func (o *DeletePostgresBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeletePostgresBackupConfigParams) WithContext(ctx context.Context) *DeletePostgresBackupConfigParams
- func (o *DeletePostgresBackupConfigParams) WithDefaults() *DeletePostgresBackupConfigParams
- func (o *DeletePostgresBackupConfigParams) WithHTTPClient(client *http.Client) *DeletePostgresBackupConfigParams
- func (o *DeletePostgresBackupConfigParams) WithID(id string) *DeletePostgresBackupConfigParams
- func (o *DeletePostgresBackupConfigParams) WithTimeout(timeout time.Duration) *DeletePostgresBackupConfigParams
- func (o *DeletePostgresBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePostgresBackupConfigReader
- type DeletePostgresDefault
- type DeletePostgresOK
- type DeletePostgresParams
- func NewDeletePostgresParams() *DeletePostgresParams
- func NewDeletePostgresParamsWithContext(ctx context.Context) *DeletePostgresParams
- func NewDeletePostgresParamsWithHTTPClient(client *http.Client) *DeletePostgresParams
- func NewDeletePostgresParamsWithTimeout(timeout time.Duration) *DeletePostgresParams
- func (o *DeletePostgresParams) SetContext(ctx context.Context)
- func (o *DeletePostgresParams) SetDefaults()
- func (o *DeletePostgresParams) SetHTTPClient(client *http.Client)
- func (o *DeletePostgresParams) SetID(id string)
- func (o *DeletePostgresParams) SetTimeout(timeout time.Duration)
- func (o *DeletePostgresParams) WithContext(ctx context.Context) *DeletePostgresParams
- func (o *DeletePostgresParams) WithDefaults() *DeletePostgresParams
- func (o *DeletePostgresParams) WithHTTPClient(client *http.Client) *DeletePostgresParams
- func (o *DeletePostgresParams) WithID(id string) *DeletePostgresParams
- func (o *DeletePostgresParams) WithTimeout(timeout time.Duration) *DeletePostgresParams
- func (o *DeletePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePostgresReader
- type FindPostgresDefault
- type FindPostgresOK
- type FindPostgresParams
- func (o *FindPostgresParams) SetBody(body *models.V1PostgresFindRequest)
- func (o *FindPostgresParams) SetContext(ctx context.Context)
- func (o *FindPostgresParams) SetDefaults()
- func (o *FindPostgresParams) SetHTTPClient(client *http.Client)
- func (o *FindPostgresParams) SetTimeout(timeout time.Duration)
- func (o *FindPostgresParams) WithBody(body *models.V1PostgresFindRequest) *FindPostgresParams
- func (o *FindPostgresParams) WithContext(ctx context.Context) *FindPostgresParams
- func (o *FindPostgresParams) WithDefaults() *FindPostgresParams
- func (o *FindPostgresParams) WithHTTPClient(client *http.Client) *FindPostgresParams
- func (o *FindPostgresParams) WithTimeout(timeout time.Duration) *FindPostgresParams
- func (o *FindPostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindPostgresReader
- type GetBackupConfigDefault
- type GetBackupConfigOK
- type GetBackupConfigParams
- func NewGetBackupConfigParams() *GetBackupConfigParams
- func NewGetBackupConfigParamsWithContext(ctx context.Context) *GetBackupConfigParams
- func NewGetBackupConfigParamsWithHTTPClient(client *http.Client) *GetBackupConfigParams
- func NewGetBackupConfigParamsWithTimeout(timeout time.Duration) *GetBackupConfigParams
- func (o *GetBackupConfigParams) SetContext(ctx context.Context)
- func (o *GetBackupConfigParams) SetDefaults()
- func (o *GetBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetBackupConfigParams) SetID(id string)
- func (o *GetBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetBackupConfigParams) WithContext(ctx context.Context) *GetBackupConfigParams
- func (o *GetBackupConfigParams) WithDefaults() *GetBackupConfigParams
- func (o *GetBackupConfigParams) WithHTTPClient(client *http.Client) *GetBackupConfigParams
- func (o *GetBackupConfigParams) WithID(id string) *GetBackupConfigParams
- func (o *GetBackupConfigParams) WithTimeout(timeout time.Duration) *GetBackupConfigParams
- func (o *GetBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBackupConfigReader
- type GetPostgresBackupsDefault
- type GetPostgresBackupsOK
- type GetPostgresBackupsParams
- func NewGetPostgresBackupsParams() *GetPostgresBackupsParams
- func NewGetPostgresBackupsParamsWithContext(ctx context.Context) *GetPostgresBackupsParams
- func NewGetPostgresBackupsParamsWithHTTPClient(client *http.Client) *GetPostgresBackupsParams
- func NewGetPostgresBackupsParamsWithTimeout(timeout time.Duration) *GetPostgresBackupsParams
- func (o *GetPostgresBackupsParams) SetContext(ctx context.Context)
- func (o *GetPostgresBackupsParams) SetDefaults()
- func (o *GetPostgresBackupsParams) SetHTTPClient(client *http.Client)
- func (o *GetPostgresBackupsParams) SetID(id string)
- func (o *GetPostgresBackupsParams) SetTimeout(timeout time.Duration)
- func (o *GetPostgresBackupsParams) WithContext(ctx context.Context) *GetPostgresBackupsParams
- func (o *GetPostgresBackupsParams) WithDefaults() *GetPostgresBackupsParams
- func (o *GetPostgresBackupsParams) WithHTTPClient(client *http.Client) *GetPostgresBackupsParams
- func (o *GetPostgresBackupsParams) WithID(id string) *GetPostgresBackupsParams
- func (o *GetPostgresBackupsParams) WithTimeout(timeout time.Duration) *GetPostgresBackupsParams
- func (o *GetPostgresBackupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPostgresBackupsReader
- type GetPostgresDefault
- type GetPostgresOK
- type GetPostgresParams
- func (o *GetPostgresParams) SetContext(ctx context.Context)
- func (o *GetPostgresParams) SetDefaults()
- func (o *GetPostgresParams) SetHTTPClient(client *http.Client)
- func (o *GetPostgresParams) SetID(id string)
- func (o *GetPostgresParams) SetTimeout(timeout time.Duration)
- func (o *GetPostgresParams) WithContext(ctx context.Context) *GetPostgresParams
- func (o *GetPostgresParams) WithDefaults() *GetPostgresParams
- func (o *GetPostgresParams) WithHTTPClient(client *http.Client) *GetPostgresParams
- func (o *GetPostgresParams) WithID(id string) *GetPostgresParams
- func (o *GetPostgresParams) WithTimeout(timeout time.Duration) *GetPostgresParams
- func (o *GetPostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPostgresPartitionsDefault
- type GetPostgresPartitionsOK
- type GetPostgresPartitionsParams
- func NewGetPostgresPartitionsParams() *GetPostgresPartitionsParams
- func NewGetPostgresPartitionsParamsWithContext(ctx context.Context) *GetPostgresPartitionsParams
- func NewGetPostgresPartitionsParamsWithHTTPClient(client *http.Client) *GetPostgresPartitionsParams
- func NewGetPostgresPartitionsParamsWithTimeout(timeout time.Duration) *GetPostgresPartitionsParams
- func (o *GetPostgresPartitionsParams) SetContext(ctx context.Context)
- func (o *GetPostgresPartitionsParams) SetDefaults()
- func (o *GetPostgresPartitionsParams) SetHTTPClient(client *http.Client)
- func (o *GetPostgresPartitionsParams) SetTimeout(timeout time.Duration)
- func (o *GetPostgresPartitionsParams) WithContext(ctx context.Context) *GetPostgresPartitionsParams
- func (o *GetPostgresPartitionsParams) WithDefaults() *GetPostgresPartitionsParams
- func (o *GetPostgresPartitionsParams) WithHTTPClient(client *http.Client) *GetPostgresPartitionsParams
- func (o *GetPostgresPartitionsParams) WithTimeout(timeout time.Duration) *GetPostgresPartitionsParams
- func (o *GetPostgresPartitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPostgresPartitionsReader
- type GetPostgresReader
- type GetPostgresSecretsDefault
- type GetPostgresSecretsOK
- type GetPostgresSecretsParams
- func NewGetPostgresSecretsParams() *GetPostgresSecretsParams
- func NewGetPostgresSecretsParamsWithContext(ctx context.Context) *GetPostgresSecretsParams
- func NewGetPostgresSecretsParamsWithHTTPClient(client *http.Client) *GetPostgresSecretsParams
- func NewGetPostgresSecretsParamsWithTimeout(timeout time.Duration) *GetPostgresSecretsParams
- func (o *GetPostgresSecretsParams) SetContext(ctx context.Context)
- func (o *GetPostgresSecretsParams) SetDefaults()
- func (o *GetPostgresSecretsParams) SetHTTPClient(client *http.Client)
- func (o *GetPostgresSecretsParams) SetID(id string)
- func (o *GetPostgresSecretsParams) SetTimeout(timeout time.Duration)
- func (o *GetPostgresSecretsParams) WithContext(ctx context.Context) *GetPostgresSecretsParams
- func (o *GetPostgresSecretsParams) WithDefaults() *GetPostgresSecretsParams
- func (o *GetPostgresSecretsParams) WithHTTPClient(client *http.Client) *GetPostgresSecretsParams
- func (o *GetPostgresSecretsParams) WithID(id string) *GetPostgresSecretsParams
- func (o *GetPostgresSecretsParams) WithTimeout(timeout time.Duration) *GetPostgresSecretsParams
- func (o *GetPostgresSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPostgresSecretsReader
- type GetPostgresVersionsDefault
- type GetPostgresVersionsOK
- type GetPostgresVersionsParams
- func NewGetPostgresVersionsParams() *GetPostgresVersionsParams
- func NewGetPostgresVersionsParamsWithContext(ctx context.Context) *GetPostgresVersionsParams
- func NewGetPostgresVersionsParamsWithHTTPClient(client *http.Client) *GetPostgresVersionsParams
- func NewGetPostgresVersionsParamsWithTimeout(timeout time.Duration) *GetPostgresVersionsParams
- func (o *GetPostgresVersionsParams) SetContext(ctx context.Context)
- func (o *GetPostgresVersionsParams) SetDefaults()
- func (o *GetPostgresVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetPostgresVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetPostgresVersionsParams) WithContext(ctx context.Context) *GetPostgresVersionsParams
- func (o *GetPostgresVersionsParams) WithDefaults() *GetPostgresVersionsParams
- func (o *GetPostgresVersionsParams) WithHTTPClient(client *http.Client) *GetPostgresVersionsParams
- func (o *GetPostgresVersionsParams) WithTimeout(timeout time.Duration) *GetPostgresVersionsParams
- func (o *GetPostgresVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPostgresVersionsReader
- type ListPostgresBackupConfigsDefault
- type ListPostgresBackupConfigsOK
- type ListPostgresBackupConfigsParams
- func NewListPostgresBackupConfigsParams() *ListPostgresBackupConfigsParams
- func NewListPostgresBackupConfigsParamsWithContext(ctx context.Context) *ListPostgresBackupConfigsParams
- func NewListPostgresBackupConfigsParamsWithHTTPClient(client *http.Client) *ListPostgresBackupConfigsParams
- func NewListPostgresBackupConfigsParamsWithTimeout(timeout time.Duration) *ListPostgresBackupConfigsParams
- func (o *ListPostgresBackupConfigsParams) SetContext(ctx context.Context)
- func (o *ListPostgresBackupConfigsParams) SetDefaults()
- func (o *ListPostgresBackupConfigsParams) SetHTTPClient(client *http.Client)
- func (o *ListPostgresBackupConfigsParams) SetTimeout(timeout time.Duration)
- func (o *ListPostgresBackupConfigsParams) WithContext(ctx context.Context) *ListPostgresBackupConfigsParams
- func (o *ListPostgresBackupConfigsParams) WithDefaults() *ListPostgresBackupConfigsParams
- func (o *ListPostgresBackupConfigsParams) WithHTTPClient(client *http.Client) *ListPostgresBackupConfigsParams
- func (o *ListPostgresBackupConfigsParams) WithTimeout(timeout time.Duration) *ListPostgresBackupConfigsParams
- func (o *ListPostgresBackupConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPostgresBackupConfigsReader
- type ListPostgresDefault
- type ListPostgresOK
- type ListPostgresParams
- func (o *ListPostgresParams) SetContext(ctx context.Context)
- func (o *ListPostgresParams) SetDefaults()
- func (o *ListPostgresParams) SetHTTPClient(client *http.Client)
- func (o *ListPostgresParams) SetTimeout(timeout time.Duration)
- func (o *ListPostgresParams) WithContext(ctx context.Context) *ListPostgresParams
- func (o *ListPostgresParams) WithDefaults() *ListPostgresParams
- func (o *ListPostgresParams) WithHTTPClient(client *http.Client) *ListPostgresParams
- func (o *ListPostgresParams) WithTimeout(timeout time.Duration) *ListPostgresParams
- func (o *ListPostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPostgresReader
- type UpdatePostgresBackupConfigDefault
- type UpdatePostgresBackupConfigOK
- type UpdatePostgresBackupConfigParams
- func NewUpdatePostgresBackupConfigParams() *UpdatePostgresBackupConfigParams
- func NewUpdatePostgresBackupConfigParamsWithContext(ctx context.Context) *UpdatePostgresBackupConfigParams
- func NewUpdatePostgresBackupConfigParamsWithHTTPClient(client *http.Client) *UpdatePostgresBackupConfigParams
- func NewUpdatePostgresBackupConfigParamsWithTimeout(timeout time.Duration) *UpdatePostgresBackupConfigParams
- func (o *UpdatePostgresBackupConfigParams) SetBody(body *models.V1PostgresBackupConfigUpdateRequest)
- func (o *UpdatePostgresBackupConfigParams) SetContext(ctx context.Context)
- func (o *UpdatePostgresBackupConfigParams) SetDefaults()
- func (o *UpdatePostgresBackupConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePostgresBackupConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePostgresBackupConfigParams) WithBody(body *models.V1PostgresBackupConfigUpdateRequest) *UpdatePostgresBackupConfigParams
- func (o *UpdatePostgresBackupConfigParams) WithContext(ctx context.Context) *UpdatePostgresBackupConfigParams
- func (o *UpdatePostgresBackupConfigParams) WithDefaults() *UpdatePostgresBackupConfigParams
- func (o *UpdatePostgresBackupConfigParams) WithHTTPClient(client *http.Client) *UpdatePostgresBackupConfigParams
- func (o *UpdatePostgresBackupConfigParams) WithTimeout(timeout time.Duration) *UpdatePostgresBackupConfigParams
- func (o *UpdatePostgresBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePostgresBackupConfigReader
- type UpdatePostgresDefault
- type UpdatePostgresOK
- type UpdatePostgresParams
- func NewUpdatePostgresParams() *UpdatePostgresParams
- func NewUpdatePostgresParamsWithContext(ctx context.Context) *UpdatePostgresParams
- func NewUpdatePostgresParamsWithHTTPClient(client *http.Client) *UpdatePostgresParams
- func NewUpdatePostgresParamsWithTimeout(timeout time.Duration) *UpdatePostgresParams
- func (o *UpdatePostgresParams) SetBody(body *models.V1PostgresUpdateRequest)
- func (o *UpdatePostgresParams) SetContext(ctx context.Context)
- func (o *UpdatePostgresParams) SetDefaults()
- func (o *UpdatePostgresParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePostgresParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePostgresParams) WithBody(body *models.V1PostgresUpdateRequest) *UpdatePostgresParams
- func (o *UpdatePostgresParams) WithContext(ctx context.Context) *UpdatePostgresParams
- func (o *UpdatePostgresParams) WithDefaults() *UpdatePostgresParams
- func (o *UpdatePostgresParams) WithHTTPClient(client *http.Client) *UpdatePostgresParams
- func (o *UpdatePostgresParams) WithTimeout(timeout time.Duration) *UpdatePostgresParams
- func (o *UpdatePostgresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePostgresReader
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 (o *CreatePostgresBackupConfigCreated) Error() string
func (*CreatePostgresBackupConfigCreated) GetPayload ¶
func (o *CreatePostgresBackupConfigCreated) GetPayload() *models.V1PostgresBackupConfigResponse
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 ¶
func (o *CreatePostgresBackupConfigDefault) Code() int
Code gets the status code for the create postgres backup config default response
func (*CreatePostgresBackupConfigDefault) Error ¶
func (o *CreatePostgresBackupConfigDefault) Error() string
func (*CreatePostgresBackupConfigDefault) GetPayload ¶
func (o *CreatePostgresBackupConfigDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *CreatePostgresBackupConfigParams) SetBody(body *models.V1PostgresBackupConfigCreateRequest)
SetBody adds the body to the create postgres backup config params
func (*CreatePostgresBackupConfigParams) SetContext ¶
func (o *CreatePostgresBackupConfigParams) SetContext(ctx context.Context)
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 ¶
func (o *CreatePostgresBackupConfigParams) WithBody(body *models.V1PostgresBackupConfigCreateRequest) *CreatePostgresBackupConfigParams
WithBody adds the body to the create postgres backup config params
func (*CreatePostgresBackupConfigParams) WithContext ¶
func (o *CreatePostgresBackupConfigParams) WithContext(ctx context.Context) *CreatePostgresBackupConfigParams
WithContext adds the context to the create postgres backup config params
func (*CreatePostgresBackupConfigParams) WithDefaults ¶
func (o *CreatePostgresBackupConfigParams) WithDefaults() *CreatePostgresBackupConfigParams
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 ¶
func (o *CreatePostgresBackupConfigParams) WithHTTPClient(client *http.Client) *CreatePostgresBackupConfigParams
WithHTTPClient adds the HTTPClient to the create postgres backup config params
func (*CreatePostgresBackupConfigParams) WithTimeout ¶
func (o *CreatePostgresBackupConfigParams) WithTimeout(timeout time.Duration) *CreatePostgresBackupConfigParams
WithTimeout adds the timeout to the create postgres backup config params
func (*CreatePostgresBackupConfigParams) WriteToRequest ¶
func (o *CreatePostgresBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreatePostgresCreated) GetPayload() *models.V1PostgresResponse
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 (o *CreatePostgresDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *CreatePostgresParams) SetBody(body *models.V1PostgresCreateRequest)
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 ¶
func (o *CreatePostgresParams) WithBody(body *models.V1PostgresCreateRequest) *CreatePostgresParams
WithBody adds the body to the create postgres params
func (*CreatePostgresParams) WithContext ¶
func (o *CreatePostgresParams) WithContext(ctx context.Context) *CreatePostgresParams
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 ¶
func (o *DeletePostgresBackupConfigDefault) Code() int
Code gets the status code for the delete postgres backup config default response
func (*DeletePostgresBackupConfigDefault) Error ¶
func (o *DeletePostgresBackupConfigDefault) Error() string
func (*DeletePostgresBackupConfigDefault) GetPayload ¶
func (o *DeletePostgresBackupConfigDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *DeletePostgresBackupConfigOK) Error() string
func (*DeletePostgresBackupConfigOK) GetPayload ¶
func (o *DeletePostgresBackupConfigOK) GetPayload() *models.V1PostgresBackupConfigResponse
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 ¶
func (o *DeletePostgresBackupConfigParams) SetContext(ctx context.Context)
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 ¶
func (o *DeletePostgresBackupConfigParams) SetID(id string)
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 ¶
func (o *DeletePostgresBackupConfigParams) WithContext(ctx context.Context) *DeletePostgresBackupConfigParams
WithContext adds the context to the delete postgres backup config params
func (*DeletePostgresBackupConfigParams) WithDefaults ¶
func (o *DeletePostgresBackupConfigParams) WithDefaults() *DeletePostgresBackupConfigParams
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 ¶
func (o *DeletePostgresBackupConfigParams) WithHTTPClient(client *http.Client) *DeletePostgresBackupConfigParams
WithHTTPClient adds the HTTPClient to the delete postgres backup config params
func (*DeletePostgresBackupConfigParams) WithID ¶
func (o *DeletePostgresBackupConfigParams) WithID(id string) *DeletePostgresBackupConfigParams
WithID adds the id to the delete postgres backup config params
func (*DeletePostgresBackupConfigParams) WithTimeout ¶
func (o *DeletePostgresBackupConfigParams) WithTimeout(timeout time.Duration) *DeletePostgresBackupConfigParams
WithTimeout adds the timeout to the delete postgres backup config params
func (*DeletePostgresBackupConfigParams) WriteToRequest ¶
func (o *DeletePostgresBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeletePostgresDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *DeletePostgresParams) WithContext(ctx context.Context) *DeletePostgresParams
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 ¶
func (o *DeletePostgresParams) WithID(id string) *DeletePostgresParams
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 (o *FindPostgresDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *FindPostgresParams) SetBody(body *models.V1PostgresFindRequest)
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 ¶
func (o *FindPostgresParams) WithBody(body *models.V1PostgresFindRequest) *FindPostgresParams
WithBody adds the body to the find postgres params
func (*FindPostgresParams) WithContext ¶
func (o *FindPostgresParams) WithContext(ctx context.Context) *FindPostgresParams
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 (o *GetBackupConfigDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *GetBackupConfigOK) GetPayload() *models.V1PostgresBackupConfigResponse
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 ¶
func (o *GetBackupConfigParams) WithContext(ctx context.Context) *GetBackupConfigParams
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 ¶
func (o *GetBackupConfigParams) WithID(id string) *GetBackupConfigParams
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 (o *GetPostgresBackupsDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *GetPostgresBackupsOK) GetPayload() []*models.V1PostgresBackupEntry
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 ¶
func (o *GetPostgresBackupsParams) WithContext(ctx context.Context) *GetPostgresBackupsParams
WithContext adds the context to the get postgres backups params
func (*GetPostgresBackupsParams) WithDefaults ¶
func (o *GetPostgresBackupsParams) WithDefaults() *GetPostgresBackupsParams
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 ¶
func (o *GetPostgresBackupsParams) WithID(id string) *GetPostgresBackupsParams
WithID adds the id to the get postgres backups params
func (*GetPostgresBackupsParams) WithTimeout ¶
func (o *GetPostgresBackupsParams) WithTimeout(timeout time.Duration) *GetPostgresBackupsParams
WithTimeout adds the timeout to the get postgres backups params
func (*GetPostgresBackupsParams) WriteToRequest ¶
func (o *GetPostgresBackupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPostgresDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *GetPostgresParams) WithID(id string) *GetPostgresParams
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 ¶
func (o *GetPostgresPartitionsDefault) Code() int
Code gets the status code for the get postgres partitions default response
func (*GetPostgresPartitionsDefault) Error ¶
func (o *GetPostgresPartitionsDefault) Error() string
func (*GetPostgresPartitionsDefault) GetPayload ¶
func (o *GetPostgresPartitionsDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *GetPostgresPartitionsOK) GetPayload() models.V1PostgresPartitionsResponse
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 ¶
func (o *GetPostgresPartitionsParams) WithContext(ctx context.Context) *GetPostgresPartitionsParams
WithContext adds the context to the get postgres partitions params
func (*GetPostgresPartitionsParams) WithDefaults ¶
func (o *GetPostgresPartitionsParams) WithDefaults() *GetPostgresPartitionsParams
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 ¶
func (o *GetPostgresPartitionsParams) WithHTTPClient(client *http.Client) *GetPostgresPartitionsParams
WithHTTPClient adds the HTTPClient to the get postgres partitions params
func (*GetPostgresPartitionsParams) WithTimeout ¶
func (o *GetPostgresPartitionsParams) WithTimeout(timeout time.Duration) *GetPostgresPartitionsParams
WithTimeout adds the timeout to the get postgres partitions params
func (*GetPostgresPartitionsParams) WriteToRequest ¶
func (o *GetPostgresPartitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPostgresSecretsDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *GetPostgresSecretsOK) GetPayload() *models.V1PostgresSecretsRespone
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 ¶
func (o *GetPostgresSecretsParams) WithContext(ctx context.Context) *GetPostgresSecretsParams
WithContext adds the context to the get postgres secrets params
func (*GetPostgresSecretsParams) WithDefaults ¶
func (o *GetPostgresSecretsParams) WithDefaults() *GetPostgresSecretsParams
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 ¶
func (o *GetPostgresSecretsParams) WithID(id string) *GetPostgresSecretsParams
WithID adds the id to the get postgres secrets params
func (*GetPostgresSecretsParams) WithTimeout ¶
func (o *GetPostgresSecretsParams) WithTimeout(timeout time.Duration) *GetPostgresSecretsParams
WithTimeout adds the timeout to the get postgres secrets params
func (*GetPostgresSecretsParams) WriteToRequest ¶
func (o *GetPostgresSecretsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPostgresVersionsDefault) Error() string
func (*GetPostgresVersionsDefault) GetPayload ¶
func (o *GetPostgresVersionsDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *GetPostgresVersionsParams) WithContext(ctx context.Context) *GetPostgresVersionsParams
WithContext adds the context to the get postgres versions params
func (*GetPostgresVersionsParams) WithDefaults ¶
func (o *GetPostgresVersionsParams) WithDefaults() *GetPostgresVersionsParams
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 ¶
func (o *GetPostgresVersionsParams) WithTimeout(timeout time.Duration) *GetPostgresVersionsParams
WithTimeout adds the timeout to the get postgres versions params
func (*GetPostgresVersionsParams) WriteToRequest ¶
func (o *GetPostgresVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListPostgresBackupConfigsDefault) Code() int
Code gets the status code for the list postgres backup configs default response
func (*ListPostgresBackupConfigsDefault) Error ¶
func (o *ListPostgresBackupConfigsDefault) Error() string
func (*ListPostgresBackupConfigsDefault) GetPayload ¶
func (o *ListPostgresBackupConfigsDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *ListPostgresBackupConfigsOK) Error() string
func (*ListPostgresBackupConfigsOK) GetPayload ¶
func (o *ListPostgresBackupConfigsOK) GetPayload() []*models.V1PostgresBackupConfigResponse
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 ¶
func (o *ListPostgresBackupConfigsParams) WithContext(ctx context.Context) *ListPostgresBackupConfigsParams
WithContext adds the context to the list postgres backup configs params
func (*ListPostgresBackupConfigsParams) WithDefaults ¶
func (o *ListPostgresBackupConfigsParams) WithDefaults() *ListPostgresBackupConfigsParams
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 ¶
func (o *ListPostgresBackupConfigsParams) WithHTTPClient(client *http.Client) *ListPostgresBackupConfigsParams
WithHTTPClient adds the HTTPClient to the list postgres backup configs params
func (*ListPostgresBackupConfigsParams) WithTimeout ¶
func (o *ListPostgresBackupConfigsParams) WithTimeout(timeout time.Duration) *ListPostgresBackupConfigsParams
WithTimeout adds the timeout to the list postgres backup configs params
func (*ListPostgresBackupConfigsParams) WriteToRequest ¶
func (o *ListPostgresBackupConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListPostgresDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *ListPostgresParams) WithContext(ctx context.Context) *ListPostgresParams
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 ¶
func (o *UpdatePostgresBackupConfigDefault) Code() int
Code gets the status code for the update postgres backup config default response
func (*UpdatePostgresBackupConfigDefault) Error ¶
func (o *UpdatePostgresBackupConfigDefault) Error() string
func (*UpdatePostgresBackupConfigDefault) GetPayload ¶
func (o *UpdatePostgresBackupConfigDefault) GetPayload() *httperrors.HTTPErrorResponse
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 (o *UpdatePostgresBackupConfigOK) Error() string
func (*UpdatePostgresBackupConfigOK) GetPayload ¶
func (o *UpdatePostgresBackupConfigOK) GetPayload() *models.V1PostgresBackupConfigResponse
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 ¶
func (o *UpdatePostgresBackupConfigParams) SetBody(body *models.V1PostgresBackupConfigUpdateRequest)
SetBody adds the body to the update postgres backup config params
func (*UpdatePostgresBackupConfigParams) SetContext ¶
func (o *UpdatePostgresBackupConfigParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdatePostgresBackupConfigParams) WithBody(body *models.V1PostgresBackupConfigUpdateRequest) *UpdatePostgresBackupConfigParams
WithBody adds the body to the update postgres backup config params
func (*UpdatePostgresBackupConfigParams) WithContext ¶
func (o *UpdatePostgresBackupConfigParams) WithContext(ctx context.Context) *UpdatePostgresBackupConfigParams
WithContext adds the context to the update postgres backup config params
func (*UpdatePostgresBackupConfigParams) WithDefaults ¶
func (o *UpdatePostgresBackupConfigParams) WithDefaults() *UpdatePostgresBackupConfigParams
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 ¶
func (o *UpdatePostgresBackupConfigParams) WithHTTPClient(client *http.Client) *UpdatePostgresBackupConfigParams
WithHTTPClient adds the HTTPClient to the update postgres backup config params
func (*UpdatePostgresBackupConfigParams) WithTimeout ¶
func (o *UpdatePostgresBackupConfigParams) WithTimeout(timeout time.Duration) *UpdatePostgresBackupConfigParams
WithTimeout adds the timeout to the update postgres backup config params
func (*UpdatePostgresBackupConfigParams) WriteToRequest ¶
func (o *UpdatePostgresBackupConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdatePostgresDefault) GetPayload() *httperrors.HTTPErrorResponse
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 ¶
func (o *UpdatePostgresParams) SetBody(body *models.V1PostgresUpdateRequest)
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 ¶
func (o *UpdatePostgresParams) WithBody(body *models.V1PostgresUpdateRequest) *UpdatePostgresParams
WithBody adds the body to the update postgres params
func (*UpdatePostgresParams) WithContext ¶
func (o *UpdatePostgresParams) WithContext(ctx context.Context) *UpdatePostgresParams
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.
Source Files ¶
- create_postgres_backup_config_parameters.go
- create_postgres_backup_config_responses.go
- create_postgres_parameters.go
- create_postgres_responses.go
- database_client.go
- delete_postgres_backup_config_parameters.go
- delete_postgres_backup_config_responses.go
- delete_postgres_parameters.go
- delete_postgres_responses.go
- find_postgres_parameters.go
- find_postgres_responses.go
- get_backup_config_parameters.go
- get_backup_config_responses.go
- get_postgres_backups_parameters.go
- get_postgres_backups_responses.go
- get_postgres_parameters.go
- get_postgres_partitions_parameters.go
- get_postgres_partitions_responses.go
- get_postgres_responses.go
- get_postgres_secrets_parameters.go
- get_postgres_secrets_responses.go
- get_postgres_versions_parameters.go
- get_postgres_versions_responses.go
- list_postgres_backup_configs_parameters.go
- list_postgres_backup_configs_responses.go
- list_postgres_parameters.go
- list_postgres_responses.go
- update_postgres_backup_config_parameters.go
- update_postgres_backup_config_responses.go
- update_postgres_parameters.go
- update_postgres_responses.go