config

package
v0.0.0-...-cb8e146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const RdsCaLocation = "/app/rdsca.cert"

Variables

This section is empty.

Functions

This section is empty.

Types

type ChromeServiceConfig

type ChromeServiceConfig struct {
	WebPort           int
	OpenApiSpecPath   string
	DbHost            string
	DbUser            string
	DbPassword        string
	DbPort            int
	DbName            string
	MetricsPort       int
	Test              bool
	LogLevel          string
	DbSSLMode         string
	DbSSLRootCert     string
	KafkaConfig       KafkaCfg
	IntercomConfig    IntercomConfig
	FeatureFlagConfig FeatureFlagsConfig
	DebugConfig       DebugConfig
}

func Get

func Get() *ChromeServiceConfig

Returning chrome-service configuration

type DebugConfig

type DebugConfig struct {
	DebugFavoriteIds []string
}

type FeatureFlagsConfig

type FeatureFlagsConfig struct {
	ClientAccessToken string
	Hostname          string
	Port              int
	Scheme            string
	FullURL           string
	// ONLY for local use, Clowder won't populate this
	AdminToken string
}

type IntercomConfig

type IntercomConfig struct {
	// contains filtered or unexported fields
}

type KafkaCfg

type KafkaCfg struct {
	KafkaBrokers   []string
	KafkaTopics    []string
	KafkaSSlConfig KafkaSSLCfg
	BrokerConfig   clowder.BrokerConfig
}

type KafkaSSLCfg

type KafkaSSLCfg struct {
	KafkaCA       string
	KafkaUsername string
	KafkaPassword string
	SASLMechanism string
	Protocol      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL