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 string, hash []byte) (bool, error) AutoSkipAdd(ctx context.Context, org, path, target string, hash []byte) error }
ASKVClient provides methods which allow for adding & checking the existence of an auto-skip hash. The current implementations are a local BoltDB & a remote gRPC service.
type CloudClient ¶
type CloudClient struct {
// contains filtered or unexported fields
}
CloudClient implements the Cloud API version of the ASKVClient.
func NewCloud ¶
func NewCloud(client ASKVClient) (*CloudClient, error)
NewCloud creates and returns a new Cloud API implementation.
type LocalBuildkitSkipper ¶
type LocalBuildkitSkipper struct {
// contains filtered or unexported fields
}
LocalBuildkitSkipper uses BoltDB to store & retrieve auto-skip hashes.
func NewLocal ¶
func NewLocal(path string) (*LocalBuildkitSkipper, error)
NewLocal creates and returns a BoltDB implementation of the auto-skip client.
Click to show internal directories.
Click to hide internal directories.