watcher

package
v0.0.0-...-f620379 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartEventWatcher

func StartEventWatcher(ctx context.Context, cluster *config.UserContext, manager *manager.AlertManager)

func StartNodeWatcher

func StartNodeWatcher(ctx context.Context, cluster *config.UserContext, manager *manager.AlertManager)

func StartPodWatcher

func StartPodWatcher(ctx context.Context, cluster *config.UserContext, manager *manager.AlertManager)

func StartSysComponentWatcher

func StartSysComponentWatcher(ctx context.Context, cluster *config.UserContext, manager *manager.AlertManager)

func StartWorkloadWatcher

func StartWorkloadWatcher(ctx context.Context, cluster *config.UserContext, manager *manager.AlertManager)

Types

type EventWatcher

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

func (*EventWatcher) Sync

func (l *EventWatcher) Sync(key string, obj *corev1.Event) (runtime.Object, error)

type NodeWatcher

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

type PodWatcher

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

type ProjectAlertLifecycle

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

func (*ProjectAlertLifecycle) Create

func (*ProjectAlertLifecycle) Remove

func (*ProjectAlertLifecycle) Updated

type SysComponentWatcher

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

type WorkloadWatcher

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

Jump to

Keyboard shortcuts

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