Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginDirEnvVar is the environment variable that may be used to customize the plugin discovery path.
PluginDirEnvVar = "INFRAKIT_PLUGINS_DIR"
)
Variables ¶
This section is empty.
Functions ¶
func IsErrNotFound ¶
IsErrNotFound returns true if the error is due to a plugin not found.
func IsErrNotUnixSocketOrListener ¶
IsErrNotUnixSocketOrListener returns true if the error is due to the file not being a valid unix socket.
Types ¶
type ErrNotFound ¶
type ErrNotFound string
ErrNotFound is the error raised when the plugin is not found
func (ErrNotFound) Error ¶
func (e ErrNotFound) Error() string
type ErrNotUnixSocketOrListener ¶
type ErrNotUnixSocketOrListener string
ErrNotUnixSocketOrListener is the error raised when the file is not a unix socket
func (ErrNotUnixSocketOrListener) Error ¶
func (e ErrNotUnixSocketOrListener) Error() string
Click to show internal directories.
Click to hide internal directories.