Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPipe ¶
type MockPipe struct {
// Written is all the models written to this pipe in order
Written []sdk.Model
// Closed is set to true every time Close() is called
Closed bool
// Flushed is set to true every time Flush() is called
Flushed bool
// WriteErr is returned by Write
WriteErr error
// FlushErr is returned by Flush
FlushErr error
// CloseErr is returned by Close
CloseErr error
}
MockPipe stores sent things inside it
func (*MockPipe) Close ¶
Close is called when the integration has completed and no more data will be sent
Click to show internal directories.
Click to hide internal directories.