Documentation
¶
Index ¶
- func Delete(cfg *config.Config, deploymentIdentifier string) error
- func DeregisterERPCUpstream(cfg *config.Config, networkType, id string) error
- func Install(cfg *config.Config, network string, overrides map[string]string, force bool) error
- func List(cfg *config.Config) error
- func RegisterERPCUpstream(cfg *config.Config, networkType, id string) error
- func Sync(cfg *config.Config, deploymentIdentifier string) error
- func SyncAll(cfg *config.Config) error
- type TemplateField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeregisterERPCUpstream ¶
DeregisterERPCUpstream removes a previously registered local upstream from the eRPC ConfigMap.
func Install ¶
Install creates a network configuration by executing Go templates and saving to config directory
func RegisterERPCUpstream ¶
RegisterERPCUpstream reads the deployed network's RPC endpoint and adds it as an upstream in the eRPC ConfigMap. The local node becomes the primary upstream (group: "primary") with automatic fallback to existing remote upstreams.
Types ¶
type TemplateField ¶
type TemplateField struct {
Name string
DefaultValue string
FlagName string // CLI flag name derived from field name
Description string // Human-readable description from @description
EnumValues []string // Valid enum values from @enum
Required bool // Whether this field is required (no default value)
}
TemplateField represents a template field with its configuration
func ParseTemplateFields ¶
func ParseTemplateFields(networkName string) ([]TemplateField, error)
ParseTemplateFields extracts template fields from an embedded network values file Uses Go template parsing to identify field references and their annotations
Click to show internal directories.
Click to hide internal directories.