Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupAerospikeFixtures ¶
func CleanupAerospikeFixtures(client *aerospike.Client, fixtures []AerospikeFixture) error
CleanupAerospikeFixtures cleans up fixtures from Aerospike.
Types ¶
type AerospikeFixture ¶
type AerospikeFixture struct {
Bins map[string]interface{} `json:"bins"`
Namespace string `json:"namespace"`
Set string `json:"set"`
Key string `json:"key"`
}
func LoadAerospikeFixtures ¶
func LoadAerospikeFixtures(client *aerospike.Client, fixturesData []byte) ([]AerospikeFixture, error)
LoadAerospikeFixtures loads fixtures into Aerospike. it is a good idea to use CleanupAerospikeFixtures to clean up after the test.
Click to show internal directories.
Click to hide internal directories.