- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for newString (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
}, expectedErrList: field.ErrorList{field.Required(field.NewPath("authorizers"), "at least one authorization mode must be defined")}, knownTypes: sets.NewString(), repeatableTypes: sets.NewString(), }, { name: "type and name are required if an authorizer is defined", configuration: api.AuthorizationConfiguration{ Authorizers: []api.AuthorizerConfiguration{ {},
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/apis/admissionregistration/validation/validation.go
} return allErrors } var supportedFailurePolicies = sets.NewString( string(admissionregistration.Ignore), string(admissionregistration.Fail), ) var supportedMatchPolicies = sets.NewString( string(admissionregistration.Exact), string(admissionregistration.Equivalent), ) var supportedSideEffectClasses = sets.NewString( string(admissionregistration.SideEffectClassUnknown),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
t.Errorf("Unexpected error: %v", err) } if len(kubeClient.Actions()) == 0 { t.Errorf("Expected a client action") } expectedActionSet := sets.NewString( strings.Join([]string{"update", "resourcequotas", "status"}, "-"), ) actionSet := sets.NewString() for _, action := range kubeClient.Actions() { actionSet.Insert(strings.Join([]string{action.GetVerb(), action.GetResource().Resource, action.GetSubresource()}, "-"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission_test.go
a: nil, b: nil, want: sets.NewString(), }, { name: "no change", a: map[string]string{"x": "1", "y": "2", "z": "3"}, b: map[string]string{"x": "1", "y": "2", "z": "3"}, want: sets.NewString(), }, { name: "added", a: map[string]string{}, b: map[string]string{"a": "0"}, want: sets.NewString("a"), }, { name: "removed",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 73.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
"k8s.io/apiserver/pkg/util/webhook" ) var ( printerColumnDatatypes = sets.NewString("integer", "number", "string", "boolean", "date") customResourceColumnDefinitionFormats = sets.NewString("int32", "int64", "float", "double", "byte", "date", "date-time", "password") openapiV3Types = sets.NewString("string", "number", "integer", "boolean", "array", "object") ) const (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
var longRunningFilter = genericfilters.BasicLongRunningRequestCheck(sets.NewString("watch"), sets.NewString()) // possiblyAcrossAllNamespacesVerbs contains those verbs which can be per-namespace and across all // namespaces for namespaces resources. I.e. for these an empty namespace in the requestInfo is fine. var possiblyAcrossAllNamespacesVerbs = sets.NewString("list", "watch")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
pod1.ResourceVersion = "1" pod2 := pod1 pod2.Labels = labelMap2 pod2.ResourceVersion = "2" manager.updatePod(logger, &pod1, &pod2) expected := sets.NewString(testRSSpec1.Name) for _, name := range expected.List() { t.Logf("Expecting update for %+v", name) select { case got := <-received: if !expected.Has(got) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
Spec: &extensions.WasmPlugin{ Phase: extensions.PluginPhase_STATS, }, }, { Meta: config.Meta{Name: uuid.NewString(), Namespace: "istio-system", GroupVersionKind: gvk.AuthorizationPolicy}, Spec: &security.AuthorizationPolicy{}, }, { Meta: config.Meta{Name: uuid.NewString(), Namespace: "istio-system", GroupVersionKind: gvk.AuthorizationPolicy}, Spec: &security.AuthorizationPolicy{ Selector: nil,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
src/html/template/exec_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0)