Discover Packages
github.com/335is/octoreport
internal
config
package
Version:
v0.0.0-...-f88b001
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Octopus *Octopus `yaml:"octopus"`
}
Config holds our configuration settings
New starts with a default config that works with a public demo Octopus Deploy server,
then overrides settings from a YAML config file and env vars if they exist.
Dump returns the Octopus configuration in YAML string form
type Octopus struct {
Address string `yaml:"address" default:"https://demo.octopus.com"`
APIKey string `yaml:"apikey" default:"API-GUEST"`
}
Octopus holds our octopus settings
Source Files
¶
Click to show internal directories.
Click to hide internal directories.