Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for yamlUnmarshal (0.08 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/yaml_test.go

    import (
    	"testing"
    
    	"sigs.k8s.io/yaml"
    
    	"k8s.io/client-go/kubernetes/scheme"
    )
    
    func TestYAMLPrinter(t *testing.T) {
    	testPrinter(t, NewTypeSetter(scheme.Scheme).ToPrinter(&YAMLPrinter{}), yamlUnmarshal)
    }
    
    func yamlUnmarshal(data []byte, v interface{}) error {
    	return yaml.Unmarshal(data, v)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 11:23:25 UTC 2021
    - 888 bytes
    - Viewed (0)
Back to top