pwod

package
v0.0.0-...-2b748f3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CLOUDRUN_ADDR = "CLOUDRUN_ADDR"

Variables

View Source
var RootCmd = &cobra.Command{
	Short: "open simple ADS connection to Istiod",
	RunE: func(cmd *cobra.Command, _ []string) error {
		err := log.Configure(defaultLogOptions())
		if err != nil {
			return err
		}

		args, err := GetArgs()
		if err != nil {
			return err
		}
		args.AdsConfig = adscConfig
		ctr := controllers.NewController(args)
		return ctr.Run(cmd.Context())
	},
}

Functions

func GetArgs

func GetArgs() (model.Args, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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