Versions in this module Expand all Collapse all v1 v1.2.4 May 29, 2018 v1.2.3 Apr 25, 2018 Changes in this version + const KeyLeftShift + func GenerateExpressionSequence(command string) (expressionSequence, error) + func NewPCXTDriver(send SendCodeFunc, chunkSize int) *pcXTDriver + func NewVNCDriver(c VNCKeyEvent) *vncDriver + func Parse(filename string, b []byte, opts ...Option) (interface{}, error) + func ParseFile(filename string, opts ...Option) (i interface{}, err error) + func ParseReader(filename string, r io.Reader, opts ...Option) (interface{}, error) + type BCDriver interface + Flush func() error + SendKey func(key rune, action KeyAction) error + SendSpecial func(special string, action KeyAction) error + type BootConfig struct + BootCommand []string + BootWait time.Duration + RawBootWait string + func (c *BootConfig) FlatBootCommand() string + func (c *BootConfig) Prepare(ctx *interpolate.Context) (errs []error) + type Cloner interface + Clone func() interface{} + type KeyAction int + const KeyOff + const KeyOn + const KeyPress + func (k KeyAction) String() string + type Option func(*parser) Option + func AllowInvalidUTF8(b bool) Option + func Debug(b bool) Option + func Entrypoint(ruleName string) Option + func GlobalStore(key string, value interface{}) Option + func InitState(key string, value interface{}) Option + func MaxExpressions(maxExprCnt uint64) Option + func Memoize(b bool) Option + func Recover(b bool) Option + func Statistics(stats *Stats, choiceNoMatch string) Option + type SendCodeFunc func([]string) error + type Stats struct + ChoiceAltCnt map[string]map[string]int + ExprCnt uint64 + type VNCConfig struct + DisableVNC bool + func (c *VNCConfig) Prepare(ctx *interpolate.Context) (errs []error) + type VNCKeyEvent interface + KeyEvent func(uint32, bool) error