boskos

package
v0.0.0-...-2ad99af Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Acquire

func Acquire(boskosClient *client.Client, resourceType string, timeout, heartbeatInterval time.Duration, heartbeatClose chan struct{}) (*common.Resource, error)

Acquire acquires a resource for the given type and starts a heartbeat goroutine to keep the resource reserved.

func NewClient

func NewClient(boskosLocation string) (*client.Client, error)

NewClient creates a boskos client for kubetest2 deployers.

func Release

func Release(client *client.Client, resourceNames []string, heartbeatClose chan struct{}) error

Release releases a resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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