Documentation
¶
Index ¶
- func AppendLayers(mdl types.ModelArtifact, layers ...oci.Layer) types.ModelArtifact
- func ConfigMediaType(mdl types.ModelArtifact, mt oci.MediaType) types.ModelArtifact
- func ContextSize(mdl types.ModelArtifact, cs int32) types.ModelArtifact
- func SetManifestOptions(mdl types.ModelArtifact, configMT oci.MediaType, artifactType string) types.ModelArtifact
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendLayers ¶
func AppendLayers(mdl types.ModelArtifact, layers ...oci.Layer) types.ModelArtifact
func ConfigMediaType ¶
func ConfigMediaType(mdl types.ModelArtifact, mt oci.MediaType) types.ModelArtifact
func ContextSize ¶
func ContextSize(mdl types.ModelArtifact, cs int32) types.ModelArtifact
func SetManifestOptions ¶ added in v1.1.36
func SetManifestOptions(mdl types.ModelArtifact, configMT oci.MediaType, artifactType string) types.ModelArtifact
SetManifestOptions applies manifest-level metadata (config media type and artifact type) to the given model. The options propagate through subsequent mutate wrappers via GetManifestOptions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.