pxc

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package pxc contains the provider for Percona XtraDB Cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	providers.ProviderOptions
	*pxcv1.PerconaXtraDBCluster
	// contains filtered or unexported fields
}

Provider is a provider for Percona XtraDB Cluster.

func New

func New(
	ctx context.Context,
	opts providers.ProviderOptions,
) (*Provider, error)

New returns a new provider for Percona XtraDB Cluster.

func (*Provider) Apply

Apply returns the applier for Percona XtraDB Cluster.

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) DBObject

func (p *Provider) DBObject() client.Object

DBObject returns the PerconaXtraDBCluster object.

func (*Provider) Status

Status builds the DatabaseCluster Status based on the current state of the Percona XtraDB Cluster.

Jump to

Keyboard shortcuts

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