backend

package
v4.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindBackend

func FindBackend(ctx context.Context, backends []types.Backend, backendName string) (types.Backend, error)

func ParseDockerCPUQuota added in v4.5.0

func ParseDockerCPUQuota(s string) (int64, error)

ParseDockerCPUQuota parses a CPU string and returns the quota in microseconds. This is a wrapper for docker.ParseCPUQuota to make it accessible from the agent.

func ParseDockerMemory added in v4.5.0

func ParseDockerMemory(s string) (int64, error)

ParseDockerMemory parses a memory string with optional units and returns bytes. This is a wrapper for docker.ParseMemory to make it accessible from the agent.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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