BuildIdentityPod
Builds and returns a new Kubernetes Pod object with basic TypeMeta information set to "Pod" kind and the appropriate API version.
def BuildIdentityPod() - > *v1.Pod
Builds and returns a new Kubernetes Pod object with the Kind and APIVersion fields initialized. Callers use this to create a basic Pod object that can then be further configured.
Returns
| Type | Description |
|---|---|
*v1.Pod | A pointer to a newly created v1.Pod object with TypeMeta fields set. |