Documentation
¶
Overview ¶
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0
Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Onix Config Manager - Pilot Copyright (c) 2018-2020 by www.gatblau.org Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0 Contributors to this project, hereby assign copyright in this code to the project, to be licensed under the same terms as the rest of the code.
Index ¶
Constants ¶
const ( TypeFile confType = iota TypeHttp TypeEnvironment TypeUnknown )
the values for confType
const ( TriggerRestart trigger = iota TriggerGet TriggerPost TriggerPut TriggerSignal TriggerUnknown )
const ( // sits side by side with the application Sidecar opMode = iota // launch the application as a subprocess Controller // launch applications in containers Host )
const ( // the start of a toml front matter segment Toml tokenType = iota // the start of a json front matter segment Json // the start of a yaml front matter segment Yaml // the end of any front matter segment EOF )
the various types of tokens
const (
LogLevel = "LogLevel"
)
Variables ¶
This section is empty.
Functions ¶
func NewFile ¶
func NewFile(cf *appCfg) *file
create a new file data object and launch a file monitoring routine
func NewProcessManager ¶
func NewProcessManager() *procMan
Types ¶
type Config ¶
type Config struct { LogLevel string // configuration for the Onix client OxConf *oxc.ClientConf // message broker config EmConf *oxc.EventConfig // contains filtered or unexported fields }
Config pilot configuration
type ConfigKey ¶
type ConfigKey int
const ( PilotKey ConfigKey = iota PilotLogLevel PilotOxWapiUrl PilotOxWapiAuthMode PilotOxWapiUsername PilotOxWapiPassword PilotOxWapiClientId PilotOxWapiAppSecret PilotOxWapiTokenUri PilotOxWapiInsecureSkipVerify PilotOxBrokerUrl PilotOxBrokerUsername PilotOxBrokerPassword PilotOxBrokerInsecureSkipVerify PilotRemUri PilotRemUsername PilotRemPassword )