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) GetPodLogs(podName string, containerName string, endMessage string) (string, error)
- func (c *JobClient) LaunchK8sJob(jobName string, image string, 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 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) GetPodLogs ¶
func (*JobClient) LaunchK8sJob ¶
Click to show internal directories.
Click to hide internal directories.