handlers

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAdminLogin added in v0.10.0

func HandleAdminLogin(adminMan *admin.Manager, syncMan *syncman.SyncManager) http.HandlerFunc

HandleAdminLogin creates the admin login endpoint

func HandleCreateFile

func HandleCreateFile(auth *auth.Module, fileStore *filestore.Module) http.HandlerFunc

HandleCreateFile creates the create file or directory endpoint

func HandleCreationRequest added in v0.12.0

func HandleCreationRequest(adminMan *admin.Manager, schema *schema.Schema) http.HandlerFunc

HandleCreationRequest creates the schema inspection endpoint

func HandleCrudAggregate

func HandleCrudAggregate(auth *auth.Module, crud *crud.Module) http.HandlerFunc

HandleCrudAggregate creates the aggregate operation endpoint

func HandleCrudBatch

func HandleCrudBatch(auth *auth.Module, crud *crud.Module, realtime *realtime.Module) http.HandlerFunc

HandleCrudBatch creates the batch operation endpoint

func HandleCrudCreate

func HandleCrudCreate(auth *auth.Module, crud *crud.Module, realtime *realtime.Module) http.HandlerFunc

HandleCrudCreate creates the create operation endpoint

func HandleCrudDelete

func HandleCrudDelete(auth *auth.Module, crud *crud.Module, realtime *realtime.Module) http.HandlerFunc

HandleCrudDelete creates the delete operation endpoint

func HandleCrudRead

func HandleCrudRead(auth *auth.Module, crud *crud.Module) http.HandlerFunc

HandleCrudRead creates the read operation endpoint

func HandleCrudUpdate

func HandleCrudUpdate(auth *auth.Module, crud *crud.Module, realtime *realtime.Module) http.HandlerFunc

HandleCrudUpdate creates the update operation endpoint

func HandleDelete

func HandleDelete(auth *auth.Module, fileStore *filestore.Module) http.HandlerFunc

HandleDelete creates read file and list directory endpoint

func HandleDeleteProjectConfig added in v0.10.0

func HandleDeleteProjectConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleDeleteProjectConfig returns the handler to delete the config of a project via a REST endpoint

func HandleEmailEditProfile

func HandleEmailEditProfile(userManagement *userman.Module) http.HandlerFunc

HandleEmailEditProfile returns the handler for edit profile

func HandleEmailSignIn

func HandleEmailSignIn(userManagement *userman.Module) http.HandlerFunc

HandleEmailSignIn returns the handler for email sign in

func HandleEmailSignUp

func HandleEmailSignUp(userManagement *userman.Module) http.HandlerFunc

HandleEmailSignUp returns the handler for email sign up

func HandleFunctionCall

func HandleFunctionCall(functions *functions.Module, auth *auth.Module) http.HandlerFunc

HandleFunctionCall creates a functions request endpoint

func HandleGetCollectionSchemas added in v0.12.0

func HandleGetCollectionSchemas(adminMan *admin.Manager, schema *schema.Schema) http.HandlerFunc

HandleGetCollectionSchemas is an endpoint handler which return schema for all the collection in the config.crud

func HandleGetCollections added in v0.12.0

func HandleGetCollections(adminMan *admin.Manager, crud *crud.Module, syncMan *syncman.SyncManager) http.HandlerFunc

HandleGetCollections is an endpoint handler which return all the collection name for specified data base

func HandleGraphQLRequest added in v0.12.0

func HandleGraphQLRequest(graphql *graphql.Module) http.HandlerFunc

HandleGraphQLRequest creates the graphql operation endpoint

func HandleInspectionRequest added in v0.12.0

func HandleInspectionRequest(adminMan *admin.Manager, schemaArg *schema.Schema) http.HandlerFunc

HandleInspectionRequest creates the schema inspection endpoint

func HandleLoadDeploymentConfig added in v0.10.0

func HandleLoadDeploymentConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleLoadDeploymentConfig returns the handler to load the deployment config via a REST endpoint

func HandleLoadEnv added in v0.11.0

func HandleLoadEnv(adminMan *admin.Manager) http.HandlerFunc

HandleLoadEnv returns the handler to load the projects via a REST endpoint

func HandleLoadOperationModeConfig added in v0.10.0

func HandleLoadOperationModeConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleLoadOperationModeConfig returns the handler to load the operation config via a REST endpoint

func HandleLoadProjects added in v0.10.0

func HandleLoadProjects(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleLoadProjects returns the handler to load the projects via a REST endpoint

func HandleLoadStaticConfig added in v0.11.0

func HandleLoadStaticConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager) http.HandlerFunc

HandleLoadStaticConfig returns the handler to load the projects via a REST endpoint

func HandleMissionControl added in v0.10.0

func HandleMissionControl(staticPath string) http.HandlerFunc

HandleMissionControl hosts the static resources for mission control

func HandleModifySchemas added in v0.12.0

func HandleModifySchemas(auth *auth.Module, adminMan *admin.Manager) http.HandlerFunc

HandleModifySchemas creates the schema for all databases present in the config

func HandleProfile

func HandleProfile(userManagement *userman.Module) http.HandlerFunc

HandleProfile returns the handler for fetching single user profile

func HandleProfiles

func HandleProfiles(userManagement *userman.Module) http.HandlerFunc

HandleProfiles returns the handler for fetching all user profiles

func HandlePublishCall added in v0.12.0

func HandlePublishCall(pubsub *pubsub.Module, auth *auth.Module) http.HandlerFunc

HandlePublishCall publishes to pubsub

func HandleQueueEvent added in v0.12.1

func HandleQueueEvent(adminMan *admin.Manager, eventing *eventing.Module) http.HandlerFunc

HandleQueueEvent creates a queue event endpoint

func HandleRead

func HandleRead(auth *auth.Module, fileStore *filestore.Module) http.HandlerFunc

HandleRead creates read file and list directory endpoint

func HandleStaticRequest

func HandleStaticRequest(static *static.Module) http.HandlerFunc

HandleStaticRequest creates a static request endpoint

func HandleStoreDeploymentConfig added in v0.10.0

func HandleStoreDeploymentConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleStoreDeploymentConfig returns the handler to store the deployment config via a REST endpoint

func HandleStoreOperationModeConfig added in v0.10.0

func HandleStoreOperationModeConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleStoreOperationModeConfig returns the handler to store the operation config via a REST endpoint

func HandleStoreProjectConfig added in v0.10.0

func HandleStoreProjectConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager, configPath string) http.HandlerFunc

HandleStoreProjectConfig returns the handler to store the config of a project via a REST endpoint

func HandleStoreStaticConfig added in v0.11.0

func HandleStoreStaticConfig(adminMan *admin.Manager, syncMan *syncman.SyncManager) http.HandlerFunc

HandleStoreStaticConfig returns the handler to store the config of a project via a REST endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL