Documentation ¶
Overview ¶
Package pool provides reference implementation for envexec.EnvironmentPool from EnvBuilder
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPool ¶
func NewPool(builder EnvBuilder) worker.EnvironmentPool
NewPool returns a pool for EnvBuilder
Types ¶
type EnvBuilder ¶
type EnvBuilder interface {
Build() (Environment, error)
}
EnvBuilder defines the abstract builder for container environment
type Environment ¶
type Environment interface { envexec.Environment Reset() error Destroy() error }
Environment defines envexec.Environment with destroy
Click to show internal directories.
Click to hide internal directories.