mock_scope

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Run go generate to regenerate this mock.

Package mock_scope is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MocknodeGetter

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

MocknodeGetter is a mock of nodeGetter interface.

func NewMocknodeGetter

func NewMocknodeGetter(ctrl *gomock.Controller) *MocknodeGetter

NewMocknodeGetter creates a new mock instance.

func (*MocknodeGetter) EXPECT

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

func (*MocknodeGetter) GetNodeByObjectReference

func (m *MocknodeGetter) GetNodeByObjectReference(ctx context.Context, nodeRef v1.ObjectReference) (*v1.Node, error)

GetNodeByObjectReference mocks base method.

func (*MocknodeGetter) GetNodeByProviderID

func (m *MocknodeGetter) GetNodeByProviderID(ctx context.Context, providerID string) (*v1.Node, error)

GetNodeByProviderID mocks base method.

type MocknodeGetterMockRecorder

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

MocknodeGetterMockRecorder is the mock recorder for MocknodeGetter.

func (*MocknodeGetterMockRecorder) GetNodeByObjectReference

func (mr *MocknodeGetterMockRecorder) GetNodeByObjectReference(ctx, nodeRef any) *gomock.Call

GetNodeByObjectReference indicates an expected call of GetNodeByObjectReference.

func (*MocknodeGetterMockRecorder) GetNodeByProviderID

func (mr *MocknodeGetterMockRecorder) GetNodeByProviderID(ctx, providerID any) *gomock.Call

GetNodeByProviderID indicates an expected call of GetNodeByProviderID.

Jump to

Keyboard shortcuts

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