- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 282 for intVar (0.25 sec)
-
pkg/controller/deployment/sync_test.go
}, { name: "saturated but broken new replica set does not affect old pods", deployment: newDeployment("foo", 2, nil, ptr.To(intstr.FromInt32(1)), ptr.To(intstr.FromInt32(1)), nil), oldDeployment: newDeployment("foo", 2, nil, ptr.To(intstr.FromInt32(1)), ptr.To(intstr.FromInt32(1)), nil), newRS: func() *apps.ReplicaSet { rs := rs("foo-v2", 2, nil, newTimestamp) rs.Status.AvailableReplicas = 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 21.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
src/slices/iter_test.go
} if !s.inOrder(false) { t.Errorf("SortedStableFunc wasn't stable on %d ints", n) } // iterVal converts a Seq2 to a Seq. iterVal := func(seq iter.Seq2[int, intPair]) iter.Seq[intPair] { return func(yield func(intPair) bool) { for _, v := range seq { if !yield(v) { return } } } } s = intPairs(SortedStableFunc(iterVal(Backward(data)), intPairCmp))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/apis/apps/v1/conversion_test.go
} } } func TestV1RollingUpdateDeploymentConversion(t *testing.T) { nilIntStr := intstr.IntOrString{} maxUnavailable := intstr.FromInt32(2) maxSurge := intstr.FromInt32(2) testcases := map[string]struct { rollingUpdateDeployment1 *apps.RollingUpdateDeployment rollingUpdateDeployment2 *appsv1.RollingUpdateDeployment }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/controlplane/import_known_versions_test.go
import ( "reflect" "testing" v1 "k8s.io/api/core/v1" apinamingtest "k8s.io/apimachinery/pkg/api/apitesting/naming" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/kubernetes/pkg/api/legacyscheme" ) func TestGroupVersions(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 22 18:47:31 UTC 2021 - 3.1K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/storage/storage_test.go
*/ package storage import ( "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/util/intstr" genericapirequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/registry/generic" genericregistrytest "k8s.io/apiserver/pkg/registry/generic/testing" "k8s.io/apiserver/pkg/registry/rest"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/api/service/testing/make.go
See the License for the specific language governing permissions and limitations under the License. */ package testing import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" utilpointer "k8s.io/utils/pointer" api "k8s.io/kubernetes/pkg/apis/core" ) // Tweak is a function that modifies a Service. type Tweak func(*api.Service)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/conversion_test.go
} } } func TestV1beta2RollingUpdateDeploymentConversion(t *testing.T) { nilIntStr := intstr.IntOrString{} maxUnavailable := intstr.FromInt32(2) maxSurge := intstr.FromInt32(2) testcases := map[string]struct { rollingUpdateDeployment1 *apps.RollingUpdateDeployment rollingUpdateDeployment2 *v1beta2.RollingUpdateDeployment }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 22.7K bytes - Viewed (0) -
src/go/types/assignments.go
if x.mode == invalid { return } lhs.val = x.val } // initVar checks the initialization lhs = x in a variable declaration. // If lhs doesn't have a type yet, it is given the type of x, // or Typ[Invalid] in case of an error. // If the initialization check fails, x.mode is set to invalid. func (check *Checker) initVar(lhs *Var, x *operand, context string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/extensions.go
limitations under the License. */ package openapi import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apiserver/pkg/cel/common" "k8s.io/kube-openapi/pkg/validation/spec" ) var intOrStringFormat = intstr.IntOrString{}.OpenAPISchemaFormat() func isExtension(schema *spec.Schema, key string) bool { v, ok := schema.Extensions.GetBool(key) return v && ok }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 2.9K bytes - Viewed (0)