The highest tagged major version is
v4 .
Discover Packages
github.com/armory/plank
config
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: May 10, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
DEPRECATION NOTICE
The code in this subdirectory ("config") is likely to be deprecated soon.
It's being left here as a reference for what Spinnaker YAML config files
"look like". It will likely be ported into a separate library specific to
the handling of Spinnaker configuration file processing (which isn't as
simple as just loading a single YAML file).
Expand ▾
Collapse ▴
Documentation
¶
Load settings from yaml file.
type Front50 struct {
Service
StorageBucket string `json:"storage_bucket,omitempty" mapstructure:"storage_bucket"`
StoragePrefix string `json:"rootFolder,omitempty" mapstructure:"rootFolder"`
S3 struct {
Enabled bool `json:"enabled,omitempty" mapstructure:"enabled"`
} `json:"s3,omitempty" mapstructure:"s3"`
GCS struct {
Enabled bool `json:"enabled,omitempty" mapstructure:"enabled"`
} `json:"gcs,omitempty" mapstructure:"gcs"`
}
Front50 service settings.
type Service struct {
Enabled bool `json:"enabled,omitempty" mapstructure:"enabled"`
BaseURL string `json:"baseUrl,omitempty" mapstructure:"baseUrl"`
}
Service such as Fiat, Orca, Deck, Gate, etc.
type Services struct {
Fiat Service `json:"fiat,omitempty" mapstructure:"fiat"`
Front50 Front50 `json:"front50,omitempty" mapstructure:"front50"`
}
Services within Spinnaker.
type Settings struct {
Services Services `json:"services,omitempty" mapstructure:"services"`
}
Settings mirrors Spinnaker's yaml files.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.