healthchecker

package
v0.0.0-...-3b3f045 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompositeChecker

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

func NewCompositeChecker

func NewCompositeChecker(checkers []HealthChecker) *CompositeChecker

func (*CompositeChecker) Check

func (compositeChecker *CompositeChecker) Check() bool

type HealthChecker

type HealthChecker interface {
	Check() bool
}

func InitHealthChecker

func InitHealthChecker(clientConfig Config, logger lager.Logger, scriptPath string) HealthChecker

type RiakCSHealthChecker

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

func NewRiakCSHealthChecker

func NewRiakCSHealthChecker(pidFileName string, logger lager.Logger) *RiakCSHealthChecker

func (*RiakCSHealthChecker) Check

func (checker *RiakCSHealthChecker) Check() bool

type RiakHealthChecker

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

func NewRiakHealthChecker

func NewRiakHealthChecker(pidFileName string, riakAdminProgram string, nodeIpAddress string, logger lager.Logger, scriptPath string) *RiakHealthChecker

func (*RiakHealthChecker) Check

func (checker *RiakHealthChecker) Check() bool

type ScriptHealthChecker

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

func NewScriptHealthChecker

func NewScriptHealthChecker(scriptPath string, logger lager.Logger) *ScriptHealthChecker

func (*ScriptHealthChecker) Check

func (checker *ScriptHealthChecker) Check() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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