Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportAPI ¶
type ImportAPI struct {
// contains filtered or unexported fields
}
ImportAPI is a restful API used to manage importing datasets to be published
func Setup ¶ added in v1.9.0
func Setup(router *mux.Router, dataStore datastore.DataStorer, jobService JobService, cfg *config.Configuration) *ImportAPI
Setup manages all the routes configured to API
func SetupAPIWith ¶ added in v1.13.0
func SetupAPIWith(overrideDataStore *mongo.DataStorer, overrideServiceMock *testapi.JobServiceMock) *ImportAPI
SetupAPIWith sets up API with given configs
Source Files ¶
Click to show internal directories.
Click to hide internal directories.