config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvoyGatewayNamespace is the namespace where envoy-gateway is running.
	EnvoyGatewayNamespace = "envoy-gateway-system"
	// EnvoyGatewayServiceName is the name of the Envoy Gateway service.
	EnvoyGatewayServiceName = "envoy-gateway"
	// EnvoyPrefix is the prefix applied to the Envoy ConfigMap, Service, Deployment, and ServiceAccount.
	EnvoyPrefix = "envoy"
)

Variables

This section is empty.

Functions

func Decode

func Decode(cfgPath string) (*v1alpha1.EnvoyGateway, error)

Types

type Server

type Server struct {
	// EnvoyGateway is the configuration used to startup Envoy Gateway.
	EnvoyGateway *v1alpha1.EnvoyGateway
	// Logger is the logr implementation used by Envoy Gateway.
	Logger logr.Logger
}

Server wraps the EnvoyGateway configuration and additional parameters used by Envoy Gateway server.

func NewDefaultServer

func NewDefaultServer() (*Server, error)

NewDefaultServer returns a Server with default parameters.

Jump to

Keyboard shortcuts

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