serve

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

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 NewCmd

func NewCmd() *cobra.Command

func SetupIPFSClient

func SetupIPFSClient(ctx context.Context, cm *system.CleanupManager, ipfsCfg types.IpfsConfig) (ipfs.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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