- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for featuresEnabled (0.17 sec)
-
pkg/controlplane/apiserver/options/validation_test.go
tests := []struct { name string featuresEnabled []featuregate.Feature }{ { name: "enabled: UnknownVersionInteroperabilityProxy, disabled: StorageVersionAPI", featuresEnabled: []featuregate.Feature{features.UnknownVersionInteroperabilityProxy}, }, } for _, test := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
} func testWorkloadDefaults(t *testing.T, featuresEnabled bool) { allFeatures := utilfeature.DefaultFeatureGate.DeepCopy().GetAll() for feature, featureSpec := range allFeatures { if !featureSpec.LockToDefault { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, feature, featuresEnabled) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
tests := []struct { name string featureEnabled bool seLinuxMountValue *bool expectError bool }{{ name: "feature enabled, nil value", featureEnabled: true, seLinuxMountValue: nil, expectError: true, }, { name: "feature enabled, non-nil value", featureEnabled: true, seLinuxMountValue: utilpointer.Bool(true),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go
}, }, featureEnabled: true, }, } for i, test := range tests { t.Run(test.name, func(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.StructuredAuthorizationConfiguration, test.featureEnabled)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.2K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission_test.go
obj runtime.Object featureEnabled bool expectError string }{ "create allowed, enabled": { operation: admission.Create, obj: sliceNode, featureEnabled: true, expectError: "", }, "create disallowed, enabled": { operation: admission.Create, obj: sliceOtherNode, featureEnabled: true, expectError: err, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 73.2K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
}, }, featureEnabled: false, expectedErr: `matchConditions: Invalid value: "": matchConditions are not supported when StructuredAuthorizationConfiguration feature gate is disabled`, }, { name: "no matchConditions should not require feature enablement", matchConditions: []api.WebhookMatchCondition{}, featureEnabled: false, expectedErr: "", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
pkg/api/pod/util_test.go
oldPodMeta *metav1.ObjectMeta featureEnabled bool wantAllowInvalidPodDeletionCost bool }{ { name: "CreateFeatureEnabled", featureEnabled: true, wantAllowInvalidPodDeletionCost: false, }, { name: "CreateFeatureDisabled", featureEnabled: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
kubelet := testKubelet.kubelet kubelet.statusManager = status.NewFakeManager() for tdesc, tc := range map[string]struct { testPodStatus *kubecontainer.PodStatus featureEnabled bool expectedContainerStatus []v1.ContainerStatus }{ "nil user, SupplementalGroupsPolicy is disabled": { testPodStaus(nil), false, expectedContainerStatuses(nil), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0)