package
0.6.0
Repository: https://github.com/amymotta24/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewConfigSourceEtcd creates a new ConfigSourceEtcd and immediately runs the created ConfigSourceEtcd in a goroutine.
NewEndpointsConfig creates a new EndpointsConfig.
NewServiceConfig creates a new ServiceConfig.
NewSourceAPI creates a config source that watches for changes to the services and endpoints.

# Constants

These are the available operation types.
These are the available operation types.
These are the available operation types.

# Structs

ConfigSourceEtcd communicates with a etcd via the client, and sends the change notification of services and endpoints to the specified channels.
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.
ServicesWatcher is capable of listing and watching for changes to services across ALL namespaces.

# Type aliases

Operation is a type of operation of services or endpoints.