buildkit

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, client client.Client, cwd string, platforms []v1.Platform, build v1.Build, streams streams.Streams) ([]v1.Platform, []string, error)

func Delete

func Delete(ctx context.Context) error

func Exists

func Exists(ctx context.Context, c client.Client) (bool, error)

func GetBuildkitPod

func GetBuildkitPod(ctx context.Context, client client.WithWatch) (int, *corev1.Pod, error)

func GetRegistryPort

func GetRegistryPort(ctx context.Context, c client.Reader) (int, error)

func SyncBuildkitPod

func SyncBuildkitPod(ctx context.Context, client client.Client) error

Types

type DialerContext

type DialerContext func(ctx context.Context, address string) (net.Conn, error)

func GetRegistryDialer

func GetRegistryDialer(ctx context.Context, client kclient.WithWatch) (DialerContext, error)

Jump to

Keyboard shortcuts

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