- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TestWarnings (0.15 sec)
-
pkg/api/node/util_test.go
limitations under the License. */ package node import ( "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/kubernetes/pkg/apis/node" ) func TestWarnings(t *testing.T) { testcases := []struct { name string template *node.RuntimeClass expected []string }{ { name: "null", template: nil, expected: nil, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 2K bytes - Viewed (0) -
pkg/api/persistentvolume/util_test.go
Driver: "com.google.gcepd", VolumeHandle: "foobar", }, }, } if vacName != nil { pvSpec.VolumeAttributesClassName = vacName } return pvSpec } func TestWarnings(t *testing.T) { testcases := []struct { name string template *api.PersistentVolume expected []string }{ { name: "null", template: nil, expected: nil, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
pkg/api/pod/warnings_test.go
{Name: "a"}, {Name: "a"}, }, }, } oldPod := &api.Pod{} b.ResetTimer() for i := 0; i < b.N; i++ { GetWarningsForPod(ctx, pod, oldPod) } } func TestWarnings(t *testing.T) { resources := api.ResourceList{ api.ResourceCPU: resource.MustParse("100m"), api.ResourceMemory: resource.MustParse("4m"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0)