Package etcd provides etcd backend implementation for storing PodRegistry, ControllerRegistry and ServiceRegistry api objects.
const ( // ServicePath is the path to service resources in etcd ServicePath string = "/services/specs" )
MakeEtcdItemKey constructs etcd paths to a resource relative to prefix enforcing namespace rules. If no namespace is on context, it errors.
MakeEtcdListKey constructs etcd paths to resource directories enforcing namespace rules
Registry implements BindingRegistry, ControllerRegistry, EndpointRegistry, MinionRegistry, PodRegistry and ServiceRegistry, backed by etcd.
NewRegistry creates an etcd registry.
CreateService creates a new Service.
DeleteService deletes a Service specified by its name.
GetService obtains a Service specified by its name.
ListServices obtains a list of Services.
UpdateService replaces an existing Service.
WatchServices begins watching for new, changed, or deleted service configurations.