package
1.1.0-alpha.0
Repository: https://github.com/danwinship/kubernetes.git
Documentation: pkg.go.dev
# Functions
NewEndpointsConfig creates a new EndpointsConfig.
NewServiceConfig creates a new ServiceConfig.
NewSourceAPI creates a config source that watches for changes to the services and endpoints.
# Structs
EndpointsConfig tracks a set of endpoints configurations.
EndpointsUpdate describes an operation of endpoints, sent on the channel.
ServiceConfig tracks a set of service configurations.
ServiceUpdate describes an operation of services, sent on the channel.
SourceAPI implements a configuration source for services and endpoints that uses the client watch API to efficiently detect changes.
# Interfaces
EndpointsConfigHandler is an abstract interface of objects which receive update notifications for the set of endpoints.
EndpointsWatcher is capable of listing and watching for changes to endpoints across ALL namespaces.
ServiceConfigHandler is an abstract interface of objects which receive update notifications for the set of services.
TODO: to use Reflector, need to change the ServicesWatcher to a generic ListerWatcher.
# Type aliases
Operation is a type of operation of services or endpoints.