Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrValidation = errors.New("validation error")
Functions ¶
This section is empty.
Types ¶
type Integration ¶
type Integration struct {
// contains filtered or unexported fields
}
func NewIntegration ¶
func NewIntegration(host, apiKey string, checkAutoCreate bool) (*Integration, error)
The integration definition
type SBOMUploader ¶
type SBOMUploader struct {
// contains filtered or unexported fields
}
func NewSBOMUploader ¶
func (*SBOMUploader) Validate ¶
func (d *SBOMUploader) Validate(ctx context.Context) error
Validate before uploading an sbom This method will take into account validations from two different life-cycles - Validation used to make sure that the dependency track instance is correctly setup - That the provided parameters, i.e project_id is valid, meaning it exists in the instance
Click to show internal directories.
Click to hide internal directories.