Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for utilyaml (0.1 sec)

  1. pkg/kubelet/config/common.go

    	"crypto/md5"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"strings"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	utilyaml "k8s.io/apimachinery/pkg/util/yaml"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/apis/core/helper"
    
    	// TODO: remove this import if
    	// api.Registry.GroupOrDie(v1.GroupName).GroupVersion.String() is changed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/marshal.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	yamlserializer "k8s.io/apimachinery/pkg/runtime/serializer/yaml"
    	errorsutil "k8s.io/apimachinery/pkg/util/errors"
    	utilyaml "k8s.io/apimachinery/pkg/util/yaml"
    	clientsetscheme "k8s.io/client-go/kubernetes/scheme"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go

    	"sigs.k8s.io/yaml"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	"k8s.io/apimachinery/pkg/util/framer"
    	utilyaml "k8s.io/apimachinery/pkg/util/yaml"
    	"k8s.io/klog/v2"
    )
    
    // NewSerializer creates a JSON serializer that handles encoding versioned objects into the proper JSON form. If typer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 16:08:07 UTC 2022
    - 12K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/patches/patches.go

    	"path/filepath"
    	"regexp"
    	"strings"
    	"sync"
    
    	"github.com/pkg/errors"
    	jsonpatch "gopkg.in/evanphx/json-patch.v4"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	utilyaml "k8s.io/apimachinery/pkg/util/yaml"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"sigs.k8s.io/yaml"
    )
    
    // PatchTarget defines a target to be patched, such as a control-plane static Pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/util/uuid"
    	"k8s.io/apimachinery/pkg/util/wait"
    	utilyaml "k8s.io/apimachinery/pkg/util/yaml"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/dynamic"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml_test.go

    			data:      []byte(`[` + strings.Repeat(`null,`, 3*1024*1024/5-2) + `null]`),
    			benchmark: true,
    		},
    	}
    }
    
    var decoders = map[string]func([]byte) ([]byte, error){
    	"sigsyaml": sigsyaml.YAMLToJSON,
    	"utilyaml": yaml.ToJSON,
    }
    
    func TestYAMLLimits(t *testing.T) {
    	for _, tc := range testcases() {
    		if tc.benchmark {
    			continue
    		}
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 06 20:18:22 UTC 2020
    - 14.3K bytes
    - Viewed (0)
Back to top