watchdog

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 11 Imported by: 20

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.29.0

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) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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