configmap

package
v0.0.0-...-ea47f52 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: configmap.go

Generated by this command:

mockgen -source=configmap.go -package=configmap -destination=mock_configmap.go ConfigMapAPI

Package configmap is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapAPI

type ConfigMapAPI interface {
	SetWorkerConfigMapAsDesired(ctx context.Context, nfdInstance *nfdv1.NodeFeatureDiscovery, workerCM *corev1.ConfigMap) error
	DeleteConfigMap(ctx context.Context, namespace, name string) error
}

func NewConfigMapAPI

func NewConfigMapAPI(client client.Client, scheme *runtime.Scheme) ConfigMapAPI

type MockConfigMapAPI

type MockConfigMapAPI struct {
	// contains filtered or unexported fields
}

MockConfigMapAPI is a mock of ConfigMapAPI interface.

func NewMockConfigMapAPI

func NewMockConfigMapAPI(ctrl *gomock.Controller) *MockConfigMapAPI

NewMockConfigMapAPI creates a new mock instance.

func (*MockConfigMapAPI) DeleteConfigMap

func (m *MockConfigMapAPI) DeleteConfigMap(ctx context.Context, namespace, name string) error

DeleteConfigMap mocks base method.

func (*MockConfigMapAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockConfigMapAPI) SetWorkerConfigMapAsDesired

func (m *MockConfigMapAPI) SetWorkerConfigMapAsDesired(ctx context.Context, nfdInstance *v1.NodeFeatureDiscovery, workerCM *v10.ConfigMap) error

SetWorkerConfigMapAsDesired mocks base method.

type MockConfigMapAPIMockRecorder

type MockConfigMapAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockConfigMapAPIMockRecorder is the mock recorder for MockConfigMapAPI.

func (*MockConfigMapAPIMockRecorder) DeleteConfigMap

func (mr *MockConfigMapAPIMockRecorder) DeleteConfigMap(ctx, namespace, name any) *gomock.Call

DeleteConfigMap indicates an expected call of DeleteConfigMap.

func (*MockConfigMapAPIMockRecorder) SetWorkerConfigMapAsDesired

func (mr *MockConfigMapAPIMockRecorder) SetWorkerConfigMapAsDesired(ctx, nfdInstance, workerCM any) *gomock.Call

SetWorkerConfigMapAsDesired indicates an expected call of SetWorkerConfigMapAsDesired.

Jump to

Keyboard shortcuts

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