options

package
v0.0.0-...-8ed77bd Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	BindAddress         net.IP
	Port                int
	InsecureBindAddress net.IP
	InsecurePort        int
	StaticDir           string
	I18nDir             string
	EnableApiProxy      bool
	ApiProxyEndpoint    string
	DashboardConfigPath string
}

Options contains everything necessary to create and run api.

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags of api to the specified FlagSet

Jump to

Keyboard shortcuts

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