writer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferedLogger

type BufferedLogger struct {
	Messages []*pb.Log
}

func (*BufferedLogger) Write

func (b *BufferedLogger) Write(level LogLevel, message string) error

nolint: unparam

type LogLevel

type LogLevel int
const (
	LogLevelTrace LogLevel = iota
	LogLevelDebug
	LogLevelInfo
	LogLevelWarning
	LogLevelError
	LogLevelFatal
)

type LogWriter

type LogWriter interface {
	Write(LogLevel, string) error
}

func NewLogWriter

func NewLogWriter(l log.Logger) LogWriter

type RefreshJobResponseWriter

type RefreshJobResponseWriter interface {
	LogWriter
}

type ReplaceAllJobSpecificationsResponseWriter

type ReplaceAllJobSpecificationsResponseWriter interface {
	LogWriter
}

Jump to

Keyboard shortcuts

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