Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 276 for marshaled (0.22 sec)

  1. staging/src/k8s.io/api/scheduling/v1beta1/generated.pb.go

    	0x00,
    }
    
    func (m *PriorityClass) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *PriorityClass) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    	if customResourceDefinition == nil {
    		return nil, fmt.Errorf("customResourceDefinition provided to Apply must not be nil")
    	}
    	data, err := json.Marshal(customResourceDefinition)
    	if err != nil {
    		return nil, err
    	}
    	name := customResourceDefinition.Name
    	if name == nil {
    		return nil, fmt.Errorf("customResourceDefinition.Name must be provided to Apply")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/format-erasure_test.go

    	m.Version = formatMetaVersionV1
    	m.Erasure.Version = formatErasureVersionV1
    	m.Erasure.Disk = mustGetUUID()
    	m.Erasure.JBOD = []string{m.Erasure.Disk, mustGetUUID(), mustGetUUID(), mustGetUUID()}
    
    	b, err := json.Marshal(m)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.MkdirAll(pathJoin(rootPath, minioMetaBucket), os.FileMode(0o755)); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. cmd/bucket-policy-handlers.go

    		return
    	}
    
    	// Version in policy must not be empty
    	if bucketPolicy.Version == "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPolicyInvalidVersion), r.URL)
    		return
    	}
    
    	configData, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketPolicyConfig, configData)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.pb.go

    	0x00, 0xff, 0xff, 0x81, 0x06, 0x4f, 0x58, 0x17, 0x0e, 0x00, 0x00,
    }
    
    func (m *Event) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *Event) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 81.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/apiclient/idempotency.go

    			return false, nil
    		}
    
    		oldData, err := json.Marshal(n)
    		if err != nil {
    			*lastError = errors.Wrapf(err, "failed to marshal unmodified node %q into JSON", n.Name)
    			return false, *lastError
    		}
    
    		// Execute the mutating function
    		patchFn(n)
    
    		newData, err := json.Marshal(n)
    		if err != nil {
    			*lastError = errors.Wrapf(err, "failed to marshal modified node %q into JSON", n.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    	dockercfgContent, err := json.Marshal(dockerCfg)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	dockerConfigJSON := map[string]map[string]map[string]string{"auths": dockerCfg}
    	dockerConfigJSONContent, err := json.Marshal(dockerConfigJSON)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/componentconfigs/kubelet.go

    	result := &kubeletConfig{}
    	kc.configBase.DeepCopyInto(&result.configBase)
    	kc.config.DeepCopyInto(&result.config)
    	return result
    }
    
    func (kc *kubeletConfig) Marshal() ([]byte, error) {
    	return kc.configBase.Marshal(&kc.config)
    }
    
    func (kc *kubeletConfig) Unmarshal(docmap kubeadmapi.DocumentMap) error {
    	return kc.configBase.Unmarshal(docmap, &kc.config)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go

    package schema
    
    import (
    	fmt "fmt"
    
    	math "math"
    
    	proto "github.com/gogo/protobuf/proto"
    )
    
    // Reference imports to suppress errors if they are not otherwise used.
    var _ = proto.Marshal
    var _ = fmt.Errorf
    var _ = math.Inf
    
    // This is a compile-time assertion to ensure that this generated file
    // is compatible with the proto package it is being compiled against.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. operator/pkg/manifest/shared.go

    		testTree, err := yaml.Marshal(tree)
    		if err != nil {
    			return "", err
    		}
    		iops := &v1alpha1.IstioOperatorSpec{}
    		if err := util.UnmarshalWithJSONPB(string(testTree), iops, false); err != nil {
    			return "", fmt.Errorf("bad path=value %s: %v", kv, err)
    		}
    	}
    	out, err := yaml.Marshal(tree)
    	if err != nil {
    		return "", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top