Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCSVReaderLibraryInterface
- func (fake *FakeCSVReaderLibraryInterface) GetDependenciesList() ([]services.DepList, error)
- func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListCallCount() int
- func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListCalls(stub func() ([]services.DepList, error))
- func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListReturns(result1 []services.DepList, result2 error)
- func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListReturnsOnCall(i int, result1 []services.DepList, result2 error)
- func (fake *FakeCSVReaderLibraryInterface) Invocations() map[string][][]interface{}
- type FakeMongoLibraryInterface
- func (fake *FakeMongoLibraryInterface) AddTrackedDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 []services.Dependency) error
- func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesArgsForCall(i int) (context.Context, *mongo.Client, []services.Dependency)
- func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesCallCount() int
- func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesCalls(stub func(context.Context, *mongo.Client, []services.Dependency) error)
- func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesReturnsOnCall(i int, result1 error)
- func (fake *FakeMongoLibraryInterface) CVEExists(arg1 context.Context, arg2 *mongo.Client, arg3 string) (bool, error)
- func (fake *FakeMongoLibraryInterface) CVEExistsArgsForCall(i int) (context.Context, *mongo.Client, string)
- func (fake *FakeMongoLibraryInterface) CVEExistsCallCount() int
- func (fake *FakeMongoLibraryInterface) CVEExistsCalls(stub func(context.Context, *mongo.Client, string) (bool, error))
- func (fake *FakeMongoLibraryInterface) CVEExistsReturns(result1 bool, result2 error)
- func (fake *FakeMongoLibraryInterface) CVEExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeMongoLibraryInterface) CreateCVE(arg1 context.Context, arg2 *mongo.Client, arg3 *services.CVE) error
- func (fake *FakeMongoLibraryInterface) CreateCVEArgsForCall(i int) (context.Context, *mongo.Client, *services.CVE)
- func (fake *FakeMongoLibraryInterface) CreateCVECallCount() int
- func (fake *FakeMongoLibraryInterface) CreateCVECalls(stub func(context.Context, *mongo.Client, *services.CVE) error)
- func (fake *FakeMongoLibraryInterface) CreateCVEReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) CreateCVEReturnsOnCall(i int, result1 error)
- func (fake *FakeMongoLibraryInterface) DisconnectMongoClient(arg1 *mongo.Client, arg2 context.Context) error
- func (fake *FakeMongoLibraryInterface) DisconnectMongoClientArgsForCall(i int) (*mongo.Client, context.Context)
- func (fake *FakeMongoLibraryInterface) DisconnectMongoClientCallCount() int
- func (fake *FakeMongoLibraryInterface) DisconnectMongoClientCalls(stub func(*mongo.Client, context.Context) error)
- func (fake *FakeMongoLibraryInterface) DisconnectMongoClientReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) DisconnectMongoClientReturnsOnCall(i int, result1 error)
- func (fake *FakeMongoLibraryInterface) FindCVE(arg1 context.Context, arg2 *mongo.Client, arg3 string) (services.CVE, error)
- func (fake *FakeMongoLibraryInterface) FindCVEArgsForCall(i int) (context.Context, *mongo.Client, string)
- func (fake *FakeMongoLibraryInterface) FindCVECallCount() int
- func (fake *FakeMongoLibraryInterface) FindCVECalls(stub func(context.Context, *mongo.Client, string) (services.CVE, error))
- func (fake *FakeMongoLibraryInterface) FindCVEReturns(result1 services.CVE, result2 error)
- func (fake *FakeMongoLibraryInterface) FindCVEReturnsOnCall(i int, result1 services.CVE, result2 error)
- func (fake *FakeMongoLibraryInterface) FindUserByUsername(arg1 context.Context, arg2 *mongo.Client, arg3 string) (bool, services.User, error)
- func (fake *FakeMongoLibraryInterface) FindUserByUsernameArgsForCall(i int) (context.Context, *mongo.Client, string)
- func (fake *FakeMongoLibraryInterface) FindUserByUsernameCallCount() int
- func (fake *FakeMongoLibraryInterface) FindUserByUsernameCalls(stub func(context.Context, *mongo.Client, string) (bool, services.User, error))
- func (fake *FakeMongoLibraryInterface) FindUserByUsernameReturns(result1 bool, result2 services.User, result3 error)
- func (fake *FakeMongoLibraryInterface) FindUserByUsernameReturnsOnCall(i int, result1 bool, result2 services.User, result3 error)
- func (fake *FakeMongoLibraryInterface) GetAllCVEs(arg1 context.Context, arg2 *mongo.Client) ([]services.CVE, error)
- func (fake *FakeMongoLibraryInterface) GetAllCVEsArgsForCall(i int) (context.Context, *mongo.Client)
- func (fake *FakeMongoLibraryInterface) GetAllCVEsCallCount() int
- func (fake *FakeMongoLibraryInterface) GetAllCVEsCalls(stub func(context.Context, *mongo.Client) ([]services.CVE, error))
- func (fake *FakeMongoLibraryInterface) GetAllCVEsReturns(result1 []services.CVE, result2 error)
- func (fake *FakeMongoLibraryInterface) GetAllCVEsReturnsOnCall(i int, result1 []services.CVE, result2 error)
- func (fake *FakeMongoLibraryInterface) GetMongoClient() (*mongo.Client, context.Context, error)
- func (fake *FakeMongoLibraryInterface) GetMongoClientCallCount() int
- func (fake *FakeMongoLibraryInterface) GetMongoClientCalls(stub func() (*mongo.Client, context.Context, error))
- func (fake *FakeMongoLibraryInterface) GetMongoClientReturns(result1 *mongo.Client, result2 context.Context, result3 error)
- func (fake *FakeMongoLibraryInterface) GetMongoClientReturnsOnCall(i int, result1 *mongo.Client, result2 context.Context, result3 error)
- func (fake *FakeMongoLibraryInterface) GetMongoCollection(arg1 *mongo.Client, arg2 string, arg3 string) *mongo.Collection
- func (fake *FakeMongoLibraryInterface) GetMongoCollectionArgsForCall(i int) (*mongo.Client, string, string)
- func (fake *FakeMongoLibraryInterface) GetMongoCollectionCallCount() int
- func (fake *FakeMongoLibraryInterface) GetMongoCollectionCalls(stub func(*mongo.Client, string, string) *mongo.Collection)
- func (fake *FakeMongoLibraryInterface) GetMongoCollectionReturns(result1 *mongo.Collection)
- func (fake *FakeMongoLibraryInterface) GetMongoCollectionReturnsOnCall(i int, result1 *mongo.Collection)
- func (fake *FakeMongoLibraryInterface) GetTrackedDependencies(arg1 context.Context, arg2 *mongo.Client) ([]services.Dependency, error)
- func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesArgsForCall(i int) (context.Context, *mongo.Client)
- func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesCallCount() int
- func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesCalls(stub func(context.Context, *mongo.Client) ([]services.Dependency, error))
- func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesReturns(result1 []services.Dependency, result2 error)
- func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesReturnsOnCall(i int, result1 []services.Dependency, result2 error)
- func (fake *FakeMongoLibraryInterface) GetUniqueDependencies(arg1 context.Context, arg2 *mongo.Client) ([]services.CVE, error)
- func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesArgsForCall(i int) (context.Context, *mongo.Client)
- func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesCallCount() int
- func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesCalls(stub func(context.Context, *mongo.Client) ([]services.CVE, error))
- func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesReturns(result1 []services.CVE, result2 error)
- func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesReturnsOnCall(i int, result1 []services.CVE, result2 error)
- func (fake *FakeMongoLibraryInterface) GetUserDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 string) (services.UserDependencies, error)
- func (fake *FakeMongoLibraryInterface) GetUserDependenciesArgsForCall(i int) (context.Context, *mongo.Client, string)
- func (fake *FakeMongoLibraryInterface) GetUserDependenciesCallCount() int
- func (fake *FakeMongoLibraryInterface) GetUserDependenciesCalls(...)
- func (fake *FakeMongoLibraryInterface) GetUserDependenciesReturns(result1 services.UserDependencies, result2 error)
- func (fake *FakeMongoLibraryInterface) GetUserDependenciesReturnsOnCall(i int, result1 services.UserDependencies, result2 error)
- func (fake *FakeMongoLibraryInterface) Invocations() map[string][][]interface{}
- func (fake *FakeMongoLibraryInterface) RegisterUser(arg1 context.Context, arg2 *mongo.Client, arg3 services.User) error
- func (fake *FakeMongoLibraryInterface) RegisterUserArgsForCall(i int) (context.Context, *mongo.Client, services.User)
- func (fake *FakeMongoLibraryInterface) RegisterUserCallCount() int
- func (fake *FakeMongoLibraryInterface) RegisterUserCalls(stub func(context.Context, *mongo.Client, services.User) error)
- func (fake *FakeMongoLibraryInterface) RegisterUserReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) RegisterUserReturnsOnCall(i int, result1 error)
- func (fake *FakeMongoLibraryInterface) RemoveAllCVEs(arg1 context.Context, arg2 *mongo.Client, arg3 string) error
- func (fake *FakeMongoLibraryInterface) RemoveAllCVEsArgsForCall(i int) (context.Context, *mongo.Client, string)
- func (fake *FakeMongoLibraryInterface) RemoveAllCVEsCallCount() int
- func (fake *FakeMongoLibraryInterface) RemoveAllCVEsCalls(stub func(context.Context, *mongo.Client, string) error)
- func (fake *FakeMongoLibraryInterface) RemoveAllCVEsReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) RemoveAllCVEsReturnsOnCall(i int, result1 error)
- func (fake *FakeMongoLibraryInterface) RemoveTrackedDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 []services.Dependency) error
- func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesArgsForCall(i int) (context.Context, *mongo.Client, []services.Dependency)
- func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesCallCount() int
- func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesCalls(stub func(context.Context, *mongo.Client, []services.Dependency) error)
- func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesReturnsOnCall(i int, result1 error)
- func (fake *FakeMongoLibraryInterface) UpdateUserDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 string, ...) error
- func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesArgsForCall(i int) (context.Context, *mongo.Client, string, []services.DependencyWithIntegration)
- func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesCallCount() int
- func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesCalls(...)
- func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesReturns(result1 error)
- func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesReturnsOnCall(i int, result1 error)
- type FakeNVDNistLibraryInterface
- func (fake *FakeNVDNistLibraryInterface) GetCVEs(arg1 string, arg2 string) ([]services.NVDNistResponseCVEItem, error)
- func (fake *FakeNVDNistLibraryInterface) GetCVEsArgsForCall(i int) (string, string)
- func (fake *FakeNVDNistLibraryInterface) GetCVEsCallCount() int
- func (fake *FakeNVDNistLibraryInterface) GetCVEsCalls(stub func(string, string) ([]services.NVDNistResponseCVEItem, error))
- func (fake *FakeNVDNistLibraryInterface) GetCVEsReturns(result1 []services.NVDNistResponseCVEItem, result2 error)
- func (fake *FakeNVDNistLibraryInterface) GetCVEsReturnsOnCall(i int, result1 []services.NVDNistResponseCVEItem, result2 error)
- func (fake *FakeNVDNistLibraryInterface) Invocations() map[string][][]interface{}
- type FakeSlackLibraryInterface
- func (fake *FakeSlackLibraryInterface) Invocations() map[string][][]interface{}
- func (fake *FakeSlackLibraryInterface) SendNewCVENotification(arg1 string, arg2 string, arg3 string, arg4 string, arg5 float64) error
- func (fake *FakeSlackLibraryInterface) SendNewCVENotificationArgsForCall(i int) (string, string, string, string, float64)
- func (fake *FakeSlackLibraryInterface) SendNewCVENotificationCallCount() int
- func (fake *FakeSlackLibraryInterface) SendNewCVENotificationCalls(stub func(string, string, string, string, float64) error)
- func (fake *FakeSlackLibraryInterface) SendNewCVENotificationReturns(result1 error)
- func (fake *FakeSlackLibraryInterface) SendNewCVENotificationReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCSVReaderLibraryInterface ¶
type FakeCSVReaderLibraryInterface struct { GetDependenciesListStub func() ([]services.DepList, error) // contains filtered or unexported fields }
func (*FakeCSVReaderLibraryInterface) GetDependenciesList ¶
func (fake *FakeCSVReaderLibraryInterface) GetDependenciesList() ([]services.DepList, error)
func (*FakeCSVReaderLibraryInterface) GetDependenciesListCallCount ¶
func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListCallCount() int
func (*FakeCSVReaderLibraryInterface) GetDependenciesListCalls ¶
func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListCalls(stub func() ([]services.DepList, error))
func (*FakeCSVReaderLibraryInterface) GetDependenciesListReturns ¶
func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListReturns(result1 []services.DepList, result2 error)
func (*FakeCSVReaderLibraryInterface) GetDependenciesListReturnsOnCall ¶
func (fake *FakeCSVReaderLibraryInterface) GetDependenciesListReturnsOnCall(i int, result1 []services.DepList, result2 error)
func (*FakeCSVReaderLibraryInterface) Invocations ¶
func (fake *FakeCSVReaderLibraryInterface) Invocations() map[string][][]interface{}
type FakeMongoLibraryInterface ¶
type FakeMongoLibraryInterface struct { AddTrackedDependenciesStub func(context.Context, *mongo.Client, []services.Dependency) error CVEExistsStub func(context.Context, *mongo.Client, string) (bool, error) CreateCVEStub func(context.Context, *mongo.Client, *services.CVE) error DisconnectMongoClientStub func(*mongo.Client, context.Context) error FindCVEStub func(context.Context, *mongo.Client, string) (services.CVE, error) FindUserByUsernameStub func(context.Context, *mongo.Client, string) (bool, services.User, error) GetAllCVEsStub func(context.Context, *mongo.Client) ([]services.CVE, error) GetMongoClientStub func() (*mongo.Client, context.Context, error) GetMongoCollectionStub func(*mongo.Client, string, string) *mongo.Collection GetTrackedDependenciesStub func(context.Context, *mongo.Client) ([]services.Dependency, error) GetUniqueDependenciesStub func(context.Context, *mongo.Client) ([]services.CVE, error) GetUserDependenciesStub func(context.Context, *mongo.Client, string) (services.UserDependencies, error) RegisterUserStub func(context.Context, *mongo.Client, services.User) error RemoveAllCVEsStub func(context.Context, *mongo.Client, string) error RemoveTrackedDependenciesStub func(context.Context, *mongo.Client, []services.Dependency) error UpdateUserDependenciesStub func(context.Context, *mongo.Client, string, []services.DependencyWithIntegration) error // contains filtered or unexported fields }
func (*FakeMongoLibraryInterface) AddTrackedDependencies ¶
func (fake *FakeMongoLibraryInterface) AddTrackedDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 []services.Dependency) error
func (*FakeMongoLibraryInterface) AddTrackedDependenciesArgsForCall ¶
func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesArgsForCall(i int) (context.Context, *mongo.Client, []services.Dependency)
func (*FakeMongoLibraryInterface) AddTrackedDependenciesCallCount ¶
func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesCallCount() int
func (*FakeMongoLibraryInterface) AddTrackedDependenciesCalls ¶
func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesCalls(stub func(context.Context, *mongo.Client, []services.Dependency) error)
func (*FakeMongoLibraryInterface) AddTrackedDependenciesReturns ¶
func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesReturns(result1 error)
func (*FakeMongoLibraryInterface) AddTrackedDependenciesReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) AddTrackedDependenciesReturnsOnCall(i int, result1 error)
func (*FakeMongoLibraryInterface) CVEExistsArgsForCall ¶
func (*FakeMongoLibraryInterface) CVEExistsCallCount ¶
func (fake *FakeMongoLibraryInterface) CVEExistsCallCount() int
func (*FakeMongoLibraryInterface) CVEExistsCalls ¶
func (*FakeMongoLibraryInterface) CVEExistsReturns ¶
func (fake *FakeMongoLibraryInterface) CVEExistsReturns(result1 bool, result2 error)
func (*FakeMongoLibraryInterface) CVEExistsReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) CVEExistsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeMongoLibraryInterface) CreateCVEArgsForCall ¶
func (*FakeMongoLibraryInterface) CreateCVECallCount ¶
func (fake *FakeMongoLibraryInterface) CreateCVECallCount() int
func (*FakeMongoLibraryInterface) CreateCVECalls ¶
func (*FakeMongoLibraryInterface) CreateCVEReturns ¶
func (fake *FakeMongoLibraryInterface) CreateCVEReturns(result1 error)
func (*FakeMongoLibraryInterface) CreateCVEReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) CreateCVEReturnsOnCall(i int, result1 error)
func (*FakeMongoLibraryInterface) DisconnectMongoClient ¶
func (*FakeMongoLibraryInterface) DisconnectMongoClientArgsForCall ¶
func (*FakeMongoLibraryInterface) DisconnectMongoClientCallCount ¶
func (fake *FakeMongoLibraryInterface) DisconnectMongoClientCallCount() int
func (*FakeMongoLibraryInterface) DisconnectMongoClientCalls ¶
func (*FakeMongoLibraryInterface) DisconnectMongoClientReturns ¶
func (fake *FakeMongoLibraryInterface) DisconnectMongoClientReturns(result1 error)
func (*FakeMongoLibraryInterface) DisconnectMongoClientReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) DisconnectMongoClientReturnsOnCall(i int, result1 error)
func (*FakeMongoLibraryInterface) FindCVEArgsForCall ¶
func (*FakeMongoLibraryInterface) FindCVECallCount ¶
func (fake *FakeMongoLibraryInterface) FindCVECallCount() int
func (*FakeMongoLibraryInterface) FindCVECalls ¶
func (*FakeMongoLibraryInterface) FindCVEReturns ¶
func (fake *FakeMongoLibraryInterface) FindCVEReturns(result1 services.CVE, result2 error)
func (*FakeMongoLibraryInterface) FindCVEReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) FindCVEReturnsOnCall(i int, result1 services.CVE, result2 error)
func (*FakeMongoLibraryInterface) FindUserByUsername ¶
func (*FakeMongoLibraryInterface) FindUserByUsernameArgsForCall ¶
func (*FakeMongoLibraryInterface) FindUserByUsernameCallCount ¶
func (fake *FakeMongoLibraryInterface) FindUserByUsernameCallCount() int
func (*FakeMongoLibraryInterface) FindUserByUsernameCalls ¶
func (*FakeMongoLibraryInterface) FindUserByUsernameReturns ¶
func (fake *FakeMongoLibraryInterface) FindUserByUsernameReturns(result1 bool, result2 services.User, result3 error)
func (*FakeMongoLibraryInterface) FindUserByUsernameReturnsOnCall ¶
func (*FakeMongoLibraryInterface) GetAllCVEs ¶
func (*FakeMongoLibraryInterface) GetAllCVEsArgsForCall ¶
func (*FakeMongoLibraryInterface) GetAllCVEsCallCount ¶
func (fake *FakeMongoLibraryInterface) GetAllCVEsCallCount() int
func (*FakeMongoLibraryInterface) GetAllCVEsCalls ¶
func (*FakeMongoLibraryInterface) GetAllCVEsReturns ¶
func (fake *FakeMongoLibraryInterface) GetAllCVEsReturns(result1 []services.CVE, result2 error)
func (*FakeMongoLibraryInterface) GetAllCVEsReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) GetAllCVEsReturnsOnCall(i int, result1 []services.CVE, result2 error)
func (*FakeMongoLibraryInterface) GetMongoClient ¶
func (*FakeMongoLibraryInterface) GetMongoClientCallCount ¶
func (fake *FakeMongoLibraryInterface) GetMongoClientCallCount() int
func (*FakeMongoLibraryInterface) GetMongoClientCalls ¶
func (*FakeMongoLibraryInterface) GetMongoClientReturns ¶
func (*FakeMongoLibraryInterface) GetMongoClientReturnsOnCall ¶
func (*FakeMongoLibraryInterface) GetMongoCollection ¶
func (fake *FakeMongoLibraryInterface) GetMongoCollection(arg1 *mongo.Client, arg2 string, arg3 string) *mongo.Collection
func (*FakeMongoLibraryInterface) GetMongoCollectionArgsForCall ¶
func (*FakeMongoLibraryInterface) GetMongoCollectionCallCount ¶
func (fake *FakeMongoLibraryInterface) GetMongoCollectionCallCount() int
func (*FakeMongoLibraryInterface) GetMongoCollectionCalls ¶
func (fake *FakeMongoLibraryInterface) GetMongoCollectionCalls(stub func(*mongo.Client, string, string) *mongo.Collection)
func (*FakeMongoLibraryInterface) GetMongoCollectionReturns ¶
func (fake *FakeMongoLibraryInterface) GetMongoCollectionReturns(result1 *mongo.Collection)
func (*FakeMongoLibraryInterface) GetMongoCollectionReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) GetMongoCollectionReturnsOnCall(i int, result1 *mongo.Collection)
func (*FakeMongoLibraryInterface) GetTrackedDependencies ¶
func (fake *FakeMongoLibraryInterface) GetTrackedDependencies(arg1 context.Context, arg2 *mongo.Client) ([]services.Dependency, error)
func (*FakeMongoLibraryInterface) GetTrackedDependenciesArgsForCall ¶
func (*FakeMongoLibraryInterface) GetTrackedDependenciesCallCount ¶
func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesCallCount() int
func (*FakeMongoLibraryInterface) GetTrackedDependenciesCalls ¶
func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesCalls(stub func(context.Context, *mongo.Client) ([]services.Dependency, error))
func (*FakeMongoLibraryInterface) GetTrackedDependenciesReturns ¶
func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesReturns(result1 []services.Dependency, result2 error)
func (*FakeMongoLibraryInterface) GetTrackedDependenciesReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) GetTrackedDependenciesReturnsOnCall(i int, result1 []services.Dependency, result2 error)
func (*FakeMongoLibraryInterface) GetUniqueDependencies ¶
func (*FakeMongoLibraryInterface) GetUniqueDependenciesArgsForCall ¶
func (*FakeMongoLibraryInterface) GetUniqueDependenciesCallCount ¶
func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesCallCount() int
func (*FakeMongoLibraryInterface) GetUniqueDependenciesCalls ¶
func (*FakeMongoLibraryInterface) GetUniqueDependenciesReturns ¶
func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesReturns(result1 []services.CVE, result2 error)
func (*FakeMongoLibraryInterface) GetUniqueDependenciesReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) GetUniqueDependenciesReturnsOnCall(i int, result1 []services.CVE, result2 error)
func (*FakeMongoLibraryInterface) GetUserDependencies ¶
func (fake *FakeMongoLibraryInterface) GetUserDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 string) (services.UserDependencies, error)
func (*FakeMongoLibraryInterface) GetUserDependenciesArgsForCall ¶
func (*FakeMongoLibraryInterface) GetUserDependenciesCallCount ¶
func (fake *FakeMongoLibraryInterface) GetUserDependenciesCallCount() int
func (*FakeMongoLibraryInterface) GetUserDependenciesCalls ¶
func (fake *FakeMongoLibraryInterface) GetUserDependenciesCalls(stub func(context.Context, *mongo.Client, string) (services.UserDependencies, error))
func (*FakeMongoLibraryInterface) GetUserDependenciesReturns ¶
func (fake *FakeMongoLibraryInterface) GetUserDependenciesReturns(result1 services.UserDependencies, result2 error)
func (*FakeMongoLibraryInterface) GetUserDependenciesReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) GetUserDependenciesReturnsOnCall(i int, result1 services.UserDependencies, result2 error)
func (*FakeMongoLibraryInterface) Invocations ¶
func (fake *FakeMongoLibraryInterface) Invocations() map[string][][]interface{}
func (*FakeMongoLibraryInterface) RegisterUser ¶
func (*FakeMongoLibraryInterface) RegisterUserArgsForCall ¶
func (*FakeMongoLibraryInterface) RegisterUserCallCount ¶
func (fake *FakeMongoLibraryInterface) RegisterUserCallCount() int
func (*FakeMongoLibraryInterface) RegisterUserCalls ¶
func (*FakeMongoLibraryInterface) RegisterUserReturns ¶
func (fake *FakeMongoLibraryInterface) RegisterUserReturns(result1 error)
func (*FakeMongoLibraryInterface) RegisterUserReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) RegisterUserReturnsOnCall(i int, result1 error)
func (*FakeMongoLibraryInterface) RemoveAllCVEs ¶
func (*FakeMongoLibraryInterface) RemoveAllCVEsArgsForCall ¶
func (*FakeMongoLibraryInterface) RemoveAllCVEsCallCount ¶
func (fake *FakeMongoLibraryInterface) RemoveAllCVEsCallCount() int
func (*FakeMongoLibraryInterface) RemoveAllCVEsCalls ¶
func (*FakeMongoLibraryInterface) RemoveAllCVEsReturns ¶
func (fake *FakeMongoLibraryInterface) RemoveAllCVEsReturns(result1 error)
func (*FakeMongoLibraryInterface) RemoveAllCVEsReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) RemoveAllCVEsReturnsOnCall(i int, result1 error)
func (*FakeMongoLibraryInterface) RemoveTrackedDependencies ¶
func (fake *FakeMongoLibraryInterface) RemoveTrackedDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 []services.Dependency) error
func (*FakeMongoLibraryInterface) RemoveTrackedDependenciesArgsForCall ¶
func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesArgsForCall(i int) (context.Context, *mongo.Client, []services.Dependency)
func (*FakeMongoLibraryInterface) RemoveTrackedDependenciesCallCount ¶
func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesCallCount() int
func (*FakeMongoLibraryInterface) RemoveTrackedDependenciesCalls ¶
func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesCalls(stub func(context.Context, *mongo.Client, []services.Dependency) error)
func (*FakeMongoLibraryInterface) RemoveTrackedDependenciesReturns ¶
func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesReturns(result1 error)
func (*FakeMongoLibraryInterface) RemoveTrackedDependenciesReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) RemoveTrackedDependenciesReturnsOnCall(i int, result1 error)
func (*FakeMongoLibraryInterface) UpdateUserDependencies ¶
func (fake *FakeMongoLibraryInterface) UpdateUserDependencies(arg1 context.Context, arg2 *mongo.Client, arg3 string, arg4 []services.DependencyWithIntegration) error
func (*FakeMongoLibraryInterface) UpdateUserDependenciesArgsForCall ¶
func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesArgsForCall(i int) (context.Context, *mongo.Client, string, []services.DependencyWithIntegration)
func (*FakeMongoLibraryInterface) UpdateUserDependenciesCallCount ¶
func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesCallCount() int
func (*FakeMongoLibraryInterface) UpdateUserDependenciesCalls ¶
func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesCalls(stub func(context.Context, *mongo.Client, string, []services.DependencyWithIntegration) error)
func (*FakeMongoLibraryInterface) UpdateUserDependenciesReturns ¶
func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesReturns(result1 error)
func (*FakeMongoLibraryInterface) UpdateUserDependenciesReturnsOnCall ¶
func (fake *FakeMongoLibraryInterface) UpdateUserDependenciesReturnsOnCall(i int, result1 error)
type FakeNVDNistLibraryInterface ¶
type FakeNVDNistLibraryInterface struct { GetCVEsStub func(string, string) ([]services.NVDNistResponseCVEItem, error) // contains filtered or unexported fields }
func (*FakeNVDNistLibraryInterface) GetCVEs ¶
func (fake *FakeNVDNistLibraryInterface) GetCVEs(arg1 string, arg2 string) ([]services.NVDNistResponseCVEItem, error)
func (*FakeNVDNistLibraryInterface) GetCVEsArgsForCall ¶
func (fake *FakeNVDNistLibraryInterface) GetCVEsArgsForCall(i int) (string, string)
func (*FakeNVDNistLibraryInterface) GetCVEsCallCount ¶
func (fake *FakeNVDNistLibraryInterface) GetCVEsCallCount() int
func (*FakeNVDNistLibraryInterface) GetCVEsCalls ¶
func (fake *FakeNVDNistLibraryInterface) GetCVEsCalls(stub func(string, string) ([]services.NVDNistResponseCVEItem, error))
func (*FakeNVDNistLibraryInterface) GetCVEsReturns ¶
func (fake *FakeNVDNistLibraryInterface) GetCVEsReturns(result1 []services.NVDNistResponseCVEItem, result2 error)
func (*FakeNVDNistLibraryInterface) GetCVEsReturnsOnCall ¶
func (fake *FakeNVDNistLibraryInterface) GetCVEsReturnsOnCall(i int, result1 []services.NVDNistResponseCVEItem, result2 error)
func (*FakeNVDNistLibraryInterface) Invocations ¶
func (fake *FakeNVDNistLibraryInterface) Invocations() map[string][][]interface{}
type FakeSlackLibraryInterface ¶
type FakeSlackLibraryInterface struct { SendNewCVENotificationStub func(string, string, string, string, float64) error // contains filtered or unexported fields }
func (*FakeSlackLibraryInterface) Invocations ¶
func (fake *FakeSlackLibraryInterface) Invocations() map[string][][]interface{}
func (*FakeSlackLibraryInterface) SendNewCVENotification ¶
func (*FakeSlackLibraryInterface) SendNewCVENotificationArgsForCall ¶
func (*FakeSlackLibraryInterface) SendNewCVENotificationCallCount ¶
func (fake *FakeSlackLibraryInterface) SendNewCVENotificationCallCount() int
func (*FakeSlackLibraryInterface) SendNewCVENotificationCalls ¶
func (*FakeSlackLibraryInterface) SendNewCVENotificationReturns ¶
func (fake *FakeSlackLibraryInterface) SendNewCVENotificationReturns(result1 error)
func (*FakeSlackLibraryInterface) SendNewCVENotificationReturnsOnCall ¶
func (fake *FakeSlackLibraryInterface) SendNewCVENotificationReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.