Documentation ¶
Index ¶
- Variables
- func ConnTCP(address string) (net.Conn, error)
- func ConnTLS(address string) (net.Conn, error)
- func DeleteCounter(client *docker.Client)
- func DeleteM1(cname string)
- func GetIp() (ip string, err error)
- func HttpGet(url string) (string, error)
- func ReceiveContainer(container *docker.Container)
- func Run()
- func SendMessage(cn, msg, cid string, container *gabs.Container)
- func ShortID(id string) string
- type Message
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DeleteCounter ¶
func DeleteCounter(client *docker.Client)
func ReceiveContainer ¶
func ReceiveContainer(container *docker.Container)
func SendMessage ¶
Types ¶
type Message ¶
type Message struct { FrameWorks []struct { Executors []struct { Container string `json:"container"` Tasks []struct { SlaveId string `json:"slave_id"` State string `json:"state"` Name string `json:"name"` Id string `json:"id"` Resources struct { Ports string `json:"ports"` } `json:"resources"` } `json:"tasks"` } `json:"executors"` } `json:"frameworks"` HostName string `json:"hostname"` }
Click to show internal directories.
Click to hide internal directories.