istio: istio.io/istio/pkg/cmd Index | Files

package cmd

import "istio.io/istio/pkg/cmd"

Index

Package Files

cmd.go

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 8 packages. Updated 2019-10-19. Refresh now. Tools for package owners.