Documentation ¶
Index ¶
- Variables
- func HasTLS() bool
- func MaxBrokerClients() int
- func ProvisionDefault() bool
- func ProvisionSecurity() bool
- type Info
- func (i *Info) AgentProviders() []string
- func (i *Info) BuildDate() string
- func (i *Info) DataProviders() []string
- func (i *Info) DisableProvisionModeAsDefault()
- func (i *Info) DisableProvisionModeSecurity()
- func (i *Info) EnableProvisionModeAsDefault()
- func (i *Info) EnableProvisionModeSecurity()
- func (i *Info) HasTLS() bool
- func (i *Info) License() string
- func (i *Info) MachineWatchers() []string
- func (i *Info) MaxBrokerClients() int
- func (i *Info) ProvisionAgent() bool
- func (i *Info) ProvisionBrokerSRVDomain() string
- func (i *Info) ProvisionBrokerURLs() string
- func (i *Info) ProvisionDefault() bool
- func (i *Info) ProvisionFacts() string
- func (i *Info) ProvisionJWTFile() string
- func (i *Info) ProvisionRegistrationData() string
- func (i *Info) ProvisionSecurity() bool
- func (i *Info) ProvisionStatusFile() string
- func (i *Info) ProvisionToken() string
- func (i *Info) ProvisioningBrokerPassword() string
- func (i *Info) ProvisioningBrokerUsername() string
- func (i *Info) RegisterAgentProvider(p string)
- func (i *Info) RegisterDataProvider(p string)
- func (i *Info) RegisterMachineWatcher(p string)
- func (i *Info) SHA() string
- func (i *Info) SetProvisionBrokerSRVDomain(d string)
- func (i *Info) SetProvisionBrokerURLs(u string)
- func (i *Info) SetProvisionFacts(f string)
- func (i *Info) SetProvisionJWTFile(t string)
- func (i *Info) SetProvisionRegistrationData(f string)
- func (i *Info) SetProvisionToken(t string)
- func (i *Info) SetProvisioningBrokerPassword(p string)
- func (i *Info) SetProvisioningBrokerUsername(u string)
- func (i *Info) Version() string
Constants ¶
This section is empty.
Variables ¶
var AgentProviders = []string{}
AgentProviders are registered systems capable of extending choria with new agents
var BuildDate = "unknown"
BuildDate is when it was build
var DataProviders = []string{}
DataProviders are registered Data plugins
var License = "Apache-2.0"
License is the official Open Source Initiative license abbreviation
var MachineWatchers = []string{}
MachineWatchers are registered Autonomous Agent watchers
var ProvisionAgent = "true"
ProvisionAgent determines if the supplied provisioning agent should be started this lets you programatically or via the additional agents system supply your own agent to perform the provisioning duties
var ProvisionBrokerSRVDomain = ""
ProvisionBrokerSRVDomain defines a domain to query for provisioning brokers
var ProvisionBrokerURLs = ""
ProvisionBrokerURLs defines where the daemon will connect when choria.server.provision is true
var ProvisionFacts = ""
ProvisionFacts is a facts file to use for discovery purposes during provisioning mode
var ProvisionJWTFile = ""
ProvisionJWTFile is a file holding a JWT identifying the node to the provisioner
var ProvisionModeDefault = "false"
ProvisionModeDefault defines the value of plugin.choria.server.provision when it's not set in the configuration file at all.
var ProvisionRegistrationData = ""
ProvisionRegistrationData is a file that will be published by the registration system
var ProvisionSecure = "true"
ProvisionSecure when "false" will disable TLS provisioning mode
var ProvisionStatusFile = ""
ProvisionStatusFile is the file where server status will be written to while in provisioning mode
var ProvisionToken = ""
ProvisionToken when not empty this token will be required interact with the provisioner agent
var ProvisioningBrokerPassword = ""
ProvisioningBrokerPassword is the password used to connect to the middleware with
var ProvisioningBrokerUsername = ""
ProvisioningBrokerUsername is the username used to connect to the middleware with
var SHA = "unknown"
SHA is the git reference used to build this package
var TLS = "true"
TLS controls the NATS protocol level TLS
var Version = "0.21.0"
Version the application version
Functions ¶
func MaxBrokerClients ¶
func MaxBrokerClients() int
MaxBrokerClients is the maximum number of clients the network broker may handle
func ProvisionDefault ¶
func ProvisionDefault() bool
ProvisionDefault defines the value of plugin.choria.server.provision when it's not set in the configuration file at all.
func ProvisionSecurity ¶
func ProvisionSecurity() bool
ProvisionSecurity determines if TLS should be enabled during provisioning
Types ¶
type Info ¶
type Info struct{}
func (*Info) AgentProviders ¶
func (*Info) DataProviders ¶ added in v0.20.0
func (*Info) DisableProvisionModeAsDefault ¶ added in v0.14.0
func (i *Info) DisableProvisionModeAsDefault()
func (*Info) DisableProvisionModeSecurity ¶ added in v0.14.0
func (i *Info) DisableProvisionModeSecurity()
func (*Info) EnableProvisionModeAsDefault ¶ added in v0.14.0
func (i *Info) EnableProvisionModeAsDefault()
func (*Info) EnableProvisionModeSecurity ¶ added in v0.14.0
func (i *Info) EnableProvisionModeSecurity()