Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeliverableMetadata ¶
type DeliverableMetadata struct { Docker *MetadataDocker `json:"docker"` Doozer *MetadataDoozer `json:"doozer"` Java *MetadataJava `json:"java"` Openshift *MetadataOpenShift `json:"openshift"` }
DeliverableMetadata build and runtime configuration
func NewDeliverableMetadata ¶
func NewDeliverableMetadata(reader io.Reader) (*DeliverableMetadata, error)
NewDeliverableMetadata read openshift.json and transform to DeliverableMetadata
type MetadataDocker ¶
type MetadataDocker struct { Maintainer string `json:"maintainer"` Labels map[string]string `json:"labels"` }
MetadataDocker maintainer and labels. These values are appended to the resulting image.
type MetadataDoozer ¶
type MetadataDoozer struct { SrcPath string `json:"srcPath"` FileName string `json:"fileName"` DestPath string `json:"destPath"` DestFilename string `json:"destFilename"` // Optional. Will use FileName as default CmdScript string `json:"cmdScript"` // Optional if base image CMD is applicable Entrypoint string `json:"entrypoint"` // Optional if base image Entrypoint is applicable }
MetadataDoozer build specific information for dozer builds.
type MetadataJava ¶
type MetadataJava struct { MainClass string `json:"mainClass"` JvmOpts string `json:"jvmOpts"` ApplicationArgs string `json:"applicationArgs"` }
MetadataJava java runtime information
type MetadataOpenShift ¶
type MetadataOpenShift struct { ReadinessURL string `json:"readinessUrl"` ReadinessOnManagementPort string `json:"readinessOnManagementPort"` }
MetadataOpenShift readiness check parameters
Click to show internal directories.
Click to hide internal directories.