(opts *CreateOptions)
| 146 | } |
| 147 | |
| 148 | func PromptMissing(opts *CreateOptions) error { |
| 149 | err := question.AskName(opts.Ask, "", "SSH", &opts.Name.Value) |
| 150 | if err != nil { |
| 151 | return err |
| 152 | } |
| 153 | |
| 154 | err = shared.PromptForWorkerPools(opts.WorkerPoolOptions, opts.WorkerPoolFlags) |
| 155 | if err != nil { |
| 156 | return err |
| 157 | } |
| 158 | |
| 159 | err = machinescommon.PromptForMachinePolicy(opts.CreateTargetMachinePolicyOptions, opts.CreateTargetMachinePolicyFlags) |
| 160 | if err != nil { |
| 161 | return err |
| 162 | } |
| 163 | |
| 164 | err = machinescommon.PromptForSshAccount(opts.SshCommonOptions, opts.SshCommonFlags) |
| 165 | if err != nil { |
| 166 | return err |
| 167 | } |
| 168 | |
| 169 | err = machinescommon.PromptForSshEndpoint(opts.SshCommonOptions, opts.SshCommonFlags, "worker") |
| 170 | if err != nil { |
| 171 | return err |
| 172 | } |
| 173 | |
| 174 | err = machinescommon.PromptForProxy(opts.CreateTargetProxyOptions, opts.CreateTargetProxyFlags, "SSH worker") |
| 175 | if err != nil { |
| 176 | return err |
| 177 | } |
| 178 | |
| 179 | err = machinescommon.PromptForDotNetConfig(opts.SshCommonOptions, opts.SshCommonFlags, "worker") |
| 180 | if err != nil { |
| 181 | return err |
| 182 | } |
| 183 | |
| 184 | return nil |
| 185 | } |
no test coverage detected