View Source Dagger.Port (dagger v0.15.1)

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

t()

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

Functions

description(port)

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

The port description.

experimental_skip_healthcheck(port)

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

Skip the health check when run as a service.

id(port)

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

A unique identifier for this Port.

port(port)

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

The port number.

protocol(port)

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

The transport layer protocol.