allocdir

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocDir

type AllocDir struct {
	AllocDir string

	TaskDirs map[string]*TaskDir
}

func NewAllocDir

func NewAllocDir(clientAllocDir, allocID string) *AllocDir

func (*AllocDir) Build

func (a *AllocDir) Build() error

func (*AllocDir) NewTaskDir

func (a *AllocDir) NewTaskDir(name string) *TaskDir

type TaskDir

type TaskDir struct {
	Dir        string
	VolumesDir string
	// contains filtered or unexported fields
}

func (*TaskDir) Build

func (a *TaskDir) Build() error

func (*TaskDir) CreateVolume

func (a *TaskDir) CreateVolume(name string) string

func (*TaskDir) GetVolume

func (a *TaskDir) GetVolume(name string) string

Jump to

Keyboard shortcuts

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