daemonset

package
v0.0.0-...-599ce53 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

Generated by this command:

mockgen -source=daemonset.go -package=daemonset -destination=mock_daemonset.go DaemonsetAPI

Package daemonset is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonsetAPI

type DaemonsetAPI interface {
	SetTopologyDaemonsetAsDesired(ctx context.Context, nfdInstance *nfdv1.NodeFeatureDiscovery, topologyDS *appsv1.DaemonSet) error
	SetWorkerDaemonsetAsDesired(ctx context.Context, nfdInstance *nfdv1.NodeFeatureDiscovery, workerDS *appsv1.DaemonSet) error
	DeleteDaemonSet(ctx context.Context, namespace, name string) error
	GetDaemonSet(ctx context.Context, namespace, name string) (*appsv1.DaemonSet, error)
}

func NewDaemonsetAPI

func NewDaemonsetAPI(client client.Client, scheme *runtime.Scheme) DaemonsetAPI

type MockDaemonsetAPI

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

MockDaemonsetAPI is a mock of DaemonsetAPI interface.

func NewMockDaemonsetAPI

func NewMockDaemonsetAPI(ctrl *gomock.Controller) *MockDaemonsetAPI

NewMockDaemonsetAPI creates a new mock instance.

func (*MockDaemonsetAPI) DeleteDaemonSet

func (m *MockDaemonsetAPI) DeleteDaemonSet(ctx context.Context, namespace, name string) error

DeleteDaemonSet mocks base method.

func (*MockDaemonsetAPI) EXPECT

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

func (*MockDaemonsetAPI) GetDaemonSet

func (m *MockDaemonsetAPI) GetDaemonSet(ctx context.Context, namespace, name string) (*v10.DaemonSet, error)

GetDaemonSet mocks base method.

func (*MockDaemonsetAPI) SetTopologyDaemonsetAsDesired

func (m *MockDaemonsetAPI) SetTopologyDaemonsetAsDesired(ctx context.Context, nfdInstance *v1.NodeFeatureDiscovery, topologyDS *v10.DaemonSet) error

SetTopologyDaemonsetAsDesired mocks base method.

func (*MockDaemonsetAPI) SetWorkerDaemonsetAsDesired

func (m *MockDaemonsetAPI) SetWorkerDaemonsetAsDesired(ctx context.Context, nfdInstance *v1.NodeFeatureDiscovery, workerDS *v10.DaemonSet) error

SetWorkerDaemonsetAsDesired mocks base method.

type MockDaemonsetAPIMockRecorder

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

MockDaemonsetAPIMockRecorder is the mock recorder for MockDaemonsetAPI.

func (*MockDaemonsetAPIMockRecorder) DeleteDaemonSet

func (mr *MockDaemonsetAPIMockRecorder) DeleteDaemonSet(ctx, namespace, name any) *gomock.Call

DeleteDaemonSet indicates an expected call of DeleteDaemonSet.

func (*MockDaemonsetAPIMockRecorder) GetDaemonSet

func (mr *MockDaemonsetAPIMockRecorder) GetDaemonSet(ctx, namespace, name any) *gomock.Call

GetDaemonSet indicates an expected call of GetDaemonSet.

func (*MockDaemonsetAPIMockRecorder) SetTopologyDaemonsetAsDesired

func (mr *MockDaemonsetAPIMockRecorder) SetTopologyDaemonsetAsDesired(ctx, nfdInstance, topologyDS any) *gomock.Call

SetTopologyDaemonsetAsDesired indicates an expected call of SetTopologyDaemonsetAsDesired.

func (*MockDaemonsetAPIMockRecorder) SetWorkerDaemonsetAsDesired

func (mr *MockDaemonsetAPIMockRecorder) SetWorkerDaemonsetAsDesired(ctx, nfdInstance, workerDS any) *gomock.Call

SetWorkerDaemonsetAsDesired indicates an expected call of SetWorkerDaemonsetAsDesired.

Jump to

Keyboard shortcuts

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