wsHandler

package
v4.55.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleBackupDBReq added in v4.32.3

func HandleBackupDBReq(req *protos.BackupDBReq, hctx wsHelpers.HandlerContext) (*protos.BackupDBResp, error)

func HandleDBAdminConfigGetReq added in v4.32.3

func HandleDBAdminConfigGetReq(req *protos.DBAdminConfigGetReq, hctx wsHelpers.HandlerContext) (*protos.DBAdminConfigGetResp, error)

func HandleImageBeamLocationUploadReq added in v4.54.5

func HandleImageBeamLocationUploadReq(req *protos.ImageBeamLocationUploadReq, hctx wsHelpers.HandlerContext) (*protos.ImageBeamLocationUploadResp, error)

func HandleJobListReq added in v4.15.3

func HandleJobListReq(req *protos.JobListReq, hctx wsHelpers.HandlerContext) (*protos.JobListResp, error)

func HandleLogReadReq

func HandleLogReadReq(req *protos.LogReadReq, hctx wsHelpers.HandlerContext) (*protos.LogReadResp, error)

func HandleMemoiseDeleteByRegexReq added in v4.45.1

func HandleMemoiseDeleteByRegexReq(req *protos.MemoiseDeleteByRegexReq, hctx wsHelpers.HandlerContext) (*protos.MemoiseDeleteByRegexResp, error)

func HandleMemoiseDeleteReq added in v4.45.1

func HandleMemoiseDeleteReq(req *protos.MemoiseDeleteReq, hctx wsHelpers.HandlerContext) (*protos.MemoiseDeleteResp, error)

func HandleNotificationDismissReq added in v4.0.2

func HandleNotificationDismissReq(req *protos.NotificationDismissReq, hctx wsHelpers.HandlerContext) (*protos.NotificationDismissResp, error)

func HandleNotificationReq added in v4.0.2

func HandleNotificationReq(req *protos.NotificationReq, hctx wsHelpers.HandlerContext) (*protos.NotificationResp, error)

func HandlePiquantVersionListReq

func HandlePiquantVersionListReq(req *protos.PiquantVersionListReq, hctx wsHelpers.HandlerContext) (*protos.PiquantVersionListResp, error)

TODO: need to query versions from github container registry or something similar???

func HandleQuantCombineListGetReq

func HandleQuantCombineListGetReq(req *protos.QuantCombineListGetReq, hctx wsHelpers.HandlerContext) (*protos.QuantCombineListGetResp, error)

Anyone can retrieve a quant z-stack if they have quant messaging permissions

func HandleQuantCombineListWriteReq

func HandleQuantCombineListWriteReq(req *protos.QuantCombineListWriteReq, hctx wsHelpers.HandlerContext) (*protos.QuantCombineListWriteResp, error)

Anyone can save a quant z-stack if they have quant messaging permissions

func HandleQuantLogGetReq added in v4.15.6

func HandleQuantLogGetReq(req *protos.QuantLogGetReq, hctx wsHelpers.HandlerContext) (*protos.QuantLogGetResp, error)

func HandleQuantLogListReq added in v4.15.6

func HandleQuantLogListReq(req *protos.QuantLogListReq, hctx wsHelpers.HandlerContext) (*protos.QuantLogListResp, error)

func HandleQuantRawDataGetReq added in v4.15.6

func HandleQuantRawDataGetReq(req *protos.QuantRawDataGetReq, hctx wsHelpers.HandlerContext) (*protos.QuantRawDataGetResp, error)

func HandleRestoreDBReq added in v4.32.3

func HandleRestoreDBReq(req *protos.RestoreDBReq, hctx wsHelpers.HandlerContext) (*protos.RestoreDBResp, error)

func HandleReviewerMagicLinkCreateReq added in v4.42.1

func HandleReviewerMagicLinkCreateReq(req *protos.ReviewerMagicLinkCreateReq, hctx wsHelpers.HandlerContext) (*protos.ReviewerMagicLinkCreateResp, error)

func HandleReviewerMagicLinkLoginReq added in v4.42.1

func HandleReviewerMagicLinkLoginReq(req *protos.ReviewerMagicLinkLoginReq, hctx wsHelpers.HandlerContext) (*protos.ReviewerMagicLinkLoginResp, error)

func HandleRunTestReq

func HandleRunTestReq(req *protos.RunTestReq, hctx wsHelpers.HandlerContext) (*protos.RunTestResp, error)

func HandleScanGetReq added in v4.7.0

