Documentation ¶
Overview ¶
Run go generate to regenerate this mock.
Code generated by MockGen. DO NOT EDIT. Source: ../machinepoolmachine.go
Generated by this command:
mockgen -destination node_getter_mock.go -package mock_scope -source ../machinepoolmachine.go nodeGetter
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 ¶
func (m *MocknodeGetter) EXPECT() *MocknodeGetterMockRecorder
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.