omnictl

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MPL-2.0 Imports: 51 Imported by: 0

Documentation

Overview

Package omnictl ...

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:               "omnictl",
	Short:             "A CLI for accessing Omni API.",
	Long:              ``,
	SilenceUsage:      true,
	DisableAutoGenTag: true,
}

RootCmd represents the base command when called without any subcommands.

Functions

func CompleteConfigContext

func CompleteConfigContext(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)

CompleteConfigContext represents tab completion for `--context` argument and `config context` command.

func GenMarkdownReference

func GenMarkdownReference(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error

GenMarkdownReference is the same as GenMarkdownTree, but with custom filePrepender and linkHandler.

Types

This section is empty.

Directories

Path Synopsis
Package cluster contains commands related to cluster operations.
Package cluster contains commands related to cluster operations.
kubernetes
Package kubernetes contains commands related to cluster Kubernetes operations.
Package kubernetes contains commands related to cluster Kubernetes operations.
template
Package template contains commands related to cluster template operations.
Package template contains commands related to cluster template operations.
Package config implements the config file logic.
Package config implements the config file logic.
internal
access
Package access contains commands related to API access for the CLI.
Package access contains commands related to API access for the CLI.
Package logformat contains different implementations of log formatting.
Package logformat contains different implementations of log formatting.
Package output provides writers in different formats.
Package output provides writers in different formats.

Jump to

Keyboard shortcuts

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