cmd

package
v0.0.0-...-1474eae Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: ISC Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func Test

func Test(cfg TestConfig)

Types

type TestConfig

type TestConfig struct {
	IssuerURL string `yaml:"issuerURL"`
	Insecure  bool   `yaml:"insecure"`

	Scopes      []string `yaml:"scopes"`
	ExtraParams extra    `yaml:"extraParams"`

	ClientID     string `yaml:"clientID"`
	ClientSecret string `yaml:"clientSecret"`
	ClientPort   int    `yaml:"clientPort"`

	OpenURL func(url string) error
}

Jump to

Keyboard shortcuts

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