Documentation ¶
Index ¶
- func NewCodeService(dataKey string, repo db.CodeRepoInterface, q *queue.Client, ...) (code.CodeServiceServer, error)
- type CodeQueue
- type CodeService
- func (c *CodeService) DeleteCodeScanSetting(ctx context.Context, req *code.DeleteCodeScanSettingRequest) (*empty.Empty, error)
- func (c *CodeService) DeleteDependencySetting(ctx context.Context, req *code.DeleteDependencySettingRequest) (*empty.Empty, error)
- func (c *CodeService) DeleteGitHubSetting(ctx context.Context, req *code.DeleteGitHubSettingRequest) (*empty.Empty, error)
- func (c *CodeService) DeleteGitleaksSetting(ctx context.Context, req *code.DeleteGitleaksSettingRequest) (*empty.Empty, error)
- func (c *CodeService) GetGitHubSetting(ctx context.Context, req *code.GetGitHubSettingRequest) (*code.GetGitHubSettingResponse, error)
- func (c *CodeService) GetGitleaksCache(ctx context.Context, req *code.GetGitleaksCacheRequest) (*code.GetGitleaksCacheResponse, error)
- func (c *CodeService) InvokeScanAll(ctx context.Context, _ *empty.Empty) (*empty.Empty, error)
- func (c *CodeService) InvokeScanCodeScan(ctx context.Context, req *code.InvokeScanCodeScanRequest) (*empty.Empty, error)
- func (c *CodeService) InvokeScanDependency(ctx context.Context, req *code.InvokeScanDependencyRequest) (*empty.Empty, error)
- func (c *CodeService) InvokeScanGitleaks(ctx context.Context, req *code.InvokeScanGitleaksRequest) (*empty.Empty, error)
- func (c *CodeService) ListDataSource(ctx context.Context, req *code.ListDataSourceRequest) (*code.ListDataSourceResponse, error)
- func (c *CodeService) ListGitHubSetting(ctx context.Context, req *code.ListGitHubSettingRequest) (*code.ListGitHubSettingResponse, error)
- func (c *CodeService) ListGitleaksCache(ctx context.Context, req *code.ListGitleaksCacheRequest) (*code.ListGitleaksCacheResponse, error)
- func (c *CodeService) PutCodeScanSetting(ctx context.Context, req *code.PutCodeScanSettingRequest) (*code.PutCodeScanSettingResponse, error)
- func (c *CodeService) PutDependencySetting(ctx context.Context, req *code.PutDependencySettingRequest) (*code.PutDependencySettingResponse, error)
- func (c *CodeService) PutGitHubSetting(ctx context.Context, req *code.PutGitHubSettingRequest) (*code.PutGitHubSettingResponse, error)
- func (c *CodeService) PutGitleaksCache(ctx context.Context, req *code.PutGitleaksCacheRequest) (*code.PutGitleaksCacheResponse, error)
- func (c *CodeService) PutGitleaksSetting(ctx context.Context, req *code.PutGitleaksSettingRequest) (*code.PutGitleaksSettingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCodeService ¶
func NewCodeService(dataKey string, repo db.CodeRepoInterface, q *queue.Client, pj project.ProjectServiceClient, l logging.Logger) (code.CodeServiceServer, error)
Types ¶
type CodeService ¶
type CodeService struct {
// contains filtered or unexported fields
}
func (*CodeService) DeleteCodeScanSetting ¶ added in v0.10.0
func (c *CodeService) DeleteCodeScanSetting(ctx context.Context, req *code.DeleteCodeScanSettingRequest) (*empty.Empty, error)
func (*CodeService) DeleteDependencySetting ¶ added in v0.4.0
func (c *CodeService) DeleteDependencySetting(ctx context.Context, req *code.DeleteDependencySettingRequest) (*empty.Empty, error)
func (*CodeService) DeleteGitHubSetting ¶ added in v0.4.0
func (c *CodeService) DeleteGitHubSetting(ctx context.Context, req *code.DeleteGitHubSettingRequest) (*empty.Empty, error)
func (*CodeService) DeleteGitleaksSetting ¶ added in v0.4.0
func (c *CodeService) DeleteGitleaksSetting(ctx context.Context, req *code.DeleteGitleaksSettingRequest) (*empty.Empty, error)
func (*CodeService) GetGitHubSetting ¶ added in v0.4.0
func (c *CodeService) GetGitHubSetting(ctx context.Context, req *code.GetGitHubSettingRequest) (*code.GetGitHubSettingResponse, error)
func (*CodeService) GetGitleaksCache ¶ added in v0.5.0
func (c *CodeService) GetGitleaksCache(ctx context.Context, req *code.GetGitleaksCacheRequest) (*code.GetGitleaksCacheResponse, error)
func (*CodeService) InvokeScanAll ¶ added in v0.4.0
func (*CodeService) InvokeScanCodeScan ¶ added in v0.10.0
func (c *CodeService) InvokeScanCodeScan(ctx context.Context, req *code.InvokeScanCodeScanRequest) (*empty.Empty, error)
func (*CodeService) InvokeScanDependency ¶ added in v0.4.0
func (c *CodeService) InvokeScanDependency(ctx context.Context, req *code.InvokeScanDependencyRequest) (*empty.Empty, error)
func (*CodeService) InvokeScanGitleaks ¶
func (c *CodeService) InvokeScanGitleaks(ctx context.Context, req *code.InvokeScanGitleaksRequest) (*empty.Empty, error)
func (*CodeService) ListDataSource ¶
func (c *CodeService) ListDataSource(ctx context.Context, req *code.ListDataSourceRequest) (*code.ListDataSourceResponse, error)
func (*CodeService) ListGitHubSetting ¶ added in v0.4.0
func (c *CodeService) ListGitHubSetting(ctx context.Context, req *code.ListGitHubSettingRequest) (*code.ListGitHubSettingResponse, error)
func (*CodeService) ListGitleaksCache ¶ added in v0.9.0
func (c *CodeService) ListGitleaksCache(ctx context.Context, req *code.ListGitleaksCacheRequest) (*code.ListGitleaksCacheResponse, error)
func (*CodeService) PutCodeScanSetting ¶ added in v0.10.0
func (c *CodeService) PutCodeScanSetting(ctx context.Context, req *code.PutCodeScanSettingRequest) (*code.PutCodeScanSettingResponse, error)
func (*CodeService) PutDependencySetting ¶ added in v0.4.0
func (c *CodeService) PutDependencySetting(ctx context.Context, req *code.PutDependencySettingRequest) (*code.PutDependencySettingResponse, error)
func (*CodeService) PutGitHubSetting ¶ added in v0.4.0
func (c *CodeService) PutGitHubSetting(ctx context.Context, req *code.PutGitHubSettingRequest) (*code.PutGitHubSettingResponse, error)
func (*CodeService) PutGitleaksCache ¶ added in v0.5.0
func (c *CodeService) PutGitleaksCache(ctx context.Context, req *code.PutGitleaksCacheRequest) (*code.PutGitleaksCacheResponse, error)
func (*CodeService) PutGitleaksSetting ¶ added in v0.4.0
func (c *CodeService) PutGitleaksSetting(ctx context.Context, req *code.PutGitleaksSettingRequest) (*code.PutGitleaksSettingResponse, error)
Click to show internal directories.
Click to hide internal directories.