Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxier ¶
type Proxier struct {
// contains filtered or unexported fields
}
Proxier is an pod-buildin-haproxy proxy for connections between a localhost:lport and services that provide the actual backends.
func NewProxier ¶
func NewProxier(syncPeriod time.Duration, kubeClient *kubeclient.Client, disableHyperInternalService bool) (*Proxier, error)
NewProxier returns a new Proxier given an pod-buildin-haproxy Interface instance.
func (*Proxier) OnEndpointsUpdate ¶
OnEndpointsUpdate takes in a slice of updated endpoints.
func (*Proxier) OnServiceUpdate ¶
OnServiceUpdate tracks the active set of service proxies. They will be synchronized using syncProxyRules()
Click to show internal directories.
Click to hide internal directories.