Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDiskLookupKeySerializer ¶
type DefaultDiskLookupKeySerializer struct {
// contains filtered or unexported fields
}
func (*DefaultDiskLookupKeySerializer) Serialize ¶
func (s *DefaultDiskLookupKeySerializer) Serialize(key *version.Version) (string, error)
type ExecutionVersionDiskLayer ¶
type ExecutionVersionDiskLayer struct {
// contains filtered or unexported fields
}
ExecutionVersionDiskLayer is a cache layer which attempts to find the version on disk, before calling the configured loading function.
func (*ExecutionVersionDiskLayer) Get ¶
func (v *ExecutionVersionDiskLayer) Get(key *version.Version) (string, error)
Gets a path from cache
type ExecutionVersionMemoryLayer ¶
type ExecutionVersionMemoryLayer struct {
// contains filtered or unexported fields
}
ExecutionVersionMemoryLayer is an in-memory cache which delegates to a disk layer if a version's path doesn't exist yet.
func (*ExecutionVersionMemoryLayer) Get ¶
func (v *ExecutionVersionMemoryLayer) Get(key *version.Version) (string, error)
type KeySerializer ¶
Click to show internal directories.
Click to hide internal directories.