commands

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildpackInspector

type BuildpackInspector interface {
	Dependencies(path string) (dependencies []cargo.ConfigMetadataDependency, defaults map[string]string, stacks []string, err error)
}

type ConfigParser

type ConfigParser interface {
	Parse(path string) (cargo.Config, error)
}

type DependencyCacher

type DependencyCacher interface {
	Cache(root string, dependencies []cargo.ConfigMetadataDependency) ([]cargo.ConfigMetadataDependency, error)
}

type DirectoryDuplicator

type DirectoryDuplicator interface {
	Duplicate(sourcePath, destPath string) error
}

type FileBundler

type FileBundler interface {
	Bundle(path string, files []string, config cargo.Config) ([]cargo.File, error)
}

type Formatter

type Formatter interface {
	Markdown(dependencies []cargo.ConfigMetadataDependency, defaults map[string]string, stacks []string)
}

type Pack

type Pack struct {
	// contains filtered or unexported fields
}

func NewPack

func NewPack(
	directoryDuplicator DirectoryDuplicator,
	configParser ConfigParser,
	prePackager PrePackager,
	dependencyCacher DependencyCacher,
	fileBundler FileBundler,
	tarBuilder TarBuilder,
	stdout io.Writer,
) Pack

func (Pack) Execute

func (p Pack) Execute(args []string) error

type PrePackager

type PrePackager interface {
	Execute(path, rootDir string) error
}

type Summarize

type Summarize struct {
	// contains filtered or unexported fields
}

func NewSummarize

func NewSummarize(buildpackInspector BuildpackInspector, formatter Formatter) Summarize

func (Summarize) Execute

func (s Summarize) Execute(args []string) error

type TarBuilder

type TarBuilder interface {
	Build(path string, files []cargo.File) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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