k8swatch

package
v0.26.13 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Metadata = plugins.Module{
	Meta: plugins.Meta{
		Name:        modules.PluginNameK8sWatch,
		Title:       "K8s资源监听插件",
		Version:     "1.0.0",
		Description: "监听Kubernetes资源变更,包括Pod、Node、PVC、PV、Ingress等。关闭后部分页面的实时数据不显示。",
	},
	Tables:       []string{},
	Dependencies: []string{},
	RunAfter: []string{
		modules.PluginNameLeader,
	},
	Lifecycle: &K8sWatchLifecycle{},
}

Functions

This section is empty.

Types

type K8sWatchLifecycle

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

func (*K8sWatchLifecycle) Disable

func (k *K8sWatchLifecycle) Disable(ctx plugins.BaseContext) error

func (*K8sWatchLifecycle) Enable

func (*K8sWatchLifecycle) Install

func (*K8sWatchLifecycle) Start

func (*K8sWatchLifecycle) StartCron

func (k *K8sWatchLifecycle) StartCron(ctx plugins.BaseContext, spec string) error

func (*K8sWatchLifecycle) Stop

func (*K8sWatchLifecycle) Uninstall

func (k *K8sWatchLifecycle) Uninstall(ctx plugins.UninstallContext) error

func (*K8sWatchLifecycle) Upgrade

Jump to

Keyboard shortcuts

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