recorder

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record interface {
	GetSeverity() kfplugin1.Severity
	GetDetail() string
	GetContext() string
	GetDetails() string
}

type Recorder

type Recorder[T Record] interface {
	Record(r T)
	Get() Records
	Print()
}

func New

func New[T Record]() Recorder[T]

type Records

type Records interface {
	HasError() bool
	Error() error
}

Jump to

Keyboard shortcuts

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