Documentation
¶
Index ¶
Constants ¶
View Source
const ( SysNs = "kubesphere-devops-system" WorkerNs = "kubesphere-devops-worker" AgentCM = "ks-devops-agent" CascCM = "jenkins-casc-config" ConfigMapBackupFmt = "%s-backup" )
Variables ¶
This section is empty.
Functions ¶
func NewRestoreCmd ¶
NewRestoreCmd creates a root command for restore-config only used to restore configmaps(jenkins-casc-config and ks-devops-agent) in post-job when upgrade devops from 3.5.x to 4.1.x
func NewRuntimeClient ¶
func NewRuntimeClient(kubeconfig string) (runtimeclient.WithWatch, error)
func NewToolsCmd ¶
NewToolsCmd creates a root command for tools
Types ¶
type ToolOptions ¶
type ToolOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.