Documentation
¶
Index ¶
- type PipDetector
- func (d PipDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
- func (d PipDetector) Descriptor() sdk.DetectorDescriptor
- func (d PipDetector) FallbackDetector() sdk.Detector
- func (d PipDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
- func (d PipDetector) PackageManagerSupport() []sdk.PackageManagerSupport
- func (d PipDetector) Ready() bool
- func (d PipDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
- type PipenvDetector
- func (d PipenvDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
- func (d PipenvDetector) Descriptor() sdk.DetectorDescriptor
- func (d PipenvDetector) FallbackDetector() sdk.Detector
- func (d PipenvDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
- func (d PipenvDetector) PackageManagerSupport() []sdk.PackageManagerSupport
- func (d PipenvDetector) Ready() bool
- func (d PipenvDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
- type PoetryDetector
- func (d PoetryDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
- func (d PoetryDetector) Descriptor() sdk.DetectorDescriptor
- func (d PoetryDetector) FallbackDetector() sdk.Detector
- func (d PoetryDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
- func (d PoetryDetector) PackageManagerSupport() []sdk.PackageManagerSupport
- func (d PoetryDetector) Ready() bool
- func (d PoetryDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
- type UVDetector
- func (d UVDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
- func (d UVDetector) Descriptor() sdk.DetectorDescriptor
- func (d UVDetector) FallbackDetector() sdk.Detector
- func (d UVDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
- func (d UVDetector) PackageManagerSupport() []sdk.PackageManagerSupport
- func (d UVDetector) Ready() bool
- func (d UVDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipDetector ¶
PipDetector resolves Python dependencies with pip inspect.
func (PipDetector) Applicable ¶
func (d PipDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
Applicable reports whether pip-style manifests are present.
func (PipDetector) Descriptor ¶
func (d PipDetector) Descriptor() sdk.DetectorDescriptor
Descriptor describes the pip detector.
func (PipDetector) FallbackDetector ¶
func (d PipDetector) FallbackDetector() sdk.Detector
FallbackDetector returns the configured fallback detector.
func (PipDetector) Install ¶
func (d PipDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
Install prepares pip dependencies before graph resolution.
func (PipDetector) PackageManagerSupport ¶
func (d PipDetector) PackageManagerSupport() []sdk.PackageManagerSupport
PackageManagerSupport returns pip package-manager discovery metadata.
func (PipDetector) Ready ¶
func (d PipDetector) Ready() bool
Ready reports whether a Python interpreter is available.
func (PipDetector) ResolveGraph ¶
func (d PipDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
ResolveGraph resolves a Python dependency graph with pip inspect.
type PipenvDetector ¶
PipenvDetector resolves Python dependencies through Pipenv.
func (PipenvDetector) Applicable ¶
func (d PipenvDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
Applicable reports whether Pipenv manifests are present.
func (PipenvDetector) Descriptor ¶
func (d PipenvDetector) Descriptor() sdk.DetectorDescriptor
Descriptor describes the Pipenv detector.
func (PipenvDetector) FallbackDetector ¶
func (d PipenvDetector) FallbackDetector() sdk.Detector
FallbackDetector returns the configured fallback detector.
func (PipenvDetector) Install ¶
func (d PipenvDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
Install prepares Pipenv dependencies before graph resolution.
func (PipenvDetector) PackageManagerSupport ¶
func (d PipenvDetector) PackageManagerSupport() []sdk.PackageManagerSupport
PackageManagerSupport returns Pipenv package-manager discovery metadata.
func (PipenvDetector) Ready ¶
func (d PipenvDetector) Ready() bool
Ready reports whether Pipenv is available.
func (PipenvDetector) ResolveGraph ¶
func (d PipenvDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
ResolveGraph resolves a Python dependency graph through Pipenv.
type PoetryDetector ¶
PoetryDetector resolves Python dependencies through Poetry.
func (PoetryDetector) Applicable ¶
func (d PoetryDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
Applicable reports whether Poetry manifests are present.
func (PoetryDetector) Descriptor ¶
func (d PoetryDetector) Descriptor() sdk.DetectorDescriptor
Descriptor describes the Poetry detector.
func (PoetryDetector) FallbackDetector ¶
func (d PoetryDetector) FallbackDetector() sdk.Detector
FallbackDetector returns the configured fallback detector.
func (PoetryDetector) Install ¶
func (d PoetryDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
Install prepares Poetry dependencies before graph resolution.
func (PoetryDetector) PackageManagerSupport ¶
func (d PoetryDetector) PackageManagerSupport() []sdk.PackageManagerSupport
PackageManagerSupport returns Poetry package-manager discovery metadata.
func (PoetryDetector) Ready ¶
func (d PoetryDetector) Ready() bool
Ready reports whether Poetry is available.
func (PoetryDetector) ResolveGraph ¶
func (d PoetryDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
ResolveGraph resolves a Python dependency graph through Poetry.
type UVDetector ¶
UVDetector resolves Python dependencies through uv.
func (UVDetector) Applicable ¶
func (d UVDetector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)
Applicable reports whether uv manifests are present.
func (UVDetector) Descriptor ¶
func (d UVDetector) Descriptor() sdk.DetectorDescriptor
Descriptor describes the uv detector.
func (UVDetector) FallbackDetector ¶
func (d UVDetector) FallbackDetector() sdk.Detector
FallbackDetector returns the configured fallback detector.
func (UVDetector) Install ¶
func (d UVDetector) Install(ctx context.Context, req sdk.DetectionRequest) error
Install prepares uv dependencies before graph resolution.
func (UVDetector) PackageManagerSupport ¶
func (d UVDetector) PackageManagerSupport() []sdk.PackageManagerSupport
PackageManagerSupport returns uv package-manager discovery metadata.
func (UVDetector) ResolveGraph ¶
func (d UVDetector) ResolveGraph(_ context.Context, req sdk.DetectionRequest) (sdk.DetectionResult, error)
ResolveGraph resolves a Python dependency graph through uv.