Documentation ¶
Overview ¶
Package psmdb contains the provider for Percona Server for MongoDB.
Index ¶
- type Provider
- func (p *Provider) Apply(ctx context.Context) everestv1alpha1.Applier
- func (p *Provider) Cleanup(ctx context.Context, database *everestv1alpha1.DatabaseCluster) (bool, error)
- func (p *Provider) DBObject() client.Object
- func (p *Provider) Status(ctx context.Context) (everestv1alpha1.DatabaseClusterStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { *psmdbv1.PerconaServerMongoDB providers.ProviderOptions // contains filtered or unexported fields }
Provider is a provider for Percona Server for MongoDB.
func (*Provider) Apply ¶
func (p *Provider) Apply(ctx context.Context) everestv1alpha1.Applier
Apply returns the applier for Percona Server for MongoDB.
func (*Provider) Cleanup ¶
func (p *Provider) Cleanup(ctx context.Context, database *everestv1alpha1.DatabaseCluster) (bool, error)
Cleanup runs the cleanup routines and returns true if the cleanup is done.
func (*Provider) Status ¶
func (p *Provider) Status(ctx context.Context) (everestv1alpha1.DatabaseClusterStatus, error)
Status builds the DatabaseCluster Status based on the current state of the PerconaServerMongoDB.
Click to show internal directories.
Click to hide internal directories.