garbagecollection

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NullUID = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GC

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

func New

func New(kubecli kubernetes.Interface, ns string) *GC

func (*GC) CollectCluster

func (gc *GC) CollectCluster(cluster string, clusterUID types.UID)

CollectCluster collects resources that matches cluster lable, but does not belong to the cluster with given clusterUID

func (*GC) FullyCollect

func (gc *GC) FullyCollect() error

FullyCollect collects resources that were created before, but does not belong to any current running clusters.

Jump to

Keyboard shortcuts

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