Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Build ¶
type Build interface { PreBuild(buildDir, lang string, err error) // PreBuild gets called before the docker image is built. PostBuild(container *docker.Container, lang string, err error) // PostBuild is called after the docker image is built. }
Build is type for implementing callback functions set in your config.
type Config ¶
type Config struct { CPU int64 // Cpu is the number of CPUs allowed by each container. Memory int64 // Memory is the amount of memory allowed by each container. DockerUrl string // DockerUrl is the url to your docker instance. Generally your swarm url. Cert string // Cert is your TLS certificate for connecting to your docker instance. Key string // Key is your TLS key for connecting to your docker instance. Ca string // Ca is your TLS ca for connecting to your docker instance. BuildInterface Build // BuildInterface is the Build Interface. }
Config is a type for configuring the properties of bay.
Click to show internal directories.
Click to hide internal directories.