Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 218 for desc1 (0.07 sec)

  1. common/config/.golangci.yml

                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    	testCases := []struct {
    		desc          string
    		initialVerb   string
    		suggestedVerb string
    		request       *http.Request
    		requestInfo   *request.RequestInfo
    		expectedVerb  string
    	}{
    		{
    			desc:         "An empty string should be designated as unknown",
    			initialVerb:  "",
    			request:      nil,
    			expectedVerb: "other",
    		},
    		{
    			desc:         "LIST should normally map to LIST",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/testing/sub_test.go

    			}
    			ok := root.Run(tc.desc, tc.f)
    			ctx.release()
    
    			if ok != tc.ok {
    				t.Errorf("%s:ok: got %v; want %v", tc.desc, ok, tc.ok)
    			}
    			if ok != !root.Failed() {
    				t.Errorf("%s:root failed: got %v; want %v", tc.desc, !ok, root.Failed())
    			}
    			if ctx.running != 0 || ctx.numWaiting != 0 {
    				t.Errorf("%s:running and waiting non-zero: got %d and %d", tc.desc, ctx.running, ctx.numWaiting)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  4. pkg/kubelet/config/http_test.go

    }
    
    func TestExtractInvalidPods(t *testing.T) {
    	var testCases = []struct {
    		desc string
    		pod  *v1.Pod
    	}{
    		{
    			desc: "No version",
    			pod:  &v1.Pod{TypeMeta: metav1.TypeMeta{APIVersion: ""}},
    		},
    		{
    			desc: "Invalid version",
    			pod:  &v1.Pod{TypeMeta: metav1.TypeMeta{APIVersion: "v1betta2"}},
    		},
    		{
    			desc: "Invalid volume name",
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{APIVersion: "v1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler_test.go

    			t.Fatalf("test %q - expected no error but got %v", test.desc, err)
    		}
    
    		if !reflect.DeepEqual(subresourceEntries, test.expected) {
    			t.Fatalf("test %q - expected output to be:\n%v\n\nbut got:\n%v", test.desc, test.expected, subresourceEntries)
    		}
    	}
    }
    
    func TestTransformingManagedFieldsToParent(t *testing.T) {
    	tests := []struct {
    		desc        string
    		parent      []metav1.ManagedFieldsEntry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/ipset/ipset_test.go

    	testCases := []struct {
    		portRange string
    		expectErr bool
    		desc      string
    	}{
    		{ // case[0]
    			portRange: "a-b",
    			expectErr: true,
    			desc:      "invalid port number",
    		},
    		{ // case[1]
    			portRange: "1-2",
    			expectErr: false,
    			desc:      "valid",
    		},
    		{ // case[2]
    			portRange: "90-1",
    			expectErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics_test.go

    	defer registry.Reset()
    	registry.Register(decodeErrorCounts)
    	resourceName := "pods"
    	testedMetrics := "apiserver_storage_decode_errors_total"
    	testCases := []struct {
    		desc     string
    		resource string
    		want     string
    	}{
    		{
    			desc:     "test success",
    			resource: resourceName,
    			want: `
    		# HELP apiserver_storage_decode_errors_total [ALPHA] Number of stored object decode errors split by object type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		desc           string
    		spec           *v1.PodSpec
    		wantContainers []string
    		mask           ContainerType
    	}{
    		{
    			desc:           "empty podspec",
    			spec:           &v1.PodSpec{},
    			wantContainers: []string{},
    			mask:           AllContainers,
    		},
    		{
    			desc: "regular containers",
    			spec: &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    			"failed WriteCert with an error: %v",
    			err,
    		)
    	}
    
    	var tests = []struct {
    		desc     string
    		path     string
    		name     string
    		expected bool
    	}{
    		{
    			desc:     "empty path and name",
    			path:     "",
    			name:     "",
    			expected: false,
    		},
    		{
    			desc:     "valid path and name, both cert and key exist",
    			path:     tmpdir,
    			name:     "foo-0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. operator/pkg/translate/translate_value_test.go

    				}
    
    			}
    		})
    	}
    }
    
    func TestValueToK8s(t *testing.T) {
    	tests := []struct {
    		desc      string
    		inIOPSpec string
    		want      string
    		wantErr   string
    	}{
    		{
    			desc: "pilot env k8s setting with values",
    			inIOPSpec: `
    spec:
      components:
        pilot:
          k8s:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top