diff

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 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 added in v0.7.2

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 added in v0.7.2

func NewComposefileDifferentiator(excludeTags bool) IImageDifferentiator

NewComposefileDifferentiator returns an IImageDifferentiator for Composefiles.

func NewDockerfileDifferentiator added in v0.7.2

func NewDockerfileDifferentiator(excludeTags bool) IImageDifferentiator

NewDockerfileDifferentiator returns an IImageDifferentiator for Dockerfiles.

func NewKubernetesfileDifferentiator added in v0.7.2

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