Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConfigFilePath = "../connect.toml" ErrReadConnectionConfig = "failed to read TOML environment connection config" ErrUnmarshalConnectionConfig = "failed to unmarshal TOML environment connection config" )
Variables ¶
This section is empty.
Functions ¶
func ConnectRemote ¶
func ConnectRemote() (*blockchain.EVMNetwork, *client2.MockserverClient, *client.ChainlinkK8sClient, []*client.ChainlinkK8sClient, error)
ConnectRemote connects to a local environment, see charts/chainlink-cluster
Types ¶
type ConnectionVars ¶
type ConnectionVars struct { Namespace string `toml:"namespace"` NetworkName string `toml:"network_name"` NetworkChainID int64 `toml:"network_chain_id"` NetworkPrivateKey string `toml:"network_private_key"` NetworkWSURL string `toml:"network_ws_url"` NetworkHTTPURL string `toml:"network_http_url"` CLNodesNum int `toml:"cl_nodes_num"` CLNodeURLTemplate string `toml:"cl_node_url_template"` CLNodeInternalDNSRecordTemplate string `toml:"cl_node_internal_dns_record_template"` CLNodeUser string `toml:"cl_node_user"` CLNodePassword string `toml:"cl_node_password"` MockServerURL string `toml:"mockserver_url"` }
func ReadConfig ¶
func ReadConfig() (*ConnectionVars, error)
Click to show internal directories.
Click to hide internal directories.