()
| 51 | ) |
| 52 | |
| 53 | func (s status) String() string { |
| 54 | return [...]string{ |
| 55 | "initializing", |
| 56 | "listing Azure resources", |
| 57 | "building import list", |
| 58 | "importing", |
| 59 | "import error message", |
| 60 | "generating Terraform configuration", |
| 61 | "cleaning up output directory", |
| 62 | "pushing state", |
| 63 | "exporting resource mapping file", |
| 64 | "exporting skipped resources file", |
| 65 | "summary", |
| 66 | "quitting", |
| 67 | "error", |
| 68 | }[s] |
| 69 | } |
| 70 | |
| 71 | type model struct { |
| 72 | ctx context.Context |
no outgoing calls