Documentation
¶
Index ¶
Constants ¶
View Source
const (
// define Upstream type name
UpstreamTypeFake = "fake"
)
Variables ¶
View Source
var FakeEndpointDiscovery = FakeED{ EndpointGroups: make(chan endpointdiscovery.EndpointGroups, 100), Errors: make(chan error, 100), }
Functions ¶
func EncodeUpstreamSpec ¶
func EncodeUpstreamSpec(spec UpstreamSpec) *types.Struct
Types ¶
type FakeED ¶
type FakeED struct { EndpointGroups chan endpointdiscovery.EndpointGroups Errors chan error }
func (*FakeED) Endpoints ¶
func (fed *FakeED) Endpoints() <-chan endpointdiscovery.EndpointGroups
func (*FakeED) TrackUpstreams ¶
type Plugin ¶
type Plugin struct{}
func (*Plugin) GetDependencies ¶
func (p *Plugin) GetDependencies(_ *v1.Config) *plugins.Dependencies
func (*Plugin) ProcessUpstream ¶
func (*Plugin) SetupEndpointDiscovery ¶
type UpstreamSpec ¶
type UpstreamSpec = static.UpstreamSpec
func DecodeUpstreamSpec ¶
func DecodeUpstreamSpec(generic v1.UpstreamSpec) (*UpstreamSpec, error)
Click to show internal directories.
Click to hide internal directories.