build

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentProviders = []string{}

AgentProviders are registered systems capable of extending choria with new agents

View Source
var BuildDate = "unknown"

BuildDate is when it was build

View Source
var DataProviders = []string{}

DataProviders are registered Data plugins

View Source
var License = "Apache-2.0"

License is the official Open Source Initiative license abbreviation

View Source
var MachineWatchers = []string{}

MachineWatchers are registered Autonomous Agent watchers

View Source
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

View Source
var ProvisionBrokerSRVDomain = ""

ProvisionBrokerSRVDomain defines a domain to query for provisioning brokers

View Source
var ProvisionBrokerURLs = ""

ProvisionBrokerURLs defines where the daemon will connect when choria.server.provision is true

View Source
var ProvisionFacts = ""

ProvisionFacts is a facts file to use for discovery purposes during provisioning mode

View Source
var ProvisionJWTFile = ""

ProvisionJWTFile is a file holding a JWT identifying the node to the provisioner

View Source
var ProvisionModeDefault = "false"

ProvisionModeDefault defines the value of plugin.choria.server.provision when it's not set in the configuration file at all.

View Source
var ProvisionRegistrationData = ""

ProvisionRegistrationData is a file that will be published by the registration system

View Source
var ProvisionSecure = "true"

ProvisionSecure when "false" will disable TLS provisioning mode

View Source
var ProvisionStatusFile = ""

ProvisionStatusFile is the file where server status will be written to while in provisioning mode

View Source
var ProvisionToken = ""

ProvisionToken when not empty this token will be required interact with the provisioner agent

View Source
var ProvisioningBrokerPassword = ""

ProvisioningBrokerPassword is the password used to connect to the middleware with

View Source
var ProvisioningBrokerUsername = ""

ProvisioningBrokerUsername is the username used to connect to the middleware with

View Source
var SHA = "unknown"

SHA is the git reference used to build this package

View Source
var TLS = "true"

TLS controls the NATS protocol level TLS

View Source
var Version = "0.21.0"

Version the application version

Functions

func HasTLS

func HasTLS() bool

HasTLS determines if TLS should be used on the wire

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 (i *Info) AgentProviders() []string

func (*Info) BuildDate

func (i *Info) BuildDate() string

func (*Info) DataProviders added in v0.20.0

func (i *Info) DataProviders() []string

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()

func (*Info) HasTLS

func (i *Info) HasTLS() bool

func (*Info) License

func (i *Info) License() string

func (*Info) MachineWatchers added in v0.19.0

func (i *Info) MachineWatchers() []string

func (*Info) MaxBrokerClients

func (i *Info) MaxBrokerClients() int

func (*Info) ProvisionAgent

func (i *Info) ProvisionAgent() bool

func (*Info) ProvisionBrokerSRVDomain added in v0.13.0

func (i *Info) ProvisionBrokerSRVDomain() string

func (*Info) ProvisionBrokerURLs

func (i *Info) ProvisionBrokerURLs() string

func (*Info) ProvisionDefault

func (i *Info) ProvisionDefault() bool

func (*Info) ProvisionFacts

func (i *Info) ProvisionFacts() string

func (*Info) ProvisionJWTFile added in v0.13.0

func (i *Info) ProvisionJWTFile() string

func (*Info) ProvisionRegistrationData

func (i *Info) ProvisionRegistrationData() string

func (*Info) ProvisionSecurity

func (i *Info) ProvisionSecurity() bool

func (*Info) ProvisionStatusFile

func (i *Info) ProvisionStatusFile() string

func (*Info) ProvisionToken

func (i *Info) ProvisionToken() string

func (*Info) ProvisioningBrokerPassword added in v0.15.0

func (i *Info) ProvisioningBrokerPassword() string

func (*Info) ProvisioningBrokerUsername added in v0.15.0

func (i *Info) ProvisioningBrokerUsername() string

func (*Info) RegisterAgentProvider added in v0.14.0

func (i *Info) RegisterAgentProvider(p string)

func (*Info) RegisterDataProvider added in v0.20.0

func (i *Info) RegisterDataProvider(p string)

func (*Info) RegisterMachineWatcher added in v0.19.0

func (i *Info) RegisterMachineWatcher(p string)

func (*Info) SHA

func (i *Info) SHA() string

func (*Info) SetProvisionBrokerSRVDomain added in v0.14.0

func (i *Info) SetProvisionBrokerSRVDomain(d string)

func (*Info) SetProvisionBrokerURLs added in v0.14.0

func (i *Info) SetProvisionBrokerURLs(u string)

func (*Info) SetProvisionFacts added in v0.14.0

func (i *Info) SetProvisionFacts(f string)

func (*Info) SetProvisionJWTFile added in v0.16.0

func (i *Info) SetProvisionJWTFile(t string)

func (*Info) SetProvisionRegistrationData added in v0.14.0

func (i *Info) SetProvisionRegistrationData(f string)

func (*Info) SetProvisionToken added in v0.14.0

func (i *Info) SetProvisionToken(t string)

func (*Info) SetProvisioningBrokerPassword added in v0.15.0

func (i *Info) SetProvisioningBrokerPassword(p string)

func (*Info) SetProvisioningBrokerUsername added in v0.15.0

func (i *Info) SetProvisioningBrokerUsername(u string)

func (*Info) Version

func (i *Info) Version() string

Jump to

Keyboard shortcuts

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