prepare

package
v1.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2017 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const BLOCKING_RUN_NODEJS string = `#!/bin/sh
echo "No node. Blocking 4 ever<3!"
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 = `` /* 958-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 START_SCRIPT string = `#!/bin/bash
source $HOME/architect/run_tools.sh
exec $1
`
View Source
const WRENCH_DOCKER_FILE string = `` /* 668-byte string literal not displayed */

Variables

This section is empty.

Functions

func Prepper

func Prepper() process.Prepper

Types

type AuroraApplication added in v1.3.0

type AuroraApplication struct {
	NodeJS            *NodeJSApplication `json:"nodejs"`
	Static            string             `json:"static"`
	ConfigurableProxy bool               `json:"configurableProxy"`
	Path              string             `json:"path"`
	SPA               bool               `json:"spa"`
}

type DockerMetadata added in v1.3.0

type DockerMetadata struct {
	Maintainer string            `json:"name"`
	Labels     map[string]string `json:"labels"`
}

type NodeJSApplication added in v1.3.0

type NodeJSApplication struct {
	Main    string `json:"main"`
	Waf     string `json:"waf"`
	Runtime string `json:"runtime"`
}

type OpenshiftJson added in v1.3.0

type OpenshiftJson struct {
	Aurora         AuroraApplication `json:"web"`
	DockerMetadata DockerMetadata    `json:"docker"`
}

type PreparedImage

type PreparedImage struct {
	Path string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL