Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodFromTemplate ¶
func GetPodFromTemplate(template *corev1.PodTemplateSpec, parentObject runtime.Object, controllerRef *metav1.OwnerReference) (*corev1.Pod, error)
Types ¶
type PodControlInterface ¶
type PodControlInterface interface {
kubecontroller.PodControlInterface
// CreateThisPod creates a new pod according to the Pod object with the specified Object as its controller.
CreateThisPod(ctx context.Context, pod *corev1.Pod, object runtime.Object) error
}
func NewPodControl ¶
func NewPodControl(client client.Client, recorder record.EventRecorder) PodControlInterface
Click to show internal directories.
Click to hide internal directories.