codeaction

package
v1.1295.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMissingKeyError

func IsMissingKeyError(err error) bool

Types

type CodeActionsService

type CodeActionsService struct {
	IssuesProvider snyk.IssueProvider
	// contains filtered or unexported fields
}

CodeActionsService is an application-layer service for handling code actions.

func NewService

func NewService(c *config.Config, provider snyk.IssueProvider, fileWatcher dirtyFilesWatcher, notifier noti.Notifier, codeApiClient code.SnykCodeClient) *CodeActionsService

func (*CodeActionsService) GetCodeActions

func (c *CodeActionsService) GetCodeActions(params types.CodeActionParams) []types.CodeAction

func (*CodeActionsService) ResolveCodeAction

func (c *CodeActionsService) ResolveCodeAction(action types.CodeAction) (types.CodeAction, error)

Jump to

Keyboard shortcuts

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