( ctx context.Context, activation taskRoleActivation, )
| 333 | } |
| 334 | |
| 335 | func (r *taskRoleRuntime) startRoleSession( |
| 336 | ctx context.Context, |
| 337 | activation taskRoleActivation, |
| 338 | ) (*session.Info, error) { |
| 339 | opts, err := taskRoleCreateOpts(activation) |
| 340 | if err != nil { |
| 341 | return nil, err |
| 342 | } |
| 343 | return r.createRoleSession(ctx, opts) |
| 344 | } |
| 345 | |
| 346 | func taskRoleCreateOpts(activation taskRoleActivation) (session.CreateOpts, error) { |
| 347 | opts := session.CreateOpts{ |
no test coverage detected