Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks struct { OnEvent LogEventFunc OnEnter ContainerEnterFunc OnExit ContainerExitFunc OnError ContainerErrorFunc }
type ContainerErrorFunc ¶
type ContainerTailer ¶
type ContainerTailer struct {
// contains filtered or unexported fields
}
func NewContainerTailer ¶
func NewContainerTailer( clientset *kubernetes.Clientset, pod v1.Pod, container v1.Container, eventFunc LogEventFunc, newlyCreatedPod bool) *ContainerTailer
func (*ContainerTailer) Run ¶
func (ct *ContainerTailer) Run() error
func (*ContainerTailer) Stop ¶
func (ct *ContainerTailer) Stop()
type Controller ¶
func NewController ¶
func NewController( clientset *kubernetes.Clientset, namespace string, labelSelector labels.Selector, callbacks Callbacks) *Controller
func (*Controller) Run ¶
func (ctl *Controller) Run()
type LogEventFunc ¶
type LogEventFunc func(LogEvent)
Click to show internal directories.
Click to hide internal directories.