package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewEgressSelector configures lookup mechanism for Lookup.
NewEgressSelectorWithMap returns a EgressSelector with the supplied EgressType to DialFunc map.
ReadEgressSelectorConfiguration reads the egress selector configuration at the specified path.
ValidateEgressSelectorConfiguration checks the apiserver.EgressSelectorConfiguration for common configuration errors.

# Constants

Cluster is the EgressType for traffic intended to go to the system being managed by Kubernetes.
ControlPlane is the EgressType for traffic intended to go to the control plane.
Etcd is the EgressType for traffic intended to go to Kubernetes persistence store.

# Structs

EgressSelector is the map of network context type to context dialer, for network egress.
NetworkContext is the struct used by Kubernetes API Server to indicate where it intends traffic to be sent.

# Type aliases

EgressType is an indicator of which egress selection should be used for sending traffic.
Lookup is the interface to get the dialer function for the network context.