Documentation ¶
Index ¶
- Constants
- Variables
- func GetComputeConfig(ctx context.Context, cfg types.NodeConfig, createExecutionStore bool) (node.ComputeConfig, error)
- func GetPeers(cfg types.BacalhauConfig) ([]multiaddr.Multiaddr, error)
- func GetRequesterConfig(ctx context.Context, cfg types.RequesterConfig, createJobStore bool) (node.RequesterConfig, error)
- func GetTLSCertificate(ctx context.Context, cfg types.BacalhauConfig, nodeConfig *node.NodeConfig) (string, string, error)
- func NewCmd() *cobra.Command
- func SetupIPFSClient(ctx context.Context, cm *system.CleanupManager, ipfsCfg types.IpfsConfig) (ipfs.Client, error)
Constants ¶
View Source
const DefaultPeerConnect = "none"
Variables ¶
View Source
var DefaultSwarmPort = 1235
View Source
var DefaultWebPort = 8483
Functions ¶
func GetComputeConfig ¶
func GetComputeConfig(ctx context.Context, cfg types.NodeConfig, createExecutionStore bool) (node.ComputeConfig, error)
func GetPeers ¶
func GetPeers(cfg types.BacalhauConfig) ([]multiaddr.Multiaddr, error)
func GetRequesterConfig ¶
func GetRequesterConfig(ctx context.Context, cfg types.RequesterConfig, createJobStore bool) (node.RequesterConfig, error)
func GetTLSCertificate ¶ added in v1.3.1
func GetTLSCertificate(ctx context.Context, cfg types.BacalhauConfig, nodeConfig *node.NodeConfig) (string, string, error)
func SetupIPFSClient ¶
func SetupIPFSClient(ctx context.Context, cm *system.CleanupManager, ipfsCfg types.IpfsConfig) (ipfs.Client, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.