cache

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Get(tool *containers.ToolRef) ([]byte, error)
}

type ContainerdCache

type ContainerdCache struct {
	// contains filtered or unexported fields
}

func NewContainerdCache

func NewContainerdCache(namespace string) (*ContainerdCache, error)

func (*ContainerdCache) Get

func (c *ContainerdCache) Get(tool *containers.ToolRef) ([]byte, error)

type DockerCache

type DockerCache struct {
	// contains filtered or unexported fields
}

func NewDockerCache

func NewDockerCache() (*DockerCache, error)

func (*DockerCache) Get

func (c *DockerCache) Get(tool *containers.ToolRef) ([]byte, error)

type FileCache

type FileCache struct {
	// contains filtered or unexported fields
}

func NewFileCache

func NewFileCache(directory string, retentionSeconds int) *FileCache

func (*FileCache) Get

func (c *FileCache) Get(tool *containers.ToolRef) ([]byte, error)

type NoneCache

type NoneCache struct{}

func NewNoneCache

func NewNoneCache() *NoneCache

func (*NoneCache) Get

func (c *NoneCache) Get(tool *containers.ToolRef) ([]byte, error)

Jump to

Keyboard shortcuts

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