config

package
v0.0.0-...-929592d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2022 Red Hat Inc. SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const ExportTopic string = "platform.export.requests"

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportConfig

type ExportConfig struct {
	Hostname           string
	PublicPort         int
	MetricsPort        int
	PrivatePort        int
	Logging            *loggingConfig
	LogLevel           string
	Debug              bool
	DBConfig           dbConfig
	StorageConfig      storageConfig
	KafkaConfig        kafkaConfig
	OpenAPIPrivatePath string
	OpenAPIPublicPath  string
	Psks               []string
	ExportExpiryDays   int
}

ExportConfig represents the runtime configuration

func Get

func Get() *ExportConfig

initialize the configuration for service

Jump to

Keyboard shortcuts

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