script

package
v0.0.0-...-fa8172e Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckContainer

func CheckContainer()

定时任务获取容器状态

Types

type MachineJson

type MachineJson struct {
	Id              int64  `json:"id"`
	Name            string `json:"name"`
	ContainerStatus string `json:"container_status"`
}

type MachineListJson

type MachineListJson struct {
	Stage []StageJson `json:"stage"`
}

服务表中机器列表的json

type StageJson

type StageJson struct {
	Machine []MachineJson `json:"machine"`
}

Jump to

Keyboard shortcuts

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