plugin

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVerifyTimeout       = 5 * time.Second
	DefaultGetVersionTimeout   = 60 * time.Second
	DefaultGetComponentTimeout = 60 * time.Second
	CmdGetNameArg              = "get-name"
	CmdGetVersionArg           = "get-version"
	CmdEnsureVersionArg        = "ensure-version"
	CmdGetComponentArg         = "get-component"
)

Variables

This section is empty.

Functions

func New

func New(path string) (internal.Plugin, error)

func NewWithTimeout

func NewWithTimeout(path string, verifyTimeout, getVersionTimeout, getComponentTimeout time.Duration) (internal.Plugin, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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