bootstrap

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginSearchPath = "/var/lib/corex/plugins"
	ManifestSymbol   = "Manifest"
	PluginSymbol     = "Plugin"
	PluginExt        = ".so"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
}

func NewBootstrap

func NewBootstrap() *Bootstrap

func (*Bootstrap) Bootstrap

func (b *Bootstrap) Bootstrap(hostname string) error

Bootstrap registers extensions and startup system services.

func (*Bootstrap) UnBootstrap

func (b *Bootstrap) UnBootstrap()

type Device

type Device struct {
	Name  string
	Type  DeviceType
	Mode  os.FileMode
	Major int
	Minor int
}

type DeviceType

type DeviceType uint32
const (
	CharDevice  DeviceType = syscall.S_IFCHR
	BlockDevice DeviceType = syscall.S_IFBLK
)

type Plugin

type Plugin struct {
	Path    string
	Queue   bool
	Exports []string
}

type PluginsSettings

type PluginsSettings struct {
	Plugin map[string]Plugin
}

Jump to

Keyboard shortcuts

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