gha

package
v0.31.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 33 Imported by: 64

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporter

func NewExporter(c *Config) (remotecache.Exporter, error)

func NewImporter

func NewImporter(c *Config) (remotecache.Importer, error)

func ResolveCacheExporterFunc

ResolveCacheExporterFunc for Github actions cache exporter.

func ResolveCacheImporterFunc

ResolveCacheImporterFunc for Github actions cache importer.

Types

type Config

type Config struct {
	Scope      string
	URL        string
	Token      string // token for the Github Cache runtime API
	GHToken    string // token for the Github REST API
	Repository string
	Version    int
	Timeout    time.Duration

	*ghatypes.CacheConfig
	// contains filtered or unexported fields
}

type VerifierProvider added in v0.27.0

type VerifierProvider func() (*policy.Verifier, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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