diff

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package diff provides functionality to diff a Lockfile.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposefileDifferentiator

type ComposefileDifferentiator struct {
	ExcludeTags bool
}

ComposefileDifferentiator provides methods for diffing Composefile Path Images.

func (*ComposefileDifferentiator) Differentiate

func (c *ComposefileDifferentiator) Differentiate(
	existingPathImages map[string][]*parse.ComposefileImage,
	newPathImages map[string][]*parse.ComposefileImage,
	done <-chan struct{},
) <-chan error

Differentiate diffs Composefile Path Images.

type DockerfileDifferentiator

type DockerfileDifferentiator struct {
	ExcludeTags bool
}

DockerfileDifferentiator provides methods for diffing Dockerfile Path Images.

func (*DockerfileDifferentiator) Differentiate

func (d *DockerfileDifferentiator) Differentiate(
	existingPathImages map[string][]*parse.DockerfileImage,
	newPathImages map[string][]*parse.DockerfileImage,
	done <-chan struct{},
) <-chan error

Differentiate diffs Dockerfile Path Images.

type IComposefileDifferentiator

type IComposefileDifferentiator interface {
	Differentiate(
		existingPathImages map[string][]*parse.ComposefileImage,
		newPathImages map[string][]*parse.ComposefileImage,
		done <-chan struct{},
	) <-chan error
}

IComposefileDifferentiator provides an interface for diffing Composefiles.

type IDockerfileDifferentiator

type IDockerfileDifferentiator interface {
	Differentiate(
		existingPathImages map[string][]*parse.DockerfileImage,
		newPathImages map[string][]*parse.DockerfileImage,
		done <-chan struct{},
	) <-chan error
}

IDockerfileDifferentiator provides an interface for diffing Dockerfiles.

Jump to

Keyboard shortcuts

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