dockerfile

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2016 License: Apache-2.0 Imports: 3 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

This section is empty.

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)

type Tester

type Tester interface {
	Has(dir string) (string, bool, error)
}

func NewTester

func NewTester() Tester

Jump to

Keyboard shortcuts

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