Documentation ¶
Index ¶
- Constants
- func Exists(path string) (bool, error)
- func ExtractDeliverable(archivePath string, extractedDirPath string) error
- func NewRadishDockerFile(dockerSpec global.DockerSpec, auroraVersion runtime.AuroraVersion, ...) util.WriterFunc
- func Prepare(dockerSpec config.DockerSpec, auroraVersions *runtime.AuroraVersion, ...) (string, error)
- type DockerfileData
- type FileGenerator
- type JavaDescriptor
- type JavaDescriptorData
- type Type
Constants ¶
View Source
const ApplicationBuildFolder = DockerfileApplicationFolder + "/" + ApplicationFolder
The directory where the application is prepared
View Source
const ApplicationFolder = "application"
View Source
const (
DeliveryMetadataPath = "metadata/openshift.json"
)
View Source
const DockerBasedir = "/u01"
The base directory where all code is copied in the Docker image
View Source
const DockerfileApplicationFolder = "app"
Where in the build folder the application is put
Variables ¶
This section is empty.
Functions ¶
func ExtractDeliverable ¶
func NewRadishDockerFile ¶ added in v1.11.0
func NewRadishDockerFile(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.BaseImage) (string, error)
Types ¶
type DockerfileData ¶ added in v1.3.0
type FileGenerator ¶
type JavaDescriptor ¶ added in v1.11.0
type JavaDescriptor struct { Type Data JavaDescriptorData }
type JavaDescriptorData ¶ added in v1.11.0
Click to show internal directories.
Click to hide internal directories.