client

package
v0.0.1-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

Types

type Option

type Option struct {
	LogLevel         string
	ProxyAddress     string
	ClientVirtualIP  net.IP
	ServerCIDRs      []*net.IPNet
	EnablePProf      bool
	AuthBaseURL      string
	SchedulerAddress string
}

func NewOption

func NewOption() *Option

func (*Option) Validate

func (o *Option) Validate() (*Option, error)

func (*Option) WithCliFlags

func (o *Option) WithCliFlags(flags *pflag.FlagSet) *Option

func (*Option) WithDefaults

func (o *Option) WithDefaults() *Option

func (*Option) WithEnvVariables

func (o *Option) WithEnvVariables() *Option

func (*Option) WithNetwork

func (o *Option) WithNetwork() *Option

func (*Option) WithPreFlags

func (o *Option) WithPreFlags(flags *pflag.FlagSet) *Option

Jump to

Keyboard shortcuts

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