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

Function NewPolicyEval

app/cli/pkg/action/policy_develop_eval.go:41–46  ·  view source on GitHub ↗
(opts *PolicyEvalOpts, actionOpts *ActionsOpts)

Source from the content-addressed store, hash-verified

39}
40
41func NewPolicyEval(opts *PolicyEvalOpts, actionOpts *ActionsOpts) (*PolicyEval, error) {
42 return &PolicyEval{
43 ActionsOpts: actionOpts,
44 opts: opts,
45 }, nil
46}
47
48func (action *PolicyEval) Run() (*policydevel.EvalSummary, error) {
49 var attClient pb.AttestationServiceClient

Callers 1

newPolicyDevelopEvalCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected