Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + const KeyLeftShift + func GenerateExpressionSequence(command string) (expressionSequence, error) + func NewPCXTDriver(send SendCodeFunc, chunkSize int, interval time.Duration) *pcXTDriver + func NewVNCDriver(c VNCKeyEvent, interval time.Duration) *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 + BootGroupInterval time.Duration + BootWait time.Duration + RawBootGroupInterval string + 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 + BootKeyInterval time.Duration + DisableVNC bool + RawBootKeyInterval string + func (c *VNCConfig) Prepare(ctx *interpolate.Context) (errs []error) + type VNCKeyEvent interface + KeyEvent func(uint32, bool) error