podcontrol

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL