Documentation ¶
Index ¶
- func GetExpiredDomains(timeoutSeconds int, virtShareDir string) ([]*api.Domain, error)
- func WatchdogFileDirectory(baseDir string) string
- func WatchdogFileExists(baseDir string, vmi *v1.VirtualMachineInstance) (bool, error)
- func WatchdogFileFromNamespaceName(baseDir string, namespace string, name string) string
- func WatchdogFileGetUID(baseDir string, vmi *v1.VirtualMachineInstance) string
- func WatchdogFileIsExpired(timeoutSeconds int, baseDir string, vmi *v1.VirtualMachineInstance) (bool, error)
- func WatchdogFileRemove(baseDir string, vmi *v1.VirtualMachineInstance) error
- func WatchdogFileUpdate(watchdogFile string, uid string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExpiredDomains ¶ added in v0.3.0
func WatchdogFileDirectory ¶
func WatchdogFileExists ¶
func WatchdogFileExists(baseDir string, vmi *v1.VirtualMachineInstance) (bool, error)
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 WatchdogFileRemove ¶
func WatchdogFileRemove(baseDir string, vmi *v1.VirtualMachineInstance) error
func WatchdogFileUpdate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.