dockerfile

package
v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 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() generate.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