build

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerBuilder

type DockerBuilder interface {
	Setup(client docker.DockerClient, language string, dest string) error
	PullBuilderImage(ctx context.Context) error
	BuildSource(ctx context.Context, srcPath string) error
	RenameCodeWasm(name string) error
}

func NewWasmBuilder

func NewWasmBuilder() DockerBuilder

type WasmBuilder

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

func (*WasmBuilder) BuildSource

func (b *WasmBuilder) BuildSource(ctx context.Context, srcPath string) error

func (*WasmBuilder) PullBuilderImage

func (b *WasmBuilder) PullBuilderImage(ctx context.Context) error

func (*WasmBuilder) RenameCodeWasm added in v0.3.0

func (b *WasmBuilder) RenameCodeWasm(name string) error

func (*WasmBuilder) Setup

func (b *WasmBuilder) Setup(flDocker docker.DockerClient, language string, dest string) error

Jump to

Keyboard shortcuts

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