profiles

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidProperty

func IsValidProperty(property string) error

IsValidProperty returns an error if the given property is invalid.

func NewCmdActivate

func NewCmdActivate(ctx *cmd.Context) *cmd.Command

func NewCmdCreate

func NewCmdCreate(ctx *cmd.Context) *cmd.Command

func NewCmdDelete

func NewCmdDelete(ctx *cmd.Context) *cmd.Command

func NewCmdList

func NewCmdList(ctx *cmd.Context) *cmd.Command

func NewCmdProfiles

func NewCmdProfiles(ctx *cmd.Context) *cmd.Command

func NewCmdRename

func NewCmdRename(ctx *cmd.Context) *cmd.Command

Types

type ActivateOpts

type ActivateOpts struct {
	IO       iostreams.IOStreams
	Profiles *profile.Loader
	Name     string
}

type CreateOpts

type CreateOpts struct {
	IO iostreams.IOStreams

	Profiles   *profile.Loader
	Name       string
	NoActivate bool
	Geography  string
}

type DeleteOpts

type DeleteOpts struct {
	IO       iostreams.IOStreams
	Profiles *profile.Loader

	Names []string
}

type ListOpts

type ListOpts struct {
	IO       iostreams.IOStreams
	Output   *format.Outputter
	Profiles *profile.Loader
}

type RenameOpts

type RenameOpts struct {
	IO           iostreams.IOStreams
	Profiles     *profile.Loader
	ExistingName string
	NewName      string
}

Jump to

Keyboard shortcuts

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