View Source Dagger.Port (dagger v0.13.5)

A port exposed by a container.

Summary

Functions

The port description.

Skip the health check when run as a service.

A unique identifier for this Port.

The port number.

The transport layer protocol.

Types

@type t() :: %Dagger.Port{client: term(), query_builder: term()}

Functions

@spec description(t()) :: {:ok, String.t() | nil} | {:error, term()}

The port description.

Link to this function

experimental_skip_healthcheck(port)

View Source
@spec experimental_skip_healthcheck(t()) :: {:ok, boolean()} | {:error, term()}

Skip the health check when run as a service.

@spec id(t()) :: {:ok, Dagger.PortID.t()} | {:error, term()}

A unique identifier for this Port.

@spec port(t()) :: {:ok, integer()} | {:error, term()}

The port number.

@spec protocol(t()) :: {:ok, Dagger.NetworkProtocol.t()} | {:error, term()}

The transport layer protocol.