ignore

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBuildContextFilter

func CreateBuildContextFilter(m repoTarget) model.PathMatcher

Filter out files that should not be included in the build context.

func CreateFileChangeFilter

func CreateFileChangeFilter(m IgnorableTarget) (model.PathMatcher, error)

Filter out files that should not trigger new builds.

func CreateRunMatcher added in v0.7.11

func CreateRunMatcher(r model.Run) (model.PathMatcher, error)

Types

type IgnorableTarget added in v0.5.1

type IgnorableTarget interface {
	LocalRepos() []model.LocalGitRepo
	Dockerignores() []model.Dockerignore

	// These directories and their children will not trigger file change events
	IgnoredLocalDirectories() []string
}

Jump to

Keyboard shortcuts

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