profile

package
v0.33.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PredictProfiles

func PredictProfiles() complete.Predictor

Types

type Cmd

type Cmd struct {
	Current currentCmd `cmd:"" help:"Get current Upbound Profile."`
	List    listCmd    `cmd:"" help:"List Upbound Profiles."`
	Use     useCmd     `cmd:"" help:"Select an Upbound Profile as the default."`
	View    viewCmd    `cmd:"" help:"View the Upbound Profile settings across profiles."`
	Config  config.Cmd `cmd:"" help:"Interact with the current Upbound Profile's config."`

	// Deprecated
	Set setCmd `cmd:"" help:"Deprecated: Set an Upbound Profile for use with a Space."`

	Flags upbound.Flags `embed:""`
}

Cmd contains commands for Upbound Profiles.

func (*Cmd) AfterApply

func (c *Cmd) AfterApply(kongCtx *kong.Context) error

AfterApply constructs and binds Upbound-specific context to any subcommands that have Run() methods that receive it.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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