func (f *Framework) GetJob(name, namespace string) (*batchv1.Job, error) {
	return f.KubeClient.BatchV1().Jobs(namespace).Get(context.TODO(), name, metav1.GetOptions{})
}
GetJob retrieves the specified job.
package framework
import (
	"context"
	"fmt"
	"time"
	batchv1 "k8s.io/api/batch/v1"
	corev1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/util/wait"
	"k8s.io/apimachinery/pkg/util/yaml"
)
func (f *Framework) ListJobs() (*batchv1.JobList, error) {
	opts := f.getHelmReleaseSelectorListOptions()
	return f.KubeClient.BatchV1().Jobs(corev1.NamespaceAll).List(context.TODO(), opts)
}