- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 194 for preemptionPolicy (1.31 sec)
-
pkg/apis/scheduling/v1/defaults_test.go
priorityClass := &v1.PriorityClass{} output := roundTrip(t, runtime.Object(priorityClass)).(*v1.PriorityClass) if output.PreemptionPolicy == nil || *output.PreemptionPolicy != apiv1.PreemptLowerPriority { t.Errorf("Expected PriorityClass.PreemptionPolicy value: %+v\ngot: %+v\n", apiv1.PreemptLowerPriority, output.PreemptionPolicy) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/apis/scheduling/zz_generated.deepcopy.go
func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.PreemptionPolicy != nil { in, out := &in.PreemptionPolicy, &out.PreemptionPolicy *out = new(core.PreemptionPolicy) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.6K bytes - Viewed (0) -
pkg/apis/scheduling/fuzzer/fuzzer.go
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { return []interface{}{ func(s *scheduling.PriorityClass, c fuzz.Continue) { c.FuzzNoCustom(s) if s.PreemptionPolicy == nil { preemptLowerPriority := core.PreemptLowerPriority s.PreemptionPolicy = &preemptLowerPriority } }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1/zz_generated.deepcopy.go
func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.PreemptionPolicy != nil { in, out := &in.PreemptionPolicy, &out.PreemptionPolicy *out = new(corev1.PreemptionPolicy) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1beta1/zz_generated.deepcopy.go
func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.PreemptionPolicy != nil { in, out := &in.PreemptionPolicy, &out.PreemptionPolicy *out = new(v1.PreemptionPolicy) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.6K bytes - Viewed (0) -
pkg/apis/scheduling/v1alpha1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/apis/scheduling/v1beta1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1/generated.pb.go
} func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.PreemptionPolicy != nil { i -= len(*m.PreemptionPolicy) copy(dAtA[i:], *m.PreemptionPolicy) i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy))) i-- dAtA[i] = 0x2a } i -= len(m.Description) copy(dAtA[i:], m.Description)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/apis/scheduling/v1beta1/defaults.go
} // SetDefaults_PriorityClass sets additional defaults compared to its counterpart // in extensions. func SetDefaults_PriorityClass(obj *v1beta1.PriorityClass) { if obj.PreemptionPolicy == nil { preemptLowerPriority := apiv1.PreemptLowerPriority obj.PreemptionPolicy = &preemptLowerPriority }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 1.1K bytes - Viewed (0) -
pkg/apis/scheduling/types.go
// when this priority class should be used. // +optional Description string // preemptionPolicy it the Policy for preempting pods with lower priority. // One of Never, PreemptLowerPriority. // Defaults to PreemptLowerPriority if unset. // +optional PreemptionPolicy *core.PreemptionPolicy } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 23:13:00 UTC 2024 - 3.7K bytes - Viewed (0)