worker

package
v0.0.0-...-ebef81d Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type      string
	Kind      string
	Name      string
	Namespace string
	Timestamp time.Time
	Message   string
	Reason    string
	Source    string
	Host      string
	Count     int32
}

type Worker

type Worker struct {
	Mutex  *sync.Mutex
	Events []Event
	// contains filtered or unexported fields
}

func NewWorker

func NewWorker(kubeConfig string, stopCh <-chan struct{}) Worker

func (*Worker) Run

func (w *Worker) Run()

Jump to

Keyboard shortcuts

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