Documentation ¶
Index ¶
- Constants
- func ClearData(ds *regtest.TestDataSource) error
- func CreateProjectTableAndCcl(projectConf string, cclList []*scql.SecurityConfig_ColumnControl, ...) error
- func GetUrlList(conf *TestConfig) error
- func NewFetchConf(maxFetchCount int, fetchInterval time.Duration) *fetchConf
- func RunSql(issuer string, sql string, jobConf string, fc *fetchConf) ([]*scql.Tensor, error)
- func ValidateAllParticipants() (err error)
- type TestConfig
- type TestFlag
Constants ¶
View Source
const ( Deliminator = "," ABY3 = "ABY3" SEMI2K = "SEMI2K" CHEETAH = "CHEETAH" )
Variables ¶
This section is empty.
Functions ¶
func ClearData ¶
func ClearData(ds *regtest.TestDataSource) error
func CreateProjectTableAndCcl ¶
func CreateProjectTableAndCcl(projectConf string, cclList []*scql.SecurityConfig_ColumnControl, skipCreate bool) error
func GetUrlList ¶
func GetUrlList(conf *TestConfig) error
func NewFetchConf ¶
func ValidateAllParticipants ¶
func ValidateAllParticipants() (err error)
Types ¶
type TestConfig ¶
type TestConfig struct { SkipCreateTableCCL bool `yaml:"skip_create_table_ccl"` SkipConcurrentTest bool `yaml:"skip_concurrent_test"` SkipPlaintextCCLTest bool `yaml:"skip_plaintext_ccl_test"` ProjectConf string `yaml:"project_conf"` HttpProtocol string `yaml:"http_protocol"` BrokerAddrs string `yaml:"broker_addrs"` SpuProtocol string `yaml:"spu_protocol"` MySQLConnStr string `yaml:"mysql_conn_str"` PsiType scql.PsiAlgorithmType `yaml:"psi_type"` }
func ReadConf ¶
func ReadConf(path string) (*TestConfig, error)
Click to show internal directories.
Click to hide internal directories.