watchdog

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExpiredDomains added in v0.3.0

func GetExpiredDomains(timeoutSeconds int, virtShareDir string) ([]*api.Domain, error)

func WatchdogFileDirectory

func WatchdogFileDirectory(baseDir string) string

func WatchdogFileExists

func WatchdogFileExists(baseDir string, vmi *v1.VirtualMachineInstance) (bool, error)

func WatchdogFileFromNamespaceName

func WatchdogFileFromNamespaceName(baseDir string, namespace string, name string) string

func WatchdogFileGetUid added in v0.9.2

func WatchdogFileGetUid(baseDir string, vmi *v1.VirtualMachineInstance) string

attempts to retrieve vmi uid from watchdog file if it exists

func WatchdogFileIsExpired

func WatchdogFileIsExpired(timeoutSeconds int, baseDir string, vmi *v1.VirtualMachineInstance) (bool, error)

func WatchdogFileRemove

func WatchdogFileRemove(baseDir string, vmi *v1.VirtualMachineInstance) error

func WatchdogFileUpdate

func WatchdogFileUpdate(watchdogFile string, uid string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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