Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateDatabase(context.Context, *CreateDatabaseRequest) (*CreateDatabaseResponse, error) Close(context.Context) }
type CreateDatabaseRequest ¶
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct {
Uri string
}
type ManagedClient ¶
type ManagedClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(servers []config.Server) *ManagedClient
func (*ManagedClient) Close ¶
func (m *ManagedClient) Close(ctx context.Context)
func (*ManagedClient) CreateDatabase ¶
func (m *ManagedClient) CreateDatabase(ctx context.Context, req *CreateDatabaseRequest) (*CreateDatabaseResponse, error)
Click to show internal directories.
Click to hide internal directories.