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.
Click to show internal directories.
Click to hide internal directories.