func HandleScanGetReq(req *protos.ScanGetReq, hctx wsHelpers.HandlerContext) (*protos.ScanGetResp, error)

func HandleScanListJobsReq added in v4.54.0

func HandleScanListJobsReq(req *protos.ScanListJobsReq, hctx wsHelpers.HandlerContext) (*protos.ScanListJobsResp, error)

func HandleScanTriggerJobReq added in v4.54.0

func HandleScanTriggerJobReq(req *protos.ScanTriggerJobReq, hctx wsHelpers.HandlerContext) (*protos.ScanTriggerJobResp, error)

func HandleScanUploadReq

func HandleScanUploadReq(req *protos.ScanUploadReq, hctx wsHelpers.HandlerContext) (*protos.ScanUploadResp, error)

NOTE: before this is sent, we expect the PUT /scan endpoint to have been called and a zip uploaded already

The same parameters passed there (scan id & file name) must be used with this request otherwise we
won't look up the zip correctly and fail.

func HandleScanWriteJobReq added in v4.54.0

func HandleScanWriteJobReq(req *protos.ScanWriteJobReq, hctx wsHelpers.HandlerContext) (*protos.ScanWriteJobResp, error)

func HandleSelectedScanEntriesWriteReq

Allowing user to save multiple scans worth of entry indexes in one message

func HandleTagListReq

func HandleTagListReq(req *protos.TagListReq, hctx wsHelpers.HandlerContext) (*protos.TagListResp, error)

func HandleUserAddRoleReq

func HandleUserAddRoleReq(req *protos.UserAddRoleReq, hctx wsHelpers.HandlerContext) (*protos.UserAddRoleResp, error)

///////////////////////////////////////////////////////////////////// Managing a users roles

func HandleUserGroupEditDetailsReq added in v4.25.1

func HandleUserGroupEditDetailsReq(req *protos.UserGroupEditDetailsReq, hctx wsHelpers.HandlerContext) (*protos.UserGroupEditDetailsResp, error)

func HandleUserGroupReq

func HandleUserGroupReq(req *protos.UserGroupReq, hctx wsHelpers.HandlerContext) (*protos.UserGroupResp, error)

Getting an individual user group - this should only be allowed for PIXLISE_ADMIN permissioned users, or group admins

func HandleUserImpersonateGetReq added in v4.32.1

func HandleUserImpersonateGetReq(req *protos.UserImpersonateGetReq, hctx wsHelpers.HandlerContext) (*protos.UserImpersonateGetResp, error)

func HandleUserImpersonateReq added in v4.32.1

func HandleUserImpersonateReq(req *protos.UserImpersonateReq, hctx wsHelpers.HandlerContext) (*protos.UserImpersonateResp, error)

func HandleUserListReq

func HandleUserListReq(req *protos.UserListReq, hctx wsHelpers.HandlerContext) (*protos.UserListResp, error)

///////////////////////////////////////////////////////////////////// Listing users from Auth0

func HandleUserRoleListReq

func HandleUserRoleListReq(req *protos.UserRoleListReq, hctx wsHelpers.HandlerContext) (*protos.UserRoleListResp, error)

///////////////////////////////////////////////////////////////////// Getting all user roles

func HandleUserRolesListReq

func HandleUserRolesListReq(req *protos.UserRolesListReq, hctx wsHelpers.HandlerContext) (*protos.UserRolesListResp, error)

///////////////////////////////////////////////////////////////////// Getting a users roles

func HandleWidgetMetadataGetReq added in v4.54.7

func HandleWidgetMetadataGetReq(req *protos.WidgetMetadataGetReq, hctx wsHelpers.HandlerContext) (*protos.WidgetMetadataGetResp, error)

func HandleWidgetMetadataWriteReq added in v4.54.7

func HandleWidgetMetadataWriteReq(req *protos.WidgetMetadataWriteReq, hctx wsHelpers.HandlerContext) (*protos.WidgetMetadataWriteResp, error)

func PublishExpressionToZenodo

func PublishExpressionToZenodo(id string, output string, metadata *protos.DOIMetadata, mongo *mongo.Database, zenodoURI string, zenodoToken string) (*protos.ZenodoPublishResponse, error)

func PublishModuleToZenodo

func PublishModuleToZenodo(module *protos.DataModule, metadata *protos.DOIMetadata, zenodoURI string, zenodoToken string) (*protos.ZenodoPublishResponse, error)

Types

type IdOnly

type IdOnly struct {
	Id string `bson:"_id"`
}

Jump to

Keyboard shortcuts

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