Documentation ¶
Index ¶
- Constants
- func CreateFromCommandData(commandData vulnmap.CommandData, srv lsp.Server, ...) (vulnmap.Command, error)
- func GetTrustMessage(untrusted []*workspace.Folder) string
- func HandleUntrustedFolders(ctx context.Context, srv lsp.Server)
- func NewService(authService vulnmap.AuthenticationService, notifier noti.Notifier, ...) vulnmap.CommandService
- func Service() vulnmap.CommandService
- func SetService(service vulnmap.CommandService)
- type RangeDto
- type RangePositionDto
- type VulnmapCodeHttpClient
Constants ¶
View Source
const DoTrust = "Trust folders and continue"
View Source
const DontTrust = "Don't trust folders"
Variables ¶
This section is empty.
Functions ¶
func CreateFromCommandData ¶
func CreateFromCommandData( commandData vulnmap.CommandData, srv lsp.Server, authService vulnmap.AuthenticationService, learnService learn.Service, notifier noti.Notifier, issueProvider ide.IssueProvider, codeApiClient VulnmapCodeHttpClient, ) (vulnmap.Command, error)
func GetTrustMessage ¶
func NewService ¶
func NewService(authService vulnmap.AuthenticationService, notifier noti.Notifier, learnService learn.Service, issueProvider ide.IssueProvider, codeApiClient VulnmapCodeHttpClient) vulnmap.CommandService
func Service ¶
func Service() vulnmap.CommandService
Service returns the singleton instance of the command service. If not already created, it will create a new instance.
func SetService ¶
func SetService(service vulnmap.CommandService)
SetService sets the singleton instance of the command service.
Types ¶
type RangePositionDto ¶
type RangePositionDto = map[string]interface{}
Source Files ¶
- code_fix.go
- code_fix_feedback.go
- command_factory.go
- command_service.go
- copy_auth_link.go
- get_active_user.go
- get_learn_lesson.go
- login.go
- logout.go
- navigate_to_range.go
- open_browser.go
- open_learn_lesson.go
- report_analytics.go
- sast_enabled.go
- test_helpers.go
- trust.go
- trust_workspace_folders.go
- workspace_folder_scan.go
- workspace_scan.go
Click to show internal directories.
Click to hide internal directories.