Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StorageTypes = [2]string{"redis", "in_memory"}
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
ContainerImageCache Cache[model.ContainerImage]
}
func InitMemoryCache ¶
type StorageType ¶
type StorageType int
const ( Redis StorageType = iota InMemory )
func StorageTypeFromString ¶
func StorageTypeFromString(value string) (StorageType, error)
func (StorageType) String ¶
func (s StorageType) String() string
Click to show internal directories.
Click to hide internal directories.