Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffCommand ¶
Types ¶
type DiffResult ¶
type DiffResult struct {
SameConfig bool
AnnotationsMatch bool
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.
Click to show internal directories.
Click to hide internal directories.