envoy

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LbEndpoint added in v0.12.0

func LbEndpoint(host envoy.UpstreamHost) envoy.Resource

func Mappings

func Mappings() map[envoy.Type]string

Mappings return a map associating "github.com/3scale-ops/marin3r/pkg/envoy/resources".Type to the v3 envoy API type URLs for each resource type

Types

type Generator

type Generator struct{}

Generator returns a strcut that implements the envoy_resources.Generator interface for v3 resources

func (Generator) New

func (g Generator) New(rType envoy.Type) envoy.Resource

New returns an empty resource of the given type

func (Generator) NewClusterLoadAssignment added in v0.12.0

func (g Generator) NewClusterLoadAssignment(clusterName string, hosts ...envoy.UpstreamHost) envoy.Resource

func (Generator) NewSecretFromPath

func (g Generator) NewSecretFromPath(name, certificateChainPath, privateKeyPath string) envoy.Resource

NewSecretFromPath returns an envoy secret that uses path sds to get the certificate from a path and reload it whenever the certificate files change

func (Generator) NewTlsCertificateSecret added in v0.12.0

func (g Generator) NewTlsCertificateSecret(name, privateKey, certificateChain string) envoy.Resource

NewTlsCertificateSecret generates a new envoy secret given the certificate and key.

func (Generator) NewValidationContextSecret added in v0.12.0

func (g Generator) NewValidationContextSecret(name, certificateChain string) envoy.Resource

NewValidationContextSecret generates a new envoy validation context given the certificate and key.

Jump to

Keyboard shortcuts

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