commands

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHelpFlag

func AddHelpFlag(cmd *cobra.Command, commandName string)

func Build

func Build(logger *logging.Logger, config *config.Config, packClient *pack.Client) *cobra.Command

func CreateBuilder

func CreateBuilder(logger *logging.Logger, client PackClient) *cobra.Command

func InspectBuilder

func InspectBuilder(logger *logging.Logger, cfg *config.Config, client PackClient) *cobra.Command

func IsSoftError

func IsSoftError(err error) bool

func Rebase

func Rebase(logger *logging.Logger, client PackClient) *cobra.Command

func Run

func Run(logger *logging.Logger, config *config.Config, packClient *pack.Client) *cobra.Command

func SetDefaultBuilder

func SetDefaultBuilder(logger *logging.Logger, client PackClient) *cobra.Command

func SetRunImagesMirrors

func SetRunImagesMirrors(logger *logging.Logger) *cobra.Command

func SuggestBuilders added in v0.2.0

func SuggestBuilders(logger *logging.Logger, client PackClient) *cobra.Command

func Version

func Version(logger *logging.Logger, version string) *cobra.Command

Types

type BuildFlags added in v0.2.0

type BuildFlags struct {
	AppDir     string
	Builder    string
	RunImage   string
	Env        []string
	EnvFile    string
	Publish    bool
	NoPull     bool
	ClearCache bool
	Buildpacks []string
}

type CreateBuilderFlags added in v0.2.0

type CreateBuilderFlags struct {
	BuilderTomlPath string
	Publish         bool
	NoPull          bool
}

type PackClient added in v0.2.0

type PackClient interface {
	InspectBuilder(string, bool) (*pack.BuilderInfo, error)
	Rebase(context.Context, pack.RebaseOptions) error
	CreateBuilder(context.Context, pack.CreateBuilderOptions) error
}

type SoftError

type SoftError struct {
}

func MakeSoftError

func MakeSoftError() SoftError

func (SoftError) Error

func (se SoftError) Error() string

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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