pod

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QueueJobNameLabel label string for queuejob name
	QueueJobNameLabel string = "appwrapper-name"
)

Variables

This section is empty.

Functions

func GeneratePodFailedCondition

func GeneratePodFailedCondition(podName string, podCondition []v1.PodCondition) arbv1.PendingPodSpec

GeneratePodFailedCondition returns condition of a AppWrapper condition.

func NewQueueJobResPod

func NewQueueJobResPod(config *rest.Config) queuejobresources.Interface

NewQueueJobResPod Creates a new controller for QueueJob pods

func Register

func Register(regs *queuejobresources.RegisteredResources)

Register registers a queue job resource type

Types

type QueueJobResPod

type QueueJobResPod struct {
	// contains filtered or unexported fields
}

QueueJobResPod Controller for QueueJob pods

func (*QueueJobResPod) Run

func (qjrPod *QueueJobResPod) Run(stopCh <-chan struct{})

Run the main goroutine responsible for watching and pods.

func (*QueueJobResPod) UpdateQueueJobStatus

func (qjrPod *QueueJobResPod) UpdateQueueJobStatus(queuejob *arbv1.AppWrapper) error

Jump to

Keyboard shortcuts

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