MCPcopy Create free account
hub / github.com/conforma/cli / PolicyUrl

Method PolicyUrl

internal/policy/source/source.go:67–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65type PolicySource interface {
66 GetPolicy(ctx context.Context, dest string, showMsg bool) (string, error)
67 PolicyUrl() string
68 Subdir() string
69 Type() PolicyType
70}

Callers 6

PreProcessPolicyFunction · 0.65
urlsFunction · 0.65
getPolicyThroughCacheFunction · 0.65
TestInlineDataSourceFunction · 0.65
EvaluateMethod · 0.65

Implementers 4

PolicyUrlinternal/policy/source/source.go
inlineDatainternal/policy/source/source.go
mockPolicySourceinternal/policy/source/source_test.go
testPolicySourceinternal/evaluator/conftest_evaluator_

Calls

no outgoing calls

Tested by 1

TestInlineDataSourceFunction · 0.52