provider

package
v0.0.0-...-30f5d34 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBEndpoint

type DBEndpoint struct {
	Hostname string
	Port     int64
}

DBEndpoint represent DB hostname and port

type RDSDatabaseProvider

type RDSDatabaseProvider interface {
	CreateRDSDatabase(*crd.RDSDatabase) (*DBEndpoint, error)
	DeleteRDSDatabase(*crd.RDSDatabase) error
	GetSecret(namepspace string, pwname string) (*v1.Secret, error)
}

RDSDatabaseProvider is the interface for creating and deleting databases this is the main interface that should be implemented if a new provider is created

Jump to

Keyboard shortcuts

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