gha

package
v0.18.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 24 Imported by: 47

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