mysqlcluster

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 15 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) *PvcCleaner

NewPvcCleaner returns a new PVC cleaner object

func (*PvcCleaner) Run

func (p *PvcCleaner) Run(ctx context.Context, c client.Client, scheme *runtime.Scheme, recorder record.EventRecorder) 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