Documentation ¶
Overview ¶
Due to circular references, please avoid moving this file to testutil.
Due to circular references, please avoid moving this file to testutil.
Index ¶
- type Command
- func (c *Command) CancelJob(jobID string) error
- func (c *Command) CreateJob(projectID, query string, debugOpts *pb.DebugOptions) (string, error)
- func (c *Command) CreateProject(projectID, projectConf string) (string, error)
- func (c *Command) CreateTable(projectID, tableName, dbType, refTable string, ...) error
- func (c *Command) DeleteTable(projectID, name string) error
- func (c *Command) DoQuery(projectID, query string, debugOpts *pb.DebugOptions) (*pb.QueryResponse, error)
- func (c *Command) GetCCL(projectID string, tables, destParties []string) (*pb.ShowCCLResponse, error)
- func (c *Command) GetInvitation() (*pb.ListInvitationsResponse, error)
- func (c *Command) GetProject(projectID string) (*pb.ListProjectsResponse, error)
- func (c *Command) GetResult(jobID string) (result *pb.QueryResponse, not_ready bool, err error)
- func (c *Command) GetTable(projectID string, tableNames []string) (*pb.ListTablesResponse, error)
- func (c *Command) GrantCCL(projectID string, ccls []*pb.ColumnControl) error
- func (c *Command) InviteMember(projectID, member string) error
- func (c *Command) ProcessInvitation(ids string, accept bool) error
- func (c *Command) RevokeCCL(projectID, party string, ccls []*pb.ColumnControl) error
- type TestAppBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Simplify the complexity of calling HTTP interfaces when writing debugging tools or test code.
func NewCommand ¶
func (*Command) CreateProject ¶
func (*Command) CreateTable ¶
func (c *Command) CreateTable(projectID, tableName, dbType, refTable string, columns []*pb.CreateTableRequest_ColumnDesc) error
func (*Command) DeleteTable ¶
func (*Command) DoQuery ¶
func (c *Command) DoQuery(projectID, query string, debugOpts *pb.DebugOptions) (*pb.QueryResponse, error)
func (*Command) GetInvitation ¶
func (c *Command) GetInvitation() (*pb.ListInvitationsResponse, error)
func (*Command) GetProject ¶
func (c *Command) GetProject(projectID string) (*pb.ListProjectsResponse, error)
func (*Command) GrantCCL ¶
func (c *Command) GrantCCL(projectID string, ccls []*pb.ColumnControl) error
func (*Command) InviteMember ¶
func (*Command) ProcessInvitation ¶
type TestAppBuilder ¶
type TestAppBuilder struct { PartyInfoTmpPath string PemFilePaths map[string]string ServerAlice *httptest.Server ServerBob *httptest.Server ServerCarol *httptest.Server ServerEngine *httptest.Server ServerAliceUrl string ServerBobUrl string ServerCarolUrl string ServerEngineUrl string AppAlice *application.App AppBob *application.App AppCarol *application.App }
func (*TestAppBuilder) BuildAppTests ¶
func (b *TestAppBuilder) BuildAppTests() error
Click to show internal directories.
Click to hide internal directories.