config

package
v0.20.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Tke    options.TKEOptions
	CliTls *tls.Config
)

Functions

This section is empty.

Types

type CertConfig

type CertConfig struct {
	CAFile     string
	CertFile   string
	KeyFile    string
	CertPasswd string
	IsSSL      bool
}

CertConfig is configuration of Cert

type UserMgrConfig

type UserMgrConfig struct {
	Address         string
	Port            uint
	InsecureAddress string
	InsecurePort    uint
	RegDiscvSrv     string
	LocalIp         string
	Sock            string
	MetricPort      uint
	ServCert        *CertConfig
	ClientCert      *CertConfig
	VerifyClientTLS bool

	DSN            string
	BootStrapUsers []options.BootStrapUser
	TKE            options.TKEOptions
	PeerToken      string
}

UserMgrConfig is a configuration of bcs-user-manager

func NewUserMgrConfig

func NewUserMgrConfig() *UserMgrConfig

NewUserMgrConfig create a config object

Jump to

Keyboard shortcuts

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