MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Seek

Method Seek

api/cloudcontroller/pipebomb.go:18–20  ·  view source on GitHub ↗

Seek returns a PipeSeekError; allowing the top level calling function to handle the retry instead of seeking back to the beginning of the Reader.

(offset int64, whence int)

Source from the content-addressed store, hash-verified

16// Seek returns a PipeSeekError; allowing the top level calling function to
17// handle the retry instead of seeking back to the beginning of the Reader.
18func (*Pipebomb) Seek(offset int64, whence int) (int64, error) {
19 return 0, ccerror.PipeSeekError{}
20}
21
22// NewPipeBomb returns an io.WriteCloser that can be used to stream data to a
23// the Pipebomb.

Callers 2

ResetBodyMethod · 0.45
ResetBodyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected