csharp
public readonly record struct PodIdentityThe orchestrator's own pod, as the downward API reports it.
Fields and properties (2)
public string NameIts name, from metadata.name.
public string UidIts uid, from metadata.uid — an owner reference needs both.
Methods (2)
public PodIdentity(string Name, string Uid)The orchestrator's own pod, as the downward API reports it.
public static PodIdentity? FromEnvironment(Func<string, string?>? read = null)Reads it from the environment a pod template sets.
Used by (3)
- KubernetesPlacementVixen.Live.Placement.Kubernetes
- KubernetesPlacementOptionsVixen.Live.Placement.Kubernetes
- KubernetesPlacementTestsVixen.Live.Placement.Kubernetes.Tests