Documentation
¶
Index ¶
- func CreateInstanceName(ctx context.Context, t *testing.T, client *ent.Client, name string) *ent.InstanceName
- func SetupTestDB(t testing.TB, dbProvider *embedded.DatabaseProvider) database.Client
- func StartCreateInvocation(client *ent.Client, instanceName *ent.InstanceName) *ent.BazelInvocationCreate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInstanceName ¶
func CreateInstanceName(ctx context.Context, t *testing.T, client *ent.Client, name string) *ent.InstanceName
CreateInstanceName creates a instance name in the testing database.
func SetupTestDB ¶
SetupTestDB creates a new database used for testing.
func StartCreateInvocation ¶
func StartCreateInvocation(client *ent.Client, instanceName *ent.InstanceName) *ent.BazelInvocationCreate
StartCreateInvocation startes a BazelInvocationCreate query with required variables to avoid having to repeat them every time. They can be overridden by specifying them agin.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.