Documentation
¶
Index ¶
- func NewCCMTextResponseFormatter() commonUtils.CCMResponseFormatter
- func NewScsTextResponseFormatter() commonUtils.ScsResponseFormatter
- func NewStoTextResponseFormatter() commonUtils.StoResponseFormatter
- type CCMTextResponseFormatter
- type ScsTextResponseFormatter
- type StoTextResponseFormatter
- func (f *StoTextResponseFormatter) FormatStoExemptionsResponse(response *stogenerated.SecurityReviewResult, userNameMap map[string]string) ([]mcp.Content, error)
- func (f *StoTextResponseFormatter) FormatStoIssuesResponse(response *stogenerated.FrontendAllIssuesListResponseBody) ([]mcp.Content, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCCMTextResponseFormatter ¶
func NewCCMTextResponseFormatter() commonUtils.CCMResponseFormatter
func NewScsTextResponseFormatter ¶
func NewScsTextResponseFormatter() commonUtils.ScsResponseFormatter
NewScsTextResponseFormatter creates a new text-based response formatter
func NewStoTextResponseFormatter ¶
func NewStoTextResponseFormatter() commonUtils.StoResponseFormatter
NewStoTextResponseFormatter creates a new text-based STO response formatter
Types ¶
type CCMTextResponseFormatter ¶
type CCMTextResponseFormatter struct{}
func (CCMTextResponseFormatter) FormatEC2AnalysisResponse ¶
func (f CCMTextResponseFormatter) FormatEC2AnalysisResponse(response *dto.CommitmentEC2AnalysisResponse) ([]mcp.Content, error)
type ScsTextResponseFormatter ¶
type ScsTextResponseFormatter struct{}
ScsTextResponseFormatter formats responses as plain text/JSON (for external mode)
func (*ScsTextResponseFormatter) FormatArtifactSourcesResponse ¶
func (f *ScsTextResponseFormatter) FormatArtifactSourcesResponse(artifacts []generated.ArtifactV2ListingResponse, licenseFilterList *[]generated.LicenseFilter) ([]mcp.Content, error)
FormatArtifactSourcesResponse formats artifact sources as JSON text
func (*ScsTextResponseFormatter) FormatCodeRepositoriesResponse ¶
func (f *ScsTextResponseFormatter) FormatCodeRepositoriesResponse(repositories []generated.CodeRepositoryListingResponse) ([]mcp.Content, error)
FormatCodeRepositoriesResponse formats code repositories as JSON text
type StoTextResponseFormatter ¶
type StoTextResponseFormatter struct{}
StoTextResponseFormatter formats STO responses as plain text/JSON (for external mode)
func (*StoTextResponseFormatter) FormatStoExemptionsResponse ¶
func (f *StoTextResponseFormatter) FormatStoExemptionsResponse(response *stogenerated.SecurityReviewResult, userNameMap map[string]string) ([]mcp.Content, error)
FormatStoExemptionsResponse formats STO global exemptions as JSON text
func (*StoTextResponseFormatter) FormatStoIssuesResponse ¶
func (f *StoTextResponseFormatter) FormatStoIssuesResponse(response *stogenerated.FrontendAllIssuesListResponseBody) ([]mcp.Content, error)
FormatStoIssuesResponse formats STO security issues as JSON text
Click to show internal directories.
Click to hide internal directories.