Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConflictingSourceSuffix = errors.New("use either :local or :cloud, not both") ErrModelRequired = errors.New("model is required") )
Functions ¶
func HasExplicitCloudSource ¶
func HasExplicitLocalSource ¶
func HasExplicitTag ¶ added in v0.32.6
HasExplicitTag reports whether name contains an explicit tag (e.g. "model:8b"), as opposed to relying on the default tag. Colons in a registry host (e.g. "registry.example.com:5000/model") don't count.
func StripCloudSourceTag ¶
Types ¶
type ModelSource ¶
type ModelSource uint8
const ( ModelSourceUnspecified ModelSource = iota ModelSourceLocal ModelSourceCloud )
Click to show internal directories.
Click to hide internal directories.