package storeutil

import "github.com/docker/buildx/store/storeutil"

Index

Functions

func GetCurrentEndpoint

func GetCurrentEndpoint(dockerCli command.Cli) (string, error)

GetCurrentEndpoint returns the current default endpoint value

func GetCurrentInstance

func GetCurrentInstance(txn *store.Txn, dockerCli command.Cli) (*store.NodeGroup, error)

GetCurrentInstance finds the current builder instance

func GetDockerEndpoint

func GetDockerEndpoint(dockerCli command.Cli, name string) (string, error)

GetDockerEndpoint returns docker endpoint string for given context

func GetImageConfig

func GetImageConfig(dockerCli command.Cli, ng *store.NodeGroup) (opt imagetools.Opt, err error)

func GetNodeGroup

func GetNodeGroup(txn *store.Txn, dockerCli command.Cli, name string) (*store.NodeGroup, error)

GetNodeGroup returns nodegroup based on the name

func GetStore

func GetStore(dockerCli command.Cli) (*store.Txn, func(), error)

GetStore returns current builder instance store

Source Files

storeutil.go

Version
v0.7.1
Published
Nov 25, 2021
Platform
js/wasm
Imports
11 packages
Last checked
10 hours ago

Tools for package owners.