get

package
v0.21.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputYAML  string = "yaml"
	OutputJSON  string = "json"
	OutputValue string = "value"
)
View Source
const (
	OutputName = "name"
)

Variables

View Source
var ErrNotLoftContext = errors.New("current context is not a loft context, but predefined var LOFT_CLUSTER is used")

Functions

func NewGetCmd

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

NewGetCmd creates a new cobra command for the sub command

Types

type ClusterTokenCmd

type ClusterTokenCmd struct {
	*flags.GlobalFlags

	Output string
	// contains filtered or unexported fields
}

ClusterTokenCmd holds the lags

func (*ClusterTokenCmd) Run

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

type SecretCmd

type SecretCmd struct {
	*flags.GlobalFlags

	Namespace string
	Project   string
	Output    string
	All       bool
	// contains filtered or unexported fields
}

SecretCmd holds the flags

func (*SecretCmd) Run

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

RunUsers executes the functionality

type UserCmd

type UserCmd struct {
	*flags.GlobalFlags
	// contains filtered or unexported fields
}

UserCmd holds the lags

func (*UserCmd) Run

func (cmd *UserCmd) Run(ctx context.Context) error

RunUsers executes the functionality

Jump to

Keyboard shortcuts

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