launcher

package module
v82.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

README

Eirini Filesystem

This package contains all necessary code to run a Cloud Foundry (CF) app on Kubernetes. It is used by Eirini's k8s package to run the app as Kubernetes StatefulSet.

If no startup command was provided for a CF app, this package parses the startup_command from staging_info.yml (inside the CF app). It simply wraps the launcher (added via the buildpackapplifecycle submodule), which provides the environment setup and launch command for the the app.

The launchcmd is then provided together with cflinuxfs3 and launcher as eirinifs.tar, forming the root filesystem of the CF app. The bits-service consumes the GitHub release of eirinifs when building the OCI image for the CF app (running in Kubernetes).

Building and updating the release is handled in the CI pipeline. Use ci/set-pipeline to configure it.

Test

Run ginkgo in the launchcmd directory.

Documentation

Index

Constants

View Source
const (
	Launch   = "/lifecycle/launch"
	Launcher = "/lifecycle/launcher"
)

Variables

View Source
var InitProcess = []string{"dumb-init", "--"}

Functions

func SetupEnv

func SetupEnv(startCmd string) map[string]string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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