Files
hauler/pkg/store/options.go
T
Josh Wolf d87d8a2041 primary: refactor store and transport to use oci-layouts and add fileserver feature
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
2021-12-01 14:53:06 -07:00

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
}
}