httpapi

package
v0.0.0-...-87359d1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Types

type HttpAPIConfig

type HttpAPIConfig struct {
	// The port of the HTTPs server
	HttpPort uint16 `envconfig:"HTTP_PORT" default:"8080"`

	// The port of the HTTPs server
	ProbesPort uint16 `envconfig:"PROBES_PORT" default:"8081"`

	// Kubeconfig specifies path to a kubeconfig file if the server is run outside of a cluster
	Kubeconfig string `envconfig:"KUBECONFIG" default:""`

	// Verbosity of the logger.
	LogLevel string `envconfig:"LOG_LEVEL" default:"info"`
}
var GlobalHttpAPIConf *HttpAPIConfig

Jump to

Keyboard shortcuts

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