share

package
v0.20.0-beta.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewShareCmd

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

NewShareCmd creates a new command

func NewSpaceCmd

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

NewSpaceCmd creates a new command

func NewVClusterCmd

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

NewVClustersCmd creates a new command

Types

type SpaceCmd

type SpaceCmd struct {
	*flags.GlobalFlags

	Project     string
	Cluster     string
	ClusterRole string
	User        string
	Team        string

	Log log.Logger
}

SpaceCmd holds the cmd flags

func (*SpaceCmd) Run

func (cmd *SpaceCmd) 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