differs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AptDiffer

type AptDiffer struct {
}

func (AptDiffer) Diff

func (d AptDiffer) Diff(image1, image2 utils.Image) (utils.DiffResult, error)

AptDiff compares the packages installed by apt-get.

type DiffRequest

type DiffRequest struct {
	Image1    utils.Image
	Image2    utils.Image
	DiffTypes []Differ
}

func (DiffRequest) GetDiff

func (diff DiffRequest) GetDiff() (map[string]utils.DiffResult, error)

type Differ

type Differ interface {
	Diff(image1, image2 utils.Image) (utils.DiffResult, error)
}

func GetDiffers

func GetDiffers(diffNames []string) (diffFuncs []Differ, err error)

type FileDiffer

type FileDiffer struct {
}

func (FileDiffer) Diff

func (d FileDiffer) Diff(image1, image2 utils.Image) (utils.DiffResult, error)

FileDiff diffs two packages and compares their contents

type HistoryDiffer

type HistoryDiffer struct {
}

func (HistoryDiffer) Diff

func (d HistoryDiffer) Diff(image1, image2 utils.Image) (utils.DiffResult, error)

type MultiVersionPackageDiffer

type MultiVersionPackageDiffer interface {
	// contains filtered or unexported methods
}

type NodeDiffer

type NodeDiffer struct {
}

func (NodeDiffer) Diff

func (d NodeDiffer) Diff(image1, image2 utils.Image) (utils.DiffResult, error)

NodeDiff compares the packages installed by apt-get.

type PipDiffer

type PipDiffer struct {
}

func (PipDiffer) Diff

func (d PipDiffer) Diff(image1, image2 utils.Image) (utils.DiffResult, error)

PipDiff compares pip-installed Python packages between layers of two different images.

type SingleVersionPackageDiffer

type SingleVersionPackageDiffer interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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