| 289 | } |
| 290 | |
| 291 | type Session struct { |
| 292 | Logger slog.Logger |
| 293 | Files tfpath.Layout |
| 294 | Config *proto.Config |
| 295 | |
| 296 | // initialized indicates if an init was run. |
| 297 | // Required for plan/apply. |
| 298 | initialized bool |
| 299 | |
| 300 | server Server |
| 301 | stream proto.DRPCProvisioner_SessionStream |
| 302 | logLevel int32 |
| 303 | } |
| 304 | |
| 305 | func (s *Session) Context() context.Context { |
| 306 | return s.stream.Context() |
nothing calls this directly
no outgoing calls
no test coverage detected