health

package
v1.3.22 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package health provides a basic mountpath health monitor.

  • Copyright (c) 2018-2024, NVIDIA CORPORATION. All rights reserved. *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSHC

type FSHC struct {
	// contains filtered or unexported fields
}

When an IO error is triggered, it runs a few tests to make sure that the failed mountpath is healthy. Once the mountpath is considered faulty the mountpath is disabled and removed from the list.

for mountpath definition, see fs/mountfs.go

func NewFSHC

func NewFSHC(dispatcher fspathDispatcher) (f *FSHC)

func (*FSHC) Name

func (*FSHC) Name() string

func (*FSHC) OnErr

func (f *FSHC) OnErr(fqn string)

func (*FSHC) Run

func (f *FSHC) Run() error

func (*FSHC) Stop

func (f *FSHC) Stop(err error)

Jump to

Keyboard shortcuts

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