dockerapplifecycle

package module
v0.0.0-...-189a028 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

README

dockerapplifecycle

Note: This repository should be imported as code.cloudfoundry.org/dockerapplifecycle.

The docker app lifecycle implements a Docker deployment strategy for Cloud Foundry on Diego.

The Builder extracts the start command and execution metadata from the docker image.

The Launcher executes the start command with the correct Cloud Foundry and docker environment.

Read about the app lifecycle spec here: https://github.com/cloudfoundry/diego-design-notes#app-lifecycles

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LifecycleMetadata

type LifecycleMetadata struct {
	DockerImage string `json:"docker_image"`
}

type ProcessTypes

type ProcessTypes map[string]string

type StagingResult

type StagingResult struct {
	LifecycleType     string `json:"lifecycle_type"`
	LifecycleMetadata `json:"lifecycle_metadata"`
	ProcessTypes      `json:"process_types"`
	ExecutionMetadata string `json:"execution_metadata"`
}

func NewStagingResult

func NewStagingResult(procTypes ProcessTypes, lifeMeta LifecycleMetadata, execMeta string) StagingResult

Directories

Path Synopsis
docker
nat

Jump to

Keyboard shortcuts

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