runtime

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Classes

type Classes map[string]map[string]struct{}

func GetClasses

func GetClasses(dir Source) (Classes, error)

func (Classes) Has

func (r Classes) Has(rt string) bool

func (Classes) HasOS added in v0.0.4

func (r Classes) HasOS(rt, os string) bool

type ExternalSourceOptionAuthn

type ExternalSourceOptionAuthn struct {
	Type   string
	User   string
	Secret string
}

type ExternalSourceOptions

type ExternalSourceOptions struct {
	Source   string
	Authn    ExternalSourceOptionAuthn
	Insecure bool
}

type Source added in v0.0.4

type Source = fs.ReadDirFS

func BuiltinSource

func BuiltinSource() Source

func ExternalSource

func ExternalSource(
	ctx context.Context,
	opts ExternalSourceOptions,
) (Source, error)

Jump to

Keyboard shortcuts

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