Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseProvider ¶
type DatabaseProvider interface { CreateDatabase(context.Context, *crd.Database) (string, error) DeleteDatabase(context.Context, *crd.Database) error ServiceProvider }
DatabaseProvider is the interface for creating and deleting databases this is the main interface that should be implemented if a new provider is created
type ServiceProvider ¶
type ServiceProvider interface { CreateService(ctx context.Context, namespace string, hostname string, internalname string) error DeleteService(ctx context.Context, namespace string, dbname string) error GetSecret(ctx context.Context, namepspace string, pwname string, pwkey string) (string, error) }
Click to show internal directories.
Click to hide internal directories.