Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for convert (0.52 sec)

  1. operator/cmd/mesh/profile-dump.go

    	out, err := tpath.AddSpecRoot(yml)
    	if err != nil {
    		return "", err
    	}
    	out2, err := util.OverlayYAML(istioOperatorTreeString, out)
    	if err != nil {
    		return "", err
    	}
    	return out2, nil
    }
    
    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. common/scripts/metallb-native.yaml

              be optionally associated with a BGP session.
            properties:
              apiVersion:
                description: 'APIVersion defines the versioned schema of this representation
                  of an object. Servers should convert recognized schemas to the latest
                  internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
                type: string
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    	path := "clusters"
    	if outputFormat == jsonOutput || outputFormat == yamlOutput {
    		// for yaml output we will convert the json to yaml when printed
    		path += "?format=json"
    	}
    	result, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "GET", path, proxyAdminPort)
    	if err != nil {
    		return "", fmt.Errorf("failed to execute command on Envoy: %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    			if err := checkFields(un); err != nil {
    				return nil, err
    			}
    			// IstioOperator isn't part of pkg/config/schema/collections,
    			// usual conversion not available.  Convert unstructured to string
    			// and ask operator code to check.
    			un.SetCreationTimestamp(metav1.Time{}) // UnmarshalIstioOperator chokes on these
    			by := util.ToYAML(un)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. architecture/ambient/ztunnel.md

    1. If the destination is on our node, we "fast path" the request and convert this into an inbound request.
       This has the same semantics as if we had sent a request back to ourselves, but is more efficient and reduces complexity in the Ztunnel.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    	if err != nil {
    		return nil, fmt.Errorf("unable to convert data from configmap %q: %v",
    			injectConfigMapName, err)
    	}
    	log.Debugf("using inject template from configmap %q", injectConfigMapName)
    	return injectConfig.RawTemplates, nil
    }
    
    func setUpExternalInjector(ctx cli.Context, revision, injectorAddress string) (*ExternalInjector, error) {
    	e := &ExternalInjector{}
    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. cni/pkg/plugin/plugin_cni_conformance.go

    		t.Fatalf("LoadArgs failed with error: %v", err)
    	}
    
    	if string(k8sArgs.K8S_POD_NAMESPACE) == "" || string(k8sArgs.K8S_POD_NAME) == "" {
    		t.Fatalf("LoadArgs didn't convert args properly, K8S_POD_NAME=\"%s\";K8S_POD_NAMESPACE=\"%s\"",
    			string(k8sArgs.K8S_POD_NAME), string(k8sArgs.K8S_POD_NAMESPACE))
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    }
    
    func isAmbientPod(client kubernetes.Interface, podName, podNamespace string) (bool, error) {
    	pod, err := client.CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    	if err != nil {
    		return false, err
    	}
    	ns, err := client.CoreV1().Namespaces().Get(context.Background(), podNamespace, metav1.GetOptions{})
    	if err != nil {
    		return false, err
    	}
    
    	return util.PodRedirectionEnabled(ns, pod), nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. istioctl/pkg/cli/context_test.go

    Xiaopeng Han <******@****.***> 1686334669 +0800
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. cni/pkg/pluginlistener/listener_test.go

    	}
    	conn.Close()
    }
    
    func connect(socket string) (*grpc.ClientConn, error) {
    	var opts []grpc.DialOption
    
    	opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    		var d net.Dialer
    		return d.DialContext(ctx, "unix", socket)
    	}))
    
    	conn, err := grpc.Dial(socket, opts...)
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top