Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DroneKube ¶
type DroneKube struct { MasterURL string // k8s集群主节点地址 UpdateConfig MultipleConfig string // 配置数组 }
func (DroneKube) ParseMultipleConfig ¶
func (th DroneKube) ParseMultipleConfig() (uc []UpdateConfig, er error)
ParseMultipleConfig 使用默认配置解析配置数组
type UpdateConfig ¶
type UpdateConfig struct { // deployment (deploy) // cronjob (cj) Resource string resources.UpdateInfo }
func (UpdateConfig) Print ¶
func (th UpdateConfig) Print()
Click to show internal directories.
Click to hide internal directories.