package store
import "github.com/docker/buildx/store"
Index ¶
- func GenerateName(txn *Txn) (string, error)
- func ValidateName(s string) (string, error)
- type Node
- type NodeGroup
- func (ng *NodeGroup) Copy() *NodeGroup
- func (ng *NodeGroup) Leave(name string) error
- func (ng *NodeGroup) Update(name, endpoint string, platforms []string, endpointsSet bool, actionAppend bool, flags []string, configFile string, do map[string]string) error
- type Store
- type Txn
- func (t *Txn) Current(key string) (*NodeGroup, error)
- func (t *Txn) List() ([]*NodeGroup, error)
- func (t *Txn) NodeGroupByName(name string) (*NodeGroup, error)
- func (t *Txn) Remove(name string) error
- func (t *Txn) Save(ng *NodeGroup) error
- func (t *Txn) SetCurrent(key, name string, global, def bool) error
Functions ¶
func GenerateName ¶
func ValidateName ¶
Types ¶
type Node ¶
type Node struct { Name string Endpoint string Platforms []specs.Platform Flags []string DriverOpts map[string]string Files map[string][]byte }
func (*Node) Copy ¶
type NodeGroup ¶
func (*NodeGroup) Copy ¶
func (*NodeGroup) Leave ¶
func (*NodeGroup) Update ¶
func (ng *NodeGroup) Update(name, endpoint string, platforms []string, endpointsSet bool, actionAppend bool, flags []string, configFile string, do map[string]string) error
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func New ¶
func (*Store) Txn ¶
type Txn ¶
type Txn struct {
// contains filtered or unexported fields
}
func (*Txn) Current ¶
func (*Txn) List ¶
func (*Txn) NodeGroupByName ¶
func (*Txn) Remove ¶
func (*Txn) Save ¶
func (*Txn) SetCurrent ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
store/storeutil |
- Version
- v0.9.0
- Published
- Aug 16, 2022
- Platform
- js/wasm
- Imports
- 17 packages
- Last checked
- 9 hours ago –
Tools for package owners.