Help us shape the future of Go! Take the 2026 Go Developer Survey

v03

package
v0.40.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 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, toml.MetaData, error)

Types

type Buildpacks

type Buildpacks struct {
	Include []string            `toml:"include"`
	Exclude []string            `toml:"exclude"`
	Group   []types.Buildpack   `toml:"group"`
	Build   types.Build         `toml:"build"`
	Builder string              `toml:"builder"`
	Pre     types.GroupAddition `toml:"pre"`
	Post    types.GroupAddition `toml:"post"`
}

type Descriptor

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

type IO

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

type Project

type Project struct {
	SchemaVersion    string                 `toml:"schema-version"`
	ID               string                 `toml:"id"`
	Name             string                 `toml:"name"`
	Version          string                 `toml:"version"`
	Authors          []string               `toml:"authors"`
	Licenses         []types.License        `toml:"licenses"`
	DocumentationURL string                 `toml:"documentation-url"`
	SourceURL        string                 `toml:"source-url"`
	Metadata         map[string]interface{} `toml:"metadata"`
}

Jump to

Keyboard shortcuts

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