package localstate

import "github.com/docker/buildx/localstate"

Index

Types

type LocalState

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

func New

func New(root string) (*LocalState, error)

func (*LocalState) ReadRef

func (ls *LocalState) ReadRef(builderName, nodeName, id string) (*State, error)

func (*LocalState) RemoveBuilder

func (ls *LocalState) RemoveBuilder(builderName string) error

func (*LocalState) RemoveBuilderNode

func (ls *LocalState) RemoveBuilderNode(builderName string, nodeName string) error

func (*LocalState) SaveRef

func (ls *LocalState) SaveRef(builderName, nodeName, id string, st State) error

type State

type State struct {
	LocalPath      string
	DockerfilePath string
}

Source Files

localstate.go

Version
v0.11.2
Published
Jul 18, 2023
Platform
js/wasm
Imports
5 packages
Last checked
6 hours ago

Tools for package owners.