Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { GetClient(name string) (lokiclient.Client, bool) Stop() }
Controller represent a k8s controller watching for resources and create Loki clients base on them
func NewController ¶
func NewController(informer cache.SharedIndexInformer, conf *config.Config, defaultClient lokiclient.Client, logger log.Logger) (Controller, error)
NewController return Controller interface
Click to show internal directories.
Click to hide internal directories.