Documentation ¶
Index ¶
- func CacheMountsLocker() sync.Locker
- func ClearActiveCacheMounts()
- type MountManager
- func (mm *MountManager) MountableCache(ctx context.Context, m *pb.Mount, ref cache.ImmutableRef, g session.Group) (cache.MutableRef, error)
- func (mm *MountManager) MountableSSH(ctx context.Context, m *pb.Mount, g session.Group) (cache.Mountable, error)
- func (mm *MountManager) MountableSecret(ctx context.Context, m *pb.Mount, g session.Group) (cache.Mountable, error)
- func (mm *MountManager) MountableTmpFS() cache.Mountable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheMountsLocker ¶
func ClearActiveCacheMounts ¶
func ClearActiveCacheMounts()
ClearActiveCacheMounts clears shared cache mounts currently in use. Caller needs to hold CacheMountsLocker before calling
Types ¶
type MountManager ¶
type MountManager struct {
// contains filtered or unexported fields
}
func NewMountManager ¶
func (*MountManager) MountableCache ¶
func (mm *MountManager) MountableCache(ctx context.Context, m *pb.Mount, ref cache.ImmutableRef, g session.Group) (cache.MutableRef, error)
func (*MountManager) MountableSSH ¶
func (*MountManager) MountableSecret ¶
func (*MountManager) MountableTmpFS ¶
func (mm *MountManager) MountableTmpFS() cache.Mountable
Click to show internal directories.
Click to hide internal directories.