func (c *Config) ProvisionerHarvestMode() HarvestMode {
	if v, ok := c.defined[ProvisionerHarvestModeKey].(string); ok {
		if method, err := ParseHarvestMode(v); err != nil {
			// This setting should have already been validated. Don't
			// burden the caller with handling any errors.
			panic(err)
		} else {
			return method
		}
	} else {
		return HarvestDestroyed
	}
}
// ProvisionerHarvestMode reports the harvesting methodology the
// provisioner should take.
ProvisionerHarvestMode reports the harvesting methodology the
provisioner should take.
// ProvisionerHarvestMode reports the harvesting methodology the // provisioner should take .
func (c *Config) ProvisionerHarvestMode() HarvestMode {
	if v, ok := c.defined[ProvisionerHarvestModeKey].(string); ok {
		if method, err := ParseHarvestMode(v); err != nil {
			panic(err)
		} else {
			return method
		}
	} else {
		return HarvestDestroyed
	}
}
func ( c * Config ) ProvisionerHarvestMode ( ) HarvestMode { if v , ok := c . defined [ ProvisionerHarvestModeKey ] . ( string ) ; ok { if method , err := ParseHarvestMode ( v ) ; err != nil { panic ( err ) } else { return method } } else { return HarvestDestroyed } }
ProvisionerHarvestMode reports the harvesting methodology the
provisioner should take.
ProvisionerHarvestMode reports the harvesting methodology the provisioner should take .
// This setting should have already been validated. Don't // burden the caller with handling any errors.