cache

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 3 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 struct {
	// Template of the cache entry.
	Template string
	// The registry to use which defaults to "~".
	Registry string
	// ID of the cache entry to save.
	ID string
	// Key of the cache entry to save, this can be a template string.
	Key string
	// Fallback keys to use, this is a comma delimited list of key template strings.
	FallbackKeys []string
	// Paths to remove.
	Paths []string
}

func (Cache) Validate

func (c Cache) Validate() error

Validate validates the cache configuration and returns an error if invalid.

Jump to

Keyboard shortcuts

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