Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// UseNewNetworkDriver returns which network driver to use
UseNewNetworkDriver bool
// DisableMetrics makes it so we don't send metrics to Atlas
DisableMetrics bool
// LogUpload returns settings about the log uploader
//LogUpload logUpload
LogsTmpDir string
// Stack returns the stack configuration variable
Stack string
// Docker returns the Docker-specific configuration settings
DockerHost string
DockerRegistry string
DockerUsername string
DockerPassword string
// What region we're running in
AwsRegion string
// MetatronEnabled returns if Metatron is enabled
MetatronEnabled bool
MetatronServiceImage string
// Enable an in-container logviewer via a volume container?
ContainerLogViewer bool
LogViewerServiceImage string
// Enable abmetrix service
ContainerAbmetrixEnabled bool
AbmetrixServiceImage string
// Enable an in-container system mesh image?
ContainerServiceMeshEnabled bool
ProxydServiceImage string
// Do we enable a container-specific SSHD?
ContainerSSHD bool
SSHDServiceImage string
ContainerSSHDCAFile string
ContainerSSHDUsers cli.StringSlice
SSHAccountID string
// Do we enable spectatord titus-system-service?
ContainerSpectatord bool
SpectatordServiceImage string
// Do we enable SystemDNS titus-system-service?
ContainerSystemDNS bool
SystemDNSServiceImage string
// Flags to enable SystemDNS per NetworkMode
SystemDNSEnabledHighScale bool
SystemDNSEnabledIpv6Only bool
SystemDNSEnabledIpv6AndIpv4Fallback bool
SystemDNSEnabledIpv6andIpv4 bool
SystemDNSEnabledIpv4Only bool
SystemDNSEnabledUnknownNetworkMode bool
// Do we enable tracing-collector titus-system-service?
ContainerTracingCollector bool
TracingCollectorServiceImage string
// Do we enable atlas-titus-agent titus-system-service?
ContainerAtlasTitusAgent bool
AtlasTitusAgentServiceImage string
ContainerToolsImage string
CopyUploaders cli.StringSlice
S3Uploaders cli.StringSlice
NoopUploaders cli.StringSlice
// The RuntimeDir is a tmpdir containing the pod state.json and other sensitive info
RuntimeDir string
//Used to disable the TSA
EnableTransitionNetworkMode bool
InStandaloneMode bool
// contains filtered or unexported fields
}
Config contains the executor configuration
func GenerateConfiguration ¶
GenerateConfiguration is only meant to validate the behaviour of parsing command line arguments
func (*Config) GetEnvFromHost ¶
func (*Config) GetHardcodedEnv ¶
Click to show internal directories.
Click to hide internal directories.