database_servers

package
v1.999.999-b3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for database 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

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

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

WithBody adds the body to the create database on server params

func (*CreateDatabaseOnServerParams) WithContext

WithContext adds the context to the create database on server params

func (*CreateDatabaseOnServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create database on server params

func (*CreateDatabaseOnServerParams) WithTimeout

WithTimeout adds the timeout to the create database on server params

func (*CreateDatabaseOnServerParams) WriteToRequest

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

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

WithBody adds the body to the create database server params

func (*CreateDatabaseServerParams) WithContext

WithContext adds the context to the create database server params

func (*CreateDatabaseServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create database server params

func (*CreateDatabaseServerParams) WithTimeout

WithTimeout adds the timeout to the create database server params

func (*CreateDatabaseServerParams) WriteToRequest

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

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

WithContext adds the context to the delete database server by crn params

func (*DeleteDatabaseServerByCrnParams) WithCrn

WithCrn adds the crn to the delete database server by crn params

func (*DeleteDatabaseServerByCrnParams) WithForce

WithForce adds the force to the delete database server by crn params

func (*DeleteDatabaseServerByCrnParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete database server by crn params

func (*DeleteDatabaseServerByCrnParams) WithTimeout

WithTimeout adds the timeout to the delete database server by crn params

func (*DeleteDatabaseServerByCrnParams) WriteToRequest

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

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

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

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

WithForce adds the force to the delete database server by name params

func (*DeleteDatabaseServerByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete database server by name params

func (*DeleteDatabaseServerByNameParams) WithName

WithName adds the name to the delete database server by name params

func (*DeleteDatabaseServerByNameParams) WithTimeout

WithTimeout adds the timeout to the delete database server by name params

func (*DeleteDatabaseServerByNameParams) WriteToRequest

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

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

SetBody adds the body to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) SetContext

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

SetTimeout adds the timeout to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) WithBody

WithBody adds the body to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) WithContext

WithContext adds the context to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) WithForce

WithForce adds the force to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) WithTimeout

WithTimeout adds the timeout to the delete multiple database servers by crn params

func (*DeleteMultipleDatabaseServersByCrnParams) WriteToRequest

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

WithContext adds the context to the get database server by crn params

func (*GetDatabaseServerByCrnParams) WithCrn

WithCrn adds the crn to the get database server by crn params

func (*GetDatabaseServerByCrnParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get database server by crn params

func (*GetDatabaseServerByCrnParams) WithTimeout

WithTimeout adds the timeout to the get database server by crn params

func (*GetDatabaseServerByCrnParams) WriteToRequest

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

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

WithHTTPClient adds the HTTPClient to the get database server by name params

func (*GetDatabaseServerByNameParams) WithName

WithName adds the name to the get database server by name params

func (*GetDatabaseServerByNameParams) WithTimeout

WithTimeout adds the timeout to the get database server by name params

func (*GetDatabaseServerByNameParams) WriteToRequest

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

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

WithTimeout adds the timeout to the list database servers params

func (*ListDatabaseServersParams) WriteToRequest

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

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

WithBody adds the body to the register database server params

func (*RegisterDatabaseServerParams) WithContext

WithContext adds the context to the register database server params

func (*RegisterDatabaseServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the register database server params

func (*RegisterDatabaseServerParams) WithTimeout

WithTimeout adds the timeout to the register database server params

func (*RegisterDatabaseServerParams) WriteToRequest

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

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

SetContext adds the context to the release managed database server params

func (*ReleaseManagedDatabaseServerParams) SetCrn

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

WithContext adds the context to the release managed database server params

func (*ReleaseManagedDatabaseServerParams) WithCrn

WithCrn adds the crn to the release managed database server params

func (*ReleaseManagedDatabaseServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the release managed database server params

func (*ReleaseManagedDatabaseServerParams) WithTimeout

WithTimeout adds the timeout to the release managed database server params

func (*ReleaseManagedDatabaseServerParams) WriteToRequest

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

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

WithContext adds the context to the start database server params

func (*StartDatabaseServerParams) WithCrn

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

WithTimeout adds the timeout to the start database server params

func (*StartDatabaseServerParams) WriteToRequest

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

WithContext adds the context to the stop database server params

func (*StopDatabaseServerParams) WithCrn

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

WithTimeout adds the timeout to the stop database server params

func (*StopDatabaseServerParams) WriteToRequest

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

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

SetBody adds the body to the test database server connection params

func (*TestDatabaseServerConnectionParams) SetContext

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

WithBody adds the body to the test database server connection params

func (*TestDatabaseServerConnectionParams) WithContext

WithContext adds the context to the test database server connection params

func (*TestDatabaseServerConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the test database server connection params

func (*TestDatabaseServerConnectionParams) WithTimeout

WithTimeout adds the timeout to the test database server connection params

func (*TestDatabaseServerConnectionParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL