buildkitskipper

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASKVClient

type ASKVClient interface {
	AutoSkipExists(ctx context.Context, org, project, pipeline string, hash []byte) (bool, error)
	AutoSkipAdd(ctx context.Context, org, project, pipeline string, hash []byte) error
}

type CloudClient

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

func NewCloud

func NewCloud(org, project, pipeline string, client ASKVClient) (*CloudClient, error)

func (*CloudClient) Add

func (cc *CloudClient) Add(ctx context.Context, data []byte) error

func (*CloudClient) Exists

func (cc *CloudClient) Exists(ctx context.Context, data []byte) (bool, error)

type LocalBuildkitSkipper

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

func NewLocal

func NewLocal(path string) (*LocalBuildkitSkipper, error)

func (*LocalBuildkitSkipper) Add

func (lbks *LocalBuildkitSkipper) Add(ctx context.Context, data []byte) error

func (*LocalBuildkitSkipper) Exists

func (lbks *LocalBuildkitSkipper) Exists(ctx context.Context, data []byte) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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