v1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SslCertificateChainKey = "tls.crt"
	SslPrivateKeyKey       = "tls.key"
	SslRootCaKey           = "tls.root"
)

this file contains expected keys for the certificates in a secret.Data (a map[string]string)

View Source
const (
	// TODO: 's/ingress/gateway/g'
	GatewayRoleName = "ingress"
)

Variables

This section is empty.

Functions

func AssignGatewayVirtualServices

func AssignGatewayVirtualServices(insecureListener, secureListener *v1.Listener, virtualServices []*v1.VirtualService)

the gateway role automatically selects virtual services that are marked `enabled_for_gateway` updates the gateway listeners with the correct list of virtual services they should connect to

func GatewayRole

func GatewayRole(bindAddr string, insecurePort, securePort uint32) *v1.Role

the gateway role is the default role assigned to the gateway proxy the event loop will generate this role if it does not exist in the config store before the translation loop the insecure gateway listener creates the HTTP listener for unsecured virtual services the secure gateway listener creates the HTTPS listener for ssl-configured virtual services

Types

This section is empty.

Jump to

Keyboard shortcuts

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