- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 69 for newErrs (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/ip.go
func (d IP) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case IPType: return d case types.TypeType: return IPType case types.StringType: return types.String(d.Addr.String()) } return types.NewErr("type conversion error from '%s' to '%s'", IPType, typeVal) } // Equal implements ref.Val.Equal. func (d IP) Equal(other ref.Val) ref.Val { otherD, ok := other.(IP) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 11:02:33 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/format.go
} func (d *Format) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case FormatType: return d case types.TypeType: return FormatType default: return types.NewErr("type conversion error from '%s' to '%s'", FormatType, typeVal) } } func (d *Format) Equal(other ref.Val) ref.Val { otherDur, ok := other.(*Format) if !ok { return types.MaybeNoSuchOverloadErr(other) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/url.go
// ConvertToType implements ref.Val.ConvertToType. func (d URL) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case typeValue: return d case types.TypeType: return typeValue } return types.NewErr("type conversion error from '%s' to '%s'", typeValue, typeVal) } // Equal implements ref.Val.Equal. func (d URL) Equal(other ref.Val) ref.Val { otherDur, ok := other.(URL) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 2K bytes - Viewed (0) -
pkg/controller/deployment/recreate_test.go
if *rs.Spec.Replicas != 0 { t.Errorf("rs %q has non-zero replicas", rs.Name) } } } } func TestOldPodsRunning(t *testing.T) { tests := []struct { name string newRS *apps.ReplicaSet oldRSs []*apps.ReplicaSet podMap map[types.UID][]*v1.Pod hasOldPodsRunning bool }{ { name: "no old RSs", hasOldPodsRunning: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/cidr.go
switch typeVal { case CIDRType: return d case types.TypeType: return CIDRType case types.StringType: return types.String(d.Prefix.String()) } return types.NewErr("type conversion error from '%s' to '%s'", CIDRType, typeVal) } // Equal implements ref.Val.Equal. func (d CIDR) Equal(other ref.Val) ref.Val { otherD, ok := other.(CIDR) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:04 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/kube/inject/webhook.go
if len(pair[0]) > 0 && len(pair) == 2 { newRes = append(newRes, pair...) } } return newRes } newRes = strings.Split(parts[2], "/") } for i, value := range newRes { if i%2 != 0 { // Replace --slash-- with / in values. newRes[i] = strings.ReplaceAll(value, "--slash--", "/") } } return newRes }(path) newEnvs := make(map[string]string)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 42.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/urls.go
} // Use ParseRequestURI to check the URL before conversion. // ParseRequestURI requires absolute URLs and is used by the OpenAPIv3 'uri' format. _, err := url.ParseRequestURI(s) if err != nil { return types.NewErr("URL parse error during conversion from string: %v", err) } // We must parse again with Parse since ParseRequestURI incorrectly parses URLs that contain a fragment
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/controller/deployment/rollback.go
func (dc *DeploymentController) rollback(ctx context.Context, d *apps.Deployment, rsList []*apps.ReplicaSet) error { logger := klog.FromContext(ctx) newRS, allOldRSs, err := dc.getAllReplicaSetsAndSyncRevision(ctx, d, rsList, true) if err != nil { return err } allRSs := append(allOldRSs, newRS) rollbackTo := getRollbackTo(d) // If rollback revision is 0, rollback to the last revision if rollbackTo.Revision == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} throw new ParameterHasNoDistinctValueException(params.get(i)); } newArgs.set(i, newArg); tester.addEqualityGroup(createInstance(factory, newArgs)); argGroups.add(ImmutableList.of(newArgs)); } tester.testEquals(); } /** * Returns dummy factory arguments that are equal to {@code args} but may be different instances,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} throw new ParameterHasNoDistinctValueException(params.get(i)); } newArgs.set(i, newArg); tester.addEqualityGroup(createInstance(factory, newArgs)); argGroups.add(ImmutableList.of(newArgs)); } tester.testEquals(); } /** * Returns dummy factory arguments that are equal to {@code args} but may be different instances,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0)