option

package
v5.2.2-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EtcdEndPoints        []string
	EtcdCaFile           string
	EtcdCertFile         string
	EtcdKeyFile          string
	Address              string
	HostIP               string
	HostName             string
	Port                 int
	SessionKey           string
	PrometheusMetricPath string
	K8SConfPath          string
}

Config config server

type WebCliServer

type WebCliServer struct {
	Config
	LogLevel string
}

WebCliServer container webcli server

func NewWebCliServer

func NewWebCliServer() *WebCliServer

NewWebCliServer new server

func (*WebCliServer) AddFlags

func (a *WebCliServer) AddFlags(fs *pflag.FlagSet)

AddFlags config

func (*WebCliServer) SetLog

func (a *WebCliServer) SetLog()

SetLog 设置log

Jump to

Keyboard shortcuts

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