istio

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//key is service name
	EgressConfigCache = cache.New(0, 0)
)

save configs

Functions

func SaveToEgressCache

func SaveToEgressCache(egressConfigFromPilot map[string][]*config.EgressRule)

SaveToEgressCache save the egress rules in the cache

Types

type PilotPanel

type PilotPanel struct {
}

PilotPanel pull configs from istio pilot

func (*PilotPanel) GetCircuitBreaker

func (p *PilotPanel) GetCircuitBreaker(inv invocation.Invocation, serviceType string) (string, hystrix.CommandConfig)

GetCircuitBreaker return command , and circuit breaker settings

func (*PilotPanel) GetEgressRule

func (p *PilotPanel) GetEgressRule() []control.EgressConfig

GetEgressRule get egress config

func (*PilotPanel) GetFaultInjection

func (p *PilotPanel) GetFaultInjection(inv invocation.Invocation) model.Fault

GetFaultInjection get Fault injection config

func (*PilotPanel) GetLoadBalancing

func (p *PilotPanel) GetLoadBalancing(inv invocation.Invocation) control.LoadBalancingConfig

GetLoadBalancing get load balancing config

func (*PilotPanel) GetRateLimiting

func (p *PilotPanel) GetRateLimiting(inv invocation.Invocation, serviceType string) control.RateLimitingConfig

GetRateLimiting get rate limiting config

Jump to

Keyboard shortcuts

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