giterminism_inspector

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LooseGiterminism         bool
	NonStrict                bool
	DevMode                  bool
	ReportedUncommittedPaths []string
	ReportedUntrackedPaths   []string
)

Functions

func Init

func Init(projectPath string, opts InspectionOptions) error

func IsUncommittedConfigAccepted added in v1.2.4

func IsUncommittedConfigAccepted() bool

func IsUncommittedDockerfileAccepted added in v1.2.4

func IsUncommittedDockerfileAccepted(path string) (bool, error)

func IsUncommittedDockerignoreAccepted added in v1.2.4

func IsUncommittedDockerignoreAccepted(path string) (bool, error)

func PrintInspectionDebrief

func PrintInspectionDebrief(ctx context.Context)

func ReportConfigDockerfileContextAddFile added in v1.2.4

func ReportConfigDockerfileContextAddFile(_ context.Context, contextAddFile string) error

func ReportConfigGoTemplateRenderingEnv added in v1.2.4

func ReportConfigGoTemplateRenderingEnv(_ context.Context, envName string) error

func ReportConfigStapelMountBuildDir added in v1.2.4

func ReportConfigStapelMountBuildDir(_ context.Context) error

func ReportConfigStapelMountFromPath added in v1.2.4

func ReportConfigStapelMountFromPath(_ context.Context, fromPath string) error

func ReportUncommittedFile

func ReportUncommittedFile(ctx context.Context, path string) error

func ReportUntrackedFile added in v1.2.3

func ReportUntrackedFile(ctx context.Context, path string) error

Types

type InspectionOptions

type InspectionOptions struct {
	LooseGiterminism bool
	NonStrict        bool
	DevMode          bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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