Versions in this module Expand all Collapse all v0 v0.1.0 Oct 5, 2025 Changes in this version + type API interface + CreateVersion func(token, modelOwner, modelName, containerImageDigest, releaseNotes string, ...) (*api.Version, error) + GetModel func(token, owner, name string) (*api.Model, error) + type Console interface + Debugf func(format string, a ...interface{}) + Info func(message string) + Infof func(format string, a ...interface{}) + Warning func(message string) + Warningf func(format string, a ...interface{}) + type Docker interface + Build func(dockerfileContent, imageName, platform, buildContext string) error + Push func(imageName string) (string, error) + Run func(imageName, platform, containerName string, rm, detach bool, gpus string, ...) (string, error) + type Model struct + func NewModel(api API, project Project, docker Docker, console Console, ...) *Model + func (m *Model) Build() error + func (m *Model) Push(token, releaseNotes string) error + func (m *Model) Serve(envVars []string, port string, reload bool) error + type Project interface + CleanupTmpDir func() error + ProjectDir func() string + WriteTmpFile func(relativeFilePath string, content []byte) (string, error)