Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion string
APIVersion is an enum with the supported envoy API versions.
const ( // APIv3 is the envoy v3 API version. APIv3 APIVersion = "v3" )
func ParseAPIVersion ¶
func ParseAPIVersion(version string) (APIVersion, error)
ParseAPIVersion returns an APIVersion for the given string or an error
func (APIVersion) String ¶
func (version APIVersion) String() string
String returns the string representation of APIVersion
type Resource ¶
Resource is the base interface for the xDS payload. Any envoy resource type implements this interface.
type Type ¶
type Type string
Type is an enum of the supported envoy resource typeswe can just use a strings.Split to create the array of args from the custom resource field, with that each of the "words" will be passed correctly without the quotes around c
const ( // Endpoint is an envoy endpoint resource Endpoint Type = "Endpoint" // Cluster is an envoy cluster resource Cluster Type = "Cluster" // Route is an envoy route resource Route Type = "Route" // Listener is an envoy listener resource Listener Type = "Listener" // Secret is an envoy secret resource Secret Type = "Secret" // Runtime is an envoy runtime resource Runtime Type = "Runtime" // ExtensionConfig is an envoy extension config resource ExtensionConfig Type = "ExtensionConfig" )
Click to show internal directories.
Click to hide internal directories.