types

package
v0.41.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 7 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	Include    []string    `toml:"include"`
	Exclude    []string    `toml:"exclude"`
	Buildpacks []Buildpack `toml:"buildpacks"`
	Env        []EnvVar    `toml:"env"`
	Builder    string      `toml:"builder"`
	Pre        GroupAddition
	Post       GroupAddition
}

type Buildpack

type Buildpack struct {
	ID      string   `toml:"id"`
	Version string   `toml:"version"`
	URI     string   `toml:"uri"`
	Script  Script   `toml:"script"`
	ExecEnv []string `toml:"exec-env"`
}

type Descriptor

type Descriptor struct {
	Project       Project                `toml:"project"`
	Build         Build                  `toml:"build"`
	Metadata      map[string]interface{} `toml:"metadata"`
	SchemaVersion *api.Version
}

type EnvVar

type EnvVar struct {
	Name    string   `toml:"name"`
	Value   string   `toml:"value"`
	ExecEnv []string `toml:"exec-env"`
}

type GroupAddition added in v0.29.0

type GroupAddition struct {
	Buildpacks []Buildpack `toml:"group"`
}

type License

type License struct {
	Type string `toml:"type"`
	URI  string `toml:"uri"`
}

type Project

type Project struct {
	ID               string    `toml:"id"`
	Name             string    `toml:"name"`
	Version          string    `toml:"version"`
	Authors          []string  `toml:"authors"`
	DocumentationURL string    `toml:"documentation-url"`
	SourceURL        string    `toml:"source-url"`
	Licenses         []License `toml:"licenses"`
}

type Script

type Script struct {
	API    string `toml:"api"`
	Inline string `toml:"inline"`
	Shell  string `toml:"shell"`
}

Jump to

Keyboard shortcuts

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