Documentation ¶
Overview ¶
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InformerMock ¶
InformerMock is an autogenerated mock type for the Informer type
func NewInformerMock ¶
func NewInformerMock(t interface { mock.TestingT Cleanup(func()) }) *InformerMock
NewInformerMock creates a new instance of InformerMock. 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 (*InformerMock) EXPECT ¶
func (_m *InformerMock) EXPECT() *InformerMock_Expecter
func (*InformerMock) Major ¶
func (_m *InformerMock) Major() int
Major provides a mock function with given fields:
func (*InformerMock) Source ¶
func (_m *InformerMock) Source() string
Source provides a mock function with given fields:
type InformerMock_Expecter ¶
type InformerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*InformerMock_Expecter) Major ¶
func (_e *InformerMock_Expecter) Major() *InformerMock_Major_Call
Major is a helper method to define mock.On call
func (*InformerMock_Expecter) Source ¶
func (_e *InformerMock_Expecter) Source() *InformerMock_Source_Call
Source is a helper method to define mock.On call
type InformerMock_Major_Call ¶
InformerMock_Major_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Major'
func (*InformerMock_Major_Call) Return ¶
func (_c *InformerMock_Major_Call) Return(_a0 int) *InformerMock_Major_Call
func (*InformerMock_Major_Call) Run ¶
func (_c *InformerMock_Major_Call) Run(run func()) *InformerMock_Major_Call
func (*InformerMock_Major_Call) RunAndReturn ¶
func (_c *InformerMock_Major_Call) RunAndReturn(run func() int) *InformerMock_Major_Call
type InformerMock_Source_Call ¶
InformerMock_Source_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Source'
func (*InformerMock_Source_Call) Return ¶
func (_c *InformerMock_Source_Call) Return(_a0 string) *InformerMock_Source_Call
func (*InformerMock_Source_Call) Run ¶
func (_c *InformerMock_Source_Call) Run(run func()) *InformerMock_Source_Call
func (*InformerMock_Source_Call) RunAndReturn ¶
func (_c *InformerMock_Source_Call) RunAndReturn(run func() string) *InformerMock_Source_Call