Documentation ¶
Index ¶
- Constants
- func Exists(path string) (bool, error)
- func ExtractDeliverable(archivePath string, extractedDirPath string) error
- func NewDockerfile(dockerSpec global.DockerSpec, auroraVersion runtime.AuroraVersion, ...) util.WriterFunc
- func Prepare(dockerSpec config.DockerSpec, auroraVersions *runtime.AuroraVersion, ...) (string, error)
- type DockerfileData
- type FileGenerator
- type Startscript
Constants ¶
View Source
const ( DeliveryMetadataPath = "metadata/openshift.json" DefaultLivenessScript = "liveness_std.sh" DefaultReadinessScript = "readiness_std.sh" )
View Source
const ApplicationBuildFolder = ApplicationRoot + "/" + ApplicationFolder
The directory where the application is prepared
View Source
const ApplicationFolder = "application"
View Source
const ApplicationRoot = "app"
The root of the application
View Source
const DockerBasedir = "/u01"
The base directory where all code is copied in the Docker image
Variables ¶
This section is empty.
Functions ¶
func ExtractDeliverable ¶
func NewDockerfile ¶
func NewDockerfile(dockerSpec global.DockerSpec, auroraVersion runtime.AuroraVersion, meta config.DeliverableMetadata, baseImage runtime.DockerImage, imageBuildTime string) util.WriterFunc
func Prepare ¶
func Prepare(dockerSpec config.DockerSpec, auroraVersions *runtime.AuroraVersion, deliverable nexus.Deliverable, baseImage runtime.DockerImage) (string, error)
Types ¶
type DockerfileData ¶ added in v1.3.0
type FileGenerator ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.