health

package
v0.0.0-...-ed2735e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package health provides logic of checking health with system-edge-manager service.

Package health provides logic of checking health with system-edge-manager service.

Package health provides logic of checking health with system-edge-manager service.

Index

Constants

View Source
const (
	HTTP_TAG               = "http://"
	IP                     = "ip"
	MANAGER                = "manager"
	NODE                   = "node"
	INTERVAL               = "interval"
	HEALTH_CHECK           = "healthCheck"
	DEFAULT_RETRY_INTERVAL = 1
	TIME_UNIT              = time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Unregister() error
}

type Executor

type Executor struct{}

func (Executor) Unregister

func (Executor) Unregister() error

Unregister to pharos-anchor service. if succeed to unregister, return error as nil otherwise, return error.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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