installmodes

package
v0.0.0-...-b374e21 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetObject

func GetObject(name string) (interface{}, error)

GetObject gets the object that represents a install mode

Types

type InstallMode

type InstallMode struct {
	Name      string
	GetObject func() interface{}
}

InstallMode represents a install mode

func RegisterInstallMode

func RegisterInstallMode(mode InstallMode) InstallMode

RegisterInstallMode registers a new install mode

func (InstallMode) Unregister

func (mode InstallMode) Unregister()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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