Files
Marcos Nils 3481442768 Initial k8s support in libplayground (#216)
* Initial k8s support in libplayground

* Make tasks never give up + custom event for k8s cluster status
2017-11-16 18:23:13 -03:00

14 lines
296 B
Go

package task
type ClusterStatus struct {
IsManager bool `json:"is_manager"`
IsWorker bool `json:"is_worker"`
Instance string `json:"instance"`
}
type ClusterPorts struct {
Manager string `json:"manager"`
Instances []string `json:"instances"`
Ports []int `json:"ports"`
}