command

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const R8CogVersionEnvVarName = "R8_COG_VERSION"
View Source
const R8CudaVersionEnvVarName = "R8_CUDA_VERSION"
View Source
const R8CudnnVersionEnvVarName = "R8_CUDNN_VERSION"
View Source
const R8PythonVersionEnvVarName = "R8_PYTHON_VERSION"
View Source
const R8TorchVersionEnvVarName = "R8_TORCH_VERSION"

Variables

View Source
var CogConfigLabelKey = global.LabelNamespace + "config"
View Source
var CogOpenAPISchemaLabelKey = global.LabelNamespace + "openapi_schema"
View Source
var CogVersionLabelKey = global.LabelNamespace + "version"
View Source
var CogWeightsManifestLabelKey = global.LabelNamespace + "r8_weights_manifest"

Functions

This section is empty.

Types

type Command

type Command interface {
	Pull(string) error
	Push(string) error
	LoadUserInformation(string) (*UserInfo, error)
	CreateTarFile(string, string, string, string) (string, error)
	CreateAptTarFile(string, string, ...string) (string, error)
	Inspect(string) (*Manifest, error)
}

type Config

type Config struct {
	Labels map[string]string `json:"Labels"`
	Env    []string          `json:"Env"`
}

type Manifest

type Manifest struct {
	Config Config `json:"Config"`
}

type UserInfo

type UserInfo struct {
	Token    string
	Username string
}

Jump to

Keyboard shortcuts

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