Documentation ¶
Overview ¶
Package devicemetrics is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowListGenerator ¶
type AllowListGenerator interface {
GenerateFromConfigMap(ctx context.Context, name, namespace string) (*models.MetricsAllowList, error)
}
func NewAllowListGenerator ¶
func NewAllowListGenerator(client k8sclient.K8sClient) AllowListGenerator
type MockAllowListGenerator ¶
type MockAllowListGenerator struct {
// contains filtered or unexported fields
}
MockAllowListGenerator is a mock of AllowListGenerator interface.
func NewMockAllowListGenerator ¶
func NewMockAllowListGenerator(ctrl *gomock.Controller) *MockAllowListGenerator
NewMockAllowListGenerator creates a new mock instance.
func (*MockAllowListGenerator) EXPECT ¶
func (m *MockAllowListGenerator) EXPECT() *MockAllowListGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAllowListGenerator) GenerateFromConfigMap ¶
func (m *MockAllowListGenerator) GenerateFromConfigMap(arg0 context.Context, arg1, arg2 string) (*models.MetricsAllowList, error)
GenerateFromConfigMap mocks base method.
type MockAllowListGeneratorMockRecorder ¶
type MockAllowListGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockAllowListGeneratorMockRecorder is the mock recorder for MockAllowListGenerator.
func (*MockAllowListGeneratorMockRecorder) GenerateFromConfigMap ¶
func (mr *MockAllowListGeneratorMockRecorder) GenerateFromConfigMap(arg0, arg1, arg2 interface{}) *gomock.Call
GenerateFromConfigMap indicates an expected call of GenerateFromConfigMap.
Click to show internal directories.
Click to hide internal directories.