func (m *Mount) UnmarshalYAML(unmarshal func(interface{}) error) error {
	type MountAlias Mount
	var a MountAlias
	if err := unmarshal(&a); err != nil {
		return err
	}
	switch a.Propagation {
	case "":  
	case MountPropagationNone:
	case MountPropagationHostToContainer:
	case MountPropagationBidirectional:
	default:
		return errors.Errorf("Unknown MountPropagation: %q", a.Propagation)
	}
	*m = Mount(a)
	return nil
}
/*
Custom YAML (de)serialization for these types

UnmarshalYAML implements custom decoding YAML
https://godoc.org/gopkg.in/yaml.v3
package v1alpha4
import (
	"strings"
	"sigs.k8s.io/kind/pkg/errors"
)