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.
Click to show internal directories.
Click to hide internal directories.