Documentation
¶
Overview ¶
Package installer provides an interactive TUI installer for Orama Network
Package installer provides an interactive TUI installer for Orama Network
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallerConfig ¶
type InstallerConfig struct {
VpsIP string
Domain string
PeerDomain string // Domain of existing node to join
PeerIP string // Resolved IP of peer domain (for Raft join)
JoinAddress string // Auto-populated: {PeerIP}:7002 (direct RQLite TLS)
Peers []string // Auto-populated: /dns4/{PeerDomain}/tcp/4001/p2p/{PeerID}
ClusterSecret string
SwarmKeyHex string // 64-hex IPFS swarm key (for joining private network)
IPFSPeerID string // IPFS peer ID (auto-discovered from peer domain)
IPFSSwarmAddrs []string // IPFS swarm addresses (auto-discovered from peer domain)
// IPFS Cluster peer info for cluster discovery
IPFSClusterPeerID string // IPFS Cluster peer ID (auto-discovered from peer domain)
IPFSClusterAddrs []string // IPFS Cluster addresses (auto-discovered from peer domain)
Branch string
IsFirstNode bool
NoPull bool
}
InstallerConfig holds the configuration gathered from the TUI
func Run ¶
func Run() (*InstallerConfig, error)
Run starts the TUI installer and returns the configuration
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the bubbletea model for the installer
func (Model) GetConfig ¶
func (m Model) GetConfig() InstallerConfig
GetConfig returns the installer configuration after the TUI completes
Click to show internal directories.
Click to hide internal directories.