Documentation ¶
Index ¶
- func CreateClusterContextOptions(platformClient platform.Client, config string, cluster *managementv1.Cluster, ...) (kubeconfig.ContextOptions, error)
- func NewConnectCmd(globalFlags *flags.GlobalFlags, defaults *defaults.Defaults) *cobra.Command
- type ClusterCmd
- type ManagementCmd
- type NamespaceCmd
- type VClusterCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterContextOptions ¶
func CreateClusterContextOptions(platformClient platform.Client, config string, cluster *managementv1.Cluster, spaceName string, setActive bool) (kubeconfig.ContextOptions, error)
func NewConnectCmd ¶
NewConnectCmd creates a new cobra command
Types ¶
type ClusterCmd ¶
type ClusterCmd struct { *flags.GlobalFlags Print bool DisableDirectClusterEndpoint bool // contains filtered or unexported fields }
ClusterCmd holds the cmd flags
type ManagementCmd ¶
type ManagementCmd struct { *flags.GlobalFlags Print bool // contains filtered or unexported fields }
ManagementCmd holds the cmd flags
type NamespaceCmd ¶
type NamespaceCmd struct { *flags.GlobalFlags Cluster string Project string Print bool SkipWait bool DisableDirectClusterEndpoint bool // contains filtered or unexported fields }
NamespaceCmd holds the cmd flags
type VClusterCmd ¶
type VClusterCmd struct { Log log.Logger *flags.GlobalFlags cli.ConnectOptions }
VClusterCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.