View Source Dagger.Label (dagger v0.10.0)

A simple key value object that represents a label.

Link to this section Summary

Functions

A unique identifier for this Label.

The label name.

The label value.

Link to this section Types

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

Link to this section Functions

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

A unique identifier for this Label.

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

The label name.

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

The label value.