{"modulePath":"github.com/smartcontractkit/chainlink-testing-framework/framework","version":"v0.17.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package jd\n\n## Constants\n\n```go\nconst (\n\tTmpImageName            = \"jd-local\"\n\tGRPCPort         string = \"14231\"\n\tCSAEncryptionKey string = \"!PASsword000!\"\n\tWSRPCPort        string = \"8080\"\n\tWSRPCHealthPort  string = \"8081\"\n)\n```\n\n## Types\n\n```go\ntype GRPCHealthStrategy struct {\n\tPort         string\n\tPollInterval time.Duration\n\t// contains filtered or unexported fields\n}\n```\nGRPCHealthStrategy implements a wait strategy for gRPC health checks\n\n```go\nfunc NewGRPCHealthStrategy(port string) *GRPCHealthStrategy\n```\nNewGRPCHealthStrategy creates a new gRPC health check wait strategy\n\n```go\nfunc (g *GRPCHealthStrategy) WaitUntilReady(ctx context.Context, target tcwait.StrategyTarget) error\n```\nWaitUntilReady implements Strategy.WaitUntilReady\n\n```go\nfunc (g *GRPCHealthStrategy) WithPollInterval(interval time.Duration) *GRPCHealthStrategy\n```\nWithPollInterval sets the poll interval for the gRPC health check strategy\n\n```go\nfunc (g *GRPCHealthStrategy) WithTimeout(timeout time.Duration) *GRPCHealthStrategy\n```\nWithTimeout sets the timeout for the gRPC health check strategy\n\n```go\ntype Input struct {\n\tImage            string          `toml:\"image\"`\n\tGRPCPort         string          `toml:\"grpc_port\"`\n\tWSRPCPort        string          `toml:\"wsrpc_port\"`\n\tCSAEncryptionKey string          `toml:\"csa_encryption_key\"`\n\tDockerFilePath   string          `toml:\"docker_file\"`\n\tDockerContext    string          `toml:\"docker_ctx\"`\n\tJDSQLDumpPath    string          `toml:\"jd_sql_dump_path\"`\n\tDBInput          *postgres.Input `toml:\"db\"`\n\tOut              *Output         `toml:\"out\"`\n}\n```\n\n```go\ntype Output struct {\n\tUseCache         bool   `toml:\"use_cache\"`\n\tContainerName    string `toml:\"container_name\"`\n\tDBContainerName  string `toml:\"db_container_name\"`\n\tExternalGRPCUrl  string `toml:\"grpc_url\"`\n\tInternalGRPCUrl  string `toml:\"internal_grpc_url\"`\n\tExternalWSRPCUrl string `toml:\"wsrpc_url\"`\n\tInternalWSRPCUrl string `toml:\"internal_wsrpc_url\"`\n}\n```\n\n```go\nfunc NewJD(in *Input) (*Output, error)\n```\n\n```go\nfunc NewWithContext(ctx context.Context, in *Input) (*Output, error)\n```\n\n","path":"github.com/smartcontractkit/chainlink-testing-framework/framework/components/jd","name":"jd","synopsis":"","isRedistributable":true}
