Documentation ¶
Index ¶
- func ApplyPackageIntegration(ctx context.Context, env *schema.Environment, pl pkggraph.PackageLoader, ...) error
- func GenerateBinary(ctx context.Context, env *schema.Environment, pl pkggraph.PackageLoader, ...) (*schema.Binary, error)
- func GenerateBinaryAndAddToPackage(ctx context.Context, env *schema.Environment, pl pkggraph.PackageLoader, ...) (*schema.PackageRef, error)
- func RegisterBinaryIntegration[V proto.Message](...)
- func RegisterPackageIntegration[V proto.Message](...)
- func SetServerBinary(pkg *pkggraph.Package, buildPlan *schema.LayeredImageBuildPlan, ...) error
- func SetServerBinaryRef(pkg *pkggraph.Package, binaryRef *schema.PackageRef) error
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 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 SetServerBinaryRef ¶
func SetServerBinaryRef(pkg *pkggraph.Package, binaryRef *schema.PackageRef) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.