Documentation ¶
Index ¶
Constants ¶
View Source
const BLOCKING_RUN_NODEJS 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 NGINX_CONFIG_TEMPLATE string = `` /* 1122-byte string literal not displayed */
View Source
const READINESS_LIVENESS_SH = `#!/bin/sh
{{if .Include}}
wget --spider localhost:{{.Port}} > /dev/null 2>&1
{{end}}
`
View Source
const WRENCH_DOCKER_FILE string = `` /* 471-byte string literal not displayed */
View Source
const WRENCH_RADISH_DOCKER_FILE string = `` /* 463-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerfileData ¶ added in v1.24.2
type NginxfileData ¶ added in v1.24.2
type OpenshiftConfig ¶ added in v1.24.2
type OpenshiftConfig struct {
Web Web `json:"web"`
}
OpenshiftConfig :
func UnmarshallOpenshiftConfig ¶ added in v1.24.2
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.