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
Click to show internal directories.
Click to hide internal directories.