Documentation
¶
Index ¶
Constants ¶
View Source
const BlockingRunNodeJS string = `#!/bin/sh
echo "Use of node.js was not configured in openshift.json. Blocking run script."
while true; do sleep 100d; done;
`
We copy this over the script in wrench if we don't have a nodejs app
View Source
const ReadinessLivenessSH = `#!/bin/sh
{{if .Include}}
wget --spider localhost:{{.Port}} > /dev/null 2>&1
{{end}}
`
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildConfiguration ¶
type ImageMetadata ¶
type NginxfileData ¶
type OpenshiftConfig ¶
type OpenshiftConfig struct {
Web Web `json:"web"`
}
OpenshiftConfig :
func UnmarshallOpenshiftConfig ¶
func UnmarshallOpenshiftConfig(buffer io.Reader) (OpenshiftConfig, error)
type PreparedImage ¶
type PreparedImage struct { Path string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.