watcher

package
v2.2.13-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 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