MCPcopy
hub / github.com/harness/harness / FindByIdentifier

Method FindByIdentifier

app/store/database.go:565–565  ·  view source on GitHub ↗

FindByIdentifier finds a protection rule by parent ID and identifier.

(
			ctx context.Context,
			parentType enum.RuleParent,
			parentID int64,
			identifier string,
		)

Source from the content-addressed store, hash-verified

563
564 // FindByIdentifier finds a protection rule by parent ID and identifier.
565 FindByIdentifier(
566 ctx context.Context,
567 parentType enum.RuleParent,
568 parentID int64,

Callers 15

secretIdentiferToIDMethod · 0.65
resolveSecretFunction · 0.65
UpdateTemplateMethod · 0.65
FindMethod · 0.65
FindTemplateMethod · 0.65
createConfigMethod · 0.65
validateTemplatesMethod · 0.65
CreateResourcesMethod · 0.65
UpdateConfigMethod · 0.65
DeleteResourceMethod · 0.65
FindMethod · 0.65

Implementers 1

RuleStoreapp/store/database/rule.go

Calls

no outgoing calls

Tested by

no test coverage detected