cft

package
v0.0.0-...-7f005ae Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package cft initialize CTR service to manage CFT containers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CftCloser

type CftCloser func(context.Context) error

func Prepare

func Prepare(ctx context.Context, in *Info, mt metrics.Metrics, lg logger.Logger) (_ ctr.ServiceInfo, _ CftCloser, rErr error)

Prepare prepares CFT tools.

type Info

type Info struct {
	UnitName   string
	CreateStep bool

	// Task root directory.
	RootDir string

	// Task identifiers.
	SwarmingTaskID string
	BBID           string
}

Jump to

Keyboard shortcuts

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