Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for instead (0.19 sec)

  1. cni/pkg/repair/netns.go

    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    // * use crictl to inspect the pod; this returns the bind-mounted network namespace file.
    // * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file.
    //
    // Instead, we traverse the procfs. Comments on this method are inline.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-common.go

    	operatorNamespace string
    	// watchedNamespaces is the namespaces the operator controller watches, could be namespace list separated by comma.
    	watchedNamespaces string
    	// istioNamespace is deprecated, use watchedNamespaces instead.
    	istioNamespace string
    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	manifestsPath string
    	// revision is the Istio control plane revision the command targets.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver_test.go

    }
    
    func connectWithPods(ctx context.Context, pods PodNetnsCache) struct {
    	ztunClient *net.UnixConn
    	ztunServer *ztunnelServer
    } {
    	// go uses @ instead of \0 for abstract unix sockets
    	addr := fmt.Sprintf("@testaddr%d", ztunnelTestCounter.Add(1))
    	ztun, err := newZtunnelServer(addr, pods)
    	if err != nil {
    		panic(err)
    	}
    	go ztun.Run(ctx)
    
    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)
  4. cni/pkg/plugin/cnieventclient_test.go

    		Interface: &fakeIDX,
    		Address: net.IPNet{
    			IP: fakeIP,
    		},
    		Gateway: fakeGW,
    	}
    )
    
    func TestPushCNIAddEventSucceed(t *testing.T) {
    	// Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate  req/resp flows
    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil.go

    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    func AnnotateUnenrollPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	if pod.Annotations[constants.AmbientRedirection] != constants.AmbientRedirectionEnabled {
    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. operator/cmd/mesh/root.go

    	ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles
    (e.g. ~/Downloads/istio-` + baseVersion + `/manifests).
    `
    )
    
    const (
    	ChartsDeprecatedStr         = "Deprecated, use --manifests instead."
    	revisionFlagHelpStr         = `Target control plane revision for the command.`
    	skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top