(src interface{})
| 3255 | ) |
| 3256 | |
| 3257 | func (e *ProvisionerType) Scan(src interface{}) error { |
| 3258 | switch s := src.(type) { |
| 3259 | case []byte: |
| 3260 | *e = ProvisionerType(s) |
| 3261 | case string: |
| 3262 | *e = ProvisionerType(s) |
| 3263 | default: |
| 3264 | return fmt.Errorf("unsupported scan type for ProvisionerType: %T", src) |
| 3265 | } |
| 3266 | return nil |
| 3267 | } |
| 3268 | |
| 3269 | type NullProvisionerType struct { |
| 3270 | ProvisionerType ProvisionerType `json:"provisioner_type"` |
nothing calls this directly
no test coverage detected