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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourcesEqual

func ResourcesEqual(a, b map[string]envoy.Resource) bool

ResourcesEqual validates that the given maps of "name - resource" pairs are equal. It uses proto.Equal() to assert the equality between two given envoy resources.

Types

type Generator

type Generator interface {
	New(rType envoy.Type) envoy.Resource
	NewSecret(string, string, string) envoy.Resource
	NewSecretFromPath(string, string, string) envoy.Resource
}

Generator in an interface with methods to generate envoy resource structs

func NewGenerator

func NewGenerator(version envoy.APIVersion) Generator

NewGenerator returns a generator struct for the given API version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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