k8s-rds: github.com/sorenmat/k8s-rds/provider Index | Files

package provider

import "github.com/sorenmat/k8s-rds/provider"


Package Files


type DatabaseProvider Uses

type DatabaseProvider interface {
    CreateDatabase(*crd.Database) (string, error)
    DeleteDatabase(*crd.Database) error

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 Uses

type ServiceProvider interface {
    CreateService(namespace string, hostname string, internalname string) error
    DeleteService(namespace string, dbname string) error
    GetSecret(namepspace string, pwname string, pwkey string) (string, error)

Package provider imports 1 packages (graph) and is imported by 3 packages. Updated 2019-03-15. Refresh now. Tools for package owners.