View Source Dagger.Label (dagger v0.15.1)

A simple key value object that represents a label.

Summary

Functions

A unique identifier for this Label.

The label name.

The label value.

Types

t()

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

Functions

id(label)

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

A unique identifier for this Label.

name(label)

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

The label name.

value(label)

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

The label value.