managedtemp

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidTestHomeMarker

func ValidTestHomeMarker(string) bool

Types

type Lease

type Lease struct{}

func (*Lease) Close

func (*Lease) Close() error

func (*Lease) Path

func (*Lease) Path() string

func (*Lease) Remove

func (*Lease) Remove() error

func (*Lease) Started

func (*Lease) Started(int) error

func (*Lease) TempDir

func (*Lease) TempDir() string

func (*Lease) Terminal

func (*Lease) Terminal() error

type Namespace

type Namespace struct{}

func Open

func Open(string) (*Namespace, error)

func (*Namespace) Close

func (*Namespace) Close() error

func (*Namespace) OpenWorkspace

func (*Namespace) OpenWorkspace(string, string, string) (*Workspace, error)

func (*Namespace) Sweep

type SweepOptions

type SweepOptions struct {
	Now              time.Time
	Interval         time.Duration
	CommandReapAfter time.Duration
}

type SweepResult

type SweepResult struct {
	Scanned bool
	Deleted int
}

type Workspace

type Workspace struct{}

func (*Workspace) Allocate

func (*Workspace) Allocate(string) (*Lease, error)

func (*Workspace) Close

func (*Workspace) Close() error

Jump to

Keyboard shortcuts

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