vcs

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package vcs handles the mounting of VCS volumes (repositories).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mounter

type Mounter struct {
	// contains filtered or unexported fields
}

Mounter implements the VCS-specific mounting.

func New

func New(
	logger logger.Logger,
	client client.Client,
	ui terminal.UI,
	volumeSizeLimit int,
) (*Mounter, error)

New returns an instance of Mounter.

func (*Mounter) Close

func (m *Mounter) Close() error

Close cleans up any resources.

func (*Mounter) MountVolume

func (m *Mounter) MountVolume(ctx context.Context, volume *config.Volume, mount *config.MountPoint, directory string) error

MountVolume mounts the specified volume.

Jump to

Keyboard shortcuts

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