cleanup

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHostPathCleanup

func StartHostPathCleanup(namespaceDir, dataDirHostPath, monSecret string)

StartHostPathCleanup is the main entrypoint function to clean up dataDirHostPath and monitor store

func StartSanitizeDisks

func StartSanitizeDisks(sanitizer *DiskSanitizer)

StartSanitizeDisks main entrypoint of the cleanup package

Types

type DiskSanitizer

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

DiskSanitizer is simple struct to old the context to execute the commands

func NewDiskSanitizer

func NewDiskSanitizer(context *clusterd.Context, clusterName, clusterFSID string) *DiskSanitizer

NewDiskSanitizer is function that returns a full filled DiskSanitizer object

Jump to

Keyboard shortcuts

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