diff

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffCommand

func DiffCommand() *cobra.Command

Types

type DiffResult

type DiffResult struct {
	SameConfig       bool
	AnnotationsMatch bool
	SharedLayers     []ocispec.Descriptor
	UniqueLayersA    []ocispec.Descriptor
	UniqueLayersB    []ocispec.Descriptor
}

Helper struct DiffResult contains the comparison results between two ModelKits.

func CompareManifests

func CompareManifests(manifestA *ocispec.Manifest, manifestB *ocispec.Manifest) *DiffResult

compareManifests compares two OCI manifests and returns the shared and unique layers.

Jump to

Keyboard shortcuts

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