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

Function NewPolicyLint

app/cli/pkg/action/policy_develop_lint.go:39–43  ·  view source on GitHub ↗
(actionOpts *ActionsOpts)

Source from the content-addressed store, hash-verified

37}
38
39func NewPolicyLint(actionOpts *ActionsOpts) (*PolicyLint, error) {
40 return &PolicyLint{
41 ActionsOpts: actionOpts,
42 }, nil
43}
44
45func (action *PolicyLint) Run(_ context.Context, opts *PolicyLintOpts) (*PolicyLintResult, error) {
46 // Read policies

Callers 1

newPolicyDevelopLintCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected