Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for decoder (0.29 sec)

  1. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // or duplicate fields. Valid values are:
      // - Ignore: This will ignore any unknown fields that are silently
      // dropped from the object, and will ignore all but the last duplicate
      // field that the decoder encounters. This is the default behavior
      // prior to v1.23.
      // - Warn: This will send a warning via the standard warning response
      // header for each unknown field that is dropped from the object, and
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

    			kubeClient, err := ctx.CLIClientWithRevision(revision)
    			if err != nil {
    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-dump.go

    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    	}
    	var decoded any
    	if uglyJSON[0] == '[' {
    		decoded = make([]any, 0)
    	} else {
    		decoded = map[string]any{}
    	}
    	if err := json.Unmarshal(uglyJSON, &decoded); err != nil {
    		return "", err
    	}
    	prettyJSON, err := json.MarshalIndent(decoded, "", "    ")
    	if err != nil {
    		return "", err
    	}
    	return string(prettyJSON), nil
    }
    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)
  4. common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto

    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/apiserverinternal/v1alpha1";
    
    // An API server instance reports the version it can decode and the version it
    // encodes objects to when persisting objects in the backend.
    message ServerStorageVersion {
      // The ID of the reporting API server.
      optional string apiServerID = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. istioctl/pkg/admin/istiodconfig.go

    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("request not successful %s", resp.Status)
    	}
    
    	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 {
    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)
  7. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
      //
      // Defaults to "Equivalent"
      // +optional
      optional string matchPolicy = 9;
    
      // NamespaceSelector decides whether to run the webhook on an object based
      // on whether the namespace for that object matches the selector. If the
      // object itself is a namespace, the matching is performed on
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
      //
      // Defaults to "Exact"
      // +optional
      optional string matchPolicy = 9;
    
      // NamespaceSelector decides whether to run the webhook on an object based
      // on whether the namespace for that object matches the selector. If the
      // object itself is a namespace, the matching is performed on
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

      // scheduled right away as preemption victims receive their graceful termination periods.
      // This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide
      // to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to
      // give the resources on this node to a higher priority pod that is created after preemption.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    //
    // 	{
    // 		"kind":"MyAPIObject",
    // 		"apiVersion":"v1",
    // 		"myPlugin": {
    // 			"kind":"PluginA",
    // 			"aOption":"foo",
    // 		},
    // 	}
    //
    // So what happens? Decode first uses json or yaml to unmarshal the serialized data into
    // your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked.
    // The next step is to copy (using pkg/conversion) into the internal struct. The runtime
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top