common

package
v0.26.8 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultInitDelay = 2 * time.Second
	DefaultFactor    = 1.02
	DefaultSteps     = 30
)

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

func WaitForCompleted

func WaitForCompleted(condition wait.ConditionFunc) error

WaitForCompleted wait for completion, interval 2s+, up to 30 pols

Types

type ExecutePool added in v0.26.4

type ExecutePool struct {
	// contains filtered or unexported fields
}

func NewExecutePool added in v0.26.4

func NewExecutePool(size int) *ExecutePool

func (*ExecutePool) Start added in v0.26.4

func (w *ExecutePool) Start()

func (*ExecutePool) Stop added in v0.26.4

func (w *ExecutePool) Stop()

func (*ExecutePool) Submit added in v0.26.4

func (w *ExecutePool) Submit(work JobHandle)

type JobHandle added in v0.26.4

type JobHandle func()

Jump to

Keyboard shortcuts

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