Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed copy_config_toml.sh CopyConfigToml string )
Functions ¶
func ConfigFromSpec ¶
func ConfigFromSpec(node *filecoinv1alpha1.Node) (config string, err error)
ConfigFromSpec generates config.toml file from node spec
Types ¶
type Chainstore ¶ added in v0.2.0
type Chainstore struct {
EnableSplitstore bool
}
type Config ¶
type Config struct { API *API `toml:"API,omitempty"` Backup Backup LibP2P LibP2P `toml:"Libp2p"` Client *Client Chainstore Chainstore }
type NodeReconciler ¶
type NodeReconciler struct {
shared.Reconciler
}
NodeReconciler reconciles a Node object
func (*NodeReconciler) Reconcile ¶
func (r *NodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile reconciles Filecoin network node
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds reconciler to the manager
Click to show internal directories.
Click to hide internal directories.