Documentation ¶
Index ¶
- func GetGrpcDialAddr(adapterConfig *model.InvocationConfig) string
- func GetGrpcServerAddr() string
- func GetKafkaBrokerAddr() string
- func GetMongoConnectionUri(adapterConfig *model.RepositoryClientConfig) string
- func GetOtelCollectorUrl() string
- func GetRedisConnectionAddr(adapterConfig *model.RepositoryClientConfig) string
- func GetRestServerAddr() string
- func NewConfigLoader(format string) ports.ConfigLoader
- type EnvVars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGrpcDialAddr ¶
func GetGrpcDialAddr(adapterConfig *model.InvocationConfig) string
func GetGrpcServerAddr ¶
func GetGrpcServerAddr() string
func GetKafkaBrokerAddr ¶
func GetKafkaBrokerAddr() string
func GetMongoConnectionUri ¶
func GetMongoConnectionUri(adapterConfig *model.RepositoryClientConfig) string
func GetOtelCollectorUrl ¶
func GetOtelCollectorUrl() string
func GetRedisConnectionAddr ¶
func GetRedisConnectionAddr(adapterConfig *model.RepositoryClientConfig) string
func GetRestServerAddr ¶
func GetRestServerAddr() string
func NewConfigLoader ¶
func NewConfigLoader(format string) ports.ConfigLoader
Types ¶
type EnvVars ¶
type EnvVars struct { LOG_LEVEL string TRACING bool HTTP_PORT string GRPC_PORT string KAFKA_PORT string KAFKA_CLUSTER_NAME string KAFKA_CLUSTER_NAMESPACE string MONGO_USER string MONGO_PASSWORD string MONGO_PORT string REDIS_PORT string OTEL_COLLECTOR_NAME string OTEL_COLLECTOR_NAMESPACE string OTEL_COLLECTOR_PORT string METRICS_PORT string HEALTH_PORT string }
func FromClusterConfig ¶ added in v1.0.10
func FromClusterConfig(config model.ClusterConfig) *EnvVars
func (EnvVars) AsK8sEnvVars ¶ added in v1.0.10
Click to show internal directories.
Click to hide internal directories.