Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CastwareOperatorVersion ¶
func (*CastwareOperatorVersion) String ¶
func (c *CastwareOperatorVersion) String() string
type Config ¶
type Config struct {
LogLevel LogLevel `envconfig:"LOG_LEVEL" default:"info"`
RequestTimeout time.Duration `envconfig:"REQUEST_TIMEOUT" default:"10s"`
PollActionsTimeout time.Duration `envconfig:"POLL_ACTIONS_TIMEOUT" default:"10m"`
CertDir string `envconfig:"CERTS_DIR" default:"/certs"`
CertsSecret string `envconfig:"CERTS_SECRET" default:"castware-operator-certs"`
PodNamespace string `envconfig:"POD_NAMESPACE"`
ServiceName string `envconfig:"SERVICE_NAME" default:"castware-operator"`
HelmReleaseName string `envconfig:"HELM_RELEASE_NAME" default:"castware-operator"`
CertsRotation bool `envconfig:"CERTS_ROTATION" default:"false"`
PodsReadyTimeout time.Duration `envconfig:"PODS_READY_TIMEOUT" default:"5m"`
PodsStatusCheckInterval time.Duration `envconfig:"PODS_STATUS_CHECK_INTERVAL" default:"5s"`
}
func GetFromEnvironment ¶
Click to show internal directories.
Click to hide internal directories.