create

package
v0.18.44 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 37 Imported by: 2

Documentation

Index

Constants

View Source
const EmptyCreateError = "please provide a file flag or subcommand"
View Source
const EmptyUpstreamCreateError = "please provide a type of upstream, or use -i to create the upstream interactively"
View Source
const EmptyUpstreamGroupCreateError = "please provide weighted destinations for your upstream group, or use -i to create the upstream group interactively"

Variables

View Source
var (
	ProvideNamespaceAndNameError = func(namespace, secretName string) error {
		return errors.Errorf("provide both a secret namespace [%v] and secret name [%v]", namespace, secretName)
	}
	UnableToMarshalApiKeyConfig = func(err error) error {
		return errors.Wrapf(err, "Error marshalling apikey config")
	}
	EmptyQueryError       = errors.Errorf("query must not be empty")
	InvlaidRefFormatError = errors.Errorf("invalid format: provide namespaced names for config maps (namespace.configMapName)")
)

Functions

func RootCmd

func RootCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command

func Upstream

func Upstream(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command

func UpstreamGroup added in v0.18.1

func UpstreamGroup(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command

func VSCreate added in v0.18.42

func VSCreate(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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