pack

package
v0.0.0-...-1d6e297 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultName = builder.Pack

Variables

View Source
var (
	DefaultGoBuilder   = "heroku/builder:24"
	DefaultJavaBuilder = "heroku/builder:24"
)
View Source
var (
	DefaultBuilderImages = map[string]string{
		"go":   DefaultGoBuilder,
		"java": DefaultJavaBuilder,
	}
)

Functions

func BuilderImage

func BuilderImage(dc *dubbo.DubboConfig, builderName string) (string, error)

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(options ...Option) *Builder

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, dc *dubbo.DubboConfig) (err error)

type Impl

type Impl interface {
	Build(context.Context, pack.BuildOptions) error
}

type Option

type Option func(*Builder)

Jump to

Keyboard shortcuts

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