CacheVolume is a persistent volume with a globally scoped identifier.
| 17 | |
| 18 | // CacheVolume is a persistent volume with a globally scoped identifier. |
| 19 | type CacheVolume struct { |
| 20 | Key string |
| 21 | Namespace string |
| 22 | Source dagql.Nullable[dagql.ObjectResult[*Directory]] |
| 23 | Sharing CacheSharingMode |
| 24 | Owner string |
| 25 | |
| 26 | mu sync.Mutex |
| 27 | snapshot bkcache.MutableRef |
| 28 | snapshotID string |
| 29 | selector string |
| 30 | releaseSnapshot func(context.Context) error |
| 31 | } |
| 32 | |
| 33 | func (*CacheVolume) Type() *ast.Type { |
| 34 | return &ast.Type{ |
nothing calls this directly
no outgoing calls
no test coverage detected