dockerfile

package
Version: v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL