Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIOptions ¶
type APIOptions struct { RailsEnvironment pod.EnvVarValue `env:"RAILS_ENV"` RailsLogLevel pod.EnvVarValue `env:"RAILS_LOG_LEVEL"` RailsLogToStdOut pod.EnvVarValue `env:"RAILS_LOG_TO_STDOUT"` RailsMaxThreads pod.EnvVarValue `env:"RAILS_MAX_THREADS"` DatabaseURL pod.EnvVarValue `env:"DATABASE_URL" secret:"zync"` SecretKeyBase pod.EnvVarValue `env:"SECRET_KEY_BASE" secret:"zync"` ZyncAuthenticationToken pod.EnvVarValue `env:"ZYNC_AUTHENTICATION_TOKEN" secret:"zync"` BugsnagAPIKey pod.EnvVarValue `env:"BUGSNAG_API_KEY" secret:"zync"` }
APIOptions holds configuration for the api pods
func NewAPIOptions ¶
func NewAPIOptions(spec saasv1alpha1.ZyncSpec) APIOptions
NewAPIOptions returns an Options struct for the given saasv1alpha1.ZyncSpec
type QueOptions ¶
type QueOptions struct { RailsEnvironment pod.EnvVarValue `env:"RAILS_ENV"` RailsLogLevel pod.EnvVarValue `env:"RAILS_LOG_LEVEL"` RailsLogToStdOut pod.EnvVarValue `env:"RAILS_LOG_TO_STDOUT"` DatabaseURL pod.EnvVarValue `env:"DATABASE_URL" secret:"zync"` SecretKeyBase pod.EnvVarValue `env:"SECRET_KEY_BASE" secret:"zync"` ZyncAuthenticationToken pod.EnvVarValue `env:"ZYNC_AUTHENTICATION_TOKEN" secret:"zync"` BugsnagAPIKey pod.EnvVarValue `env:"BUGSNAG_API_KEY" secret:"zync"` }
QueOptions holds configuration for the que pods
func NewQueOptions ¶
func NewQueOptions(spec saasv1alpha1.ZyncSpec) QueOptions
NewQueOptions returns an Options struct for the given saasv1alpha1.ZyncSpec
Click to show internal directories.
Click to hide internal directories.