Documentation ¶
Index ¶
- Variables
- func GetExternalFrontendFile(path string) ([]byte, error)
- func InitPlugins() error
- func LoadPlugins() error
- type LogWrapper
- func (w *LogWrapper) Debug(msg string, args ...interface{})
- func (w *LogWrapper) Error(msg string, args ...interface{})
- func (w *LogWrapper) ImpliedArgs() []interface{}
- func (w *LogWrapper) Info(msg string, args ...interface{})
- func (w *LogWrapper) IsDebug() bool
- func (w *LogWrapper) IsError() bool
- func (w *LogWrapper) IsInfo() bool
- func (w *LogWrapper) IsTrace() bool
- func (w *LogWrapper) IsWarn() bool
- func (w *LogWrapper) Log(level hclog.Level, msg string, args ...interface{})
- func (w *LogWrapper) Name() string
- func (w *LogWrapper) Named(name string) hclog.Logger
- func (w *LogWrapper) ResetNamed(name string) hclog.Logger
- func (w *LogWrapper) SetLevel(level hclog.Level)
- func (w *LogWrapper) StandardLogger(_ *hclog.StandardLoggerOptions) *log.Logger
- func (w *LogWrapper) StandardWriter(_ *hclog.StandardLoggerOptions) io.Writer
- func (w *LogWrapper) Trace(msg string, args ...interface{})
- func (w *LogWrapper) Warn(msg string, args ...interface{})
- func (w *LogWrapper) With(args ...interface{}) hclog.Logger
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 InitPlugins ¶
func InitPlugins() error
func LoadPlugins ¶
func LoadPlugins() error
Types ¶
type LogWrapper ¶
type LogWrapper struct {
// contains filtered or unexported fields
}
func NewLogWrapper ¶
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
Click to show internal directories.
Click to hide internal directories.