k8s

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResolvFile = "/etc/resolv.conf"
)

Functions

func CanWatchVolume

func CanWatchVolume(path string) bool

func FindMountPath

func FindMountPath(path string) (string, error)

func GetClusterDomain

func GetClusterDomain() (string, error)

Types

type VolumeWatcher

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

func NewVolumeWatcher

func NewVolumeWatcher(mountPath string, fn func()) (*VolumeWatcher, error)

func (*VolumeWatcher) Stop

func (w *VolumeWatcher) Stop()

Jump to

Keyboard shortcuts

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