mounts

package
v0.9.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 25 Imported by: 85

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheMountsLocker

func CacheMountsLocker() sync.Locker

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 NewMountManager(name string, cm cache.Manager, sm *session.Manager, md *metadata.Store) *MountManager

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 (mm *MountManager) MountableSSH(ctx context.Context, m *pb.Mount, g session.Group) (cache.Mountable, error)

func (*MountManager) MountableSecret

func (mm *MountManager) MountableSecret(ctx context.Context, m *pb.Mount, g session.Group) (cache.Mountable, error)

func (*MountManager) MountableTmpFS

func (mm *MountManager) MountableTmpFS() cache.Mountable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL