Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for serialize (0.32 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/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)
  5. 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)
  6. 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)
  7. istioctl/pkg/kubeinject/kubeinject.go

    	admissionregistration "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	v1 "k8s.io/client-go/kubernetes/typed/core/v1"
    	"k8s.io/kubectl/pkg/polymorphichelpers"
    	"k8s.io/kubectl/pkg/util/podutils"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate_test.go

    	"context"
    	"fmt"
    	"path/filepath"
    	"testing"
    
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var (
    	defaultRevisionCanonicalWebhook = admitv1.MutatingWebhookConfiguration{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. 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)
  10. common-protos/k8s.io/api/apps/v1beta2/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
    - 36.4K bytes
    - Viewed (0)
Back to top