plugins

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFrontendComponentFileNotFound = errors.New("not found")
View Source
var ErrFrontendComponentsNotProvided = errors.New("plugin does not provide any frontend components")

Functions

func GetExternalFrontendFile

func GetExternalFrontendFile(path string) ([]byte, error)

func InitPlugins

func InitPlugins() error

func LoadPlugins

func LoadPlugins() error

Types

type LogWrapper

type LogWrapper struct {
	// contains filtered or unexported fields
}

func NewLogWrapper

func NewLogWrapper(logger logging.Logger, name string, level logging.LogLevel) *LogWrapper

func (*LogWrapper) Debug

func (w *LogWrapper) Debug(msg string, args ...interface{})

func (*LogWrapper) Error

func (w *LogWrapper) Error(msg string, args ...interface{})

func (*LogWrapper) ImpliedArgs

func (w *LogWrapper) ImpliedArgs() []interface{}

func (*LogWrapper) Info

func (w *LogWrapper) Info(msg string, args ...interface{})

func (*LogWrapper) IsDebug

func (w *LogWrapper) IsDebug() bool

func (*LogWrapper) IsError

func (w *LogWrapper) IsError() bool

func (*LogWrapper) IsInfo

func (w *LogWrapper) IsInfo() bool

func (*LogWrapper) IsTrace

func (w *LogWrapper) IsTrace() bool

func (*LogWrapper) IsWarn

func (w *LogWrapper) IsWarn() bool

func (*LogWrapper) Log

func (w *LogWrapper) Log(level hclog.Level, msg string, args ...interface{})

func (*LogWrapper) Name

func (w *LogWrapper) Name() string

func (*LogWrapper) Named

func (w *LogWrapper) Named(name string) hclog.Logger

func (*LogWrapper) ResetNamed

func (w *LogWrapper) ResetNamed(name string) hclog.Logger

func (*LogWrapper) SetLevel

func (w *LogWrapper) SetLevel(level hclog.Level)

func (*LogWrapper) StandardLogger

func (w *LogWrapper) StandardLogger(_ *hclog.StandardLoggerOptions) *log.Logger

func (*LogWrapper) StandardWriter

func (w *LogWrapper) StandardWriter(_ *hclog.StandardLoggerOptions) io.Writer

func (*LogWrapper) Trace

func (w *LogWrapper) Trace(msg string, args ...interface{})

func (*LogWrapper) Warn

func (w *LogWrapper) Warn(msg string, args ...interface{})

func (*LogWrapper) With

func (w *LogWrapper) With(args ...interface{}) hclog.Logger

Jump to

Keyboard shortcuts

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