bk

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildkitSkipper

type BuildkitSkipper interface {
	Add(ctx context.Context, org, target string, key []byte) error
	Exists(ctx context.Context, org string, key []byte) (bool, error)
}

BuildkitSkipper adds new auto-skip hashes to the backing datastore & allows us to check for their existence.

func NewBuildkitSkipper

func NewBuildkitSkipper(localSkipDB string, cloudClient buildkitskipper.ASKVClient) (BuildkitSkipper, error)

NewBuildkitSkipper returns a local buildkitskipper when localSkipDB is specified, or alternatively a cloud-based skipper

Jump to

Keyboard shortcuts

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