1 instantiation of DcpKubeconfig
aspire (1)
Utils\EnvironmentChecker\DcpKubeconfig.cs (1)
67return new DcpKubeconfig
14 references to DcpKubeconfig
aspire (8)
Utils\EnvironmentChecker\DcpConnectionChecker.cs (6)
109var kubeconfig = await session.ReadKubeconfigAsync(cancellationToken).ConfigureAwait(false); 139private static HttpClientHandler CreateHttpClientHandler(DcpKubeconfig kubeconfig) 226private DcpKubeconfig? _kubeconfig; 333public async Task<DcpKubeconfig> ReadKubeconfigAsync(CancellationToken cancellationToken) 342_kubeconfig = await DcpKubeconfig.ReadFileWithRetryAsync(_kubeconfigPath, cancellationToken: cancellationToken).ConfigureAwait(false); 400var kubeconfig = await ReadKubeconfigAsync(timeoutCts.Token).ConfigureAwait(false);
Utils\EnvironmentChecker\DcpKubeconfig.cs (2)
24internal static async Task<DcpKubeconfig> ReadFileWithRetryAsync(string path, Func<TimeSpan, CancellationToken, Task>? delayAsync = null, CancellationToken cancellationToken = default) 44public static DcpKubeconfig Parse(string content)
Aspire.Cli.Tests (6)
TestServices\DcpConnectionTestProcess.cs (2)
278DcpKubeconfig kubeconfig; 283kubeconfig = await DcpKubeconfig.ReadFileWithRetryAsync(kubeconfigPath, cancellationToken: cancellationToken);
Utils\DcpConnectionHealthCheckTests.cs (4)
618using var parsed = DcpKubeconfig.Parse(kubeconfig); 648using var parsed = await DcpKubeconfig.ReadFileWithRetryAsync(kubeconfigPath, DelayAsync, TestContext.Current.CancellationToken);