types

package
v0.45.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangedLines

type ChangedLines map[int]LineDiff

ChangedLine is struct to store a single (Dockerfile-)line change's informations

type DockerfileParser

type DockerfileParser interface {
	FindInstruction(dockerfileContent []byte) bool
	ReplaceInstructions(dockerfileContent []byte, sourceValue string) ([]byte, ChangedLines, error)
}

DockerfileParser is an interface that any updatecli's Dockerfile parser must verifies to be used

type Instruction

type Instruction interface{}

type LineDiff

type LineDiff struct {
	Original string
	New      string
}

Jump to

Keyboard shortcuts

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