Documentation
¶
Index ¶
- Constants
- func CheckExistingMount(mountpoint string) error
- func CleanStaleMounts() error
- func ForkDaemon(identifier string, origArgs []string) error
- func IsDaemonChild() bool
- func RemovePIDFile(mountpoint string)
- func Unmount(mountpoint string, force bool, timeout int) error
- func UnmountAll(force bool, timeout int) error
- func WritePIDFile(mountpoint, backend string, domains []string) error
- type HealthChecker
- type PIDInfo
Constants ¶
View Source
const DaemonChildFlag = "--_daemon-child"
Variables ¶
This section is empty.
Functions ¶
func CheckExistingMount ¶
func CleanStaleMounts ¶
func CleanStaleMounts() error
func ForkDaemon ¶
func IsDaemonChild ¶
func IsDaemonChild() bool
func RemovePIDFile ¶
func RemovePIDFile(mountpoint string)
func UnmountAll ¶
func WritePIDFile ¶
Types ¶
type HealthChecker ¶
type HealthChecker struct {
// contains filtered or unexported fields
}
func NewHealthChecker ¶
func NewHealthChecker(cliPath string, interval time.Duration) *HealthChecker
func (*HealthChecker) Run ¶
func (h *HealthChecker) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.