Documentation
¶
Index ¶
- func AddReferences(t *testing.T, host string, refs []*models.BatchReference)
- func AddTenantReferences(t *testing.T, host string, refs []*models.BatchReference)
- func CountObjects(t *testing.T, host, class string) int64
- func CountTenantObjects(t *testing.T, host, class string, tenant string) int64
- func CreateObjectCL(t *testing.T, host string, obj *models.Object, cl replica.ConsistencyLevel) error
- func CreateObjects(t *testing.T, host string, batch []*models.Object)
- func CreateObjectsCL(t *testing.T, host string, batch []*models.Object, cl replica.ConsistencyLevel)
- func CreateTenantObjects(t *testing.T, host string, batch []*models.Object)
- func DeleteObject(t *testing.T, host, class string, id strfmt.UUID, cl replica.ConsistencyLevel)
- func DeleteObjects(t *testing.T, host, class string, path []string, valueText string, ...)
- func DeleteTenantObject(t *testing.T, host, class string, id strfmt.UUID, tenant string, ...)
- func DeleteTenantObjects(t *testing.T, host, class string, path []string, valueText, tenant string, ...)
- func GQLDo(t *testing.T, class, query string) []interface{}
- func GQLGet(t *testing.T, host, class string, cl replica.ConsistencyLevel, ...) []interface{}
- func GQLGetNearVec(t *testing.T, host, class string, vec []interface{}, ...) []interface{}
- func GQLTenantGet(t *testing.T, host, class string, cl replica.ConsistencyLevel, tenant string, ...) []interface{}
- func GetClass(t *testing.T, host, class string) *models.Class
- func GetNodes(t *testing.T, host string) *models.NodesStatusResponse
- func GetObject(t *testing.T, host, class string, id strfmt.UUID, withVec bool) (*models.Object, error)
- func GetObjectCL(t *testing.T, host, class string, id strfmt.UUID, cl replica.ConsistencyLevel) (*models.Object, error)
- func GetObjectFromNode(t *testing.T, host, class string, id strfmt.UUID, nodename string) (*models.Object, error)
- func GetTenantObject(t *testing.T, host, class string, id strfmt.UUID, tenant string) (*models.Object, error)
- func GetTenantObjectFromNode(t *testing.T, host, class string, id strfmt.UUID, nodename, tenant string) (*models.Object, error)
- func ObjectExistsCL(t *testing.T, host, class string, id strfmt.UUID, cl replica.ConsistencyLevel) (bool, error)
- func PatchObject(t *testing.T, host string, patch *models.Object)
- func StartNodeAt(ctx context.Context, t *testing.T, compose *docker.DockerCompose, index int)
- func StopNodeAt(ctx context.Context, t *testing.T, compose *docker.DockerCompose, index int)
- func UpdateClass(t *testing.T, host string, class *models.Class)
- func UpdateObjectCL(t *testing.T, host string, obj *models.Object, cl replica.ConsistencyLevel) error
- func Vec2String(v []interface{}) (s string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddReferences ¶
func AddReferences(t *testing.T, host string, refs []*models.BatchReference)
func AddTenantReferences ¶
func AddTenantReferences(t *testing.T, host string, refs []*models.BatchReference)
func CountTenantObjects ¶
func CreateObjectCL ¶
func CreateObjectsCL ¶
func CreateTenantObjects ¶
func DeleteObject ¶
func DeleteObjects ¶
func DeleteTenantObject ¶
func DeleteTenantObjects ¶
func GQLGetNearVec ¶
func GQLTenantGet ¶
func GetObjectCL ¶
func GetObjectFromNode ¶
func GetTenantObject ¶
func GetTenantObjectFromNode ¶
func ObjectExistsCL ¶
func StartNodeAt ¶
startNodeAt starts the node container at the given index.
NOTE: the index is 1-based, so starting the first node requires index=1, not 0
func StopNodeAt ¶
stopNodeAt stops the node container at the given index.
NOTE: the index is 1-based, so stopping the first node requires index=1, not 0
func UpdateObjectCL ¶
func Vec2String ¶
func Vec2String(v []interface{}) (s string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.