package
Version:
v0.0.0-...-2dc4aaf
Opens a new window with list of versions in this module.
Published: Jan 7, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cluster struct {
Name string `yaml:"name"`
Endpoints []Endpoint `yaml:"endpoints"`
}
type Endpoint struct {
Address string `yaml:"address"`
Port uint32 `yaml:port"`
}
type EnvoyConfig struct {
Name string `yaml:"name"`
Spec `yaml:"spec"`
}
type Listener struct {
Name string `yaml:"name"`
Address string `yaml:"address"`
Port uint32 `yaml:"port"`
Routes []Route `yaml:"routes"`
}
type Route struct {
Name string `yaml:"name"`
Prefix string `yaml:"prefix"`
ClusterNames []string `yaml:"clusters"`
}
type Spec struct {
Listeners []Listener `yaml:"listeners"`
Clusters []Cluster `yaml:"clusters"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.