api

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyPackageIntegration

func ApplyPackageIntegration(ctx context.Context, env *schema.Environment, pl pkggraph.PackageLoader, pkg *pkggraph.Package) error

func GenerateBinary

func GenerateBinary(ctx context.Context, env *schema.Environment, pl pkggraph.PackageLoader, loc pkggraph.Location, binaryName string, data proto.Message) (*schema.Binary, error)

func GenerateBinaryAndAddToPackage

func GenerateBinaryAndAddToPackage(ctx context.Context, env *schema.Environment, pl pkggraph.PackageLoader, pkg *pkggraph.Package, binaryName string, data proto.Message) (*schema.PackageRef, error)

func RegisterBinaryIntegration

func RegisterBinaryIntegration[V proto.Message](handler func(context.Context, *schema.Environment, pkggraph.PackageLoader, pkggraph.Location, V) (*schema.Binary, error))

Must be called before ApplyIntegration.

func RegisterPackageIntegration

func RegisterPackageIntegration[V proto.Message](handler func(context.Context, *schema.Environment, pkggraph.PackageLoader, V, *pkggraph.Package) error)

Must be called before ApplyIntegration.

func SetServerBinary

func SetServerBinary(pkg *pkggraph.Package, buildPlan *schema.LayeredImageBuildPlan, commands []string) error

func SetServerBinaryRef

func SetServerBinaryRef(pkg *pkggraph.Package, binaryRef *schema.PackageRef) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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