* Initial k8s support in libplayground * Make tasks never give up + custom event for k8s cluster status
14 lines
296 B
Go
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"`
|
|
}
|