wsHandler

package
v4.29.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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 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 HandleScanTriggerAutoQuantReq added in v4.12.5

func HandleScanTriggerAutoQuantReq(req *protos.ScanTriggerAutoQuantReq, hctx wsHelpers.HandlerContext) (*protos.ScanTriggerAutoQuantResp, 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 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 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 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