envoy

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mappings

func Mappings() map[envoy.Type]string

Mappings return a map associating "github.com/3scale/marin3r/pkg/envoy/resources".Type to the v2 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 v2 resources

func (Generator) New

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

New returns an empty resource of the given type

func (Generator) NewSecret

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

NewSecret generates return a new envoy seret given the certificate and key.

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

Jump to

Keyboard shortcuts

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