func loadPolicy(data []byte) (*config.Policy, error) {
	policy := config.Policy{}
	if err := runtime.DecodeInto(scheme.Codecs.UniversalDecoder(), data, &policy); err != nil {
		return nil, err
	}
	return &policy, nil
}
// loadPolicy decodes data as a Policy object.
loadPolicy decodes data as a Policy object.
// loadPolicy decodes data as a Policy object .
func loadPolicy(data []byte) (*config.Policy, error) {
	policy := config.Policy{}
	if err := runtime.DecodeInto(scheme.Codecs.UniversalDecoder(), data, &policy); err != nil {
		return nil, err
	}
	return &policy, nil
}
func loadPolicy ( data [ ] byte ) ( * config . Policy , error ) { policy := config . Policy { } if err := runtime . DecodeInto ( scheme . Codecs . UniversalDecoder ( ) , data , & policy ) ; err != nil { return nil , err } return & policy , nil }
loadPolicy decodes data as a Policy object.
loadPolicy decodes data as a Policy object .