registry

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Overview

Package registry is a registry of OS support modules

Index

Constants

This section is empty.

Variables

View Source
var ErrOSModuleNotFound = errors.New("os support module not found")

ErrOSModuleNotFound is returned when no suitable OS support module is found

Functions

func GetOSModuleBuilder

func GetOSModuleBuilder(osv rig.OSVersion) (buildFunc, error)

GetOSModuleBuilder returns a suitable OS support module from rig's registry

func RegisterOSModule

func RegisterOSModule(mf matchFunc, bf buildFunc)

RegisterOSModule registers a OS support module into rig's registry

Types

This section is empty.

Jump to

Keyboard shortcuts

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