scan

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: LGPL-2.1 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDockerfileName   = "Dockerfile"
	DefaultDockerignoreName = ".dockerignore"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanResults

type ScanResults struct {
	Dir                 *files.Directory
	DockerIgnoreEntries []string
	IgnoredFiles        []*files.File
	FoundDockerfile     bool
	FoundDockerignore   bool
}

func ScanContextDir

func ScanContextDir(contextDir string) (*ScanResults, error)

Jump to

Keyboard shortcuts

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