config

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClientConfigNotFound = errors.New(heredoc.Doc(`
	Dex client config not found.
	Run "dex config init" to initialize a new client config or
	Run "dex help environment" for more information.
`))

Functions

func Commands

func Commands() *cobra.Command

Types

type ClientConfig

type ClientConfig struct {
	Host       string `yaml:"host" cmdx:"host"`
	Secure     bool   `yaml:"secure" cmdx:"secure"`
	PathPrefix string `yaml:"path_prefix" cmdx:"path_prefix"`
}

func Load

func Load() (*ClientConfig, error)

Jump to

Keyboard shortcuts

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