share

package
v3.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewShareCmd

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

NewShareCmd creates a new cobra 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, defaults *pdefaults.Defaults) *cobra.Command

NewVClusterCmd 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(cobraCmd *cobra.Command, args []string) error

Run executes the command

type VClusterCmd

type VClusterCmd struct {
	*flags.GlobalFlags

	Project     string
	Cluster     string
	Space       string
	ClusterRole string
	User        string
	Team        string

	Log log.Logger
}

VClusterCmd holds the cmd flags

func (*VClusterCmd) Run

func (cmd *VClusterCmd) Run(cobraCmd *cobra.Command, args []string) error

Run executes the command

Jump to

Keyboard shortcuts

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