Versions in this module Expand all Collapse all v0 v0.4.2 Mar 29, 2019 v0.4.1 Mar 11, 2019 Changes in this version + func FilterPods(pods []*v1.Pod, phase v1.PodPhase) int + func GetPodResources(template *v1.PodTemplateSpec) *schedulerapi.Resource + type Factory func(config *rest.Config) Interface + type Interface interface + Cleanup func(queuejob *qjobv1.XQueueJob, qjobRes *qjobv1.XQueueJobResource) error + GetAggregatedResources func(queuejob *qjobv1.XQueueJob) *schedulerapi.Resource + GetAggregatedResourcesByPriority func(priority int, queuejob *qjobv1.XQueueJob) *schedulerapi.Resource + Run func(stopCh <-chan struct{}) + SyncQueueJob func(queuejob *qjobv1.XQueueJob, qjobRes *qjobv1.XQueueJobResource) error + UpdateQueueJobStatus func(queuejob *qjobv1.XQueueJob) error + type RefByLabel struct + func (rm *RefByLabel) AddReference(owner *qjobv1.XQueueJobResource, ownee runtime.Object) error + func (rm *RefByLabel) AddTag(owner *qjobv1.XQueueJobResource, getTag func() string) error + func (rm *RefByLabel) BelongTo(owner *qjobv1.XQueueJobResource, ownee runtime.Object) bool + type RefManager interface + AddReference func(owner *qjobv1.XQueueJobResource, ownee runtime.Object) error + AddTag func(owner *qjobv1.XQueueJobResource, getTag func() string) error + BelongTo func(owner *qjobv1.XQueueJobResource, ownee runtime.Object) bool + func NewLabelRefManager() RefManager + type RegisteredResources struct + func (rres *RegisteredResources) InitQueueJobResource(t qjobv1.ResourceType, config *rest.Config) (Interface, bool, error) + func (rres *RegisteredResources) Register(t qjobv1.ResourceType, factory Factory) + func (rres *RegisteredResources) Registered() []qjobv1.ResourceType