Class SkopeoCopyCommand.Builder
- java.lang.Object
-
- nl.lexemmens.podman.command.skopeo.SkopeoCopyCommand.Builder
-
- Enclosing class:
- SkopeoCopyCommand
public static class SkopeoCopyCommand.Builder extends Object
Builder class for the Skopeo Copy command
-
-
Constructor Summary
Constructors Constructor Description Builder(org.apache.maven.plugin.logging.Log log, SkopeoConfiguration skopeoConfig, CommandExecutorDelegate delegate)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commandbuild()Builds the skopeo copy commandSkopeoCopyCommand.BuildersetDestinationImage(String fullImageName)Sets the destination location of the imageSkopeoCopyCommand.BuildersetSourceImage(String fullImageName)Sets the source image to copy
-
-
-
Constructor Detail
-
Builder
public Builder(org.apache.maven.plugin.logging.Log log, SkopeoConfiguration skopeoConfig, CommandExecutorDelegate delegate)Constructor. Creates a new instance of the builder for the skopeop copy command
-
-
Method Detail
-
setSourceImage
public SkopeoCopyCommand.Builder setSourceImage(String fullImageName)
Sets the source image to copy
-
setDestinationImage
public SkopeoCopyCommand.Builder setDestinationImage(String fullImageName)
Sets the destination location of the image
-
build
public Command build()
Builds the skopeo copy command
-
-