common

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorFilesPathSetter

type AnchorFilesPathSetter interface {
	SetAnchorFilesPath(path string)
}

type ConfigSetter

type ConfigSetter interface {
	SetConfig(cfg interface{})
}

type Context

type Context interface {
	GoContext() context.Context
	Config() interface{}
	Registry() *registry.InjectionsRegistry
	Logger() interface{}
	NonCmdScopedFlags() NonCmdScopedFlags
	AnchorFilesPath() string
}

func EmptyAnchorContext

func EmptyAnchorContext(reg *registry.InjectionsRegistry) Context

type LoggerSetter

type LoggerSetter interface {
	SetLogger(logger interface{})
}

type NonCmdScopedFlags added in v0.8.0

type NonCmdScopedFlags struct {
	NoAutoUpdate   bool
	NoAnchorOutput bool
}

type NonCmdScopedFlagsSetter added in v0.8.0

type NonCmdScopedFlagsSetter interface {
	SetNonCmdScopedFlags(flags NonCmdScopedFlags)
}

Jump to

Keyboard shortcuts

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