cleanup

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleanup

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

Cleanup holds the clients for the various resource controllers.

func NewCleanup

func NewCleanup(logger logrus.FieldLogger, kubeClient kubernetes.Interface, namespace string) *Cleanup

NewCleanup returns an initialized cleanup object.

func (*Cleanup) CleanShadowServices

func (c *Cleanup) CleanShadowServices(ctx context.Context) error

CleanShadowServices deletes all shadow services from the cluster.

func (*Cleanup) RestoreDNSConfig

func (c *Cleanup) RestoreDNSConfig(ctx context.Context) error

RestoreDNSConfig restores the configmap and restarts the DNS pods.

Jump to

Keyboard shortcuts

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