Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Kubeconfig string
View Source
var Vmipaddr string
View Source
var Vmipaddr2 string
Functions ¶
func GetKuBeanPath ¶
func GetKuBeanPath() string
func UpdateBackoffLimit ¶ added in v0.2.1
func UpdateOpsYml ¶
Types ¶
type KubeanOpsYml ¶
type KubeanOpsYml struct { ApiVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` Labels struct { ClusterName string `yaml:"clusterName"` } } Spec struct { KuBeanCluster string `yaml:"kuBeanCluster"` Image string `yaml:"image"` BackoffLimit int `yaml:"backoffLimit"` ActionType string `yaml:"actionType"` Action string `yaml:"action"` } }
Click to show internal directories.
Click to hide internal directories.