- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Percent (0.15 sec)
-
pkg/config/validation/validation_test.go
Percentage: &networking.Percent{ Value: 0.001, }, ErrorType: &networking.HTTPFaultInjection_Abort_HttpStatus{ HttpStatus: 200, }, }, valid: true}, {name: "invalid fractional percent", in: &networking.HTTPFaultInjection_Abort{ Percentage: &networking.Percent{ Value: -10.0, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
autoscalingv2.HPAScalingPolicy{Type: autoscalingv2.PodsScalingPolicy, Value: pods, PeriodSeconds: podsPeriod}) } if percent != 0 { directionBehavior.Policies = append(directionBehavior.Policies, autoscalingv2.HPAScalingPolicy{Type: autoscalingv2.PercentScalingPolicy, Value: percent, PeriodSeconds: percentPeriod}) } return &directionBehavior }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
tweakMaxUnavailable(intstr.FromInt32(0)), ), errs: field.ErrorList{ field.Invalid(field.NewPath("spec", "updateStrategy", "rollingUpdate", "maxUnavailable"), nil, ""), }, }, { name: "zero percent maxUnavailable", set: mkStatefulSet(&validPodTemplate, tweakReplicas(3), tweakUpdateStrategyType(apps.RollingUpdateStatefulSetStrategyType), tweakMaxUnavailable(intstr.FromString("0%")), ),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/config/validation/validation.go
} return nil } // ValidatePercent checks that percent is in range func ValidatePercent(val int32) error { if val < 0 || val > 100 { return fmt.Errorf("percentage %v is not in range 0..100", val) } return nil } // validatePercentage checks if the specified fractional percentage is valid. func validatePercentage(percentage *networking.Percent) error { if percentage != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
src/net/http/server.go
// For example, in 1.22 the pattern "/%61" matches the path "/a" ("%61" being the URL escape sequence for "a"), // but in 1.21 it would match only the path "/%2561" (where "%25" is the escape for the percent sign). // - When matching patterns to paths, in 1.22 each segment of the path is unescaped; in 1.21, the entire path is unescaped. // This change mostly affects how paths with %2F escapes adjacent to slashes are treated.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
}), valid: []string{ "!has(self.something)", }, errors: map[string]string{ "type(self.something) == int": "no such key", }, }, {name: "percent comparison using intOrString", obj: map[string]interface{}{ "min": "50%", "current": 5, "available": 10, }, schema: objectTypePtr(map[string]schema.Structural{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// for coverage. There isn't any technical reason why // *_test.go files couldn't be instrumented, but it probably // doesn't make much sense to lump together coverage metrics // (ex: percent stmts covered) of *_test.go files with // non-test Go code. if len(p.GoFiles)+len(p.CgoFiles) == 0 { continue } // Silently ignore attempts to run coverage on sync/atomic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
ContainerID: emptyContainerID, }}, }, }, // For terminated container: // * If there is no recent start error record, State should be Terminated, LastTerminationState should be retrieved from // second latest terminated status; // * If there is recent start error record, State should be Waiting, LastTerminationState should be retrieved from latest // terminated status;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
cmd/site-replication.go
} for group := range info.GroupStats { c.healGroupPolicies(ctx, objAPI, group, info) } return nil } // heal iam policies present on this site to peers, provided current cluster has the most recent update. func (c *SiteReplicationSys) healPolicies(ctx context.Context, objAPI ObjectLayer, policy string, info srStatusInfo) error { // create IAM policy on peer cluster if missing ps := info.PolicyStats[policy]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
klet.usernsManager, err = userns.MakeUserNsManager(klet) if err != nil { return nil, err } klet.admitHandlers.AddPodAdmitHandler(shutdownAdmitHandler) // Finally, put the most recent version of the config on the Kubelet, so // people can see how it was configured. klet.kubeletConfiguration = *kubeCfg // Generating the status funcs should be the last thing we do,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)