Documentation
¶
Overview ¶
Package cache provides functionality for cache storage
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flusher ¶ added in v1.1.0
type Flusher interface {
// Flush removes files from the cache using given paths.
Flush(srcs []string) error
}
Flusher is an interface represents a flush action.
type Option ¶ added in v1.1.0
type Option interface {
// contains filtered or unexported methods
}
Option overrides behavior of Archive.
func WithFallbackGenerator ¶ added in v1.1.0
WithFallbackGenerator sets fallback key generator option.
func WithNamespace ¶ added in v1.1.0
WithNamespace sets namespace option.
func WithOverride ¶ added in v1.1.0
WithOverride sets object should be overriten even if it already exists.
type Rebuilder ¶ added in v1.1.0
type Rebuilder interface {
// Rebuild rebuilds cache from the files provided with given paths.
Rebuild(srcs []string) error
}
Rebuilder is an interface represents a rebuild action.
Click to show internal directories.
Click to hide internal directories.