config

package
v0.0.0-...-d9c38a9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AggregatorLogFileName is name of file used to store logs gathered from aggregator pods
	AggregatorLogFileName = "aggregator.log"

	// PipelineLogFileName is name of file used to store logs gathered from ccx-data-pipeline pods
	PipelineLogFileName = "pipeline.log"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenShiftConfig

type OpenShiftConfig struct {
	URL     string
	Project string
}

OpenShiftConfig represents all configuration options required to get access to OpenShift via oc client

func ReadOpenShiftConfig

func ReadOpenShiftConfig() OpenShiftConfig

ReadOpenShiftConfig function reads configuration options required to get access to OpenShift via oc client

type ServerConfig

type ServerConfig struct {
	Address  string
	UseHTTPS bool
}

ServerConfig data type represents configuration of server

func ReadServerConfig

func ReadServerConfig() ServerConfig

ReadServerConfig function reads configuration options for HTTP server with this service

Jump to

Keyboard shortcuts

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