MCPcopy
hub / github.com/hashicorp/packer / PipeChecker

Struct PipeChecker

packer_test/common/check/pipe_checker.go:192–198  ·  view source on GitHub ↗

PipeChecker is a kind of checker that essentially lets users write mini gadgets that pipe inputs together, and compose those to end as a true/false statement, which translates to an error. Unlike pipes in a real command-line context, since we're dealing with finite gadgets to process data, we're se

Source from the content-addressed store, hash-verified

190// Stream is provided so we know if we want to combine stdout/stderr for the
191// pipeline, or if we want only to focus on either.
192type PipeChecker struct {
193 name string
194 stream Stream
195
196 pipers []Pipe
197 check Tester
198}
199
200// SetTester sets the tester to use for a pipe checker
201//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected