Documentation ¶
Overview ¶
Package database TODO
Index ¶
Constants ¶
View Source
const (
// DBClusterKind defines kind for DB cluster.
DBClusterKind = "DatabaseCluster"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClusterClient ¶
type DBClusterClient struct {
// contains filtered or unexported fields
}
DBClusterClient contains a rest client.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DBClusterClient, error)
NewForConfig creates a new database cluster client based on config.
func (*DBClusterClient) DBClusters ¶
func (c *DBClusterClient) DBClusters(namespace string) DBClusterInterface
DBClusters returns a db cluster client.
type DBClusterClientInterface ¶
type DBClusterClientInterface interface {
DBClusters(namespace string) DBClusterInterface
}
DBClusterClientInterface supports getting a database cluster client.
type DBClusterInterface ¶
type DBClusterInterface interface { List(ctx context.Context, opts metav1.ListOptions) (*everestv1alpha1.DatabaseClusterList, error) Get(ctx context.Context, name string, options metav1.GetOptions) (*everestv1alpha1.DatabaseCluster, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
DBClusterInterface supports list, get and watch methods.
Click to show internal directories.
Click to hide internal directories.