root

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ENV_PREFIX       = "MYC"
	ENV_CONFIG       = "MYC_CONFIG"
	CONFIG_FILE_NAME = ".mycontroller"
	CONFIG_FILE_EXT  = "yaml"
)

Variables

View Source
var (
	CONFIG       *clientTY.Config
	IOStreams    clientTY.IOStreams
	HideHeader   bool
	Pretty       bool
	OutputFormat string
)
View Source
var Cmd = &cobra.Command{
	Use:   "myc",
	Short: "myc",
	Long:  rootCliLong,
	PreRun: func(cmd *cobra.Command, args []string) {
		UpdateStreams(cmd)
	},
}

Functions

func Execute

func Execute(streams clientTY.IOStreams)

func LookupClient added in v2.2.0

func LookupClient(name string) (*api.Client, error)

func MustClient added in v2.2.0

func MustClient(name string) *api.Client

func TakeAlias added in v2.2.0

func TakeAlias(args []string) (*api.Client, []string)

func UpdateStreams

func UpdateStreams(cmd *cobra.Command)

func WriteConfigFile

func WriteConfigFile()

Types

This section is empty.

Jump to

Keyboard shortcuts

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