Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is responsible for fetching logs from the pods & containers that match the criteria provided by the user.
func NewManagerFromClientSet ¶
func NewManagerFromClientSet(clientSet *kubernetes.Clientset, config *config.Config) (pm *Manager, err error)
NewManagerFromClientSet returns a Manager instance for a given clientset.
func (*Manager) GetTargets ¶
GetTargets returns the Target instances for the PodList of Manager.
type Target ¶
Target holds the necessary information for a container inside a pod. Each container is converted into a Target instance in order to fetch logs.
func (*Target) StartThread ¶
StartThread is meant to run as a goroutine and fetch logs until the target goes down or process is stopped by the user.
Click to show internal directories.
Click to hide internal directories.