dockerfile

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package dockerfile provides utilities for finding and parsing Dockerfiles

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTester

func NewTester() newapp.Tester

Types

type Finder

type Finder interface {
	Find(dir string) ([]string, error)
}

Finder allows searching for Dockerfiles in a given directory

func NewFinder

func NewFinder() Finder

NewFinder creates a new Dockerfile Finder

type StatFunc

type StatFunc func(path string) (os.FileInfo, error)

func (StatFunc) Has

func (t StatFunc) Has(dir string) (string, bool, error)

Jump to

Keyboard shortcuts

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