//
pkg.gl
Category
github.com/chlunde/origin
pkg
cmd
util
plug
package
3.6.0-alpha.1+incompatible
Repository:
https://github.com/chlunde/origin.git
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
1
Dependents
0
Files
109 SLOC
#
Functions
New
New returns a new plug that can begin in the Started state.
NewLeased
NewLeased creates a Plug that starts when a lease is acquired and stops when it is lost.
#
Structs
Leased
leased uses a Leaser to control Start and Stop on a Plug.
#
Interfaces
Leaser
Leaser controls access to a lease.
Plug
Plug represents a synchronization primitive that holds and releases execution for other objects.