connect

package
v0.20.0-beta.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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

func NewConnectCmd(globalFlags *flags.GlobalFlags, defaults *defaults.Defaults) *cobra.Command

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

func (*ClusterCmd) Run

func (cmd *ClusterCmd) Run(ctx context.Context, args []string) error

Run executes the command

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

func (*NamespaceCmd) Run

func (cmd *NamespaceCmd) Run(ctx context.Context, args []string) error

Run executes the command

type VClusterCmd

type VClusterCmd struct {
	Log log.Logger
	*flags.GlobalFlags
	cli.ConnectOptions
}

VClusterCmd holds the cmd flags

func (*VClusterCmd) Run

func (cmd *VClusterCmd) Run(ctx context.Context, args []string) error

Run executes the functionality

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL