Documentation ¶
Index ¶
Constants ¶
View Source
const Kind = "Dependency-Track"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integration ¶
type Integration struct {
// contains filtered or unexported fields
}
func New ¶
func New(integrationUC *biz.IntegrationUseCase, ociUC *biz.OCIRepositoryUseCase, creds credentials.ReaderWriter, c biz.CASClient, l log.Logger) *Integration
func (*Integration) Add ¶
func (uc *Integration) Add(ctx context.Context, orgID, host, apiKey string, enableProjectCreation bool) (*biz.Integration, error)
func (*Integration) UploadSBOMs ¶
func (uc *Integration) UploadSBOMs(envelope *dsse.Envelope, orgID, workflowID string) error
Upload the SBOMs wrapped in the DSSE envelope to the configured Dependency Track instance
Click to show internal directories.
Click to hide internal directories.