Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Netflix/go-expect
/ types & classes
Types & classes
21 in github.com/Netflix/go-expect
⨍
Functions
82
◇
Types & classes
21
Interface
CallbackMatcher
CallbackMatcher is a matcher that provides a Callback function.
expect_opt.go:80
Struct
Console
Console is an interface to automate input and output for interactive applications. Console can block until a specified output is received and send inp
console.go:34
FuncType
ConsoleCallback
ConsoleCallback is a callback function to execute if a match is found for the chained matcher.
expect_opt.go:40
FuncType
ConsoleOpt
ConsoleOpt allows setting Console options.
console.go:44
Struct
ConsoleOpts
ConsoleOpts provides additional options on creating a Console.
console.go:47
FuncType
ExpectObserver
ExpectObserver provides an interface for a function callback that will be called after each Expect operation. matchers will be the list of active matc
console.go:63
FuncType
ExpectOpt
ExpectOpt allows settings Expect options.
expect_opt.go:28
Struct
ExpectOpts
ExpectOpts provides additional options on Expect.
expect_opt.go:63
Interface
Matcher
Matcher provides an interface for finding a match in content read from Console's tty.
expect_opt.go:88
Struct
PassthroughPipe
PassthroughPipe is pipes data from a io.Reader and allows setting a read deadline. If a timeout is reached the error is returned, otherwise the error
passthrough_pipe.go:26
Struct
ReaderLease
ReaderLease provides cancellable io.Readers from an underlying io.Reader.
reader_lease.go:24
FuncType
SendObserver
SendObserver provides an interface for a function callback that will be called after each Send operation. msg is the string that was sent. num is the
console.go:70
Struct
Survey
expect_test.go:37
Struct
allMatcher
allMatcher fulfills the Matcher interface to match a group of ExpectOpt against any value.
expect_opt.go:199
Struct
callbackMatcher
callbackMatcher fulfills the Matcher and CallbackMatcher interface to match using its embedded matcher and provide a callback function.
expect_opt.go:96
Struct
chanReader
reader_lease.go:62
Struct
errorMatcher
errorMatcher fulfills the Matcher interface to match a specific error.
expect_opt.go:125
Struct
pathErrorMatcher
pathErrorMatcher fulfills the Matcher interface to match a specific os.PathError.
expect_opt.go:142
Struct
regexpMatcher
regexpMatcher fulfills the Matcher interface to match Regexp against a given bytes.Buffer.
expect_opt.go:181
Struct
stringMatcher
stringMatcher fulfills the Matcher interface to match strings against a given bytes.Buffer.
expect_opt.go:160
Struct
testWriter
testWriter provides a io.Writer interface to go's testing logger.
test_log.go:64