Help us shape the future of Go! Take the 2026 Go Developer Survey

devicemetrics

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL