build

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeprecatedFlagMessageConnectionLocal  = "[DEPRECATED FLAG] use 'ansible-connection-local' instead of 'connection-local'"
	DeprecatedFlagMessageBuildBuilderName = "[DEPRECATED FLAG] use 'ansible-intermediate-container-name' instead of 'builder-name'"
	DeprecatedFlagMessageInventory        = "[DEPRECATED FLAG] use 'ansible-inventory-path' instead of 'inventory'"
	DeprecatedFlagMessageLimit            = "[DEPRECATED FLAG] use 'ansible-limit' instead of 'limit'"
	DeprecatedFlagMessageImageFrom        = "[DEPRECATED FLAG] use 'image-from-name' instead of 'image-from'"
	DeprecatedFlagMessageRegistry         = "[DEPRECATED FLAG] use 'image-registry-host' instead of 'registry'"
	DeprecatedFlagMessageNamespace        = "[DEPRECATED FLAG] use 'image-registry-namespace' instead of 'namespace'"
	DeprecatedFlagMessageSetPersistent    = "[DEPRECATED FLAG] use 'persistent-variable' instead of 'set-persistent'"
	DeprecatedFlagMessageSet              = "[DEPRECATED FLAG] use 'variable' instead of 'set'"
	DeprecatedFlagMessageCascade          = "[DEPRECATED FLAG] use 'build-on-cascade' instead of 'cascade'"
	DeprecatedFlagMessageNumWorkers       = "[DEPRECATED FLAG] use 'concurrency' instead of 'num-workers'"
	DeprecatedFlagMessagePushImages       = "[DEPRECATED FLAG] 'no-push' is the stevedore default behaviour, use --push-after-build to push an image"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(ctx context.Context, compatibility Compatibilitier, conf *configuration.Configuration, build Entrypointer) *command.StevedoreCommand

NewCommand returns a new command to build images

Types

type Compatibilitier

type Compatibilitier interface {
	AddDeprecated(deprecated ...string)
	AddRemoved(removed ...string)
	AddChanged(changed ...string)
}

Compatibilitier is the interface for the compatibility checker

type Entrypointer

type Entrypointer interface {
	Execute(ctx context.Context, args []string, conf *configuration.Configuration, inputEntrypointOptions *entrypoint.Options, inputHandlerOptions *handler.Options) error
}

Entrypointer is the interface that wraps the main build function

Jump to

Keyboard shortcuts

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