{"modulePath":"github.com/operator-framework/audit","version":"v0.3.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package hack\n\n## Constants\n\n```go\nconst BinPath = \"bin/audit-tool\"\n```\n\n```go\nconst ReportsPath = \"testdata/reports/\"\n```\n\n## Functions\n\n```go\nfunc GetImageNameToCreateDir(v string) string\n```\nGetImageNameToCreateDir returns the name of the image formatted to be used as the name of the dir\n\n```go\nfunc ReplaceInFile(path, old, new string) error\n```\n\n```go\nfunc RunCommandCapturingOutput(command *exec.Cmd)\n```\n\n## Types\n\n```go\ntype CapturingPassThroughWriter struct {\n\t// contains filtered or unexported fields\n}\n```\nCapturingPassThroughWriter is a writer that remembers data written to it and passes it to w\n\n```go\nfunc NewCapturingPassThroughWriter(w io.Writer) *CapturingPassThroughWriter\n```\nNewCapturingPassThroughWriter creates new CapturingPassThroughWriter\n\n```go\nfunc (w *CapturingPassThroughWriter) Bytes() []byte\n```\nBytes returns bytes written to the writer\n\n```go\nfunc (w *CapturingPassThroughWriter) Write(d []byte) (int, error)\n```\n\n","path":"github.com/operator-framework/audit/hack","name":"hack","synopsis":"","isRedistributable":true}
