Documentation ¶
Index ¶
- func FindAllDBAnalysis(mapParams map[string]interface{}) ([]types.Analysis, error)
- func FindAllDBRepository(mapParams map[string]interface{}) ([]types.Repository, error)
- func FindAllDBSecurityTest(mapParams map[string]interface{}) ([]types.SecurityTest, error)
- func FindOneDBAnalysis(mapParams map[string]interface{}) (types.Analysis, error)
- func FindOneDBRepository(mapParams map[string]interface{}) (types.Repository, error)
- func FindOneDBSecurityTest(mapParams map[string]interface{}) (types.SecurityTest, error)
- func InsertDBAnalysis(analysis types.Analysis) error
- func InsertDBRepository(repository types.Repository) error
- func InsertDBSecurityTest(securityTest types.SecurityTest) error
- func UpdateOneDBAnalysis(mapParams map[string]interface{}, updatedAnalysis types.Analysis) error
- func UpdateOneDBAnalysisContainer(mapParams, updateQuery map[string]interface{}) error
- func UpdateOneDBRepository(mapParams, updateQuery map[string]interface{}) error
- func UpdateOneDBSecurityTest(mapParams map[string]interface{}, updatedSecurityTest types.SecurityTest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAllDBAnalysis ¶
FindAllDBAnalysis returns all Analysis of a given query present into AnalysisCollection.
func FindAllDBRepository ¶
func FindAllDBRepository(mapParams map[string]interface{}) ([]types.Repository, error)
FindAllDBRepository returns all Repository of a given query present into RepositoryCollection.
func FindAllDBSecurityTest ¶
func FindAllDBSecurityTest(mapParams map[string]interface{}) ([]types.SecurityTest, error)
FindAllDBSecurityTest returns all SecurityTests of a given query present into SecurityTestCollection.
func FindOneDBAnalysis ¶
FindOneDBAnalysis checks if a given analysis is present into AnalysisCollection.
func FindOneDBRepository ¶
func FindOneDBRepository(mapParams map[string]interface{}) (types.Repository, error)
FindOneDBRepository checks if a given repository is present into RepositoryCollection.
func FindOneDBSecurityTest ¶
func FindOneDBSecurityTest(mapParams map[string]interface{}) (types.SecurityTest, error)
FindOneDBSecurityTest checks if a given securityTest is present into SecurityTestCollection.
func InsertDBAnalysis ¶
InsertDBAnalysis inserts a new analysis into AnalysisCollection.
func InsertDBRepository ¶
func InsertDBRepository(repository types.Repository) error
InsertDBRepository inserts a new repository with default securityTests into RepositoryCollection.
func InsertDBSecurityTest ¶
func InsertDBSecurityTest(securityTest types.SecurityTest) error
InsertDBSecurityTest inserts a new securityTest into SecurityTestCollection.
func UpdateOneDBAnalysis ¶
UpdateOneDBAnalysis checks if a given analysis is present into AnalysisCollection and update it.
func UpdateOneDBAnalysisContainer ¶
UpdateOneDBAnalysisContainer checks if a given analysis is present into AnalysisCollection and update the container associated in it.
func UpdateOneDBRepository ¶
UpdateOneDBRepository checks if a given repository is present into RepositoryCollection and update it.
func UpdateOneDBSecurityTest ¶
func UpdateOneDBSecurityTest(mapParams map[string]interface{}, updatedSecurityTest types.SecurityTest) error
UpdateOneDBSecurityTest checks if a given securityTest is present into SecurityTestCollection and update it.
Types ¶
This section is empty.