Documentation
¶
Overview ¶
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- func AddMonitoringSecurityGroupRule(ec2Svc map[string]*awsAPI.AwsCloud, ...) error
- func CallDestroyNode(clusterName string) error
- func Cleanup() error
- func CreateClusterNodeConfig(network models.Network, cloudConfigMap models.CloudConfig, ...) error
- func GetAllClusterHosts(clusterName string) ([]*models.Host, error)
- func GetLoadTestScript(app *application.Lux) error
- func GetMinStakingAmount(network models.Network) (uint64, error)
- func GetTimeParametersPrimaryNetwork(network models.Network, nodeIndex int, validationDuration time.Duration, ...) (time.Time, time.Duration, error)
- func GrantAccessToIPinAWS(awsProfile string, region string, sgName string, userIPAddress string) error
- func GrantAccessToIPinGCP(userIPAddress string) error
- func NewCmd(injectedApp *application.Lux) *cobra.Command
- func NewValidateCmd() *cobra.Command
- func PrintNodeJoinPrimaryNetworkOutput(nodeID ids.NodeID, weight uint64, network models.Network, start time.Time)
- func PromptWeightPrimaryNetwork(network models.Network) (uint64, error)
- type ClusterOp
- type NetworkInfo
- type NodeLocalValidateFlags
- type NumNodes
Constants ¶
This section is empty.
Variables ¶
var ( ErrMutuallyExlusiveKeyLedger = errors.New("--key and --ledger,--ledger-addrs are mutually exclusive") ErrStoredKeyOnMainnet = errors.New("--key is not available for mainnet operations") )
Functions ¶
func CallDestroyNode ¶
func CreateClusterNodeConfig ¶
func CreateClusterNodeConfig( network models.Network, cloudConfigMap models.CloudConfig, monitorCloudConfig models.RegionConfig, monitoringHostRegion, clusterName, cloudService string, addMonitoring bool, ) error
CreateClusterNodeConfig creates node config and save it in .lux-cli/nodes/{instanceID} also creates cluster config in .lux-cli/nodes storing various key pair and security group info for all clusters
func GetAllClusterHosts ¶
GetAllClusterHosts returns all hosts in a cluster including loadtest and monitoring hosts
func GetLoadTestScript ¶
func GetLoadTestScript(app *application.Lux) error
func GrantAccessToIPinAWS ¶
func GrantAccessToIPinGCP ¶
func NewCmd ¶
func NewCmd(injectedApp *application.Lux) *cobra.Command
NewCmd returns a new cobra.Command for node operations
func NewValidateCmd ¶
Types ¶
type NetworkInfo ¶
NetworkInfo holds network configuration
type NodeLocalValidateFlags ¶
type NodeLocalValidateFlags struct {
RPC string
SigAggFlags flags.SignatureAggregatorFlags
}
Source Files
¶
- add_dashboard.go
- automining.go
- create.go
- create_aws.go
- create_devnet.go
- create_gcp.go
- deploy.go
- destroy.go
- dev.go
- devnet.go
- dynamic_ips.go
- export.go
- helpers.go
- import.go
- list.go
- load_test_cmd.go
- load_test_start.go
- load_test_stop.go
- local.go
- node.go
- refresh_ips.go
- resize.go
- scp.go
- setup.go
- ssh.go
- start.go
- status.go
- sync.go
- update.go
- update_subnet.go
- upgrade.go
- validate.go
- validate_primary.go
- validate_subnet.go
- validator.go
- version.go
- whitelist.go
- wiz.go