selector

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessLabels

func ProcessLabels(str string, vars interface{}) string

ProcessLabels generates matches based on destination label selectors that specify templating.

Types

type Selector

type Selector interface {
	SelectEndpoint(requestConnection *connection.Connection, ns *registry.NetworkService, networkServiceEndpoints []*registry.NetworkServiceEndpoint) *registry.NetworkServiceEndpoint
}

func NewMatchSelector

func NewMatchSelector() Selector

NewMatchSelector creates a new

func NewRoundRobinSelector

func NewRoundRobinSelector() Selector

Jump to

Keyboard shortcuts

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