type PodsGetter … type PodInterface … type pods … // newPods returns a Pods func newPods(c *CoreV1Client, namespace string) *pods { … } // UpdateEphemeralContainers takes the top resource name and the representation of a pod and updates it. Returns the server's representation of the pod, and an error, if there is any. func (c *pods) UpdateEphemeralContainers(ctx context.Context, podName string, pod *corev1.Pod, opts metav1.UpdateOptions) (result *corev1.Pod, err error) { … }