buildkit

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Overview

Package buildkit implements a compiler for turning Blubber configuration into a valid llb.State graph.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, c client.Client) (*client.Result, error)

Build handles BuildKit client requests for the Blubber gateway.

func Compile

func Compile(cfg *config.Config, variant string) (*bytes.Buffer, error)

Compile takes a parsed config.Config and a configured variant name and returns an llb.State graph as JSON.

func CompileToLLB

func CompileToLLB(ctx context.Context, cfg *config.Config, variant string, convertOpts d2llb.ConvertOpt) (*llb.State, *d2llb.Image, error)

CompileToLLB takes a parsed config.Config and a configured variant name and returns an llb.State graph.

Types

This section is empty.

Jump to

Keyboard shortcuts

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