pool

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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