MCPcopy Create free account

hub / github.com/Netflix/go-expect / types & classes

Types & classes21 in github.com/Netflix/go-expect

InterfaceCallbackMatcher
CallbackMatcher is a matcher that provides a Callback function.
expect_opt.go:80
StructConsole
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
FuncTypeConsoleCallback
ConsoleCallback is a callback function to execute if a match is found for the chained matcher.
expect_opt.go:40
FuncTypeConsoleOpt
ConsoleOpt allows setting Console options.
console.go:44
StructConsoleOpts
ConsoleOpts provides additional options on creating a Console.
console.go:47
FuncTypeExpectObserver
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
FuncTypeExpectOpt
ExpectOpt allows settings Expect options.
expect_opt.go:28
StructExpectOpts
ExpectOpts provides additional options on Expect.
expect_opt.go:63
InterfaceMatcher
Matcher provides an interface for finding a match in content read from Console's tty.
expect_opt.go:88
StructPassthroughPipe
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
StructReaderLease
ReaderLease provides cancellable io.Readers from an underlying io.Reader.
reader_lease.go:24
FuncTypeSendObserver
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
StructSurvey
expect_test.go:37
StructallMatcher
allMatcher fulfills the Matcher interface to match a group of ExpectOpt against any value.
expect_opt.go:199
StructcallbackMatcher
callbackMatcher fulfills the Matcher and CallbackMatcher interface to match using its embedded matcher and provide a callback function.
expect_opt.go:96
StructchanReader
reader_lease.go:62
StructerrorMatcher
errorMatcher fulfills the Matcher interface to match a specific error.
expect_opt.go:125
StructpathErrorMatcher
pathErrorMatcher fulfills the Matcher interface to match a specific os.PathError.
expect_opt.go:142
StructregexpMatcher
regexpMatcher fulfills the Matcher interface to match Regexp against a given bytes.Buffer.
expect_opt.go:181
StructstringMatcher
stringMatcher fulfills the Matcher interface to match strings against a given bytes.Buffer.
expect_opt.go:160
StructtestWriter
testWriter provides a io.Writer interface to go's testing logger.
test_log.go:64