gha

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 41

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

func ResolveCacheExporterFunc() remotecache.ResolveCacheExporterFunc

ResolveCacheExporterFunc for Github actions cache exporter.

func ResolveCacheImporterFunc

func ResolveCacheImporterFunc() remotecache.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
	Timeout    time.Duration
}

Jump to

Keyboard shortcuts

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