prerun

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Apache-2.0 Imports: 7 Imported by: 9

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 added in v0.18.42

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

func SetKubeConfigEnv added in v0.18.43

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