Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Parse (0.16 sec)

  1. istioctl/pkg/install/k8sversion/version_test.go

    			expected: 8,
    			errMsg:   nil,
    			isValid:  true,
    		},
    		{
    			version: versionInvalid1,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid1.GitVersion),
    			isValid: false,
    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

      // trustBundle contains the individual X.509 trust anchors for this
      // bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.
      //
      // The data must consist only of PEM certificate blocks that parse as valid
      // X.509 certificates.  Each certificate must include a basic constraints
      // extension with the CA bit set.  The API server will reject objects that
      // contain duplicate certificates, or that use PEM block headers.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // - 1.5Gi will be serialized as "1536Mi"
    //
    // Note that the quantity will NEVER be internally represented by a
    // floating point number. That is the whole point of this exercise.
    //
    // Non-canonical values will still parse as long as they are well formed,
    // but will be re-emitted in their canonical form. (So always use canonical
    // form, or don't diff.)
    //
    // This format is intended to make it difficult to use these numbers without
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/pilot/status.go

    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    				continue
    			}
    			cds, lds, eds, rds, ecds := getSyncStatus(&clientConfig)
    			cp := multixds.CpInfo(dr)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    	args := buildCmdArgs(stdinData, testPodName, testNSName)
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		t.Fatalf("config parse failed with error: %v", err)
    	}
    
    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/listener.go

    									log.Errorf("found RBAC HTTP filter but failed to parse: %s", err)
    								} else {
    									parsedFC.rbacHTTP = append(parsedFC.rbacHTTP, rbacHTTP)
    								}
    							}
    						}
    					}
    				case wellknown.RoleBasedAccessControl:
    					rbacTCP := &rbactcp.RBAC{}
    					if err := getFilterConfig(filter, rbacTCP); err != nil {
    						log.Errorf("found RBAC network filter but failed to parse: %s", err)
    					} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. cni/pkg/plugin/sidecar_redirect.go

    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_META_DNS_CAPTURE"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dnsRedirect, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse DNS capture environment variable %v", valErr)
    		}
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dualStack, valErr = strconv.ParseBool(v)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1/generated.proto

      // tokens it is mounting volume for to do necessary authentication. Kubelet
      // will pass the tokens in VolumeContext in the CSI NodePublishVolume calls.
      // The CSI driver should parse and validate the following VolumeContext:
      // "csi.storage.k8s.io/serviceAccount.tokens": {
      //   "<audience>": {
      //     "token": <token>,
      //     "expirationTimestamp": <expiration timestamp in RFC3339>,
      //   },
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	if cert.ExpirationTime == "" && cert.ValidFrom == "" {
    		return false
    	}
    	today := time.Now()
    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. bin/diff_yaml.py

    
    def normalize_configmap(res):
        try:
            if res['kind'] != "ConfigMap":
                return res
    
            data = res['data']
    
            # some times keys are yamls...
            # so parse them
            for k in data:
                try:
                    op = yaml.safe_load_all(data[k])
                    data[k] = list(op)
                except yaml.YAMLError as ex:
                    print(ex)
    
    Python
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
Back to top