Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 Changes in this version + var DefaultSDConfig = SDConfig + type Discovery struct + func New(l log.Logger, conf *SDConfig) (*Discovery, error) + func (d *Discovery) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type Endpoints struct + func NewEndpoints(l log.Logger, svc, eps, pod cache.SharedInformer) *Endpoints + func (e *Endpoints) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type Ingress struct + func NewIngress(l log.Logger, inf cache.SharedInformer) *Ingress + func (s *Ingress) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type NamespaceDiscovery struct + Names []string + XXX map[string]interface{} + func (c *NamespaceDiscovery) UnmarshalYAML(unmarshal func(interface{}) error) error + type Node struct + func NewNode(l log.Logger, inf cache.SharedInformer) *Node + func (n *Node) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type Pod struct + func NewPod(l log.Logger, pods cache.SharedInformer) *Pod + func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type Role string + const RoleEndpoint + const RoleIngress + const RoleNode + const RolePod + const RoleService + func (c *Role) UnmarshalYAML(unmarshal func(interface{}) error) error + type SDConfig struct + APIServer config_util.URL + BasicAuth *config_util.BasicAuth + BearerToken config_util.Secret + BearerTokenFile string + NamespaceDiscovery NamespaceDiscovery + Role Role + TLSConfig config_util.TLSConfig + XXX map[string]interface{} + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type Service struct + func NewService(l log.Logger, inf cache.SharedInformer) *Service + func (s *Service) Run(ctx context.Context, ch chan<- []*targetgroup.Group)