Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourcesEqual ¶
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.
func Validate ¶
func Validate(resource string, encoding envoy_serializer.Serialization, version envoy.APIVersion, rType envoy.Type) error
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
Click to show internal directories.
Click to hide internal directories.