package leaseutil

import "github.com/moby/buildkit/util/leaseutil"

Index

Functions

func MakeTemporary

func MakeTemporary(l *leases.Lease) error

func WithLease

func WithLease(ctx context.Context, ls leases.Manager, opts ...leases.Opt) (context.Context, func(context.Context) error, error)

func WithNamespace

func WithNamespace(lm leases.Manager, ns string) leases.Manager

Source Files

manager.go

Version
v0.11.3
Published
Feb 13, 2023
Platform
linux/amd64
Imports
4 packages
Last checked
24 minutes ago

Tools for package owners.