istio: Index | Files

package cmd

import ""


Package Files


func AddFlags Uses

func AddFlags(rootCmd *cobra.Command)

AddFlags adds all command line flags to the given command.

func PrintFlags Uses

func PrintFlags(flags *pflag.FlagSet)

PrintFlags logs the flags in the flagset

func WaitSignal Uses

func WaitSignal(stop chan struct{})

WaitSignal awaits for SIGINT or SIGTERM and closes the channel

func WaitSignalFunc Uses

func WaitSignalFunc(cancel func())

WaitSignalFunc awaits for SIGINT or SIGTERM and calls the cancel function

Package cmd imports 7 packages (graph) and is imported by 6 packages. Updated 2020-06-04. Refresh now. Tools for package owners.