Documentation
¶
Index ¶
Constants ¶
View Source
const ( ControlLabelKey = "generatedBy" ControlLabelValue = "cdk8s" ControlLabelEnvTypeKey = "envType" )
Control labels used to list envs created by the wizard
View Source
const ( EnvTypeEVM1 = "evm-1-minimal" EnvTypeEVM5 = "evm-5-minimal" EnvTypeEVM5BS = "evm-5-minimal-blockscout" EnvTypeEVM5Soak = "evm-5-soak" EnvTypeSolana5 = "solana-5-default" )
View Source
const ( AppName = "chainlink-node" NodeContainerName = "node" GethURLsKey = "geth" BlockscoutURLsKey = "blockscout" NodesLocalURLsKey = "chainlink_local" NodesInternalURLsKey = "chainlink_internal" DBsLocalURLsKey = "chainlink_db" MockServerURLsKey = "mockserver" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ManifestOutputData ¶
type ManifestOutputData struct {
Namespace string
ReadyCheckData client.ReadyCheckData
CommonChartVars internalChartVars
Props *Props
}
ManifestOutputData checks if all selected pods are ready by tailing the logs and checking substrings
func (*ManifestOutputData) GetNamespace ¶
func (m *ManifestOutputData) GetNamespace() string
func (*ManifestOutputData) GetReadyCheckData ¶
func (m *ManifestOutputData) GetReadyCheckData() client.ReadyCheckData
func (*ManifestOutputData) ProcessConnections ¶
ProcessConnections processing connections and extracting environment specific connections into human-readable URLs TODO: Flatten? Do we need only ports? How to make sure ports won't collapse?
func (*ManifestOutputData) SetNamespace ¶
func (m *ManifestOutputData) SetNamespace(ns string)
type NodeEnvVars ¶
type NodeEnvVars struct {
DatabaseURL string `envconfig:"DATABASE_URL" `
DatabaseName string `envconfig:"DATABASE_NAME" `
EthURL string `envconfig:"ETH_URL" `
EthChainID string `envconfig:"ETH_CHAIN_ID" `
AllowOrigins string `envconfig:"ALLOW_ORIGINS" `
ChainlinkDev string `envconfig:"CHAINLINK_DEV" `
ETHDisabled string `envconfig:"ETH_DISABLED" `
FeatureExternalInitiators string `envconfig:"FEATURE_EXTERNAL_INITIATORS" `
ChainlinkPassword string `envconfig:"CHAINLINK_PGPASSWORD" `
ChainlinkPort string `envconfig:"CHAINLINK_PORT" `
ChainlinkTLSPort string `envconfig:"CHAINLINK_TLS_PORT" `
DefaultHTTPAllowUnrestrictedNetworkAccess string `envconfig:"DEFAULT_HTTP_ALLOW_UNRESTRICTED_NETWORK_ACCESS" `
EnableBulletproofTXManager string `envconfig:"ENABLE_BULLETPROOF_TX_MANAGER" `
FeatureOffchainReporting string `envconfig:"FEATURE_OFFCHAIN_REPORTING" `
JsonConsole string `envconfig:"JSON_CONSOLE" `
LogLevel string `envconfig:"LOG_LEVEL" `
MaxExportHTMLThreads string `envconfig:"MAX_EXPORT_HTML_THREADS" `
MinimumContractPaymentLinkJuels string `envconfig:"MINIMUM_CONTRACT_PAYMENT_LINK_JUELS" `
OCRTraceLogging string `envconfig:"OCR_TRACE_LOGGING" `
P2PListenIP string `envconfig:"P2P_LISTEN_IP" `
P2PListenPort string `envconfig:"P2P_LISTEN_PORT" `
Root string `envconfig:"ROOT" `
SecureCookies string `envconfig:"SECURE_COOKIES" `
ETHMaxInFlightTransactions string `envconfig:"ETH_MAX_IN_FLIGHT_TRANSACTIONS" `
// Explorer
ExplorerURL string `envconfig:"EXPLORER_URL" `
ExplorerAccessKey string `envconfig:"EXPLORER_ACCESS_KEY" `
ExplorerSecret string `envconfig:"EXPLORER_SECRET" `
// Keeper
KeeperDefaultTransactionQueueDepth string `envconfig:"KEEPER_DEFAULT_TRANSACTION_QUEUE_DEPTH" `
KeeperRegistrySyncInterval string `envconfig:"KEEPER_REGISTRY_SYNC_INTERVAL" `
KeeperMinimumRequiredConfirmations string `envconfig:"KEEPER_MINIMUM_REQUIRED_CONFIRMATIONS" `
KeeperRegistryPerformGasOverhead string `envconfig:"KEEPER_REGISTRY_PERFORM_GAS_OVERHEAD" `
}
NodeEnvVars node environment variables, get them from CL repo later
type PersistenceProps ¶
type PersistenceProps struct {
Capacity string
}
PersistenceProps database persistence props
type Props ¶
type Props struct {
Namespace string
BlockscoutEnabled bool
TTL time.Duration
Labels []string
ChainProps []interface{}
AppVersions []VersionProps
TestRunnerProps interface{}
Persistence PersistenceProps
ResourcesMode pkg.ResourcesMode
// contains filtered or unexported fields
}
Props root Chainlink props
type VersionProps ¶
type VersionProps struct {
Image string `envconfig:"IMAGE"`
Tag string `envconfig:"TAG"`
Instances int
Env *NodeEnvVars
ResourcesMode pkg.ResourcesMode
}
VersionProps CL application props for a particular version
Click to show internal directories.
Click to hide internal directories.