monitor

package
v0.0.0-...-8d3529a Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GearPath        = "/var/lib/gear/"
	GearBuildPath   = filepath.Join(GearPath, "build")
	GearGzipPath    = filepath.Join(GearPath, "gzip")
	GearStoragePath = filepath.Join(GearPath, "storage")
)
View Source
var AccessedFiles []string

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	MonitorIp   string
	MonitorPort string

	RegistryIp   string
	RegistryPort string

	ManagerIp   string
	ManagerPort string

	Server *echo.Echo

	Ctx    context.Context
	Client *client.Client

	HMutex        sync.Mutex
	HaveBeenBuild map[string][]string

	TMutex    sync.RWMutex
	ToBeBuild map[string][]string

	NoCleanUp bool
}

func InitMonitor

func InitMonitor(registry string, managerIp, managerPort string, noCleanUp bool) (*Monitor, error)

func (*Monitor) Monitor

func (m *Monitor) Monitor() error

Jump to

Keyboard shortcuts

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