Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTemplateObjectMeta ¶
func GetTemplateObjectMeta(w any) *metav1.ObjectMeta
Types ¶
type Workload ¶
type Workload interface { *appsv1.Deployment | *appsv1.DaemonSet | *appsv1.StatefulSet | *batchv1.Job | *batchv1.CronJob // Workload implements metav1.Object interface metav1.Object }
The workload is an apps/v1 Deployment, DaemonSet, StatefulSet and batch/v1 Job, CronJob resource. NOTE: ReplicaSet is managed by Deployment and is not a Workload
Click to show internal directories.
Click to hide internal directories.