types

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelRunnerEngineKind

type ModelRunnerEngineKind uint8

ModelRunnerEngineKind encodes the kind of Docker engine associated with the model runner context.

const (
	// ModelRunnerEngineKindMoby represents a non-Desktop/Cloud engine on which
	// the Model CLI command is responsible for managing a Model Runner.
	ModelRunnerEngineKindMoby ModelRunnerEngineKind = iota
	// ModelRunnerEngineKindMobyManual represents a non-Desktop/Cloud engine
	// that's explicitly targeted by a MODEL_RUNNER_HOST environment variable on
	// which the user is responsible for managing a Model Runner.
	ModelRunnerEngineKindMobyManual
	// ModelRunnerEngineKindDesktop represents a Docker Desktop engine. It only
	// refers to a Docker Desktop Linux engine, i.e. not a Windows container
	// engine in the case of Docker Desktop for Windows.
	ModelRunnerEngineKindDesktop
	// ModelRunnerEngineKindCloud represents a Docker Cloud engine.
	ModelRunnerEngineKindCloud
)

func (ModelRunnerEngineKind) String

func (k ModelRunnerEngineKind) String() string

String returns a human-readable engine kind description.

Jump to

Keyboard shortcuts

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