Documentation
¶
Index ¶
- func ChangeKubectl() *cobra.Command
- func ConfigCommand() *cobra.Command
- func GCPConfigSwitch() *cobra.Command
- func GetLogsCmd() *cobra.Command
- func PortForward() *cobra.Command
- func RemoveContext() *cobra.Command
- func RootCmd() *cobra.Command
- func SuichNamespaceCMD() *cobra.Command
- func SwitchCmd() *cobra.Command
- type Kubectl
- type KubectlCluster
- type KubectlClusterWithName
- type KubectlConfig
- type KubectlContext
- type KubectlContextWithName
- type KubectlUser
- type KubectlUserWithName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeKubectl ¶
func ConfigCommand ¶
func GCPConfigSwitch ¶
func GetLogsCmd ¶
GetLogsCmd builds the logs cobra command for suich
func PortForward ¶
func RemoveContext ¶
func SuichNamespaceCMD ¶
Types ¶
type KubectlCluster ¶
type KubectlClusterWithName ¶
type KubectlClusterWithName struct { Name string `json:"name"` Cluster KubectlCluster `json:"cluster"` }
type KubectlConfig ¶
type KubectlConfig struct { Kind string `json:"kind"` ApiVersion string `json:"apiVersion"` CurrentContext string `json:"current-context"` Clusters []*KubectlClusterWithName `json:"clusters"` Contexts []*KubectlContextWithName `json:"contexts"` Users []*KubectlUserWithName `json:"users"` }
type KubectlContext ¶
type KubectlContextWithName ¶
type KubectlContextWithName struct { Name string `json:"name"` Context KubectlContext `json:"context"` }
type KubectlUser ¶
type KubectlUserWithName ¶
type KubectlUserWithName struct { Name string `json:"name"` User KubectlUser `json:"user"` }
Click to show internal directories.
Click to hide internal directories.