prerun

package
v0.0.0-...-5a6645a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallParentPrerun

func CallParentPrerun(cmd *cobra.Command, args []string) error

the purpose of this function is to manually run PersistenPreRunE of parent CLI commands. this allows PersistenPreRunE to be defined on multiple nodes in the command tree

func EnableConsulClients

func EnableConsulClients(consul options.Consul) error

func EnableVaultClients

func EnableVaultClients(vault options.Vault) error

func HarmonizeDryRunAndOutputFormat

func HarmonizeDryRunAndOutputFormat(opts *options.Options, cmd *cobra.Command) error

func ReportUsage

func ReportUsage(opts *options.Options, cmd *cobra.Command) error

func SetKubeConfigEnv

func SetKubeConfigEnv(opts *options.Options, cmd *cobra.Command) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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