share

package
v0.21.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamespaceCmd

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

NewNamespaceCmd creates a new command

func NewShareCmd

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

NewShareCmd creates a new command

func NewVClusterCmd

func NewVClusterCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewVClustersCmd creates a new command

Types

type NamespaceCmd

type NamespaceCmd struct {
	*flags.GlobalFlags

	Project     string
	Cluster     string
	ClusterRole string
	User        string
	Team        string

	Log log.Logger
}

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 {
	*flags.GlobalFlags

	Project     string
	Cluster     string
	ClusterRole string
	User        string
	Team        string

	Log log.Logger
}

VClusterCmd holds the login cmd flags

func (*VClusterCmd) Run

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

TODO(johannesfrey): Move flags and functionality to pkg/cli

Jump to

Keyboard shortcuts

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