engines

package
v0.26.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package engines provides the general CLI flags for dealing with container engines in general, such as disabling them.

  • --noengines disables consulting any container engine.
  • --keep-going skips failed container engines.

Index

Constants

View Source
const (
	NoEnginesFlagName     = "noengines"
	KeepGoingFlagName     = "keep-going"
	EngineWorkersFlagName = "engine-workers"
)

Names of the CLI flags defined and used in this package.

Variables

This section is empty.

Functions

func Containerizer

func Containerizer(ctx context.Context, cmd *cobra.Command, wait bool) (containerizer.Containerizer, error)

Containerizer returns a Containerizer watching the container engines specified on the CLI. Optionally waits for all container engines to come online.

func EngineSetupCLI

func EngineSetupCLI(cmd *cobra.Command)

EngineSetupCLI registers the engine-agnostic specific CLI options.

Types

This section is empty.

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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