k8s

package
v0.0.0-...-692deea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: MIT Imports: 8 Imported by: 0

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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL