boottest

package
v0.0.0-...-b918686 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2016 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBootloader

type MockBootloader struct {
	BootVars map[string]string
	// contains filtered or unexported fields
}

MockBootloader mocks the bootloader interface and records all set/get calls.

func NewMockBootloader

func NewMockBootloader(name, bootdir string) *MockBootloader

func (*MockBootloader) Dir

func (b *MockBootloader) Dir() string

func (*MockBootloader) GetBootVar

func (b *MockBootloader) GetBootVar(key string) (string, error)

func (*MockBootloader) Name

func (b *MockBootloader) Name() string

func (*MockBootloader) SetBootVar

func (b *MockBootloader) SetBootVar(key, value string) error

Jump to

Keyboard shortcuts

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