Documentation
¶
Index ¶
- type Client
- func (_m *Client) CspmRegistration() crowdstrike.CspmRegistrationClient
- func (_m *Client) Detects() crowdstrike.DetectsClient
- func (_m *Client) Discover() crowdstrike.DiscoverClient
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) Intel() crowdstrike.IntelClient
- func (_m *Client) SpotlightVulnerabilities() crowdstrike.SpotVulnerabilitiesClient
- type Client_CspmRegistration_Call
- func (_c *Client_CspmRegistration_Call) Return(_a0 crowdstrike.CspmRegistrationClient) *Client_CspmRegistration_Call
- func (_c *Client_CspmRegistration_Call) Run(run func()) *Client_CspmRegistration_Call
- func (_c *Client_CspmRegistration_Call) RunAndReturn(run func() crowdstrike.CspmRegistrationClient) *Client_CspmRegistration_Call
- type Client_Detects_Call
- type Client_Discover_Call
- type Client_Expecter
- func (_e *Client_Expecter) CspmRegistration() *Client_CspmRegistration_Call
- func (_e *Client_Expecter) Detects() *Client_Detects_Call
- func (_e *Client_Expecter) Discover() *Client_Discover_Call
- func (_e *Client_Expecter) Intel() *Client_Intel_Call
- func (_e *Client_Expecter) SpotlightVulnerabilities() *Client_SpotlightVulnerabilities_Call
- type Client_Intel_Call
- type Client_SpotlightVulnerabilities_Call
- func (_c *Client_SpotlightVulnerabilities_Call) Return(_a0 crowdstrike.SpotVulnerabilitiesClient) *Client_SpotlightVulnerabilities_Call
- func (_c *Client_SpotlightVulnerabilities_Call) Run(run func()) *Client_SpotlightVulnerabilities_Call
- func (_c *Client_SpotlightVulnerabilities_Call) RunAndReturn(run func() crowdstrike.SpotVulnerabilitiesClient) *Client_SpotlightVulnerabilities_Call
- type CspmRegistrationClient
- type CspmRegistrationClient_Expecter
- type CspmRegistrationClient_GetConfigurationDetections_Call
- func (_c *CspmRegistrationClient_GetConfigurationDetections_Call) Return(_a0 *cspm_registration.GetConfigurationDetectionsOK, _a1 error) *CspmRegistrationClient_GetConfigurationDetections_Call
- func (_c *CspmRegistrationClient_GetConfigurationDetections_Call) Run(run func(params *cspm_registration.GetConfigurationDetectionsParams, ...)) *CspmRegistrationClient_GetConfigurationDetections_Call
- func (_c *CspmRegistrationClient_GetConfigurationDetections_Call) RunAndReturn(...) *CspmRegistrationClient_GetConfigurationDetections_Call
- type DetectsClient
- func (_m *DetectsClient) EXPECT() *DetectsClient_Expecter
- func (_m *DetectsClient) GetDetectSummaries(params *detects.GetDetectSummariesParams, opts ...detects.ClientOption) (*detects.GetDetectSummariesOK, error)
- func (_m *DetectsClient) QueryDetects(params *detects.QueryDetectsParams, opts ...detects.ClientOption) (*detects.QueryDetectsOK, error)
- type DetectsClient_Expecter
- type DetectsClient_GetDetectSummaries_Call
- func (_c *DetectsClient_GetDetectSummaries_Call) Return(_a0 *detects.GetDetectSummariesOK, _a1 error) *DetectsClient_GetDetectSummaries_Call
- func (_c *DetectsClient_GetDetectSummaries_Call) Run(...) *DetectsClient_GetDetectSummaries_Call
- func (_c *DetectsClient_GetDetectSummaries_Call) RunAndReturn(...) *DetectsClient_GetDetectSummaries_Call
- type DetectsClient_QueryDetects_Call
- func (_c *DetectsClient_QueryDetects_Call) Return(_a0 *detects.QueryDetectsOK, _a1 error) *DetectsClient_QueryDetects_Call
- func (_c *DetectsClient_QueryDetects_Call) Run(run func(params *detects.QueryDetectsParams, opts ...detects.ClientOption)) *DetectsClient_QueryDetects_Call
- func (_c *DetectsClient_QueryDetects_Call) RunAndReturn(...) *DetectsClient_QueryDetects_Call
- type DiscoverClient
- func (_m *DiscoverClient) EXPECT() *DiscoverClient_Expecter
- func (_m *DiscoverClient) GetHosts(params *discover.GetHostsParams, opts ...discover.ClientOption) (*discover.GetHostsOK, error)
- func (_m *DiscoverClient) QueryHosts(params *discover.QueryHostsParams, opts ...discover.ClientOption) (*discover.QueryHostsOK, error)
- type DiscoverClient_Expecter
- type DiscoverClient_GetHosts_Call
- func (_c *DiscoverClient_GetHosts_Call) Return(_a0 *discover.GetHostsOK, _a1 error) *DiscoverClient_GetHosts_Call
- func (_c *DiscoverClient_GetHosts_Call) Run(run func(params *discover.GetHostsParams, opts ...discover.ClientOption)) *DiscoverClient_GetHosts_Call
- func (_c *DiscoverClient_GetHosts_Call) RunAndReturn(...) *DiscoverClient_GetHosts_Call
- type DiscoverClient_QueryHosts_Call
- func (_c *DiscoverClient_QueryHosts_Call) Return(_a0 *discover.QueryHostsOK, _a1 error) *DiscoverClient_QueryHosts_Call
- func (_c *DiscoverClient_QueryHosts_Call) Run(run func(params *discover.QueryHostsParams, opts ...discover.ClientOption)) *DiscoverClient_QueryHosts_Call
- func (_c *DiscoverClient_QueryHosts_Call) RunAndReturn(...) *DiscoverClient_QueryHosts_Call
- type IntelClient
- type IntelClient_Expecter
- type IntelClient_QueryIntelIndicatorEntities_Call
- func (_c *IntelClient_QueryIntelIndicatorEntities_Call) Return(_a0 *intel.QueryIntelIndicatorEntitiesOK, _a1 error) *IntelClient_QueryIntelIndicatorEntities_Call
- func (_c *IntelClient_QueryIntelIndicatorEntities_Call) Run(...) *IntelClient_QueryIntelIndicatorEntities_Call
- func (_c *IntelClient_QueryIntelIndicatorEntities_Call) RunAndReturn(...) *IntelClient_QueryIntelIndicatorEntities_Call
- type SpotVulnerabilitiesClient
- type SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call
- func (_c *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call) Return(_a0 *spotlight_vulnerabilities.CombinedQueryVulnerabilitiesOK, _a1 error) *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call
- func (_c *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call) Run(...) *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call
- func (_c *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call) RunAndReturn(...) *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call
- type SpotVulnerabilitiesClient_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) CspmRegistration ¶
func (_m *Client) CspmRegistration() crowdstrike.CspmRegistrationClient
CspmRegistration provides a mock function with no fields
func (*Client) Detects ¶
func (_m *Client) Detects() crowdstrike.DetectsClient
Detects provides a mock function with no fields
func (*Client) Discover ¶
func (_m *Client) Discover() crowdstrike.DiscoverClient
Discover provides a mock function with no fields
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) Intel ¶
func (_m *Client) Intel() crowdstrike.IntelClient
Intel provides a mock function with no fields
func (*Client) SpotlightVulnerabilities ¶
func (_m *Client) SpotlightVulnerabilities() crowdstrike.SpotVulnerabilitiesClient
SpotlightVulnerabilities provides a mock function with no fields
type Client_CspmRegistration_Call ¶
Client_CspmRegistration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CspmRegistration'
func (*Client_CspmRegistration_Call) Return ¶
func (_c *Client_CspmRegistration_Call) Return(_a0 crowdstrike.CspmRegistrationClient) *Client_CspmRegistration_Call
func (*Client_CspmRegistration_Call) Run ¶
func (_c *Client_CspmRegistration_Call) Run(run func()) *Client_CspmRegistration_Call
func (*Client_CspmRegistration_Call) RunAndReturn ¶
func (_c *Client_CspmRegistration_Call) RunAndReturn(run func() crowdstrike.CspmRegistrationClient) *Client_CspmRegistration_Call
type Client_Detects_Call ¶
Client_Detects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Detects'
func (*Client_Detects_Call) Return ¶
func (_c *Client_Detects_Call) Return(_a0 crowdstrike.DetectsClient) *Client_Detects_Call
func (*Client_Detects_Call) Run ¶
func (_c *Client_Detects_Call) Run(run func()) *Client_Detects_Call
func (*Client_Detects_Call) RunAndReturn ¶
func (_c *Client_Detects_Call) RunAndReturn(run func() crowdstrike.DetectsClient) *Client_Detects_Call
type Client_Discover_Call ¶
Client_Discover_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Discover'
func (*Client_Discover_Call) Return ¶
func (_c *Client_Discover_Call) Return(_a0 crowdstrike.DiscoverClient) *Client_Discover_Call
func (*Client_Discover_Call) Run ¶
func (_c *Client_Discover_Call) Run(run func()) *Client_Discover_Call
func (*Client_Discover_Call) RunAndReturn ¶
func (_c *Client_Discover_Call) RunAndReturn(run func() crowdstrike.DiscoverClient) *Client_Discover_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) CspmRegistration ¶
func (_e *Client_Expecter) CspmRegistration() *Client_CspmRegistration_Call
CspmRegistration is a helper method to define mock.On call
func (*Client_Expecter) Detects ¶
func (_e *Client_Expecter) Detects() *Client_Detects_Call
Detects is a helper method to define mock.On call
func (*Client_Expecter) Discover ¶
func (_e *Client_Expecter) Discover() *Client_Discover_Call
Discover is a helper method to define mock.On call
func (*Client_Expecter) Intel ¶
func (_e *Client_Expecter) Intel() *Client_Intel_Call
Intel is a helper method to define mock.On call
func (*Client_Expecter) SpotlightVulnerabilities ¶
func (_e *Client_Expecter) SpotlightVulnerabilities() *Client_SpotlightVulnerabilities_Call
SpotlightVulnerabilities is a helper method to define mock.On call
type Client_Intel_Call ¶
Client_Intel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Intel'
func (*Client_Intel_Call) Return ¶
func (_c *Client_Intel_Call) Return(_a0 crowdstrike.IntelClient) *Client_Intel_Call
func (*Client_Intel_Call) Run ¶
func (_c *Client_Intel_Call) Run(run func()) *Client_Intel_Call
func (*Client_Intel_Call) RunAndReturn ¶
func (_c *Client_Intel_Call) RunAndReturn(run func() crowdstrike.IntelClient) *Client_Intel_Call
type Client_SpotlightVulnerabilities_Call ¶
Client_SpotlightVulnerabilities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpotlightVulnerabilities'
func (*Client_SpotlightVulnerabilities_Call) Return ¶
func (_c *Client_SpotlightVulnerabilities_Call) Return(_a0 crowdstrike.SpotVulnerabilitiesClient) *Client_SpotlightVulnerabilities_Call
func (*Client_SpotlightVulnerabilities_Call) Run ¶
func (_c *Client_SpotlightVulnerabilities_Call) Run(run func()) *Client_SpotlightVulnerabilities_Call
func (*Client_SpotlightVulnerabilities_Call) RunAndReturn ¶
func (_c *Client_SpotlightVulnerabilities_Call) RunAndReturn(run func() crowdstrike.SpotVulnerabilitiesClient) *Client_SpotlightVulnerabilities_Call
type CspmRegistrationClient ¶
CspmRegistrationClient is an autogenerated mock type for the CspmRegistrationClient type
func NewCspmRegistrationClient ¶
func NewCspmRegistrationClient(t interface {
mock.TestingT
Cleanup(func())
}) *CspmRegistrationClient
NewCspmRegistrationClient creates a new instance of CspmRegistrationClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CspmRegistrationClient) EXPECT ¶
func (_m *CspmRegistrationClient) EXPECT() *CspmRegistrationClient_Expecter
func (*CspmRegistrationClient) GetConfigurationDetections ¶
func (_m *CspmRegistrationClient) GetConfigurationDetections(params *cspm_registration.GetConfigurationDetectionsParams, opts ...cspm_registration.ClientOption) (*cspm_registration.GetConfigurationDetectionsOK, error)
GetConfigurationDetections provides a mock function with given fields: params, opts
type CspmRegistrationClient_Expecter ¶
type CspmRegistrationClient_Expecter struct {
// contains filtered or unexported fields
}
func (*CspmRegistrationClient_Expecter) GetConfigurationDetections ¶
func (_e *CspmRegistrationClient_Expecter) GetConfigurationDetections(params interface{}, opts ...interface{}) *CspmRegistrationClient_GetConfigurationDetections_Call
GetConfigurationDetections is a helper method to define mock.On call
- params *cspm_registration.GetConfigurationDetectionsParams
- opts ...cspm_registration.ClientOption
type CspmRegistrationClient_GetConfigurationDetections_Call ¶
CspmRegistrationClient_GetConfigurationDetections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfigurationDetections'
func (*CspmRegistrationClient_GetConfigurationDetections_Call) Run ¶
func (_c *CspmRegistrationClient_GetConfigurationDetections_Call) Run(run func(params *cspm_registration.GetConfigurationDetectionsParams, opts ...cspm_registration.ClientOption)) *CspmRegistrationClient_GetConfigurationDetections_Call
func (*CspmRegistrationClient_GetConfigurationDetections_Call) RunAndReturn ¶
type DetectsClient ¶
DetectsClient is an autogenerated mock type for the DetectsClient type
func NewDetectsClient ¶
func NewDetectsClient(t interface {
mock.TestingT
Cleanup(func())
}) *DetectsClient
NewDetectsClient creates a new instance of DetectsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DetectsClient) EXPECT ¶
func (_m *DetectsClient) EXPECT() *DetectsClient_Expecter
func (*DetectsClient) GetDetectSummaries ¶
func (_m *DetectsClient) GetDetectSummaries(params *detects.GetDetectSummariesParams, opts ...detects.ClientOption) (*detects.GetDetectSummariesOK, error)
GetDetectSummaries provides a mock function with given fields: params, opts
func (*DetectsClient) QueryDetects ¶
func (_m *DetectsClient) QueryDetects(params *detects.QueryDetectsParams, opts ...detects.ClientOption) (*detects.QueryDetectsOK, error)
QueryDetects provides a mock function with given fields: params, opts
type DetectsClient_Expecter ¶
type DetectsClient_Expecter struct {
// contains filtered or unexported fields
}
func (*DetectsClient_Expecter) GetDetectSummaries ¶
func (_e *DetectsClient_Expecter) GetDetectSummaries(params interface{}, opts ...interface{}) *DetectsClient_GetDetectSummaries_Call
GetDetectSummaries is a helper method to define mock.On call
- params *detects.GetDetectSummariesParams
- opts ...detects.ClientOption
func (*DetectsClient_Expecter) QueryDetects ¶
func (_e *DetectsClient_Expecter) QueryDetects(params interface{}, opts ...interface{}) *DetectsClient_QueryDetects_Call
QueryDetects is a helper method to define mock.On call
- params *detects.QueryDetectsParams
- opts ...detects.ClientOption
type DetectsClient_GetDetectSummaries_Call ¶
DetectsClient_GetDetectSummaries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDetectSummaries'
func (*DetectsClient_GetDetectSummaries_Call) Return ¶
func (_c *DetectsClient_GetDetectSummaries_Call) Return(_a0 *detects.GetDetectSummariesOK, _a1 error) *DetectsClient_GetDetectSummaries_Call
func (*DetectsClient_GetDetectSummaries_Call) Run ¶
func (_c *DetectsClient_GetDetectSummaries_Call) Run(run func(params *detects.GetDetectSummariesParams, opts ...detects.ClientOption)) *DetectsClient_GetDetectSummaries_Call
func (*DetectsClient_GetDetectSummaries_Call) RunAndReturn ¶
func (_c *DetectsClient_GetDetectSummaries_Call) RunAndReturn(run func(*detects.GetDetectSummariesParams, ...detects.ClientOption) (*detects.GetDetectSummariesOK, error)) *DetectsClient_GetDetectSummaries_Call
type DetectsClient_QueryDetects_Call ¶
DetectsClient_QueryDetects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryDetects'
func (*DetectsClient_QueryDetects_Call) Return ¶
func (_c *DetectsClient_QueryDetects_Call) Return(_a0 *detects.QueryDetectsOK, _a1 error) *DetectsClient_QueryDetects_Call
func (*DetectsClient_QueryDetects_Call) Run ¶
func (_c *DetectsClient_QueryDetects_Call) Run(run func(params *detects.QueryDetectsParams, opts ...detects.ClientOption)) *DetectsClient_QueryDetects_Call
func (*DetectsClient_QueryDetects_Call) RunAndReturn ¶
func (_c *DetectsClient_QueryDetects_Call) RunAndReturn(run func(*detects.QueryDetectsParams, ...detects.ClientOption) (*detects.QueryDetectsOK, error)) *DetectsClient_QueryDetects_Call
type DiscoverClient ¶
DiscoverClient is an autogenerated mock type for the DiscoverClient type
func NewDiscoverClient ¶
func NewDiscoverClient(t interface {
mock.TestingT
Cleanup(func())
}) *DiscoverClient
NewDiscoverClient creates a new instance of DiscoverClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DiscoverClient) EXPECT ¶
func (_m *DiscoverClient) EXPECT() *DiscoverClient_Expecter
func (*DiscoverClient) GetHosts ¶
func (_m *DiscoverClient) GetHosts(params *discover.GetHostsParams, opts ...discover.ClientOption) (*discover.GetHostsOK, error)
GetHosts provides a mock function with given fields: params, opts
func (*DiscoverClient) QueryHosts ¶
func (_m *DiscoverClient) QueryHosts(params *discover.QueryHostsParams, opts ...discover.ClientOption) (*discover.QueryHostsOK, error)
QueryHosts provides a mock function with given fields: params, opts
type DiscoverClient_Expecter ¶
type DiscoverClient_Expecter struct {
// contains filtered or unexported fields
}
func (*DiscoverClient_Expecter) GetHosts ¶
func (_e *DiscoverClient_Expecter) GetHosts(params interface{}, opts ...interface{}) *DiscoverClient_GetHosts_Call
GetHosts is a helper method to define mock.On call
- params *discover.GetHostsParams
- opts ...discover.ClientOption
func (*DiscoverClient_Expecter) QueryHosts ¶
func (_e *DiscoverClient_Expecter) QueryHosts(params interface{}, opts ...interface{}) *DiscoverClient_QueryHosts_Call
QueryHosts is a helper method to define mock.On call
- params *discover.QueryHostsParams
- opts ...discover.ClientOption
type DiscoverClient_GetHosts_Call ¶
DiscoverClient_GetHosts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHosts'
func (*DiscoverClient_GetHosts_Call) Return ¶
func (_c *DiscoverClient_GetHosts_Call) Return(_a0 *discover.GetHostsOK, _a1 error) *DiscoverClient_GetHosts_Call
func (*DiscoverClient_GetHosts_Call) Run ¶
func (_c *DiscoverClient_GetHosts_Call) Run(run func(params *discover.GetHostsParams, opts ...discover.ClientOption)) *DiscoverClient_GetHosts_Call
func (*DiscoverClient_GetHosts_Call) RunAndReturn ¶
func (_c *DiscoverClient_GetHosts_Call) RunAndReturn(run func(*discover.GetHostsParams, ...discover.ClientOption) (*discover.GetHostsOK, error)) *DiscoverClient_GetHosts_Call
type DiscoverClient_QueryHosts_Call ¶
DiscoverClient_QueryHosts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryHosts'
func (*DiscoverClient_QueryHosts_Call) Return ¶
func (_c *DiscoverClient_QueryHosts_Call) Return(_a0 *discover.QueryHostsOK, _a1 error) *DiscoverClient_QueryHosts_Call
func (*DiscoverClient_QueryHosts_Call) Run ¶
func (_c *DiscoverClient_QueryHosts_Call) Run(run func(params *discover.QueryHostsParams, opts ...discover.ClientOption)) *DiscoverClient_QueryHosts_Call
func (*DiscoverClient_QueryHosts_Call) RunAndReturn ¶
func (_c *DiscoverClient_QueryHosts_Call) RunAndReturn(run func(*discover.QueryHostsParams, ...discover.ClientOption) (*discover.QueryHostsOK, error)) *DiscoverClient_QueryHosts_Call
type IntelClient ¶
IntelClient is an autogenerated mock type for the IntelClient type
func NewIntelClient ¶
func NewIntelClient(t interface {
mock.TestingT
Cleanup(func())
}) *IntelClient
NewIntelClient creates a new instance of IntelClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IntelClient) EXPECT ¶
func (_m *IntelClient) EXPECT() *IntelClient_Expecter
func (*IntelClient) QueryIntelIndicatorEntities ¶
func (_m *IntelClient) QueryIntelIndicatorEntities(params *intel.QueryIntelIndicatorEntitiesParams, opts ...intel.ClientOption) (*intel.QueryIntelIndicatorEntitiesOK, error)
QueryIntelIndicatorEntities provides a mock function with given fields: params, opts
type IntelClient_Expecter ¶
type IntelClient_Expecter struct {
// contains filtered or unexported fields
}
func (*IntelClient_Expecter) QueryIntelIndicatorEntities ¶
func (_e *IntelClient_Expecter) QueryIntelIndicatorEntities(params interface{}, opts ...interface{}) *IntelClient_QueryIntelIndicatorEntities_Call
QueryIntelIndicatorEntities is a helper method to define mock.On call
- params *intel.QueryIntelIndicatorEntitiesParams
- opts ...intel.ClientOption
type IntelClient_QueryIntelIndicatorEntities_Call ¶
IntelClient_QueryIntelIndicatorEntities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryIntelIndicatorEntities'
func (*IntelClient_QueryIntelIndicatorEntities_Call) Return ¶
func (_c *IntelClient_QueryIntelIndicatorEntities_Call) Return(_a0 *intel.QueryIntelIndicatorEntitiesOK, _a1 error) *IntelClient_QueryIntelIndicatorEntities_Call
func (*IntelClient_QueryIntelIndicatorEntities_Call) Run ¶
func (_c *IntelClient_QueryIntelIndicatorEntities_Call) Run(run func(params *intel.QueryIntelIndicatorEntitiesParams, opts ...intel.ClientOption)) *IntelClient_QueryIntelIndicatorEntities_Call
func (*IntelClient_QueryIntelIndicatorEntities_Call) RunAndReturn ¶
func (_c *IntelClient_QueryIntelIndicatorEntities_Call) RunAndReturn(run func(*intel.QueryIntelIndicatorEntitiesParams, ...intel.ClientOption) (*intel.QueryIntelIndicatorEntitiesOK, error)) *IntelClient_QueryIntelIndicatorEntities_Call
type SpotVulnerabilitiesClient ¶
SpotVulnerabilitiesClient is an autogenerated mock type for the SpotVulnerabilitiesClient type
func NewSpotVulnerabilitiesClient ¶
func NewSpotVulnerabilitiesClient(t interface {
mock.TestingT
Cleanup(func())
}) *SpotVulnerabilitiesClient
NewSpotVulnerabilitiesClient creates a new instance of SpotVulnerabilitiesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SpotVulnerabilitiesClient) CombinedQueryVulnerabilities ¶
func (_m *SpotVulnerabilitiesClient) CombinedQueryVulnerabilities(params *spotlight_vulnerabilities.CombinedQueryVulnerabilitiesParams, opts ...spotlight_vulnerabilities.ClientOption) (*spotlight_vulnerabilities.CombinedQueryVulnerabilitiesOK, error)
CombinedQueryVulnerabilities provides a mock function with given fields: params, opts
func (*SpotVulnerabilitiesClient) EXPECT ¶
func (_m *SpotVulnerabilitiesClient) EXPECT() *SpotVulnerabilitiesClient_Expecter
type SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call ¶
SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CombinedQueryVulnerabilities'
func (*SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call) RunAndReturn ¶
func (_c *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call) RunAndReturn(run func(*spotlight_vulnerabilities.CombinedQueryVulnerabilitiesParams, ...spotlight_vulnerabilities.ClientOption) (*spotlight_vulnerabilities.CombinedQueryVulnerabilitiesOK, error)) *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call
type SpotVulnerabilitiesClient_Expecter ¶
type SpotVulnerabilitiesClient_Expecter struct {
// contains filtered or unexported fields
}
func (*SpotVulnerabilitiesClient_Expecter) CombinedQueryVulnerabilities ¶
func (_e *SpotVulnerabilitiesClient_Expecter) CombinedQueryVulnerabilities(params interface{}, opts ...interface{}) *SpotVulnerabilitiesClient_CombinedQueryVulnerabilities_Call
CombinedQueryVulnerabilities is a helper method to define mock.On call
- params *spotlight_vulnerabilities.CombinedQueryVulnerabilitiesParams
- opts ...spotlight_vulnerabilities.ClientOption