Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "6.1.137" DefaultRegistry = "ghcr.io/jingkaihe/matchlock" )
Variables ¶
This section is empty.
Functions ¶
func ImageReference ¶
func ParseVersion ¶
Types ¶
type Architecture ¶
type Architecture string
const ( ArchX86_64 Architecture = "x86_64" ArchARM64 Architecture = "arm64" )
func CurrentArch ¶
func CurrentArch() Architecture
func (Architecture) KernelFilename ¶
func (a Architecture) KernelFilename() string
func (Architecture) OCIPlatform ¶
func (a Architecture) OCIPlatform() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CleanCache ¶
func (*Manager) EnsureKernel ¶
func (*Manager) KernelPath ¶
func (m *Manager) KernelPath(arch Architecture, version string) string
func (*Manager) ListCachedVersions ¶
Click to show internal directories.
Click to hide internal directories.