gllog

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Metadata = plugins.Module{
	Meta: plugins.Meta{
		Name:        modules.PluginNameGlobalLog,
		Title:       "全局日志",
		Version:     "1.0.0",
		Description: "全局日志查询,支持跨集群Pod日志查看",
	},
	Tables: []string{},
	Crons:  []string{},
	Menus: []plugins.Menu{
		{
			Key:   "plugin_gllog",
			Title: "全局日志",
			Icon:  "fa-solid fa-file-lines",
			Order: 150,
			Children: []plugins.Menu{
				{
					Key:         "plugin_gllog_query",
					Title:       "日志查询",
					Icon:        "fa-solid fa-search",
					EventType:   "custom",
					CustomEvent: `() => loadJsonPage("/plugins/gllog/log")`,
					Order:       100,
				},
			},
		},
	},
	Dependencies: []string{},
	RunAfter:     []string{},

	Lifecycle: &GlobalLogLifecycle{},

	ManagementRouter: route.RegisterManagementRoutes,
}

Functions

This section is empty.

Types

type GlobalLogLifecycle

type GlobalLogLifecycle struct{}

func (*GlobalLogLifecycle) Disable

func (g *GlobalLogLifecycle) Disable(ctx plugins.BaseContext) error

func (*GlobalLogLifecycle) Enable

func (*GlobalLogLifecycle) Install

func (*GlobalLogLifecycle) Start

func (*GlobalLogLifecycle) StartCron

func (g *GlobalLogLifecycle) StartCron(ctx plugins.BaseContext, spec string) error

func (*GlobalLogLifecycle) Stop

func (*GlobalLogLifecycle) Uninstall

func (*GlobalLogLifecycle) Upgrade

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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