MCPcopy
hub / github.com/kubernetes/kubernetes / UID

Method UID

pkg/scheduler/framework/preemption/executor.go:57–57  ·  view source on GitHub ↗

UID returns the UID of the object that is triggering preemption.

()

Source from the content-addressed store, hash-verified

55 klog.KMetadata
56 // UID returns the UID of the object that is triggering preemption.
57 UID() types.UID
58 // SchedulerName returns the scheduler name assigned to the object that is triggering preemption.
59 SchedulerName() string
60 // Obj returns the object that is triggering preemption.

Callers 15

TestIndexFunction · 0.65
TestIndex2Function · 0.65
pcrFunction · 0.65
makeTestPodFunction · 0.65
makeTestServiceAccountFunction · 0.65
createPCRAttributesFunction · 0.65
BenchmarkVerifyNamespaceFunction · 0.65
TestEventRateLimitingFunction · 0.65
TestAutomountsAPITokenFunction · 0.65

Implementers 2

podExecutorPreemptorpkg/scheduler/framework/preemption/exe
podGroupExecutorPreemptorpkg/scheduler/framework/preemption/exe

Calls

no outgoing calls

Tested by 15

TestIndexFunction · 0.52
TestIndex2Function · 0.52
pcrFunction · 0.52
makeTestPodFunction · 0.52
makeTestServiceAccountFunction · 0.52
createPCRAttributesFunction · 0.52
BenchmarkVerifyNamespaceFunction · 0.52
TestEventRateLimitingFunction · 0.52
TestAutomountsAPITokenFunction · 0.52