View Source Dagger.Port (dagger v0.9.11)

A port exposed by a container.

Link to this section 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.

Link to this section Types

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

Link to this section Functions

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

The port description.

Link to this function

experimental_skip_healthcheck(port)

View Source
@spec experimental_skip_healthcheck(t()) ::
  {:ok, Dagger.Boolean.t()} | {: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, Dagger.Int.t()} | {:error, term()}

The port number.

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

The transport layer protocol.