1 instantiation of WorkflowRefInfo
aspire (1)
Npm\INpmProvenanceChecker.cs (1)
162refInfo = new WorkflowRefInfo(refString, kind, name);
12 references to WorkflowRefInfo
aspire (8)
Npm\INpmProvenanceChecker.cs (4)
135/// <param name="refInfo">The parsed <see cref="WorkflowRefInfo"/> if successful.</param> 137public static bool TryParse(string? refString, out WorkflowRefInfo? refInfo) 182/// An optional callback that validates the parsed workflow ref. The callback receives a <see cref="WorkflowRefInfo"/> 193Task<ProvenanceVerificationResult> VerifyProvenanceAsync(string packageName, string version, string expectedSourceRepository, string expectedWorkflowPath, string expectedBuildType, Func<WorkflowRefInfo, bool>? validateWorkflowRef, CancellationToken cancellationToken, string? sriIntegrity = null);
Npm\SigstoreNpmProvenanceChecker.cs (4)
28Func<WorkflowRefInfo, bool>? validateWorkflowRef, 338Func<WorkflowRefInfo, bool>? validateWorkflowRef) 369if (!WorkflowRefInfo.TryParse(provenance.WorkflowRef, out var refInfo) || refInfo is null)
Aspire.Cli.Tests (4)
Agents\PlaywrightCliInstallerTests.cs (1)
579public Task<ProvenanceVerificationResult> VerifyProvenanceAsync(string packageName, string version, string expectedSourceRepository, string expectedWorkflowPath, string expectedBuildType, Func<WorkflowRefInfo, bool>? validateWorkflowRef, CancellationToken cancellationToken, string? sriIntegrity = null)
Agents\SigstoreNpmProvenanceCheckerTests.cs (2)
892var result = WorkflowRefInfo.TryParse(input, out var refInfo);
TestServices\FakePlaywrightServices.cs (1)
33public Task<ProvenanceVerificationResult> VerifyProvenanceAsync(string packageName, string version, string expectedSourceRepository, string expectedWorkflowPath, string expectedBuildType, Func<WorkflowRefInfo, bool>? validateWorkflowRef, CancellationToken cancellationToken, string? sriIntegrity = null)