Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Dir is where core writes workload records for eru-agent on SSH-managed nodes. Dir = "/run/eru/workloads" CgroupRoot = "/sys/fs/cgroup" // NotExistsCode is the exit code node-side scripts use for "no record on the node". NotExistsCode = 64 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Record ¶
type Record struct {
ID string `json:"id"`
Kind string `json:"kind"`
Name string `json:"name"`
Appname string `json:"appname"`
Entrypoint string `json:"entrypoint"`
Ident string `json:"ident"`
Podname string `json:"podname"`
Nodename string `json:"nodename"`
CoreID string `json:"coreid"`
Labels map[string]string `json:"labels,omitempty"`
HealthCheck *enginetypes.HealthCheck `json:"healthcheck,omitempty"`
Publish []string `json:"publish,omitempty"`
Networks map[string]string `json:"networks,omitempty"`
Cgroup string `json:"cgroup"`
NetnsPID int `json:"netns_pid"`
Iface string `json:"iface,omitempty"`
}
Record is the workload record core writes next to an SSH-managed workload for eru-agent.
Click to show internal directories.
Click to hide internal directories.