Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ResolvFile = "/etc/resolv.conf"
)
Functions ¶
func CanWatchVolume ¶
func FindMountPath ¶
func GetClusterDomain ¶
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()
Click to show internal directories.
Click to hide internal directories.