Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for serialize (0.46 sec)

  1. cni/pkg/nodeagent/cni-watcher_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    	addEvent, err := processAddEvent(payload)
    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 08:18:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    	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 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // - No fractional digits will be emitted
    // - The exponent (or suffix) is as large as possible.
    //
    // The sign will be omitted unless the number is negative.
    //
    // Examples:
    //
    // - 1.5 will be serialized as "1500m"
    // - 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.
    //
    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. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

      // Unspecified means no encoding.
      optional string contentEncoding = 3;
    
      // ContentType  is serialization method used to serialize 'Raw'.
      // Unspecified means ContentTypeJSON.
      optional string contentType = 4;
    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)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      // Defaulted to nil.
      // +optional
      optional bool immutable = 5;
    
      // Data contains the secret data. Each key must consist of alphanumeric
      // characters, '-', '_' or '.'. The serialized form of the secret data is a
      // base64 encoded string, representing the arbitrary (possibly non-string)
      // data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate.go

    	admitv1 "k8s.io/api/admissionregistration/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    
    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/maps"
    )
    
    const (
    	IstioTagLabel       = "istio.io/tag"
    	DefaultRevisionName = "default"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    	"k8s.io/apimachinery/pkg/runtime/serializer/versioning"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	_ "k8s.io/client-go/plugin/pkg/client/auth" //  to avoid 'No Auth Provider found for name "gcp"'
    	"k8s.io/client-go/tools/clientcmd"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // data is the serialized representation of the state.
      optional k8s.io.apimachinery.pkg.runtime.RawExtension data = 2;
    
      // revision indicates the revision of the state represented by Data.
      optional int64 revision = 3;
    }
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    		Short: "Creates a WorkloadGroup resource that provides a template for associated WorkloadEntries",
    		Long: `Creates a WorkloadGroup resource that provides a template for associated WorkloadEntries.
    The default output is serialized YAML, which can be piped into 'kubectl apply -f -' to send the artifact to the API Server.`,
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foo,bar=baz " +
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    	// Parse previous result. Remove this if your plugin is not chained.
    	if conf.RawPrevResult != nil {
    		resultBytes, err := json.Marshal(conf.RawPrevResult)
    		if err != nil {
    			return nil, fmt.Errorf("could not serialize prevResult: %v", err)
    		}
    		res, err := version.NewResult(conf.CNIVersion, resultBytes)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse prevResult: %v", err)
    		}
    		conf.RawPrevResult = nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top