record

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 struct {
	Start time.Time
	Stop  time.Time
	*kfplugin1.Diagnostic
}

func Errorf

func Errorf(ctx string, start, stop time.Time, format string, a ...interface{}) Record

func FromErr

func FromErr(ctx string, start, stop time.Time, err error, d ...string) Record

func Success

func Success(ctx string, start, stop time.Time, d ...string) Record

func (Record) GetContext

func (r Record) GetContext() string

func (Record) GetDetail

func (r Record) GetDetail() string

func (Record) GetDetails

func (r Record) GetDetails() string

func (Record) GetSeverity

func (r Record) GetSeverity() kfplugin1.Severity

Jump to

Keyboard shortcuts

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