Documentation
¶
Index ¶
Constants ¶
View Source
const ( LockFileName = "uv.lock" RequirementsTxtFileName = "requirements.txt" PyprojectTomlFileName = "pyproject.toml" WorkspacePathProperty = "uv:workspace:path" IsProjectRootProperty = "uv:package:is_project_root" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.32.3
type Client interface {
ExportSBOM(inputDir string, opts *scaecosystems.SCAPluginOptions) (Sbom, error)
}
func NewClientWithExecutor ¶ added in v0.32.3
NewClientWithExecutor creates a new uv client with a custom executor for testing.
func NewClientWithPath ¶ added in v0.32.3
type MockClient ¶ added in v0.32.3
func (*MockClient) ExportSBOM ¶ added in v0.32.3
func (m *MockClient) ExportSBOM(inputDir string, _ *ecosystems.SCAPluginOptions) (Sbom, error)
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func NewPlugin ¶ added in v0.32.3
func NewPlugin(client Client, snykClient *snykclient.SnykClient, remoteRepoURL string) Plugin
func (Plugin) BuildDepGraphsFromDir ¶
func (p Plugin) BuildDepGraphsFromDir( ctx context.Context, log logger.Logger, inputDir string, options *scaecosystems.SCAPluginOptions, ) (*scaecosystems.PluginResult, error)
type WorkspacePackage ¶ added in v0.32.3
Click to show internal directories.
Click to hide internal directories.