code: func Load(data []byte) (*clientcmdapi.Config, error) {
  	config := clientcmdapi.NewConfig()
  	// if there's no data in a file, return the default object instead of failing (DecodeInto reject empty input)
  	if len(data) == 0 {
  		return config, nil
  	}
  
  	if err := clientcmdlatest.Codec.DecodeInto(data, config); err != nil {
  		return nil, err
  	}
  	return config, nil
  }
docs: // Load takes a byte slice and deserializes the contents into Config object.
  // Encapsulates deserialization without assuming the source is a file.