mutate

package
v1.1.36 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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