Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PodScraper ¶
PodScraper scrapes logs of a specific pod.
func NewPodScraper ¶
func NewPodScraper(c kubernetes.Interface, namespace string, podName string, defaultContainerName string) *PodScraper
NewPodScraper creates a new pod scraper.
type SelectorScraper ¶
SelectorScraper scrapes all pods with a given selector.
func NewSelectorScraper ¶
func NewSelectorScraper(client kubernetes.Interface, namespace string, defaultContainerName string, labelSelector string) *SelectorScraper
NewSelectorScraper creates a new SelectorScraper.
Click to show internal directories.
Click to hide internal directories.