- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 143 for PriorityClass (0.17 sec)
-
api/discovery/apis__scheduling.k8s.io__v1.json
{ "apiVersion": "v1", "groupVersion": "scheduling.k8s.io/v1", "kind": "APIResourceList", "resources": [ { "kind": "PriorityClass", "name": "priorityclasses", "namespaced": false, "shortNames": [ "pc" ], "singularName": "priorityclass", "storageVersionHash": "1QwjyaZjj3Y=", "verbs": [ "create", "delete", "deletecollection", "get",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 15 18:18:19 UTC 2023 - 519 bytes - Viewed (0) -
pkg/registry/scheduling/priorityclass/storage/storage_test.go
} rest, err := NewREST(restOptions) if err != nil { t.Fatalf("unable to create REST %v", err) } return rest, server } func validNewPriorityClass() *scheduling.PriorityClass { return &scheduling.PriorityClass{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", }, Value: 100, GlobalDefault: false, Description: "This is created only for testing.", } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 23 16:51:57 UTC 2019 - 5.1K bytes - Viewed (0) -
pkg/apis/scheduling/v1/zz_generated.defaults.go
scheme.AddTypeDefaultingFunc(&v1.PriorityClass{}, func(obj interface{}) { SetObjectDefaults_PriorityClass(obj.(*v1.PriorityClass)) }) scheme.AddTypeDefaultingFunc(&v1.PriorityClassList{}, func(obj interface{}) { SetObjectDefaults_PriorityClassList(obj.(*v1.PriorityClassList)) }) return nil } func SetObjectDefaults_PriorityClass(in *v1.PriorityClass) { SetDefaults_PriorityClass(in) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.5K bytes - Viewed (0) -
pkg/apis/scheduling/validation/validation.go
) // ValidatePriorityClass tests whether required fields in the PriorityClass are // set correctly. func ValidatePriorityClass(pc *scheduling.PriorityClass) field.ErrorList { allErrs := field.ErrorList{} allErrs = append(allErrs, apivalidation.ValidateObjectMeta(&pc.ObjectMeta, false, apimachineryvalidation.NameIsDNSSubdomain, field.NewPath("metadata"))...) // If the priorityClass starts with a system prefix, it must be one of the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:30:47 UTC 2022 - 3K bytes - Viewed (0) -
pkg/apis/scheduling/v1/defaults_test.go
return nil } return obj3 } func TestSetDefaultPreemptionPolicy(t *testing.T) { 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) -
staging/src/k8s.io/api/scheduling/v1alpha1/generated.proto
option go_package = "k8s.io/api/scheduling/v1alpha1"; // DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. // PriorityClass defines mapping from a priority class name to the priority // integer value. The value can be any valid integer. message PriorityClass { // Standard object's metadata.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 2.9K bytes - Viewed (0) -
plugin/pkg/admission/priority/admission.go
operation := a.GetOperation() pc, ok := a.GetObject().(*scheduling.PriorityClass) if !ok { return errors.NewBadRequest("resource was marked with kind PriorityClass but was unable to be converted") } // If the new PriorityClass tries to be the default priority, make sure that no other priority class is marked as default. if pc.GlobalDefault { dpc, err := p.getDefaultPriorityClass() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 9K bytes - Viewed (0) -
pkg/registry/scheduling/priorityclass/storage/storage.go
NewListFunc: func() runtime.Object { return &scheduling.PriorityClassList{} }, DefaultQualifiedResource: scheduling.Resource("priorityclasses"), SingularQualifiedResource: scheduling.Resource("priorityclass"), CreateStrategy: priorityclass.Strategy, UpdateStrategy: priorityclass.Strategy, DeleteStrategy: priorityclass.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 3K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go
func (in *PriorityClass) DeepCopy() *PriorityClass { if in == nil { return nil } out := new(PriorityClass) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *PriorityClass) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil {
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/v1beta1/defaults_test.go
return nil } return obj3 } func TestSetDefaultPreempting(t *testing.T) { priorityClass := &v1beta1.PriorityClass{} output := roundTrip(t, runtime.Object(priorityClass)).(*v1beta1.PriorityClass) if output.PreemptionPolicy == nil || *output.PreemptionPolicy != apiv1.PreemptLowerPriority { t.Errorf("Expected PriorityClass.Preempting 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)