Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
Endpoints discovers new endpoint targets.
func NewEndpoints ¶
func NewEndpoints(l log.Logger, svc, eps, pod cache.SharedInformer) *Endpoints
NewEndpoints returns a new endpoints discovery.
type Kubernetes ¶ added in v1.4.0
type Kubernetes struct {
// contains filtered or unexported fields
}
Kubernetes implements the TargetProvider interface for discovering targets from Kubernetes.
func New ¶
func New(l log.Logger, conf *config.KubernetesSDConfig) (*Kubernetes, error)
New creates a new Kubernetes discovery for the given role.
func (*Kubernetes) Run ¶ added in v1.4.0
func (k *Kubernetes) Run(ctx context.Context, ch chan<- []*config.TargetGroup)
Run implements the TargetProvider interface.
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node discovers Kubernetes nodes.
type Pod ¶
type Pod struct {
// contains filtered or unexported fields
}
Pod discovers new pod targets.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements discovery of Kubernetes services.
func NewService ¶
func NewService(l log.Logger, inf cache.SharedInformer) *Service
NewService returns a new service discovery.
Click to show internal directories.
Click to hide internal directories.