Class ImageSourcePath

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ImageSourcePathBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ImageSourcePath
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ImageSourcePathBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ImageSourcePath describes a path to be copied from a source image and its destination within the build directory.
    See Also:
    Serialized Form
    • Constructor Detail

      • ImageSourcePath

        public ImageSourcePath()
        No args constructor for use in serialization
      • ImageSourcePath

        public ImageSourcePath​(String destinationDir,
                               String sourcePath)
    • Method Detail

      • getDestinationDir

        public String getDestinationDir()
        destinationDir is the relative directory within the build directory where files copied from the image are placed.
      • setDestinationDir

        public void setDestinationDir​(String destinationDir)
        destinationDir is the relative directory within the build directory where files copied from the image are placed.
      • getSourcePath

        public String getSourcePath()
        sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination.
      • setSourcePath

        public void setSourcePath​(String sourcePath)
        sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)