Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Kubeconfig ¶
func Kubeconfig(clusterInfo *ClusterInfo) (cfg *rest.Config, err error)
Kubeconfig new kube config
Types ¶
type ClusterConfig ¶ added in v1.2.0
type ClusterConfig struct { at.Scope `value:"prototype"` at.ConditionalOnField `value:"Name,Username"` ClusterInfo }
type ClusterInfo ¶ added in v1.2.0
type RuntimeClusterConfig ¶ added in v1.2.0
type RuntimeClusterConfig struct { at.Scope `value:"request"` at.ConditionalOnField `value:"Name,Username"` ClusterInfo Username string `value:"username"` }
Click to show internal directories.
Click to hide internal directories.