v02

package
v0.22.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDescriptor

func NewDescriptor(projectTomlContents string) (types.Descriptor, error)

Types

type Buildpacks

type Buildpacks struct {
	Include []string          `toml:"include"`
	Exclude []string          `toml:"exclude"`
	Group   []types.Buildpack `toml:"group"`
	Env     Env               `toml:"env"`
	Builder string            `toml:"builder"`
}

type Descriptor

type Descriptor struct {
	Project Project `toml:"_"`
	IO      IO      `toml:"io"`
}

type Env

type Env struct {
	Build []types.EnvVar `toml:"build"`
}

type IO

type IO struct {
	Buildpacks Buildpacks `toml:"buildpacks"`
}

type Project

type Project struct {
	Name          string                 `toml:"name"`
	Licenses      []types.License        `toml:"licenses"`
	Metadata      map[string]interface{} `toml:"metadata"`
	SchemaVersion string                 `toml:"schema-version"`
}

Jump to

Keyboard shortcuts

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