Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDatabaseOnServer(params *CreateDatabaseOnServerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseOnServerOK, error)
- func (a *Client) CreateDatabaseServer(params *CreateDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseServerOK, error)
- func (a *Client) DeleteDatabaseServerByCrn(params *DeleteDatabaseServerByCrnParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDatabaseServerByCrnOK, error)
- func (a *Client) DeleteDatabaseServerByName(params *DeleteDatabaseServerByNameParams, ...) (*DeleteDatabaseServerByNameOK, error)
- func (a *Client) DeleteMultipleDatabaseServersByCrn(params *DeleteMultipleDatabaseServersByCrnParams, ...) (*DeleteMultipleDatabaseServersByCrnOK, error)
- func (a *Client) GetDatabaseServerByCrn(params *GetDatabaseServerByCrnParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatabaseServerByCrnOK, error)
- func (a *Client) GetDatabaseServerByName(params *GetDatabaseServerByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatabaseServerByNameOK, error)
- func (a *Client) ListDatabaseServers(params *ListDatabaseServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListDatabaseServersOK, error)
- func (a *Client) RegisterDatabaseServer(params *RegisterDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterDatabaseServerOK, error)
- func (a *Client) ReleaseManagedDatabaseServer(params *ReleaseManagedDatabaseServerParams, ...) (*ReleaseManagedDatabaseServerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartDatabaseServer(params *StartDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) StopDatabaseServer(params *StopDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) TestDatabaseServerConnection(params *TestDatabaseServerConnectionParams, ...) (*TestDatabaseServerConnectionOK, error)
- type CreateDatabaseOnServerOK
- type CreateDatabaseOnServerParams
- func NewCreateDatabaseOnServerParams() *CreateDatabaseOnServerParams
- func NewCreateDatabaseOnServerParamsWithContext(ctx context.Context) *CreateDatabaseOnServerParams
- func NewCreateDatabaseOnServerParamsWithHTTPClient(client *http.Client) *CreateDatabaseOnServerParams
- func NewCreateDatabaseOnServerParamsWithTimeout(timeout time.Duration) *CreateDatabaseOnServerParams
- func (o *CreateDatabaseOnServerParams) SetBody(body *model.CreateDatabaseV4Request)
- func (o *CreateDatabaseOnServerParams) SetContext(ctx context.Context)
- func (o *CreateDatabaseOnServerParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatabaseOnServerParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatabaseOnServerParams) WithBody(body *model.CreateDatabaseV4Request) *CreateDatabaseOnServerParams
- func (o *CreateDatabaseOnServerParams) WithContext(ctx context.Context) *CreateDatabaseOnServerParams
- func (o *CreateDatabaseOnServerParams) WithHTTPClient(client *http.Client) *CreateDatabaseOnServerParams
- func (o *CreateDatabaseOnServerParams) WithTimeout(timeout time.Duration) *CreateDatabaseOnServerParams
- func (o *CreateDatabaseOnServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatabaseOnServerReader
- type CreateDatabaseServerOK
- type CreateDatabaseServerParams
- func NewCreateDatabaseServerParams() *CreateDatabaseServerParams
- func NewCreateDatabaseServerParamsWithContext(ctx context.Context) *CreateDatabaseServerParams
- func NewCreateDatabaseServerParamsWithHTTPClient(client *http.Client) *CreateDatabaseServerParams
- func NewCreateDatabaseServerParamsWithTimeout(timeout time.Duration) *CreateDatabaseServerParams
- func (o *CreateDatabaseServerParams) SetBody(body *model.AllocateDatabaseServerV4Request)
- func (o *CreateDatabaseServerParams) SetContext(ctx context.Context)
- func (o *CreateDatabaseServerParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatabaseServerParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatabaseServerParams) WithBody(body *model.AllocateDatabaseServerV4Request) *CreateDatabaseServerParams
- func (o *CreateDatabaseServerParams) WithContext(ctx context.Context) *CreateDatabaseServerParams
- func (o *CreateDatabaseServerParams) WithHTTPClient(client *http.Client) *CreateDatabaseServerParams
- func (o *CreateDatabaseServerParams) WithTimeout(timeout time.Duration) *CreateDatabaseServerParams
- func (o *CreateDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatabaseServerReader
- type DeleteDatabaseServerByCrnOK
- type DeleteDatabaseServerByCrnParams
- func NewDeleteDatabaseServerByCrnParams() *DeleteDatabaseServerByCrnParams
- func NewDeleteDatabaseServerByCrnParamsWithContext(ctx context.Context) *DeleteDatabaseServerByCrnParams
- func NewDeleteDatabaseServerByCrnParamsWithHTTPClient(client *http.Client) *DeleteDatabaseServerByCrnParams
- func NewDeleteDatabaseServerByCrnParamsWithTimeout(timeout time.Duration) *DeleteDatabaseServerByCrnParams
- func (o *DeleteDatabaseServerByCrnParams) SetContext(ctx context.Context)
- func (o *DeleteDatabaseServerByCrnParams) SetCrn(crn string)
- func (o *DeleteDatabaseServerByCrnParams) SetForce(force *bool)
- func (o *DeleteDatabaseServerByCrnParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDatabaseServerByCrnParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDatabaseServerByCrnParams) WithContext(ctx context.Context) *DeleteDatabaseServerByCrnParams
- func (o *DeleteDatabaseServerByCrnParams) WithCrn(crn string) *DeleteDatabaseServerByCrnParams
- func (o *DeleteDatabaseServerByCrnParams) WithForce(force *bool) *DeleteDatabaseServerByCrnParams
- func (o *DeleteDatabaseServerByCrnParams) WithHTTPClient(client *http.Client) *DeleteDatabaseServerByCrnParams
- func (o *DeleteDatabaseServerByCrnParams) WithTimeout(timeout time.Duration) *DeleteDatabaseServerByCrnParams
- func (o *DeleteDatabaseServerByCrnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDatabaseServerByCrnReader
- type DeleteDatabaseServerByNameOK
- type DeleteDatabaseServerByNameParams
- func NewDeleteDatabaseServerByNameParams() *DeleteDatabaseServerByNameParams
- func NewDeleteDatabaseServerByNameParamsWithContext(ctx context.Context) *DeleteDatabaseServerByNameParams
- func NewDeleteDatabaseServerByNameParamsWithHTTPClient(client *http.Client) *DeleteDatabaseServerByNameParams
- func NewDeleteDatabaseServerByNameParamsWithTimeout(timeout time.Duration) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) SetContext(ctx context.Context)
- func (o *DeleteDatabaseServerByNameParams) SetEnvironmentCrn(environmentCrn string)
- func (o *DeleteDatabaseServerByNameParams) SetForce(force *bool)
- func (o *DeleteDatabaseServerByNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDatabaseServerByNameParams) SetName(name string)
- func (o *DeleteDatabaseServerByNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDatabaseServerByNameParams) WithContext(ctx context.Context) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) WithEnvironmentCrn(environmentCrn string) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) WithForce(force *bool) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) WithHTTPClient(client *http.Client) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) WithName(name string) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) WithTimeout(timeout time.Duration) *DeleteDatabaseServerByNameParams
- func (o *DeleteDatabaseServerByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDatabaseServerByNameReader
- type DeleteMultipleDatabaseServersByCrnOK
- type DeleteMultipleDatabaseServersByCrnParams
- func NewDeleteMultipleDatabaseServersByCrnParams() *DeleteMultipleDatabaseServersByCrnParams
- func NewDeleteMultipleDatabaseServersByCrnParamsWithContext(ctx context.Context) *DeleteMultipleDatabaseServersByCrnParams
- func NewDeleteMultipleDatabaseServersByCrnParamsWithHTTPClient(client *http.Client) *DeleteMultipleDatabaseServersByCrnParams
- func NewDeleteMultipleDatabaseServersByCrnParamsWithTimeout(timeout time.Duration) *DeleteMultipleDatabaseServersByCrnParams
- func (o *DeleteMultipleDatabaseServersByCrnParams) SetBody(body []string)
- func (o *DeleteMultipleDatabaseServersByCrnParams) SetContext(ctx context.Context)
- func (o *DeleteMultipleDatabaseServersByCrnParams) SetForce(force *bool)
- func (o *DeleteMultipleDatabaseServersByCrnParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMultipleDatabaseServersByCrnParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMultipleDatabaseServersByCrnParams) WithBody(body []string) *DeleteMultipleDatabaseServersByCrnParams
- func (o *DeleteMultipleDatabaseServersByCrnParams) WithContext(ctx context.Context) *DeleteMultipleDatabaseServersByCrnParams
- func (o *DeleteMultipleDatabaseServersByCrnParams) WithForce(force *bool) *DeleteMultipleDatabaseServersByCrnParams
- func (o *DeleteMultipleDatabaseServersByCrnParams) WithHTTPClient(client *http.Client) *DeleteMultipleDatabaseServersByCrnParams
- func (o *DeleteMultipleDatabaseServersByCrnParams) WithTimeout(timeout time.Duration) *DeleteMultipleDatabaseServersByCrnParams
- func (o *DeleteMultipleDatabaseServersByCrnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMultipleDatabaseServersByCrnReader
- type GetDatabaseServerByCrnOK
- type GetDatabaseServerByCrnParams
- func NewGetDatabaseServerByCrnParams() *GetDatabaseServerByCrnParams
- func NewGetDatabaseServerByCrnParamsWithContext(ctx context.Context) *GetDatabaseServerByCrnParams
- func NewGetDatabaseServerByCrnParamsWithHTTPClient(client *http.Client) *GetDatabaseServerByCrnParams
- func NewGetDatabaseServerByCrnParamsWithTimeout(timeout time.Duration) *GetDatabaseServerByCrnParams
- func (o *GetDatabaseServerByCrnParams) SetContext(ctx context.Context)
- func (o *GetDatabaseServerByCrnParams) SetCrn(crn string)
- func (o *GetDatabaseServerByCrnParams) SetHTTPClient(client *http.Client)
- func (o *GetDatabaseServerByCrnParams) SetTimeout(timeout time.Duration)
- func (o *GetDatabaseServerByCrnParams) WithContext(ctx context.Context) *GetDatabaseServerByCrnParams
- func (o *GetDatabaseServerByCrnParams) WithCrn(crn string) *GetDatabaseServerByCrnParams
- func (o *GetDatabaseServerByCrnParams) WithHTTPClient(client *http.Client) *GetDatabaseServerByCrnParams
- func (o *GetDatabaseServerByCrnParams) WithTimeout(timeout time.Duration) *GetDatabaseServerByCrnParams
- func (o *GetDatabaseServerByCrnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatabaseServerByCrnReader
- type GetDatabaseServerByNameOK
- type GetDatabaseServerByNameParams
- func NewGetDatabaseServerByNameParams() *GetDatabaseServerByNameParams
- func NewGetDatabaseServerByNameParamsWithContext(ctx context.Context) *GetDatabaseServerByNameParams
- func NewGetDatabaseServerByNameParamsWithHTTPClient(client *http.Client) *GetDatabaseServerByNameParams
- func NewGetDatabaseServerByNameParamsWithTimeout(timeout time.Duration) *GetDatabaseServerByNameParams
- func (o *GetDatabaseServerByNameParams) SetContext(ctx context.Context)
- func (o *GetDatabaseServerByNameParams) SetEnvironmentCrn(environmentCrn string)
- func (o *GetDatabaseServerByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetDatabaseServerByNameParams) SetName(name string)
- func (o *GetDatabaseServerByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetDatabaseServerByNameParams) WithContext(ctx context.Context) *GetDatabaseServerByNameParams
- func (o *GetDatabaseServerByNameParams) WithEnvironmentCrn(environmentCrn string) *GetDatabaseServerByNameParams
- func (o *GetDatabaseServerByNameParams) WithHTTPClient(client *http.Client) *GetDatabaseServerByNameParams
- func (o *GetDatabaseServerByNameParams) WithName(name string) *GetDatabaseServerByNameParams
- func (o *GetDatabaseServerByNameParams) WithTimeout(timeout time.Duration) *GetDatabaseServerByNameParams
- func (o *GetDatabaseServerByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatabaseServerByNameReader
- type ListDatabaseServersOK
- type ListDatabaseServersParams
- func NewListDatabaseServersParams() *ListDatabaseServersParams
- func NewListDatabaseServersParamsWithContext(ctx context.Context) *ListDatabaseServersParams
- func NewListDatabaseServersParamsWithHTTPClient(client *http.Client) *ListDatabaseServersParams
- func NewListDatabaseServersParamsWithTimeout(timeout time.Duration) *ListDatabaseServersParams
- func (o *ListDatabaseServersParams) SetContext(ctx context.Context)
- func (o *ListDatabaseServersParams) SetEnvironmentCrn(environmentCrn string)
- func (o *ListDatabaseServersParams) SetHTTPClient(client *http.Client)
- func (o *ListDatabaseServersParams) SetTimeout(timeout time.Duration)
- func (o *ListDatabaseServersParams) WithContext(ctx context.Context) *ListDatabaseServersParams
- func (o *ListDatabaseServersParams) WithEnvironmentCrn(environmentCrn string) *ListDatabaseServersParams
- func (o *ListDatabaseServersParams) WithHTTPClient(client *http.Client) *ListDatabaseServersParams
- func (o *ListDatabaseServersParams) WithTimeout(timeout time.Duration) *ListDatabaseServersParams
- func (o *ListDatabaseServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDatabaseServersReader
- type RegisterDatabaseServerOK
- type RegisterDatabaseServerParams
- func NewRegisterDatabaseServerParams() *RegisterDatabaseServerParams
- func NewRegisterDatabaseServerParamsWithContext(ctx context.Context) *RegisterDatabaseServerParams
- func NewRegisterDatabaseServerParamsWithHTTPClient(client *http.Client) *RegisterDatabaseServerParams
- func NewRegisterDatabaseServerParamsWithTimeout(timeout time.Duration) *RegisterDatabaseServerParams
- func (o *RegisterDatabaseServerParams) SetBody(body *model.DatabaseServerV4Request)
- func (o *RegisterDatabaseServerParams) SetContext(ctx context.Context)
- func (o *RegisterDatabaseServerParams) SetHTTPClient(client *http.Client)
- func (o *RegisterDatabaseServerParams) SetTimeout(timeout time.Duration)
- func (o *RegisterDatabaseServerParams) WithBody(body *model.DatabaseServerV4Request) *RegisterDatabaseServerParams
- func (o *RegisterDatabaseServerParams) WithContext(ctx context.Context) *RegisterDatabaseServerParams
- func (o *RegisterDatabaseServerParams) WithHTTPClient(client *http.Client) *RegisterDatabaseServerParams
- func (o *RegisterDatabaseServerParams) WithTimeout(timeout time.Duration) *RegisterDatabaseServerParams
- func (o *RegisterDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterDatabaseServerReader
- type ReleaseManagedDatabaseServerOK
- type ReleaseManagedDatabaseServerParams
- func NewReleaseManagedDatabaseServerParams() *ReleaseManagedDatabaseServerParams
- func NewReleaseManagedDatabaseServerParamsWithContext(ctx context.Context) *ReleaseManagedDatabaseServerParams
- func NewReleaseManagedDatabaseServerParamsWithHTTPClient(client *http.Client) *ReleaseManagedDatabaseServerParams
- func NewReleaseManagedDatabaseServerParamsWithTimeout(timeout time.Duration) *ReleaseManagedDatabaseServerParams
- func (o *ReleaseManagedDatabaseServerParams) SetContext(ctx context.Context)
- func (o *ReleaseManagedDatabaseServerParams) SetCrn(crn string)
- func (o *ReleaseManagedDatabaseServerParams) SetHTTPClient(client *http.Client)
- func (o *ReleaseManagedDatabaseServerParams) SetTimeout(timeout time.Duration)
- func (o *ReleaseManagedDatabaseServerParams) WithContext(ctx context.Context) *ReleaseManagedDatabaseServerParams
- func (o *ReleaseManagedDatabaseServerParams) WithCrn(crn string) *ReleaseManagedDatabaseServerParams
- func (o *ReleaseManagedDatabaseServerParams) WithHTTPClient(client *http.Client) *ReleaseManagedDatabaseServerParams
- func (o *ReleaseManagedDatabaseServerParams) WithTimeout(timeout time.Duration) *ReleaseManagedDatabaseServerParams
- func (o *ReleaseManagedDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReleaseManagedDatabaseServerReader
- type StartDatabaseServerDefault
- type StartDatabaseServerParams
- func NewStartDatabaseServerParams() *StartDatabaseServerParams
- func NewStartDatabaseServerParamsWithContext(ctx context.Context) *StartDatabaseServerParams
- func NewStartDatabaseServerParamsWithHTTPClient(client *http.Client) *StartDatabaseServerParams
- func NewStartDatabaseServerParamsWithTimeout(timeout time.Duration) *StartDatabaseServerParams
- func (o *StartDatabaseServerParams) SetContext(ctx context.Context)
- func (o *StartDatabaseServerParams) SetCrn(crn string)
- func (o *StartDatabaseServerParams) SetHTTPClient(client *http.Client)
- func (o *StartDatabaseServerParams) SetTimeout(timeout time.Duration)
- func (o *StartDatabaseServerParams) WithContext(ctx context.Context) *StartDatabaseServerParams
- func (o *StartDatabaseServerParams) WithCrn(crn string) *StartDatabaseServerParams
- func (o *StartDatabaseServerParams) WithHTTPClient(client *http.Client) *StartDatabaseServerParams
- func (o *StartDatabaseServerParams) WithTimeout(timeout time.Duration) *StartDatabaseServerParams
- func (o *StartDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartDatabaseServerReader
- type StopDatabaseServerDefault
- type StopDatabaseServerParams
- func NewStopDatabaseServerParams() *StopDatabaseServerParams
- func NewStopDatabaseServerParamsWithContext(ctx context.Context) *StopDatabaseServerParams
- func NewStopDatabaseServerParamsWithHTTPClient(client *http.Client) *StopDatabaseServerParams
- func NewStopDatabaseServerParamsWithTimeout(timeout time.Duration) *StopDatabaseServerParams
- func (o *StopDatabaseServerParams) SetContext(ctx context.Context)
- func (o *StopDatabaseServerParams) SetCrn(crn string)
- func (o *StopDatabaseServerParams) SetHTTPClient(client *http.Client)
- func (o *StopDatabaseServerParams) SetTimeout(timeout time.Duration)
- func (o *StopDatabaseServerParams) WithContext(ctx context.Context) *StopDatabaseServerParams
- func (o *StopDatabaseServerParams) WithCrn(crn string) *StopDatabaseServerParams
- func (o *StopDatabaseServerParams) WithHTTPClient(client *http.Client) *StopDatabaseServerParams
- func (o *StopDatabaseServerParams) WithTimeout(timeout time.Duration) *StopDatabaseServerParams
- func (o *StopDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopDatabaseServerReader
- type TestDatabaseServerConnectionOK
- type TestDatabaseServerConnectionParams
- func NewTestDatabaseServerConnectionParams() *TestDatabaseServerConnectionParams
- func NewTestDatabaseServerConnectionParamsWithContext(ctx context.Context) *TestDatabaseServerConnectionParams
- func NewTestDatabaseServerConnectionParamsWithHTTPClient(client *http.Client) *TestDatabaseServerConnectionParams
- func NewTestDatabaseServerConnectionParamsWithTimeout(timeout time.Duration) *TestDatabaseServerConnectionParams
- func (o *TestDatabaseServerConnectionParams) SetBody(body *model.DatabaseServerTestV4Request)
- func (o *TestDatabaseServerConnectionParams) SetContext(ctx context.Context)
- func (o *TestDatabaseServerConnectionParams) SetHTTPClient(client *http.Client)
- func (o *TestDatabaseServerConnectionParams) SetTimeout(timeout time.Duration)
- func (o *TestDatabaseServerConnectionParams) WithBody(body *model.DatabaseServerTestV4Request) *TestDatabaseServerConnectionParams
- func (o *TestDatabaseServerConnectionParams) WithContext(ctx context.Context) *TestDatabaseServerConnectionParams
- func (o *TestDatabaseServerConnectionParams) WithHTTPClient(client *http.Client) *TestDatabaseServerConnectionParams
- func (o *TestDatabaseServerConnectionParams) WithTimeout(timeout time.Duration) *TestDatabaseServerConnectionParams
- func (o *TestDatabaseServerConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestDatabaseServerConnectionReader
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 servers API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new database servers API client.
func (*Client) CreateDatabaseOnServer ¶
func (a *Client) CreateDatabaseOnServer(params *CreateDatabaseOnServerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseOnServerOK, error)
CreateDatabaseOnServer creates a database on an existing database server
Creates a new database on a database server. The database starts out empty. A new user with credentials separate from the database server's administrative user is also created, with full rights to the new database.
func (*Client) CreateDatabaseServer ¶
func (a *Client) CreateDatabaseServer(params *CreateDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDatabaseServerOK, error)
CreateDatabaseServer creates and register a database server in a cloud provider
Creates a new database server. The database server starts out with only default databases.
func (*Client) DeleteDatabaseServerByCrn ¶
func (a *Client) DeleteDatabaseServerByCrn(params *DeleteDatabaseServerByCrnParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDatabaseServerByCrnOK, error)
DeleteDatabaseServerByCrn terminates and or deregister a database server by c r n
Terminates and/or deregisters a database server by its CRN.
func (*Client) DeleteDatabaseServerByName ¶
func (a *Client) DeleteDatabaseServerByName(params *DeleteDatabaseServerByNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDatabaseServerByNameOK, error)
DeleteDatabaseServerByName terminates and or deregister a database server by name
Terminates and/or deregisters a database server by its name.
func (*Client) DeleteMultipleDatabaseServersByCrn ¶
func (a *Client) DeleteMultipleDatabaseServersByCrn(params *DeleteMultipleDatabaseServersByCrnParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMultipleDatabaseServersByCrnOK, error)
DeleteMultipleDatabaseServersByCrn terminates and or deregister multiple database servers by c r n
Terminates and/or deregisters multiple database servers, each by CRN.
func (*Client) GetDatabaseServerByCrn ¶
func (a *Client) GetDatabaseServerByCrn(params *GetDatabaseServerByCrnParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatabaseServerByCrnOK, error)
GetDatabaseServerByCrn gets a database server by c r n
Gets information on a database server by its CRN.
func (*Client) GetDatabaseServerByName ¶
func (a *Client) GetDatabaseServerByName(params *GetDatabaseServerByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetDatabaseServerByNameOK, error)
GetDatabaseServerByName gets a database server by name
Gets information on a database server by its name.
func (*Client) ListDatabaseServers ¶
func (a *Client) ListDatabaseServers(params *ListDatabaseServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListDatabaseServersOK, error)
ListDatabaseServers lists database servers
Lists all database servers that are known, either because they were registered or because this service created them.
func (*Client) RegisterDatabaseServer ¶
func (a *Client) RegisterDatabaseServer(params *RegisterDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterDatabaseServerOK, error)
RegisterDatabaseServer registers a database server
Registers an existing database server.
func (*Client) ReleaseManagedDatabaseServer ¶
func (a *Client) ReleaseManagedDatabaseServer(params *ReleaseManagedDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) (*ReleaseManagedDatabaseServerOK, error)
ReleaseManagedDatabaseServer releases management of a service managed database server
Releases management of a service-managed database server. Resource tracking information is discarded, but the server remains registered as user-managed.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartDatabaseServer ¶
func (a *Client) StartDatabaseServer(params *StartDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) error
StartDatabaseServer starts database server
Start a previosly stopped database server.
func (*Client) StopDatabaseServer ¶
func (a *Client) StopDatabaseServer(params *StopDatabaseServerParams, authInfo runtime.ClientAuthInfoWriter) error
StopDatabaseServer stops database server
Stop a running database server.
func (*Client) TestDatabaseServerConnection ¶
func (a *Client) TestDatabaseServerConnection(params *TestDatabaseServerConnectionParams, authInfo runtime.ClientAuthInfoWriter) (*TestDatabaseServerConnectionOK, error)
TestDatabaseServerConnection tests database server connectivity
Tests connectivity to a database. Use this to verify access to the database server from this service, and also to verify authentication credentials.
type CreateDatabaseOnServerOK ¶
type CreateDatabaseOnServerOK struct {
Payload *model.CreateDatabaseV4Response
}
CreateDatabaseOnServerOK handles this case with default header values.
successful operation
func NewCreateDatabaseOnServerOK ¶
func NewCreateDatabaseOnServerOK() *CreateDatabaseOnServerOK
NewCreateDatabaseOnServerOK creates a CreateDatabaseOnServerOK with default headers values
func (*CreateDatabaseOnServerOK) Error ¶
func (o *CreateDatabaseOnServerOK) Error() string
type CreateDatabaseOnServerParams ¶
type CreateDatabaseOnServerParams struct { /*Body Request for creating a new database on a registered database server */ Body *model.CreateDatabaseV4Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatabaseOnServerParams contains all the parameters to send to the API endpoint for the create database on server operation typically these are written to a http.Request
func NewCreateDatabaseOnServerParams ¶
func NewCreateDatabaseOnServerParams() *CreateDatabaseOnServerParams
NewCreateDatabaseOnServerParams creates a new CreateDatabaseOnServerParams object with the default values initialized.
func NewCreateDatabaseOnServerParamsWithContext ¶
func NewCreateDatabaseOnServerParamsWithContext(ctx context.Context) *CreateDatabaseOnServerParams
NewCreateDatabaseOnServerParamsWithContext creates a new CreateDatabaseOnServerParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDatabaseOnServerParamsWithHTTPClient ¶
func NewCreateDatabaseOnServerParamsWithHTTPClient(client *http.Client) *CreateDatabaseOnServerParams
NewCreateDatabaseOnServerParamsWithHTTPClient creates a new CreateDatabaseOnServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDatabaseOnServerParamsWithTimeout ¶
func NewCreateDatabaseOnServerParamsWithTimeout(timeout time.Duration) *CreateDatabaseOnServerParams
NewCreateDatabaseOnServerParamsWithTimeout creates a new CreateDatabaseOnServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDatabaseOnServerParams) SetBody ¶
func (o *CreateDatabaseOnServerParams) SetBody(body *model.CreateDatabaseV4Request)
SetBody adds the body to the create database on server params
func (*CreateDatabaseOnServerParams) SetContext ¶
func (o *CreateDatabaseOnServerParams) SetContext(ctx context.Context)
SetContext adds the context to the create database on server params
func (*CreateDatabaseOnServerParams) SetHTTPClient ¶
func (o *CreateDatabaseOnServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create database on server params
func (*CreateDatabaseOnServerParams) SetTimeout ¶
func (o *CreateDatabaseOnServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create database on server params
func (*CreateDatabaseOnServerParams) WithBody ¶
func (o *CreateDatabaseOnServerParams) WithBody(body *model.CreateDatabaseV4Request) *CreateDatabaseOnServerParams
WithBody adds the body to the create database on server params
func (*CreateDatabaseOnServerParams) WithContext ¶
func (o *CreateDatabaseOnServerParams) WithContext(ctx context.Context) *CreateDatabaseOnServerParams
WithContext adds the context to the create database on server params
func (*CreateDatabaseOnServerParams) WithHTTPClient ¶
func (o *CreateDatabaseOnServerParams) WithHTTPClient(client *http.Client) *CreateDatabaseOnServerParams
WithHTTPClient adds the HTTPClient to the create database on server params
func (*CreateDatabaseOnServerParams) WithTimeout ¶
func (o *CreateDatabaseOnServerParams) WithTimeout(timeout time.Duration) *CreateDatabaseOnServerParams
WithTimeout adds the timeout to the create database on server params
func (*CreateDatabaseOnServerParams) WriteToRequest ¶
func (o *CreateDatabaseOnServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatabaseOnServerReader ¶
type CreateDatabaseOnServerReader struct {
// contains filtered or unexported fields
}
CreateDatabaseOnServerReader is a Reader for the CreateDatabaseOnServer structure.
func (*CreateDatabaseOnServerReader) ReadResponse ¶
func (o *CreateDatabaseOnServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDatabaseServerOK ¶
type CreateDatabaseServerOK struct {
Payload *model.DatabaseServerStatusV4Response
}
CreateDatabaseServerOK handles this case with default header values.
successful operation
func NewCreateDatabaseServerOK ¶
func NewCreateDatabaseServerOK() *CreateDatabaseServerOK
NewCreateDatabaseServerOK creates a CreateDatabaseServerOK with default headers values
func (*CreateDatabaseServerOK) Error ¶
func (o *CreateDatabaseServerOK) Error() string
type CreateDatabaseServerParams ¶
type CreateDatabaseServerParams struct { /*Body Request for allocating a new database server in a provider */ Body *model.AllocateDatabaseServerV4Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatabaseServerParams contains all the parameters to send to the API endpoint for the create database server operation typically these are written to a http.Request
func NewCreateDatabaseServerParams ¶
func NewCreateDatabaseServerParams() *CreateDatabaseServerParams
NewCreateDatabaseServerParams creates a new CreateDatabaseServerParams object with the default values initialized.
func NewCreateDatabaseServerParamsWithContext ¶
func NewCreateDatabaseServerParamsWithContext(ctx context.Context) *CreateDatabaseServerParams
NewCreateDatabaseServerParamsWithContext creates a new CreateDatabaseServerParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDatabaseServerParamsWithHTTPClient ¶
func NewCreateDatabaseServerParamsWithHTTPClient(client *http.Client) *CreateDatabaseServerParams
NewCreateDatabaseServerParamsWithHTTPClient creates a new CreateDatabaseServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDatabaseServerParamsWithTimeout ¶
func NewCreateDatabaseServerParamsWithTimeout(timeout time.Duration) *CreateDatabaseServerParams
NewCreateDatabaseServerParamsWithTimeout creates a new CreateDatabaseServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDatabaseServerParams) SetBody ¶
func (o *CreateDatabaseServerParams) SetBody(body *model.AllocateDatabaseServerV4Request)
SetBody adds the body to the create database server params
func (*CreateDatabaseServerParams) SetContext ¶
func (o *CreateDatabaseServerParams) SetContext(ctx context.Context)
SetContext adds the context to the create database server params
func (*CreateDatabaseServerParams) SetHTTPClient ¶
func (o *CreateDatabaseServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create database server params
func (*CreateDatabaseServerParams) SetTimeout ¶
func (o *CreateDatabaseServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create database server params
func (*CreateDatabaseServerParams) WithBody ¶
func (o *CreateDatabaseServerParams) WithBody(body *model.AllocateDatabaseServerV4Request) *CreateDatabaseServerParams
WithBody adds the body to the create database server params
func (*CreateDatabaseServerParams) WithContext ¶
func (o *CreateDatabaseServerParams) WithContext(ctx context.Context) *CreateDatabaseServerParams
WithContext adds the context to the create database server params
func (*CreateDatabaseServerParams) WithHTTPClient ¶
func (o *CreateDatabaseServerParams) WithHTTPClient(client *http.Client) *CreateDatabaseServerParams
WithHTTPClient adds the HTTPClient to the create database server params
func (*CreateDatabaseServerParams) WithTimeout ¶
func (o *CreateDatabaseServerParams) WithTimeout(timeout time.Duration) *CreateDatabaseServerParams
WithTimeout adds the timeout to the create database server params
func (*CreateDatabaseServerParams) WriteToRequest ¶
func (o *CreateDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatabaseServerReader ¶
type CreateDatabaseServerReader struct {
// contains filtered or unexported fields
}
CreateDatabaseServerReader is a Reader for the CreateDatabaseServer structure.
func (*CreateDatabaseServerReader) ReadResponse ¶
func (o *CreateDatabaseServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDatabaseServerByCrnOK ¶
type DeleteDatabaseServerByCrnOK struct {
Payload *model.DatabaseServerV4Response
}
DeleteDatabaseServerByCrnOK handles this case with default header values.
successful operation
func NewDeleteDatabaseServerByCrnOK ¶
func NewDeleteDatabaseServerByCrnOK() *DeleteDatabaseServerByCrnOK
NewDeleteDatabaseServerByCrnOK creates a DeleteDatabaseServerByCrnOK with default headers values
func (*DeleteDatabaseServerByCrnOK) Error ¶
func (o *DeleteDatabaseServerByCrnOK) Error() string
type DeleteDatabaseServerByCrnParams ¶
type DeleteDatabaseServerByCrnParams struct { /*Crn CRN of the database server */ Crn string /*Force*/ Force *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDatabaseServerByCrnParams contains all the parameters to send to the API endpoint for the delete database server by crn operation typically these are written to a http.Request
func NewDeleteDatabaseServerByCrnParams ¶
func NewDeleteDatabaseServerByCrnParams() *DeleteDatabaseServerByCrnParams
NewDeleteDatabaseServerByCrnParams creates a new DeleteDatabaseServerByCrnParams object with the default values initialized.
func NewDeleteDatabaseServerByCrnParamsWithContext ¶
func NewDeleteDatabaseServerByCrnParamsWithContext(ctx context.Context) *DeleteDatabaseServerByCrnParams
NewDeleteDatabaseServerByCrnParamsWithContext creates a new DeleteDatabaseServerByCrnParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDatabaseServerByCrnParamsWithHTTPClient ¶
func NewDeleteDatabaseServerByCrnParamsWithHTTPClient(client *http.Client) *DeleteDatabaseServerByCrnParams
NewDeleteDatabaseServerByCrnParamsWithHTTPClient creates a new DeleteDatabaseServerByCrnParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDatabaseServerByCrnParamsWithTimeout ¶
func NewDeleteDatabaseServerByCrnParamsWithTimeout(timeout time.Duration) *DeleteDatabaseServerByCrnParams
NewDeleteDatabaseServerByCrnParamsWithTimeout creates a new DeleteDatabaseServerByCrnParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDatabaseServerByCrnParams) SetContext ¶
func (o *DeleteDatabaseServerByCrnParams) SetContext(ctx context.Context)
SetContext adds the context to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) SetCrn ¶
func (o *DeleteDatabaseServerByCrnParams) SetCrn(crn string)
SetCrn adds the crn to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) SetForce ¶
func (o *DeleteDatabaseServerByCrnParams) SetForce(force *bool)
SetForce adds the force to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) SetHTTPClient ¶
func (o *DeleteDatabaseServerByCrnParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) SetTimeout ¶
func (o *DeleteDatabaseServerByCrnParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) WithContext ¶
func (o *DeleteDatabaseServerByCrnParams) WithContext(ctx context.Context) *DeleteDatabaseServerByCrnParams
WithContext adds the context to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) WithCrn ¶
func (o *DeleteDatabaseServerByCrnParams) WithCrn(crn string) *DeleteDatabaseServerByCrnParams
WithCrn adds the crn to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) WithForce ¶
func (o *DeleteDatabaseServerByCrnParams) WithForce(force *bool) *DeleteDatabaseServerByCrnParams
WithForce adds the force to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) WithHTTPClient ¶
func (o *DeleteDatabaseServerByCrnParams) WithHTTPClient(client *http.Client) *DeleteDatabaseServerByCrnParams
WithHTTPClient adds the HTTPClient to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) WithTimeout ¶
func (o *DeleteDatabaseServerByCrnParams) WithTimeout(timeout time.Duration) *DeleteDatabaseServerByCrnParams
WithTimeout adds the timeout to the delete database server by crn params
func (*DeleteDatabaseServerByCrnParams) WriteToRequest ¶
func (o *DeleteDatabaseServerByCrnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDatabaseServerByCrnReader ¶
type DeleteDatabaseServerByCrnReader struct {
// contains filtered or unexported fields
}
DeleteDatabaseServerByCrnReader is a Reader for the DeleteDatabaseServerByCrn structure.
func (*DeleteDatabaseServerByCrnReader) ReadResponse ¶
func (o *DeleteDatabaseServerByCrnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDatabaseServerByNameOK ¶
type DeleteDatabaseServerByNameOK struct {
Payload *model.DatabaseServerV4Response
}
DeleteDatabaseServerByNameOK handles this case with default header values.
successful operation
func NewDeleteDatabaseServerByNameOK ¶
func NewDeleteDatabaseServerByNameOK() *DeleteDatabaseServerByNameOK
NewDeleteDatabaseServerByNameOK creates a DeleteDatabaseServerByNameOK with default headers values
func (*DeleteDatabaseServerByNameOK) Error ¶
func (o *DeleteDatabaseServerByNameOK) Error() string
type DeleteDatabaseServerByNameParams ¶
type DeleteDatabaseServerByNameParams struct { /*EnvironmentCrn CRN of the environment of the database server(s) */ EnvironmentCrn string /*Force*/ Force *bool /*Name Name of the database server */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDatabaseServerByNameParams contains all the parameters to send to the API endpoint for the delete database server by name operation typically these are written to a http.Request
func NewDeleteDatabaseServerByNameParams ¶
func NewDeleteDatabaseServerByNameParams() *DeleteDatabaseServerByNameParams
NewDeleteDatabaseServerByNameParams creates a new DeleteDatabaseServerByNameParams object with the default values initialized.
func NewDeleteDatabaseServerByNameParamsWithContext ¶
func NewDeleteDatabaseServerByNameParamsWithContext(ctx context.Context) *DeleteDatabaseServerByNameParams
NewDeleteDatabaseServerByNameParamsWithContext creates a new DeleteDatabaseServerByNameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDatabaseServerByNameParamsWithHTTPClient ¶
func NewDeleteDatabaseServerByNameParamsWithHTTPClient(client *http.Client) *DeleteDatabaseServerByNameParams
NewDeleteDatabaseServerByNameParamsWithHTTPClient creates a new DeleteDatabaseServerByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDatabaseServerByNameParamsWithTimeout ¶
func NewDeleteDatabaseServerByNameParamsWithTimeout(timeout time.Duration) *DeleteDatabaseServerByNameParams
NewDeleteDatabaseServerByNameParamsWithTimeout creates a new DeleteDatabaseServerByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDatabaseServerByNameParams) SetContext ¶
func (o *DeleteDatabaseServerByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) SetEnvironmentCrn ¶
func (o *DeleteDatabaseServerByNameParams) SetEnvironmentCrn(environmentCrn string)
SetEnvironmentCrn adds the environmentCrn to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) SetForce ¶
func (o *DeleteDatabaseServerByNameParams) SetForce(force *bool)
SetForce adds the force to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) SetHTTPClient ¶
func (o *DeleteDatabaseServerByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) SetName ¶
func (o *DeleteDatabaseServerByNameParams) SetName(name string)
SetName adds the name to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) SetTimeout ¶
func (o *DeleteDatabaseServerByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WithContext ¶
func (o *DeleteDatabaseServerByNameParams) WithContext(ctx context.Context) *DeleteDatabaseServerByNameParams
WithContext adds the context to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WithEnvironmentCrn ¶
func (o *DeleteDatabaseServerByNameParams) WithEnvironmentCrn(environmentCrn string) *DeleteDatabaseServerByNameParams
WithEnvironmentCrn adds the environmentCrn to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WithForce ¶
func (o *DeleteDatabaseServerByNameParams) WithForce(force *bool) *DeleteDatabaseServerByNameParams
WithForce adds the force to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WithHTTPClient ¶
func (o *DeleteDatabaseServerByNameParams) WithHTTPClient(client *http.Client) *DeleteDatabaseServerByNameParams
WithHTTPClient adds the HTTPClient to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WithName ¶
func (o *DeleteDatabaseServerByNameParams) WithName(name string) *DeleteDatabaseServerByNameParams
WithName adds the name to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WithTimeout ¶
func (o *DeleteDatabaseServerByNameParams) WithTimeout(timeout time.Duration) *DeleteDatabaseServerByNameParams
WithTimeout adds the timeout to the delete database server by name params
func (*DeleteDatabaseServerByNameParams) WriteToRequest ¶
func (o *DeleteDatabaseServerByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDatabaseServerByNameReader ¶
type DeleteDatabaseServerByNameReader struct {
// contains filtered or unexported fields
}
DeleteDatabaseServerByNameReader is a Reader for the DeleteDatabaseServerByName structure.
func (*DeleteDatabaseServerByNameReader) ReadResponse ¶
func (o *DeleteDatabaseServerByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMultipleDatabaseServersByCrnOK ¶
type DeleteMultipleDatabaseServersByCrnOK struct {
Payload *model.DatabaseServerV4Responses
}
DeleteMultipleDatabaseServersByCrnOK handles this case with default header values.
successful operation
func NewDeleteMultipleDatabaseServersByCrnOK ¶
func NewDeleteMultipleDatabaseServersByCrnOK() *DeleteMultipleDatabaseServersByCrnOK
NewDeleteMultipleDatabaseServersByCrnOK creates a DeleteMultipleDatabaseServersByCrnOK with default headers values
func (*DeleteMultipleDatabaseServersByCrnOK) Error ¶
func (o *DeleteMultipleDatabaseServersByCrnOK) Error() string
type DeleteMultipleDatabaseServersByCrnParams ¶
type DeleteMultipleDatabaseServersByCrnParams struct { /*Body CRNs of the database servers */ Body []string /*Force*/ Force *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMultipleDatabaseServersByCrnParams contains all the parameters to send to the API endpoint for the delete multiple database servers by crn operation typically these are written to a http.Request
func NewDeleteMultipleDatabaseServersByCrnParams ¶
func NewDeleteMultipleDatabaseServersByCrnParams() *DeleteMultipleDatabaseServersByCrnParams
NewDeleteMultipleDatabaseServersByCrnParams creates a new DeleteMultipleDatabaseServersByCrnParams object with the default values initialized.
func NewDeleteMultipleDatabaseServersByCrnParamsWithContext ¶
func NewDeleteMultipleDatabaseServersByCrnParamsWithContext(ctx context.Context) *DeleteMultipleDatabaseServersByCrnParams
NewDeleteMultipleDatabaseServersByCrnParamsWithContext creates a new DeleteMultipleDatabaseServersByCrnParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMultipleDatabaseServersByCrnParamsWithHTTPClient ¶
func NewDeleteMultipleDatabaseServersByCrnParamsWithHTTPClient(client *http.Client) *DeleteMultipleDatabaseServersByCrnParams
NewDeleteMultipleDatabaseServersByCrnParamsWithHTTPClient creates a new DeleteMultipleDatabaseServersByCrnParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMultipleDatabaseServersByCrnParamsWithTimeout ¶
func NewDeleteMultipleDatabaseServersByCrnParamsWithTimeout(timeout time.Duration) *DeleteMultipleDatabaseServersByCrnParams
NewDeleteMultipleDatabaseServersByCrnParamsWithTimeout creates a new DeleteMultipleDatabaseServersByCrnParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMultipleDatabaseServersByCrnParams) SetBody ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) SetBody(body []string)
SetBody adds the body to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) SetContext ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) SetContext(ctx context.Context)
SetContext adds the context to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) SetForce ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) SetForce(force *bool)
SetForce adds the force to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) SetHTTPClient ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) SetTimeout ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) WithBody ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) WithBody(body []string) *DeleteMultipleDatabaseServersByCrnParams
WithBody adds the body to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) WithContext ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) WithContext(ctx context.Context) *DeleteMultipleDatabaseServersByCrnParams
WithContext adds the context to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) WithForce ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) WithForce(force *bool) *DeleteMultipleDatabaseServersByCrnParams
WithForce adds the force to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) WithHTTPClient ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) WithHTTPClient(client *http.Client) *DeleteMultipleDatabaseServersByCrnParams
WithHTTPClient adds the HTTPClient to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) WithTimeout ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) WithTimeout(timeout time.Duration) *DeleteMultipleDatabaseServersByCrnParams
WithTimeout adds the timeout to the delete multiple database servers by crn params
func (*DeleteMultipleDatabaseServersByCrnParams) WriteToRequest ¶
func (o *DeleteMultipleDatabaseServersByCrnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMultipleDatabaseServersByCrnReader ¶
type DeleteMultipleDatabaseServersByCrnReader struct {
// contains filtered or unexported fields
}
DeleteMultipleDatabaseServersByCrnReader is a Reader for the DeleteMultipleDatabaseServersByCrn structure.
func (*DeleteMultipleDatabaseServersByCrnReader) ReadResponse ¶
func (o *DeleteMultipleDatabaseServersByCrnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatabaseServerByCrnOK ¶
type GetDatabaseServerByCrnOK struct {
Payload *model.DatabaseServerV4Response
}
GetDatabaseServerByCrnOK handles this case with default header values.
successful operation
func NewGetDatabaseServerByCrnOK ¶
func NewGetDatabaseServerByCrnOK() *GetDatabaseServerByCrnOK
NewGetDatabaseServerByCrnOK creates a GetDatabaseServerByCrnOK with default headers values
func (*GetDatabaseServerByCrnOK) Error ¶
func (o *GetDatabaseServerByCrnOK) Error() string
type GetDatabaseServerByCrnParams ¶
type GetDatabaseServerByCrnParams struct { /*Crn CRN of the database server */ Crn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatabaseServerByCrnParams contains all the parameters to send to the API endpoint for the get database server by crn operation typically these are written to a http.Request
func NewGetDatabaseServerByCrnParams ¶
func NewGetDatabaseServerByCrnParams() *GetDatabaseServerByCrnParams
NewGetDatabaseServerByCrnParams creates a new GetDatabaseServerByCrnParams object with the default values initialized.
func NewGetDatabaseServerByCrnParamsWithContext ¶
func NewGetDatabaseServerByCrnParamsWithContext(ctx context.Context) *GetDatabaseServerByCrnParams
NewGetDatabaseServerByCrnParamsWithContext creates a new GetDatabaseServerByCrnParams object with the default values initialized, and the ability to set a context for a request
func NewGetDatabaseServerByCrnParamsWithHTTPClient ¶
func NewGetDatabaseServerByCrnParamsWithHTTPClient(client *http.Client) *GetDatabaseServerByCrnParams
NewGetDatabaseServerByCrnParamsWithHTTPClient creates a new GetDatabaseServerByCrnParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDatabaseServerByCrnParamsWithTimeout ¶
func NewGetDatabaseServerByCrnParamsWithTimeout(timeout time.Duration) *GetDatabaseServerByCrnParams
NewGetDatabaseServerByCrnParamsWithTimeout creates a new GetDatabaseServerByCrnParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDatabaseServerByCrnParams) SetContext ¶
func (o *GetDatabaseServerByCrnParams) SetContext(ctx context.Context)
SetContext adds the context to the get database server by crn params
func (*GetDatabaseServerByCrnParams) SetCrn ¶
func (o *GetDatabaseServerByCrnParams) SetCrn(crn string)
SetCrn adds the crn to the get database server by crn params
func (*GetDatabaseServerByCrnParams) SetHTTPClient ¶
func (o *GetDatabaseServerByCrnParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get database server by crn params
func (*GetDatabaseServerByCrnParams) SetTimeout ¶
func (o *GetDatabaseServerByCrnParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get database server by crn params
func (*GetDatabaseServerByCrnParams) WithContext ¶
func (o *GetDatabaseServerByCrnParams) WithContext(ctx context.Context) *GetDatabaseServerByCrnParams
WithContext adds the context to the get database server by crn params
func (*GetDatabaseServerByCrnParams) WithCrn ¶
func (o *GetDatabaseServerByCrnParams) WithCrn(crn string) *GetDatabaseServerByCrnParams
WithCrn adds the crn to the get database server by crn params
func (*GetDatabaseServerByCrnParams) WithHTTPClient ¶
func (o *GetDatabaseServerByCrnParams) WithHTTPClient(client *http.Client) *GetDatabaseServerByCrnParams
WithHTTPClient adds the HTTPClient to the get database server by crn params
func (*GetDatabaseServerByCrnParams) WithTimeout ¶
func (o *GetDatabaseServerByCrnParams) WithTimeout(timeout time.Duration) *GetDatabaseServerByCrnParams
WithTimeout adds the timeout to the get database server by crn params
func (*GetDatabaseServerByCrnParams) WriteToRequest ¶
func (o *GetDatabaseServerByCrnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatabaseServerByCrnReader ¶
type GetDatabaseServerByCrnReader struct {
// contains filtered or unexported fields
}
GetDatabaseServerByCrnReader is a Reader for the GetDatabaseServerByCrn structure.
func (*GetDatabaseServerByCrnReader) ReadResponse ¶
func (o *GetDatabaseServerByCrnReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatabaseServerByNameOK ¶
type GetDatabaseServerByNameOK struct {
Payload *model.DatabaseServerV4Response
}
GetDatabaseServerByNameOK handles this case with default header values.
successful operation
func NewGetDatabaseServerByNameOK ¶
func NewGetDatabaseServerByNameOK() *GetDatabaseServerByNameOK
NewGetDatabaseServerByNameOK creates a GetDatabaseServerByNameOK with default headers values
func (*GetDatabaseServerByNameOK) Error ¶
func (o *GetDatabaseServerByNameOK) Error() string
type GetDatabaseServerByNameParams ¶
type GetDatabaseServerByNameParams struct { /*EnvironmentCrn CRN of the environment of the database server(s) */ EnvironmentCrn string /*Name Name of the database server */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatabaseServerByNameParams contains all the parameters to send to the API endpoint for the get database server by name operation typically these are written to a http.Request
func NewGetDatabaseServerByNameParams ¶
func NewGetDatabaseServerByNameParams() *GetDatabaseServerByNameParams
NewGetDatabaseServerByNameParams creates a new GetDatabaseServerByNameParams object with the default values initialized.
func NewGetDatabaseServerByNameParamsWithContext ¶
func NewGetDatabaseServerByNameParamsWithContext(ctx context.Context) *GetDatabaseServerByNameParams
NewGetDatabaseServerByNameParamsWithContext creates a new GetDatabaseServerByNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetDatabaseServerByNameParamsWithHTTPClient ¶
func NewGetDatabaseServerByNameParamsWithHTTPClient(client *http.Client) *GetDatabaseServerByNameParams
NewGetDatabaseServerByNameParamsWithHTTPClient creates a new GetDatabaseServerByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDatabaseServerByNameParamsWithTimeout ¶
func NewGetDatabaseServerByNameParamsWithTimeout(timeout time.Duration) *GetDatabaseServerByNameParams
NewGetDatabaseServerByNameParamsWithTimeout creates a new GetDatabaseServerByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDatabaseServerByNameParams) SetContext ¶
func (o *GetDatabaseServerByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get database server by name params
func (*GetDatabaseServerByNameParams) SetEnvironmentCrn ¶
func (o *GetDatabaseServerByNameParams) SetEnvironmentCrn(environmentCrn string)
SetEnvironmentCrn adds the environmentCrn to the get database server by name params
func (*GetDatabaseServerByNameParams) SetHTTPClient ¶
func (o *GetDatabaseServerByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get database server by name params
func (*GetDatabaseServerByNameParams) SetName ¶
func (o *GetDatabaseServerByNameParams) SetName(name string)
SetName adds the name to the get database server by name params
func (*GetDatabaseServerByNameParams) SetTimeout ¶
func (o *GetDatabaseServerByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get database server by name params
func (*GetDatabaseServerByNameParams) WithContext ¶
func (o *GetDatabaseServerByNameParams) WithContext(ctx context.Context) *GetDatabaseServerByNameParams
WithContext adds the context to the get database server by name params
func (*GetDatabaseServerByNameParams) WithEnvironmentCrn ¶
func (o *GetDatabaseServerByNameParams) WithEnvironmentCrn(environmentCrn string) *GetDatabaseServerByNameParams
WithEnvironmentCrn adds the environmentCrn to the get database server by name params
func (*GetDatabaseServerByNameParams) WithHTTPClient ¶
func (o *GetDatabaseServerByNameParams) WithHTTPClient(client *http.Client) *GetDatabaseServerByNameParams
WithHTTPClient adds the HTTPClient to the get database server by name params
func (*GetDatabaseServerByNameParams) WithName ¶
func (o *GetDatabaseServerByNameParams) WithName(name string) *GetDatabaseServerByNameParams
WithName adds the name to the get database server by name params
func (*GetDatabaseServerByNameParams) WithTimeout ¶
func (o *GetDatabaseServerByNameParams) WithTimeout(timeout time.Duration) *GetDatabaseServerByNameParams
WithTimeout adds the timeout to the get database server by name params
func (*GetDatabaseServerByNameParams) WriteToRequest ¶
func (o *GetDatabaseServerByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatabaseServerByNameReader ¶
type GetDatabaseServerByNameReader struct {
// contains filtered or unexported fields
}
GetDatabaseServerByNameReader is a Reader for the GetDatabaseServerByName structure.
func (*GetDatabaseServerByNameReader) ReadResponse ¶
func (o *GetDatabaseServerByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDatabaseServersOK ¶
type ListDatabaseServersOK struct {
Payload *model.DatabaseServerV4Responses
}
ListDatabaseServersOK handles this case with default header values.
successful operation
func NewListDatabaseServersOK ¶
func NewListDatabaseServersOK() *ListDatabaseServersOK
NewListDatabaseServersOK creates a ListDatabaseServersOK with default headers values
func (*ListDatabaseServersOK) Error ¶
func (o *ListDatabaseServersOK) Error() string
type ListDatabaseServersParams ¶
type ListDatabaseServersParams struct { /*EnvironmentCrn CRN of the environment of the database server(s) */ EnvironmentCrn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDatabaseServersParams contains all the parameters to send to the API endpoint for the list database servers operation typically these are written to a http.Request
func NewListDatabaseServersParams ¶
func NewListDatabaseServersParams() *ListDatabaseServersParams
NewListDatabaseServersParams creates a new ListDatabaseServersParams object with the default values initialized.
func NewListDatabaseServersParamsWithContext ¶
func NewListDatabaseServersParamsWithContext(ctx context.Context) *ListDatabaseServersParams
NewListDatabaseServersParamsWithContext creates a new ListDatabaseServersParams object with the default values initialized, and the ability to set a context for a request
func NewListDatabaseServersParamsWithHTTPClient ¶
func NewListDatabaseServersParamsWithHTTPClient(client *http.Client) *ListDatabaseServersParams
NewListDatabaseServersParamsWithHTTPClient creates a new ListDatabaseServersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListDatabaseServersParamsWithTimeout ¶
func NewListDatabaseServersParamsWithTimeout(timeout time.Duration) *ListDatabaseServersParams
NewListDatabaseServersParamsWithTimeout creates a new ListDatabaseServersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListDatabaseServersParams) SetContext ¶
func (o *ListDatabaseServersParams) SetContext(ctx context.Context)
SetContext adds the context to the list database servers params
func (*ListDatabaseServersParams) SetEnvironmentCrn ¶
func (o *ListDatabaseServersParams) SetEnvironmentCrn(environmentCrn string)
SetEnvironmentCrn adds the environmentCrn to the list database servers params
func (*ListDatabaseServersParams) SetHTTPClient ¶
func (o *ListDatabaseServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list database servers params
func (*ListDatabaseServersParams) SetTimeout ¶
func (o *ListDatabaseServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list database servers params
func (*ListDatabaseServersParams) WithContext ¶
func (o *ListDatabaseServersParams) WithContext(ctx context.Context) *ListDatabaseServersParams
WithContext adds the context to the list database servers params
func (*ListDatabaseServersParams) WithEnvironmentCrn ¶
func (o *ListDatabaseServersParams) WithEnvironmentCrn(environmentCrn string) *ListDatabaseServersParams
WithEnvironmentCrn adds the environmentCrn to the list database servers params
func (*ListDatabaseServersParams) WithHTTPClient ¶
func (o *ListDatabaseServersParams) WithHTTPClient(client *http.Client) *ListDatabaseServersParams
WithHTTPClient adds the HTTPClient to the list database servers params
func (*ListDatabaseServersParams) WithTimeout ¶
func (o *ListDatabaseServersParams) WithTimeout(timeout time.Duration) *ListDatabaseServersParams
WithTimeout adds the timeout to the list database servers params
func (*ListDatabaseServersParams) WriteToRequest ¶
func (o *ListDatabaseServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDatabaseServersReader ¶
type ListDatabaseServersReader struct {
// contains filtered or unexported fields
}
ListDatabaseServersReader is a Reader for the ListDatabaseServers structure.
func (*ListDatabaseServersReader) ReadResponse ¶
func (o *ListDatabaseServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterDatabaseServerOK ¶
type RegisterDatabaseServerOK struct {
Payload *model.DatabaseServerV4Response
}
RegisterDatabaseServerOK handles this case with default header values.
successful operation
func NewRegisterDatabaseServerOK ¶
func NewRegisterDatabaseServerOK() *RegisterDatabaseServerOK
NewRegisterDatabaseServerOK creates a RegisterDatabaseServerOK with default headers values
func (*RegisterDatabaseServerOK) Error ¶
func (o *RegisterDatabaseServerOK) Error() string
type RegisterDatabaseServerParams ¶
type RegisterDatabaseServerParams struct { /*Body Request containing information about a database server to be registered */ Body *model.DatabaseServerV4Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterDatabaseServerParams contains all the parameters to send to the API endpoint for the register database server operation typically these are written to a http.Request
func NewRegisterDatabaseServerParams ¶
func NewRegisterDatabaseServerParams() *RegisterDatabaseServerParams
NewRegisterDatabaseServerParams creates a new RegisterDatabaseServerParams object with the default values initialized.
func NewRegisterDatabaseServerParamsWithContext ¶
func NewRegisterDatabaseServerParamsWithContext(ctx context.Context) *RegisterDatabaseServerParams
NewRegisterDatabaseServerParamsWithContext creates a new RegisterDatabaseServerParams object with the default values initialized, and the ability to set a context for a request
func NewRegisterDatabaseServerParamsWithHTTPClient ¶
func NewRegisterDatabaseServerParamsWithHTTPClient(client *http.Client) *RegisterDatabaseServerParams
NewRegisterDatabaseServerParamsWithHTTPClient creates a new RegisterDatabaseServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegisterDatabaseServerParamsWithTimeout ¶
func NewRegisterDatabaseServerParamsWithTimeout(timeout time.Duration) *RegisterDatabaseServerParams
NewRegisterDatabaseServerParamsWithTimeout creates a new RegisterDatabaseServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegisterDatabaseServerParams) SetBody ¶
func (o *RegisterDatabaseServerParams) SetBody(body *model.DatabaseServerV4Request)
SetBody adds the body to the register database server params
func (*RegisterDatabaseServerParams) SetContext ¶
func (o *RegisterDatabaseServerParams) SetContext(ctx context.Context)
SetContext adds the context to the register database server params
func (*RegisterDatabaseServerParams) SetHTTPClient ¶
func (o *RegisterDatabaseServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register database server params
func (*RegisterDatabaseServerParams) SetTimeout ¶
func (o *RegisterDatabaseServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register database server params
func (*RegisterDatabaseServerParams) WithBody ¶
func (o *RegisterDatabaseServerParams) WithBody(body *model.DatabaseServerV4Request) *RegisterDatabaseServerParams
WithBody adds the body to the register database server params
func (*RegisterDatabaseServerParams) WithContext ¶
func (o *RegisterDatabaseServerParams) WithContext(ctx context.Context) *RegisterDatabaseServerParams
WithContext adds the context to the register database server params
func (*RegisterDatabaseServerParams) WithHTTPClient ¶
func (o *RegisterDatabaseServerParams) WithHTTPClient(client *http.Client) *RegisterDatabaseServerParams
WithHTTPClient adds the HTTPClient to the register database server params
func (*RegisterDatabaseServerParams) WithTimeout ¶
func (o *RegisterDatabaseServerParams) WithTimeout(timeout time.Duration) *RegisterDatabaseServerParams
WithTimeout adds the timeout to the register database server params
func (*RegisterDatabaseServerParams) WriteToRequest ¶
func (o *RegisterDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterDatabaseServerReader ¶
type RegisterDatabaseServerReader struct {
// contains filtered or unexported fields
}
RegisterDatabaseServerReader is a Reader for the RegisterDatabaseServer structure.
func (*RegisterDatabaseServerReader) ReadResponse ¶
func (o *RegisterDatabaseServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReleaseManagedDatabaseServerOK ¶
type ReleaseManagedDatabaseServerOK struct {
Payload *model.DatabaseServerV4Response
}
ReleaseManagedDatabaseServerOK handles this case with default header values.
successful operation
func NewReleaseManagedDatabaseServerOK ¶
func NewReleaseManagedDatabaseServerOK() *ReleaseManagedDatabaseServerOK
NewReleaseManagedDatabaseServerOK creates a ReleaseManagedDatabaseServerOK with default headers values
func (*ReleaseManagedDatabaseServerOK) Error ¶
func (o *ReleaseManagedDatabaseServerOK) Error() string
type ReleaseManagedDatabaseServerParams ¶
type ReleaseManagedDatabaseServerParams struct { /*Crn CRN of the database server */ Crn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReleaseManagedDatabaseServerParams contains all the parameters to send to the API endpoint for the release managed database server operation typically these are written to a http.Request
func NewReleaseManagedDatabaseServerParams ¶
func NewReleaseManagedDatabaseServerParams() *ReleaseManagedDatabaseServerParams
NewReleaseManagedDatabaseServerParams creates a new ReleaseManagedDatabaseServerParams object with the default values initialized.
func NewReleaseManagedDatabaseServerParamsWithContext ¶
func NewReleaseManagedDatabaseServerParamsWithContext(ctx context.Context) *ReleaseManagedDatabaseServerParams
NewReleaseManagedDatabaseServerParamsWithContext creates a new ReleaseManagedDatabaseServerParams object with the default values initialized, and the ability to set a context for a request
func NewReleaseManagedDatabaseServerParamsWithHTTPClient ¶
func NewReleaseManagedDatabaseServerParamsWithHTTPClient(client *http.Client) *ReleaseManagedDatabaseServerParams
NewReleaseManagedDatabaseServerParamsWithHTTPClient creates a new ReleaseManagedDatabaseServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReleaseManagedDatabaseServerParamsWithTimeout ¶
func NewReleaseManagedDatabaseServerParamsWithTimeout(timeout time.Duration) *ReleaseManagedDatabaseServerParams
NewReleaseManagedDatabaseServerParamsWithTimeout creates a new ReleaseManagedDatabaseServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReleaseManagedDatabaseServerParams) SetContext ¶
func (o *ReleaseManagedDatabaseServerParams) SetContext(ctx context.Context)
SetContext adds the context to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) SetCrn ¶
func (o *ReleaseManagedDatabaseServerParams) SetCrn(crn string)
SetCrn adds the crn to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) SetHTTPClient ¶
func (o *ReleaseManagedDatabaseServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) SetTimeout ¶
func (o *ReleaseManagedDatabaseServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) WithContext ¶
func (o *ReleaseManagedDatabaseServerParams) WithContext(ctx context.Context) *ReleaseManagedDatabaseServerParams
WithContext adds the context to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) WithCrn ¶
func (o *ReleaseManagedDatabaseServerParams) WithCrn(crn string) *ReleaseManagedDatabaseServerParams
WithCrn adds the crn to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) WithHTTPClient ¶
func (o *ReleaseManagedDatabaseServerParams) WithHTTPClient(client *http.Client) *ReleaseManagedDatabaseServerParams
WithHTTPClient adds the HTTPClient to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) WithTimeout ¶
func (o *ReleaseManagedDatabaseServerParams) WithTimeout(timeout time.Duration) *ReleaseManagedDatabaseServerParams
WithTimeout adds the timeout to the release managed database server params
func (*ReleaseManagedDatabaseServerParams) WriteToRequest ¶
func (o *ReleaseManagedDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReleaseManagedDatabaseServerReader ¶
type ReleaseManagedDatabaseServerReader struct {
// contains filtered or unexported fields
}
ReleaseManagedDatabaseServerReader is a Reader for the ReleaseManagedDatabaseServer structure.
func (*ReleaseManagedDatabaseServerReader) ReadResponse ¶
func (o *ReleaseManagedDatabaseServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartDatabaseServerDefault ¶
type StartDatabaseServerDefault struct {
// contains filtered or unexported fields
}
StartDatabaseServerDefault handles this case with default header values.
successful operation
func NewStartDatabaseServerDefault ¶
func NewStartDatabaseServerDefault(code int) *StartDatabaseServerDefault
NewStartDatabaseServerDefault creates a StartDatabaseServerDefault with default headers values
func (*StartDatabaseServerDefault) Code ¶
func (o *StartDatabaseServerDefault) Code() int
Code gets the status code for the start database server default response
func (*StartDatabaseServerDefault) Error ¶
func (o *StartDatabaseServerDefault) Error() string
type StartDatabaseServerParams ¶
type StartDatabaseServerParams struct { /*Crn CRN of the database server */ Crn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartDatabaseServerParams contains all the parameters to send to the API endpoint for the start database server operation typically these are written to a http.Request
func NewStartDatabaseServerParams ¶
func NewStartDatabaseServerParams() *StartDatabaseServerParams
NewStartDatabaseServerParams creates a new StartDatabaseServerParams object with the default values initialized.
func NewStartDatabaseServerParamsWithContext ¶
func NewStartDatabaseServerParamsWithContext(ctx context.Context) *StartDatabaseServerParams
NewStartDatabaseServerParamsWithContext creates a new StartDatabaseServerParams object with the default values initialized, and the ability to set a context for a request
func NewStartDatabaseServerParamsWithHTTPClient ¶
func NewStartDatabaseServerParamsWithHTTPClient(client *http.Client) *StartDatabaseServerParams
NewStartDatabaseServerParamsWithHTTPClient creates a new StartDatabaseServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartDatabaseServerParamsWithTimeout ¶
func NewStartDatabaseServerParamsWithTimeout(timeout time.Duration) *StartDatabaseServerParams
NewStartDatabaseServerParamsWithTimeout creates a new StartDatabaseServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartDatabaseServerParams) SetContext ¶
func (o *StartDatabaseServerParams) SetContext(ctx context.Context)
SetContext adds the context to the start database server params
func (*StartDatabaseServerParams) SetCrn ¶
func (o *StartDatabaseServerParams) SetCrn(crn string)
SetCrn adds the crn to the start database server params
func (*StartDatabaseServerParams) SetHTTPClient ¶
func (o *StartDatabaseServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start database server params
func (*StartDatabaseServerParams) SetTimeout ¶
func (o *StartDatabaseServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start database server params
func (*StartDatabaseServerParams) WithContext ¶
func (o *StartDatabaseServerParams) WithContext(ctx context.Context) *StartDatabaseServerParams
WithContext adds the context to the start database server params
func (*StartDatabaseServerParams) WithCrn ¶
func (o *StartDatabaseServerParams) WithCrn(crn string) *StartDatabaseServerParams
WithCrn adds the crn to the start database server params
func (*StartDatabaseServerParams) WithHTTPClient ¶
func (o *StartDatabaseServerParams) WithHTTPClient(client *http.Client) *StartDatabaseServerParams
WithHTTPClient adds the HTTPClient to the start database server params
func (*StartDatabaseServerParams) WithTimeout ¶
func (o *StartDatabaseServerParams) WithTimeout(timeout time.Duration) *StartDatabaseServerParams
WithTimeout adds the timeout to the start database server params
func (*StartDatabaseServerParams) WriteToRequest ¶
func (o *StartDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartDatabaseServerReader ¶
type StartDatabaseServerReader struct {
// contains filtered or unexported fields
}
StartDatabaseServerReader is a Reader for the StartDatabaseServer structure.
func (*StartDatabaseServerReader) ReadResponse ¶
func (o *StartDatabaseServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopDatabaseServerDefault ¶
type StopDatabaseServerDefault struct {
// contains filtered or unexported fields
}
StopDatabaseServerDefault handles this case with default header values.
successful operation
func NewStopDatabaseServerDefault ¶
func NewStopDatabaseServerDefault(code int) *StopDatabaseServerDefault
NewStopDatabaseServerDefault creates a StopDatabaseServerDefault with default headers values
func (*StopDatabaseServerDefault) Code ¶
func (o *StopDatabaseServerDefault) Code() int
Code gets the status code for the stop database server default response
func (*StopDatabaseServerDefault) Error ¶
func (o *StopDatabaseServerDefault) Error() string
type StopDatabaseServerParams ¶
type StopDatabaseServerParams struct { /*Crn CRN of the database server */ Crn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopDatabaseServerParams contains all the parameters to send to the API endpoint for the stop database server operation typically these are written to a http.Request
func NewStopDatabaseServerParams ¶
func NewStopDatabaseServerParams() *StopDatabaseServerParams
NewStopDatabaseServerParams creates a new StopDatabaseServerParams object with the default values initialized.
func NewStopDatabaseServerParamsWithContext ¶
func NewStopDatabaseServerParamsWithContext(ctx context.Context) *StopDatabaseServerParams
NewStopDatabaseServerParamsWithContext creates a new StopDatabaseServerParams object with the default values initialized, and the ability to set a context for a request
func NewStopDatabaseServerParamsWithHTTPClient ¶
func NewStopDatabaseServerParamsWithHTTPClient(client *http.Client) *StopDatabaseServerParams
NewStopDatabaseServerParamsWithHTTPClient creates a new StopDatabaseServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopDatabaseServerParamsWithTimeout ¶
func NewStopDatabaseServerParamsWithTimeout(timeout time.Duration) *StopDatabaseServerParams
NewStopDatabaseServerParamsWithTimeout creates a new StopDatabaseServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopDatabaseServerParams) SetContext ¶
func (o *StopDatabaseServerParams) SetContext(ctx context.Context)
SetContext adds the context to the stop database server params
func (*StopDatabaseServerParams) SetCrn ¶
func (o *StopDatabaseServerParams) SetCrn(crn string)
SetCrn adds the crn to the stop database server params
func (*StopDatabaseServerParams) SetHTTPClient ¶
func (o *StopDatabaseServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop database server params
func (*StopDatabaseServerParams) SetTimeout ¶
func (o *StopDatabaseServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop database server params
func (*StopDatabaseServerParams) WithContext ¶
func (o *StopDatabaseServerParams) WithContext(ctx context.Context) *StopDatabaseServerParams
WithContext adds the context to the stop database server params
func (*StopDatabaseServerParams) WithCrn ¶
func (o *StopDatabaseServerParams) WithCrn(crn string) *StopDatabaseServerParams
WithCrn adds the crn to the stop database server params
func (*StopDatabaseServerParams) WithHTTPClient ¶
func (o *StopDatabaseServerParams) WithHTTPClient(client *http.Client) *StopDatabaseServerParams
WithHTTPClient adds the HTTPClient to the stop database server params
func (*StopDatabaseServerParams) WithTimeout ¶
func (o *StopDatabaseServerParams) WithTimeout(timeout time.Duration) *StopDatabaseServerParams
WithTimeout adds the timeout to the stop database server params
func (*StopDatabaseServerParams) WriteToRequest ¶
func (o *StopDatabaseServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopDatabaseServerReader ¶
type StopDatabaseServerReader struct {
// contains filtered or unexported fields
}
StopDatabaseServerReader is a Reader for the StopDatabaseServer structure.
func (*StopDatabaseServerReader) ReadResponse ¶
func (o *StopDatabaseServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestDatabaseServerConnectionOK ¶
type TestDatabaseServerConnectionOK struct {
Payload *model.DatabaseServerTestV4Response
}
TestDatabaseServerConnectionOK handles this case with default header values.
successful operation
func NewTestDatabaseServerConnectionOK ¶
func NewTestDatabaseServerConnectionOK() *TestDatabaseServerConnectionOK
NewTestDatabaseServerConnectionOK creates a TestDatabaseServerConnectionOK with default headers values
func (*TestDatabaseServerConnectionOK) Error ¶
func (o *TestDatabaseServerConnectionOK) Error() string
type TestDatabaseServerConnectionParams ¶
type TestDatabaseServerConnectionParams struct { /*Body Request for testing connectivity to a database server */ Body *model.DatabaseServerTestV4Request Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestDatabaseServerConnectionParams contains all the parameters to send to the API endpoint for the test database server connection operation typically these are written to a http.Request
func NewTestDatabaseServerConnectionParams ¶
func NewTestDatabaseServerConnectionParams() *TestDatabaseServerConnectionParams
NewTestDatabaseServerConnectionParams creates a new TestDatabaseServerConnectionParams object with the default values initialized.
func NewTestDatabaseServerConnectionParamsWithContext ¶
func NewTestDatabaseServerConnectionParamsWithContext(ctx context.Context) *TestDatabaseServerConnectionParams
NewTestDatabaseServerConnectionParamsWithContext creates a new TestDatabaseServerConnectionParams object with the default values initialized, and the ability to set a context for a request
func NewTestDatabaseServerConnectionParamsWithHTTPClient ¶
func NewTestDatabaseServerConnectionParamsWithHTTPClient(client *http.Client) *TestDatabaseServerConnectionParams
NewTestDatabaseServerConnectionParamsWithHTTPClient creates a new TestDatabaseServerConnectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestDatabaseServerConnectionParamsWithTimeout ¶
func NewTestDatabaseServerConnectionParamsWithTimeout(timeout time.Duration) *TestDatabaseServerConnectionParams
NewTestDatabaseServerConnectionParamsWithTimeout creates a new TestDatabaseServerConnectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestDatabaseServerConnectionParams) SetBody ¶
func (o *TestDatabaseServerConnectionParams) SetBody(body *model.DatabaseServerTestV4Request)
SetBody adds the body to the test database server connection params
func (*TestDatabaseServerConnectionParams) SetContext ¶
func (o *TestDatabaseServerConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the test database server connection params
func (*TestDatabaseServerConnectionParams) SetHTTPClient ¶
func (o *TestDatabaseServerConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test database server connection params
func (*TestDatabaseServerConnectionParams) SetTimeout ¶
func (o *TestDatabaseServerConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test database server connection params
func (*TestDatabaseServerConnectionParams) WithBody ¶
func (o *TestDatabaseServerConnectionParams) WithBody(body *model.DatabaseServerTestV4Request) *TestDatabaseServerConnectionParams
WithBody adds the body to the test database server connection params
func (*TestDatabaseServerConnectionParams) WithContext ¶
func (o *TestDatabaseServerConnectionParams) WithContext(ctx context.Context) *TestDatabaseServerConnectionParams
WithContext adds the context to the test database server connection params
func (*TestDatabaseServerConnectionParams) WithHTTPClient ¶
func (o *TestDatabaseServerConnectionParams) WithHTTPClient(client *http.Client) *TestDatabaseServerConnectionParams
WithHTTPClient adds the HTTPClient to the test database server connection params
func (*TestDatabaseServerConnectionParams) WithTimeout ¶
func (o *TestDatabaseServerConnectionParams) WithTimeout(timeout time.Duration) *TestDatabaseServerConnectionParams
WithTimeout adds the timeout to the test database server connection params
func (*TestDatabaseServerConnectionParams) WriteToRequest ¶
func (o *TestDatabaseServerConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestDatabaseServerConnectionReader ¶
type TestDatabaseServerConnectionReader struct {
// contains filtered or unexported fields
}
TestDatabaseServerConnectionReader is a Reader for the TestDatabaseServerConnection structure.
func (*TestDatabaseServerConnectionReader) ReadResponse ¶
func (o *TestDatabaseServerConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_database_on_server_parameters.go
- create_database_on_server_responses.go
- create_database_server_parameters.go
- create_database_server_responses.go
- database_servers_client.go
- delete_database_server_by_crn_parameters.go
- delete_database_server_by_crn_responses.go
- delete_database_server_by_name_parameters.go
- delete_database_server_by_name_responses.go
- delete_multiple_database_servers_by_crn_parameters.go
- delete_multiple_database_servers_by_crn_responses.go
- get_database_server_by_crn_parameters.go
- get_database_server_by_crn_responses.go
- get_database_server_by_name_parameters.go
- get_database_server_by_name_responses.go
- list_database_servers_parameters.go
- list_database_servers_responses.go
- register_database_server_parameters.go
- register_database_server_responses.go
- release_managed_database_server_parameters.go
- release_managed_database_server_responses.go
- start_database_server_parameters.go
- start_database_server_responses.go
- stop_database_server_parameters.go
- stop_database_server_responses.go
- test_database_server_connection_parameters.go
- test_database_server_connection_responses.go