Versions in this module Expand all Collapse all v0 v0.1.6 Sep 18, 2017 Changes in this version + const ConsulRegisterEnabledAnnotation + const ConsulRegisterServiceNameAnnotation + const CreatedByAnnotation + const ExpectedContainerNamesAnnotation + type Controller struct + func (c *Controller) Clean() error + func (c *Controller) Sync() error + func (c *Controller) Watch() + type FactoryAdapter interface + Clean func() error + Sync func() error + Watch func() + func New(clientset *kubernetes.Clientset, consulInstance consul.Adapter, ...) FactoryAdapter + type PodInfo struct + Annotations map[string]string + ContainerStatuses []v1.ContainerStatus + Containers []v1.Container + IP string + Labels map[string]string + Name string + Namespace string + NodeName string + Phase v1.PodPhase + Ready v1.ConditionStatus + UID types.UID + func (p *PodInfo) PodToConsulService(containerStatus v1.ContainerStatus, cfg *config.Config) (*consulapi.AgentServiceRegistration, error)