Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Decode (0.16 sec)

  1. istioctl/pkg/tag/generate_test.go

    			}
    			webhookYAML, err := generateValidatingWebhook(webhookConfig, opts)
    			if err != nil {
    				t.Fatalf("tag webhook YAML generation failed with error: %v", err)
    			}
    
    			vwhObject, _, err := deserializer.Decode([]byte(webhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{})
    			if err != nil {
    				t.Fatalf("could not parse webhook from generated YAML: %s", vwhObject)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    	}
    
    	err = json.NewDecoder(resp.Body).Decode(&scopeInfos)
    	if err != nil {
    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    
    func (c *ControlzClient) PutScope(scope *ScopeInfo) error {
    	var jsonScopeInfo bytes.Buffer
    	err := json.NewEncoder(&jsonScopeInfo).Encode(scope)
    	if err != nil {
    		return fmt.Errorf("cannot serialize scope %+v", *scope)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    ) (validation.Warning, error) {
    	decoder := yaml.NewDecoder(reader)
    	decoder.SetStrict(true)
    	var errs error
    	var warnings validation.Warning
    	for {
    		// YAML allows non-string keys and the produces generic keys for nested fields
    		raw := make(map[any]any)
    		err := decoder.Decode(&raw)
    		if err == io.EOF {
    			return warnings, errs
    		}
    		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)
  4. istioctl/pkg/kubeinject/kubeinject.go

    		return nil, err
    	}
    	var obj runtime.Object
    	var ar *kube.AdmissionReview
    	out, _, err := deserializer.Decode(body, nil, obj)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode body: %v", err)
    	}
    	ar, err = kube.AdmissionReviewKubeToAdapter(out)
    	if err != nil {
    		return nil, fmt.Errorf("could not decode object: %v", err)
    	}
    
    	return ar.Response.Patch, nil
    }
    
    var (
    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)
  5. istioctl/pkg/tag/generate.go

    			Yaml:   true,
    			Pretty: true,
    			Strict: true,
    		})
    
    	whObject, _, err := deserializer.Decode([]byte(validatingWebhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{})
    	if err != nil {
    		return "", fmt.Errorf("could not decode generated webhook: %w", err)
    	}
    	decodedWh := whObject.(*admitv1.ValidatingWebhookConfiguration)
    	for i := range decodedWh.Webhooks {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
      // to be. Same as Deployment `strategy.rollingUpdate`.
      // See https://github.com/kubernetes/kubernetes/issues/35345
      // +optional
      optional RollingUpdateDaemonSet rollingUpdate = 2;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/values.yaml

        # - Meshes will be federated together
        # - Policy will be written referencing one mesh from the other
        #
        # If an administrator expects that any of these conditions may become true in
        # the future, they should ensure their meshes have different Mesh IDs
        # assigned.
        #
        # Within a multicluster mesh, each cluster must be (manually or auto)
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  8. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

    10.4. Distributing Source Code Form that is Incompatible With Secondary
          Licenses If You choose to distribute Source Code Form that is
          Incompatible With Secondary Licenses under the terms of this version of
          the License, the notice described in Exhibit B of this License must be
          attached.
    
    Exhibit A - Source Code Form License Notice
    
          This Source Code Form is subject to the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 03 20:21:32 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/errwrap/LICENSE

    10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
          If You choose to distribute Source Code Form that is Incompatible With
          Secondary Licenses under the terms of this version of the License, the
          notice described in Exhibit B of this License must be attached.
    
    Exhibit A - Source Code Form License Notice
    
          This Source Code Form is subject to the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/hcl/LICENSE

    10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
          If You choose to distribute Source Code Form that is Incompatible With
          Secondary Licenses under the terms of this version of the License, the
          notice described in Exhibit B of this License must be attached.
    
    Exhibit A - Source Code Form License Notice
    
          This Source Code Form is subject to the
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
Back to top