panel

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const PluginKind = "LogsTable"

Variables

This section is empty.

Functions

func LogsTable

func LogsTable(options ...Option) panel.Option

Types

type Builder

type Builder struct {
	PluginSpec `json:",inline" yaml:",inline"`
}

type Option

type Option func(plugin *Builder) error

func EnableDetails

func EnableDetails(enable bool) Option

func Time

func Time(show bool) Option

func WithDetails

func WithDetails() Option

func WithTime

func WithTime() Option

func WithWrap

func WithWrap() Option

func WithoutDetails

func WithoutDetails() Option

func WithoutTime

func WithoutTime() Option

func WithoutWrap

func WithoutWrap() Option

func Wrap

func Wrap(wrap bool) Option

type PluginSpec

type PluginSpec struct {
	Wrap          *bool `json:"wrap,omitempty" yaml:"wrap,omitempty"`
	EnableDetails *bool `json:"enableDetails,omitempty" yaml:"enableDetails,omitempty"`
	Time          *bool `json:"time,omitempty" yaml:"time,omitempty"`
}

Jump to

Keyboard shortcuts

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