Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for nulla (0.15 sec)

  1. cni/pkg/nodeagent/informers_test.go

    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneModeLabel))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver_test.go

    	m, fds := readRequest(t, ztunClient)
    	// we got am essage from ztun, so it should have observed us being connected
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    	// we should get the fd to dev null. note that we can't assert the fd number
    	// as the kernel may have given us a different number that refers to the same file.
    	assert.Equal(t, len(fds), 1)
    	// in theory we should close the fd, but it's just a test..
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create gateway: %v", err)
    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			// strip junk
    			res := strings.ReplaceAll(string(b), `  creationTimestamp: null
    `, "")
    			res = strings.ReplaceAll(res, `status: {}
    `, "")
    			fmt.Fprint(cmd.OutOrStdout(), res)
    			return nil
    		},
    	}
    	waypointGenerateCmd.PersistentFlags().StringVar(&trafficType,
    		"for",
    		"",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    						"istio-proxy"
    					],
    					"volumes": [
    						"istio-envoy",
    						"istio-data",
    						"istio-podinfo",
    						"istio-token",
    						"istiod-ca-cert"
    					],
    					"imagePullSecrets": null,
    					"revision": "1-13-2"
    				}`,
    			},
    			expected: "1-13-2",
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run("", func(t *testing.T) {
    			got := GetRevisionFromPodAnnotation(tc.anno)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil.go

    	`{"metadata":{"annotations":{"%s":"%s"}}}`,
    	constants.AmbientRedirection,
    	constants.AmbientRedirectionEnabled,
    ))
    
    var annotationRemovePatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":null}}}`,
    	constants.AmbientRedirection,
    ))
    
    // PodRedirectionEnabled determines if a pod should or should not be configured
    // to have traffic redirected thru the node proxy.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    				}
    				wantOutput := fmt.Sprintf(`# This file is autogenerated, do not edit.
    apiVersion: v1
    kind: Secret
    metadata:
      annotations:
        %s: 54643f96-eca0-11e9-bb97-42010a80000a
      creationTimestamp: null
      labels:
        istio/multiCluster: "true"
      name: %s
      namespace: istio-system-test
    stringData:
      %s: |
        apiVersion: v1
        clusters:
        - cluster:
            certificate-authority-data: Y2FEYXRh
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate_test.go

    func TestBareValues(t *testing.T) {
    	inPathBase := filepath.Join(testDataDir, "input/bare_values.yaml")
    	// As long as the generate doesn't panic, we pass it.  bare_values.yaml doesn't
    	// overlay well because JSON doesn't handle null values, and our charts
    	// don't expect values to be blown away.
    	_, _ = runManifestGenerate([]string{inPathBase}, "", liveCharts, []string{"templates/deployment.yaml"})
    }
    
    func TestBogusControlPlaneSec(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top