podtailer

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2019 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Overview

Package podtailer contains machinery for tailing the logs of a *set* of pods matching a labelSelector.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodSetTailer

type PodSetTailer struct {
	// contains filtered or unexported fields
}

PodSetTailer is responsible for watching for all pods that match the criteria defined by config, and managing tailers for each pod.

func NewPodSetTailer

func NewPodSetTailer(
	config *config.WatcherConfig,
	nodeSelector string,
	transmitter transmission.Transmitter,
	stateRecorder tailer.StateRecorder,
	kubeClient corev1.PodsGetter,
	legacyLogPaths bool,
	additionalFieldsGlobal map[string]interface{},
) *PodSetTailer

func (*PodSetTailer) Start

func (pt *PodSetTailer) Start()

func (*PodSetTailer) Stop

func (pt *PodSetTailer) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL