Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KEY represents the key path in store
KEY = "/lain/deployd/pod_groups"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerWatcher ¶
type ContainerWatcher struct {
watcher.BaseWatcher
// contains filtered or unexported fields
}
type Info ¶
type Info struct {
AppName string `json:"app"`
AppVersion string `json:"app_version"`
ProcName string `json:"proc"`
NodeName string `json:"nodename"`
NodeIP string `json:"nodeip"`
IP string `json:"ip"`
Port int `json:"port"`
InstanceNo int `json:"instanceNo"`
}
Info represents the container info, the data type returned by this container watcher
type PodGroup ¶
type PodGroup spec.PodGroupWithSpec
PodGroup is actually from the deployd engine, it actually engine.PodGroupWithSpec
Click to show internal directories.
Click to hide internal directories.