unicorn

package module
v0.4.55 Latest Latest
Warning

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

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

README

Unicorn Cloud Native Buildpack

gcr.io/paketo-buildpacks/unicorn

The Unicorn CNB sets the start command for a given ruby application that runs on a Unicorn server.

Integration

This CNB writes a start command, so there's currently no scenario we can imagine that you would need to require it as dependency. If a user likes to include some other functionality, it can be done independent of the Unicorn CNB without requiring a dependency of it.

To package this buildpack for consumption:

$ ./scripts/package.sh

This builds the buildpack's source using GOOS=linux by default. You can supply another value as the first argument to package.sh.

buildpack.yml Configurations

There are no extra configurations for this buildpack based on buildpack.yml.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(logger scribe.Emitter) packit.BuildFunc

func Detect

func Detect(gemfileParser Parser) packit.DetectFunc

Types

type BuildPlanMetadata

type BuildPlanMetadata struct {
	Launch bool `toml:"launch"`
}

type GemfileParser

type GemfileParser struct{}

func NewGemfileParser

func NewGemfileParser() GemfileParser

func (GemfileParser) Parse

func (p GemfileParser) Parse(path string) (bool, error)

type Parser

type Parser interface {
	Parse(path string) (hasUnicorn bool, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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