ccfs

package
v0.0.0-...-03f4643 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(c Config) (checkpoint.Provider, func() error, error)

NewProvider returns a provider based on ccfs

Types

type Config

type Config struct {
	Exec                      string         `json:"exec,omitempty"`
	CacheDirectory            string         `json:"cache_directory,omitempty"`
	Registry                  string         `json:"registry"`
	CacheEntriesPerCheckpoint int            `json:"cache_entries_per_checkpoint,omitempty"`
	MaxCacheEntries           int            `json:"max_cache_entries,omitempty"`
	GCInterval                int            `json:"gc_interval,omitempty"`
	StaticWeights             map[string]int `json:"weights,omitempty"`
}

Jump to

Keyboard shortcuts

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