option

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 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 APIServer

type APIServer struct {
	Config
	LogLevel       string
	StartRegionAPI bool
}

APIServer apiserver server

func NewAPIServer

func NewAPIServer() *APIServer

NewAPIServer new server

func (*APIServer) AddFlags

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

AddFlags config

func (*APIServer) SetLog

func (a *APIServer) SetLog()

SetLog 设置log

type Config

type Config struct {
	DBType               string
	APIAddr              string
	APIHealthzAddr       string
	APIAddrSSL           string
	DBConnectionInfo     string
	EventLogServers      []string
	NodeAPI              []string
	BuilderAPI           []string
	V1API                string
	MQAPI                string
	EtcdEndpoint         []string
	EtcdCaFile           string
	EtcdCertFile         string
	EtcdKeyFile          string
	APISSL               bool
	APICertFile          string
	APIKeyFile           string
	APICaFile            string
	WebsocketSSL         bool
	WebsocketCertFile    string
	WebsocketKeyFile     string
	WebsocketAddr        string
	Opentsdb             string
	RegionTag            string
	LoggerFile           string
	EnableFeature        []string
	Debug                bool
	MinExtPort           int // minimum external port
	LicensePath          string
	LicSoPath            string
	LogPath              string
	KubeConfigPath       string
	PrometheusEndpoint   string
	WtNamespace          string
	ShowSQL              bool
	ObsAPI               []string
	ObsMimirAPI          []string
	ObsTempoAPI          []string
	ObsLokiAPI           []string
	DockerConsoleServers []string
	EventLogEndpoints    []string
	WtHub                string
	WtWorker             string
	VirtVNCAPI           []string
}

Config config

Jump to

Keyboard shortcuts

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