Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type BackendConfig struct { Backends BackendList Primary *Backend }
func NewBackendConfig ¶
func NewBackendConfig() *BackendConfig
type BackendList ¶
type BackendList []Backend
func BackendListFromSubset ¶
func BackendListFromSubset(ep v1.EndpointSubset, portName string) (BackendList, error)
func (BackendList) Contains ¶
func (l BackendList) Contains(b *Backend) bool
func (BackendList) EqualsEndpoints ¶
func (l BackendList) EqualsEndpoints(ep v1.EndpointSubset) bool
type BackendProbe ¶
type BackendWatcher ¶
type BackendWatcher struct {
// contains filtered or unexported fields
}
func NewBackendWatcher ¶
func NewBackendWatcher(client kubernetes.Interface, namespace, serviceName, portName string) *BackendWatcher
func (*BackendWatcher) Run ¶
func (v *BackendWatcher) Run() chan *BackendConfig
Click to show internal directories.
Click to hide internal directories.