mysqlcluster

package
v0.4.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PVCCleaner

type PVCCleaner struct {
	// contains filtered or unexported fields
}

PVCCleaner represents an object to clean Pvcs of a MysqlCluster

func NewPVCCleaner

func NewPVCCleaner(cluster *mysqlcluster.MysqlCluster, opt *options.Options, rec record.EventRecorder, c client.Client) *PVCCleaner

NewPVCCleaner returns a new PVC cleaner object

func (*PVCCleaner) Run

func (p *PVCCleaner) Run(ctx context.Context) error

Run performs cleanup of orphaned pvcs in a Mysql cluster

Jump to

Keyboard shortcuts

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