Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for datu (0.14 sec)

  1. istioctl/pkg/workload/workload_test.go

    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "istio-ca-root-cert"},
    					Data:       map[string]string{"root-cert.pem": string(fakeCACert)},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("istio-system").Create(context.Background(), &v1.ConfigMap{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "istio-system", Name: "istio-rev-1"},
    					Data: map[string]string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest_shared_test.go

    	b, err := os.ReadFile(path)
    	return string(b), err
    }
    
    // writeFile writes a file and returns an error if operation is unsuccessful.
    func writeFile(path string, data []byte) error {
    	return os.WriteFile(path, data, 0o644)
    }
    
    // inFileAbsolutePath returns the absolute path for an input file like "gateways".
    func inFileAbsolutePath(inFile string) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  3. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func (z *ZtunnelConnection) sendMsgAndWaitForAck(msg *zdsapi.WorkloadRequest, fd *int) (*zdsapi.WorkloadResponse, error) {
    	data, err := proto.Marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return z.sendDataAndWaitForAck(data, fd)
    }
    
    func (z *ZtunnelConnection) sendDataAndWaitForAck(data []byte, fd *int) (*zdsapi.WorkloadResponse, error) {
    	var rights []byte
    	if fd != nil {
    		rights = unix.UnixRights(*fd)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    	cmd := iptablesconstants.IPTablesRestore
    	var data string
    
    	if isIpv4 {
    		data = iptablesBuilder.BuildV4Restore()
    	} else {
    		data = iptablesBuilder.BuildV6Restore()
    	}
    
    	log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data))
    	// --noflush to prevent flushing/deleting previous contents from table
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    	return slices.Map(files, func(e os.DirEntry) string {
    		return e.Name()
    	})
    }
    
    func cp(src, dest string, t *testing.T) {
    	t.Helper()
    	data, err := os.ReadFile(src)
    	if err != nil {
    		t.Fatalf("Failed to read file %v, err: %v", src, err)
    	}
    	if err = os.WriteFile(dest, data, os.FileMode(defaultFileMode)); err != nil {
    		t.Fatalf("Failed to write file %v, err: %v", dest, err)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    			meshConfigMapName, ctx.IstioNamespace(), err)
    	}
    	// values in the data are strings, while proto might use a
    	// different data type.  therefore, we have to get a value by a
    	// key
    	configYaml, exists := meshConfigMap.Data[configMapKey]
    	if !exists {
    		return nil, fmt.Errorf("missing configuration map key %q", configMapKey)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate.go

    			CreationTimestamp: un.GetCreationTimestamp().Time,
    		},
    		Spec: data,
    	}, nil
    }
    
    // TODO(nmittler): Remove this once Pilot migrates to galley schema.
    func fromSchemaAndJSONMap(schema resource.Schema, data any) (config.Spec, error) {
    	// Marshal to json bytes
    	str, err := json.Marshal(data)
    	if err != nil {
    		return nil, err
    	}
    	out, err := schema.NewInstance()
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    		return err
    	}
    
    	tag, err := GetTagVersion(operatorVer.OperatorVersionString)
    	if err != nil {
    		return fmt.Errorf("fetch Istio version: %v", err)
    	}
    
    	// return warning if current date is near the EOL date
    	if operatorVer.IsEOL() {
    		warnMarker := color.New(color.FgYellow).Add(color.Italic).Sprint("WARNING:")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    		}
    	}()
    	return io.ReadAll(file)
    }
    
    func setupFileConfigdumpWriter(filename string, out io.Writer) (*configdump.ConfigWriter, error) {
    	data, err := readFile(filename)
    	if err != nil {
    		return nil, err
    	}
    	return setupConfigdumpEnvoyConfigWriter(data, out)
    }
    
    func setupConfigdumpEnvoyConfigWriter(debug []byte, out io.Writer) (*configdump.ConfigWriter, error) {
    	cw := &configdump.ConfigWriter{Stdout: out}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe_test.go

    				{
    					"initContainers": [
    						"istio-init"
    					],
    					"containers": [
    						"istio-proxy"
    					],
    					"volumes": [
    						"istio-envoy",
    						"istio-data",
    						"istio-podinfo",
    						"istio-token",
    						"istiod-ca-cert"
    					],
    					"imagePullSecrets": null,
    					"revision": "1-13-2"
    				}`,
    			},
    			expected: "1-13-2",
    		},
    	}
    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)
Back to top