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
Click to show internal directories.
Click to hide internal directories.