service

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ROLE_ETCD          = topology.ROLE_ETCD
	ROLE_MDS           = topology.ROLE_MDS
	ROLE_CHUNKSERVER   = topology.ROLE_CHUNKSERVER
	ROLE_METASERVER    = topology.ROLE_METASERVER
	ROLE_SNAPSHOTCLONE = topology.ROLE_SNAPSHOTCLONE

	ITEM_ID = iota
	ITEM_CONTAINER_ID
	ITEM_STATUS
	ITEM_PORTS
	ITEM_LOG_DIR
	ITEM_DATA_DIR

	STATUS_CLEANED = comm.SERVICE_STATUS_CLEANED
	STATUS_LOSED   = comm.SERVICE_STATUS_LOSED
	STATUS_UNKNWON = comm.SERVICE_STATUS_UNKNOWN
	// for instance merged status
	STATUS_RUNNING  = "RUNNING"
	STATUS_STOPPED  = "STOPPED"
	STATUS_ABNORMAL = "ABNORMAL"
)

Variables

Functions

func FormatMonitorStatus added in v0.3.0

func FormatMonitorStatus(statuses []monitor.MonitorStatus, verbose bool) string

func FormatStatus

func FormatStatus(statuses []task.ServiceStatus, verbose, expand bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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