Documentation ¶
Index ¶
- type JobClient
- func (c *JobClient) AbortK8sJob(jobName string) *testkube.ExecutionResult
- func (c *JobClient) CreatePersistentVolume(name string) error
- func (c *JobClient) CreatePersistentVolumeClaim(name string) error
- func (c *JobClient) GetJobPods(podsClient pods.PodInterface, jobName string, retryNr, retryCount int) (*v1.PodList, error)
- func (c *JobClient) GetPodLogs(podName string, execution testkube.Execution, repo result.Repository, ...) (string, error)
- func (c *JobClient) LaunchK8sJob(image string, repo result.Repository, execution testkube.Execution) (testkube.ExecutionResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobClient ¶
type JobClient struct { ClientSet *kubernetes.Clientset Repository result.Repository Namespace string Cmd string }
func NewJobClient ¶
func (*JobClient) AbortK8sJob ¶
func (c *JobClient) AbortK8sJob(jobName string) *testkube.ExecutionResult
func (*JobClient) CreatePersistentVolume ¶
func (*JobClient) CreatePersistentVolumeClaim ¶
func (*JobClient) GetJobPods ¶ added in v0.6.4
func (*JobClient) GetPodLogs ¶
func (*JobClient) LaunchK8sJob ¶
func (c *JobClient) LaunchK8sJob(image string, repo result.Repository, execution testkube.Execution) (testkube.ExecutionResult, error)
Click to show internal directories.
Click to hide internal directories.