Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrReadPerfConfig = "failed to read TOML config for performance tests" ErrUnmarshalPerfConfig = "failed to unmarshal TOML config for performance tests" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct { NodeFunds *big.Float `toml:"node_funds"` SubFunds *big.Int `toml:"sub_funds"` LINKTokenAddr *string `toml:"link_token_addr"` Coordinator *string `toml:"coordinator_addr"` Router *string `toml:"router_addr"` LoadTestClient *string `toml:"client_addr"` SubscriptionID *uint64 `toml:"subscription_id"` DONID *string `toml:"don_id"` GatewayURL *string `toml:"gateway_url"` Receiver *string `toml:"receiver"` FunctionsCallPayloadHTTP *string `toml:"functions_call_payload_http"` FunctionsCallPayloadWithSecrets *string `toml:"functions_call_payload_with_secrets"` FunctionsCallPayloadReal *string `toml:"functions_call_payload_real"` SecretsSlotID *uint8 `toml:"secrets_slot_id"` SecretsVersionID *uint64 `toml:"secrets_version_id"` // Secrets these are for CI secrets Secrets *string `toml:"secrets"` }
type Config ¶
type Config struct { Performance *Performance `toml:"Performance"` Common *Common `toml:"Common"` }
type Performance ¶
type Performance struct { RPS *int64 `toml:"rps"` RequestsPerCall *uint32 `toml:"requests_per_call"` Duration *blockchain.StrDuration `toml:"duration"` }
func (*Performance) Validate ¶
func (c *Performance) Validate() error
Click to show internal directories.
Click to hide internal directories.