Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBBSSyncInterval = durationjson.Duration(60 * time.Second)
View Source
const DefaultMCPConvergeInterval = durationjson.Duration(30 * time.Second)
Variables ¶
View Source
var ValidLogLevels = []string{
"debug",
"info",
"error",
"fatal",
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddressForCloudController string `validate:"nonzero"` ListenAddressForVIPResolver string `validate:"nonzero"` ListenAddressForMCP string `validate:"nonzero"` PilotClientCAPath string `validate:"nonzero"` CloudControllerClientCAPath string `validate:"nonzero"` ServerCertPath string `validate:"nonzero"` ServerKeyPath string `validate:"nonzero"` PolicyServerDisabled bool PolicyServerAddress string `validate:"nonzero"` PolicyServerClientCertPath string `validate:"nonzero"` PolicyServerClientKeyPath string `validate:"nonzero"` PolicyServerCAPath string `validate:"nonzero"` VIPCIDR string `validate:"cidr"` MCPConvergeInterval durationjson.Duration LogLevel string BBS *BBSConfig TLSPems []certs.CertChainKeyPair }
func (*Config) ServerTLSConfigForCloudController ¶
func (*Config) ServerTLSConfigForPilot ¶
Click to show internal directories.
Click to hide internal directories.