cache

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Get(ctx context.Context, key Key) (Entry, bool, error)
	Put(ctx context.Context, key Key, output fs.FS, entry Entry) (Entry, error)
}

func NewKodo

func NewKodo(cfg KodoConfig) Cache

type Entry

type Entry struct {
	Metadata string
	Deps     []module.Version
}

type Key

type Key struct {
	Module module.Version
	Matrix string
}

type KodoConfig

type KodoConfig struct {
	AccessKey    string
	SecretKey    string
	Bucket       string
	PublicDomain string
	Prefix       string
	WorkspaceDir string
	Artifacts    artifact.Store
}

Jump to

Keyboard shortcuts

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