Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvoyAdapter ¶ added in v1.0.0
type EnvoyAdapter struct {
// contains filtered or unexported fields
}
EnvoyAdapter manages an Envoy based proxy.
func NewEnvoyAdapter ¶ added in v1.0.0
func NewEnvoyAdapter(conf *config.Config, discoveryMonitor monitor.DiscoveryMonitor, identity identity.Provider, rulesMonitor monitor.RulesMonitor, discoveryClient api.ServiceDiscovery, rulesClient api.RulesService) (*EnvoyAdapter, error)
NewEnvoyAdapter creates a new adapter instance.
func (*EnvoyAdapter) CatalogChange ¶ added in v1.0.0
func (a *EnvoyAdapter) CatalogChange(instances []api.ServiceInstance) error
CatalogChange updates on a change in the catalog.
func (*EnvoyAdapter) RuleChange ¶ added in v1.0.0
func (a *EnvoyAdapter) RuleChange(rules []api.Rule) error
RuleChange updates Envoy on a change in the proxy configuration.
func (*EnvoyAdapter) Start ¶ added in v1.0.0
func (a *EnvoyAdapter) Start() error
Start Envoy proxy.
Click to show internal directories.
Click to hide internal directories.