buildpack_config

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConstraintsById

func GetConstraintsById(id string, config cargo.Config) ([]versionology.Constraint, error)

GetConstraintsById will return an array of constraints with the given id

func GetDependenciesById

func GetDependenciesById(id string, config cargo.Config) ([]versionology.Dependency, error)

GetDependenciesById will return an array of dependencies with the given id, of a type that "extends" cargo.ConfigMetadataDependency and implements versionology.VersionFetcher

func GetDependenciesByIdAndStack

func GetDependenciesByIdAndStack(id, stack string, config cargo.Config) ([]versionology.Dependency, error)

GetDependenciesByIdAndStack will return an array of dependencies with the given id and stack, of a type that "extends" cargo.ConfigMetadataDependency and implements versionology.VersionFetcher

func ParseBuildpackToml

func ParseBuildpackToml(buildpackTomlPath string) (cargo.Config, error)

ParseBuildpackToml takes in a path to a buildpack.toml and parses that into a cargo.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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