mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-08-20 12:56:45 +00:00
minors: * add optional 'extraImages' to ThickCharts * refactor File content into generic getter interfaces * refactor artifact.Config into an actual usable interface (by File content) * refactor 'copy' cli command to use oras mappers * refactor 'serve' cli command to server registry and/or fileserver
14 lines
189 B
Go
14 lines
189 B
Go
package store
|
|
|
|
import (
|
|
"github.com/rancherfederal/hauler/internal/cache"
|
|
)
|
|
|
|
type Options func(*Store)
|
|
|
|
func WithCache(c cache.Cache) Options {
|
|
return func(b *Store) {
|
|
b.cache = c
|
|
}
|
|
}
|