runtimeassets

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRuntimeInvalid = errors.New("embedded runtime assets invalid")
View Source
var ErrRuntimeNotFound = errors.New("embedded runtime assets not found")

Functions

func Ensure

func Ensure(cacheBaseDir string) (string, error)

Ensure extracts embedded runtime binaries for current platform and returns runtime dir.

func Platform

func Platform() string

func SupportedPlatforms

func SupportedPlatforms() ([]string, error)

SupportedPlatforms lists embedded runtime platform directories.

func ValidateDir

func ValidateDir(dir, platform string) error

ValidateDir validates required runtime files and basic executable permissions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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