java

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Dependency = "riff-invoker-java"

Dependency is the key identifying the riff java invoker in the buildpack plan.

View Source
const Handler = "handler"

Handler is the key identifying the riff handler metadata in the build plan

View Source
const StreamingDependency = "streaming-http-adapter"

StreamingDependency is a key identifying the streaming HTTP adapter dependency.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buildpack added in v0.2.0

type Buildpack struct{}

func (Buildpack) Build added in v0.2.0

func (b Buildpack) Build(build build.Build) (int, error)

func (Buildpack) Detect added in v0.2.0

func (b Buildpack) Detect(detect detect.Detect, metadata function.Metadata) (int, error)

func (Buildpack) Id added in v0.2.0

func (b Buildpack) Id() string

type Function added in v0.2.0

type Function struct {
	// contains filtered or unexported fields
}

Function represents the function to be executed.

func NewFunction added in v0.2.0

func NewFunction(build build.Build) (Function, bool, error)

NewFunction creates a new instance returning true if the riff-invoker-java plan exists.

func (Function) Contribute added in v0.2.0

func (f Function) Contribute() error

Contributes makes the contribution to the launch layer.

type Invoker added in v0.2.0

type Invoker struct {
	// contains filtered or unexported fields
}

Invoker represents the Java invoker contributed by the buildpack.

func NewInvoker added in v0.2.0

func NewInvoker(build build.Build) (Invoker, bool, error)

NewInvoker creates a new instance returning true if the riff-invoker-java plan exists.

func (Invoker) Contribute added in v0.2.0

func (i Invoker) Contribute() error

Contributes makes the contribution to the launch layer.

type StreamingHTTPAdapter added in v0.2.0

type StreamingHTTPAdapter struct {
	// contains filtered or unexported fields
}

StreamingHTTPAdapter represents the streaming HTTP adapter contribute by the buildpack.

func NewStreamingHTTPAdapter added in v0.2.0

func NewStreamingHTTPAdapter(build build.Build) (StreamingHTTPAdapter, error)

NewStreamingHTTPAdapter creates a new instance.

func (StreamingHTTPAdapter) Contribute added in v0.2.0

func (s StreamingHTTPAdapter) Contribute() error

Contributes makes the contribution to the launch layer.

Jump to

Keyboard shortcuts

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