package
1.12.2
Repository: https://github.com/miketheprogrammer/deis.git
Documentation: pkg.go.dev

# README

Deis Builder

Builder creates Docker images to be run elsewhere on the Deis platform. Builder itself also runs in a Docker container.

This Docker image is based on the official alpine:3.2 image.

Please add any issues you find with this software to the Deis Project.

Usage

Please consult the Makefile for current instructions on how to build, test, push, install, and start deis/builder.

Environment Variables

  • DEBUG enables verbose output if set
  • ETCD_PORT sets the TCP port on which to connect to the local etcd daemon (default: 4001)
  • ETCD_PATH sets the etcd directory where the builder announces its configuration (default: /deis/builder)
  • ETCD_TTL sets the time-to-live before etcd purges a configuration value, in seconds (default: 10)
  • PORT sets the TCP port on which the builder listens (default: 2222)

License

© 2015 Engine Yard, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

# Packages

No description provided by the author
Package confd provides basic Confd support.
Package docker provides Docker utlities.
No description provided by the author
Package etcd is a library for performing common Etcd tasks.
No description provided by the author
No description provided by the author
Package sshd implements an SSH server.
No description provided by the author

# Functions

GetDefaultType returns the default process types given a YAML byte array.
KillOnExit kills PIDs when the program exits.
ParseConfig takes a response body from the controller and returns a Config object.
ParseControllerConfig returns configuration key/value pair strings from a config.
ParseDomain returns the domain field from the bytes of a build hook response.
ParseReleaseVersion returns the version field from the bytes of a build hook response.
Run starts the Builder service.
Sleep delays the execution of the remainder of the chain of commands.
YamlToJSON takes an input yaml string, parses it and returns a string formatted as json.

# Constants

Return codes that will be sent to the shell.
Return codes that will be sent to the shell.

# Structs

BuildHook represents a controller's build-hook object.
BuildHookResponse represents a controller's build-hook response object.
Config represents a Deis application's configuration.
ConfigHook represents a repository from which to extract the configuration and user to use.

# Type aliases

ProcessType represents the key/value mappings of a process type to a process inside a Heroku Procfile.