Containers/ComposeServiceReadiness.cs

testcontainers-dotnet · src/Testcontainers/Configurations/Containers/ComposeServiceReadiness.cs · csharp · MIT
infra

Represents the configuration needed to determine when a specific Docker Compose service instance is ready for use via wait strategies.

// Source: https://github.com/testcontainers/testcontainers-dotnet | License: MIT | Copyright 2019 - 2026 Andre Hofmeister and other authors
// Provided via justclaw.it.com; keep this notice with the code.
namespace DotNet.Testcontainers.Configurations
{
  using System.Collections.Generic;
  using JetBrains.Annotations;

  /// <summary>
  /// The readiness of a Docker Compose service.
  /// </summary>
  [PublicAPI]
  public sealed class ComposeServiceReadiness
  {
    /// <summary>
    /// Initializes a new instance of the <see cref="ComposeServiceReadiness" /> class.
    /// </summary>
    /// <param name="serviceName">The Docker Compose service name.</param>
    /// <param name="instance">The number of the container within the Docker Compose service.</param>
    /// <param name="waitStra

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key