MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / WithIncludeRawData

Function WithIncludeRawData

pkg/policies/engine/engine.go:77–81  ·  view source on GitHub ↗

WithIncludeRawData sets whether to include raw input/output data in results

(include bool)

Source from the content-addressed store, hash-verified

75
76// WithIncludeRawData sets whether to include raw input/output data in results
77func WithIncludeRawData(include bool) Option {
78 return func(opts *Options) {
79 opts.IncludeRawData = include
80 }
81}
82
83// WithEnablePrint enables print/log statements in policies
84func WithEnablePrint(enable bool) Option {

Callers 3

executeScriptMethod · 0.92
TestNewEngineFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestNewEngineFunction · 0.74