- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for newString (0.11 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/port_split.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/storage.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight.go
// longer will increase the metric value. inflightUsageMetricUpdatePeriod = time.Second ) var ( nonMutatingRequestVerbs = sets.NewString("get", "list", "watch") watchVerbs = sets.NewString("watch") ) func handleError(w http.ResponseWriter, r *http.Request, err error) { errorMsg := fmt.Sprintf("Internal Server Error: %#v", r.RequestURI)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 11:34:15 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/apis/certificates/v1beta1/defaults.go
return certificates.IsKubeletClientCSR(req, usagesToSet(usages)) } func usagesToSet(usages []certificatesv1beta1.KeyUsage) sets.String { result := sets.NewString() for _, usage := range usages { result.Insert(string(usage)) } return result
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 18 15:37:57 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/handler.go
return h.operations.Has(string(operation)) } // NewHandler creates a new base handler that handles the passed // in operations func NewHandler(ops ...Operation) *Handler { operations := sets.NewString() for _, op := range ops { operations.Insert(string(op)) } return &Handler{ operations: operations, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 08:47:19 UTC 2017 - 2.2K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/config.go
} // validate the file and return any error if errors := validation.ValidateAuthorizationConfiguration(nil, authorizationConfiguration, sets.NewString(modes.AuthorizationModeChoices...), sets.NewString(repeatableAuthorizerTypes...), ); len(errors) != 0 { return nil, fmt.Errorf(errors.ToAggregate().Error()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 8K bytes - Viewed (0) -
tests/integration/telemetry/tracing/zipkin/client_tracing_test.go
cluster := cluster t.NewSubTest(cluster.StableName()).Run(func(ctx framework.TestContext) { retry.UntilSuccessOrFail(ctx, func() error { // Send test traffic with a trace header. id := uuid.NewString() extraHeader := map[string][]string{ tracing.TraceHeader: {id}, } err := tracing.SendTraffic(ctx, extraHeader, cluster) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/controlplane/import_known_versions_test.go
// new groups should be suffixed with ".k8s.io" (https://github.com/kubernetes/kubernetes/pull/31887#issuecomment-244462396) legacyUnsuffixedGroups := sets.NewString( "", "apps", "autoscaling", "batch", "extensions", "policy", ) // No new groups should be added to the legacyUnsuffixedGroups exclusion list if len(legacyUnsuffixedGroups) != 6 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 22 18:47:31 UTC 2021 - 3.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy_test.go
// rolesWithAllowStar are the controller roles which are allowed to contain a *. These are // namespace lifecycle and GC which have to delete anything. If you're adding to this list // tag sig-auth var rolesWithAllowStar = sets.NewString( saRolePrefix+"namespace-controller", saRolePrefix+"generic-garbage-collector", saRolePrefix+"resourcequota-controller", saRolePrefix+"horizontal-pod-autoscaler", saRolePrefix+"clusterrole-aggregation-controller",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 05:24:17 UTC 2019 - 2.9K bytes - Viewed (0) -
pkg/controlplane/storageversionhashdata/data.go
package storageversionhashdata import ( "k8s.io/apimachinery/pkg/util/sets" ) // NoStorageVersionHash lists resources that legitimately with empty storage // version hash. var NoStorageVersionHash = sets.NewString( "v1/bindings", "v1/componentstatuses", "authentication.k8s.io/v1/selfsubjectreviews", "authentication.k8s.io/v1/tokenreviews", "authorization.k8s.io/v1/localsubjectaccessreviews",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 20:14:51 UTC 2024 - 4.9K bytes - Viewed (0)