root

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 13 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"
	CONFIG_FILE_NAME = ".mycontroller"
	CONFIG_FILE_EXT  = "yaml"
)

Variables

View Source
var (
	CONFIG    *clientTY.Config   // keep MyController server details
	IOStreams clientTY.IOStreams // read and write to this stream

	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 GetClient

func GetClient() *api.Client

func UpdateStreams

func UpdateStreams(cmd *cobra.Command)

func WriteConfigFile

func WriteConfigFile()

Types

type VersionMap

type VersionMap struct {
	Spec map[string]interface{} `json:"spec"`
}

Jump to

Keyboard shortcuts

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