storeutil

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 11 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 GetProxyConfig added in v0.8.0

func GetProxyConfig(dockerCli command.Cli) map[string]string

func GetStore

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

GetStore returns current builder instance store

Types

This section is empty.

Jump to

Keyboard shortcuts

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