diff

package
v0.8.11-beta4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package diff provides functionality to diff an image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IImageDifferentiator

type IImageDifferentiator interface {
	DifferentiateImage(
		existingImage map[string]interface{},
		newImage map[string]interface{},
	) error
	Kind() kind.Kind
}

IImageDifferentiator provides an interface for ImageDifferentiators, which are responsible for reporting the difference between an image in the existing Lockfile and an image in the newly generated Lockfile.

func NewComposefileDifferentiator

func NewComposefileDifferentiator(excludeTags bool) IImageDifferentiator

NewComposefileDifferentiator returns an IImageDifferentiator for Composefiles.

func NewDockerfileDifferentiator

func NewDockerfileDifferentiator(excludeTags bool) IImageDifferentiator

NewDockerfileDifferentiator returns an IImageDifferentiator for Dockerfiles.

func NewKubernetesfileDifferentiator

func NewKubernetesfileDifferentiator(excludeTags bool) IImageDifferentiator

NewKubernetesfileDifferentiator returns an IImageDifferentiator for Kubernetesfiles.

Jump to

Keyboard shortcuts

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