(ctx context.Context, s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions)
| 192 | } |
| 193 | |
| 194 | func (tx *CachedTransaction) FetchContext(ctx context.Context, s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions) (*schema.Resource, error) { |
| 195 | list, _, err := tx.ListContext(ctx, s, filter, options, nil) |
| 196 | return fetchContextHelper(list, err, filter) |
| 197 | } |
| 198 | |
| 199 | func (tx *CachedTransaction) LockFetch(s *schema.Schema, filter transaction.Filter, lockPolicy schema.LockPolicy, options *transaction.ViewOptions) (*schema.Resource, error) { |
| 200 | return tx.LockFetchContext(context.Background(), s, filter, lockPolicy, options) |
no test coverage detected