configs

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjectKeyKubectl = "kubectl"
)

Variables

View Source
var (
	ErrGenerateTableNoRow    = errors.New("generatetable no row")
	ErrGenerateTableMoreRows = errors.New("generatetable more rows")
)

Functions

func SetDefaults

func SetDefaults()

Types

type Config

type Config struct {
	Proxy

	LogLevel string
}

type HTTPServer

type HTTPServer interface {
	ListenAndServe() error
	Shutdown(ctx context.Context) error
}

type Proxy

type Proxy struct {
	TargetURL  string
	ListenAddr string

	HTTPServer     HTTPServer        `mapstructure:"-"`
	ProxyTransport http.RoundTripper `mapstructure:"-"`
}

Jump to

Keyboard shortcuts

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