Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Deploy(ctx context.Context) error
- func (m *MockInterface) Destroy(ctx context.Context) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) SetAPIResourceList(arg0 []*v1.APIResourceList)
- func (m *MockInterface) SetNodeNetworkCIDRs(arg0 []net.IPNet)
- func (m *MockInterface) SetPodNetworkCIDRs(arg0 []net.IPNet)
- func (m *MockInterface) SetServiceNetworkCIDRs(arg0 []net.IPNet)
- func (m *MockInterface) Wait(ctx context.Context) error
- func (m *MockInterface) WaitCleanup(ctx context.Context) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetAPIResourceList(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetNodeNetworkCIDRs(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetPodNetworkCIDRs(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetServiceNetworkCIDRs(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Deploy ¶
func (m *MockInterface) Deploy(ctx context.Context) error
Deploy mocks base method.
func (*MockInterface) Destroy ¶
func (m *MockInterface) Destroy(ctx context.Context) error
Destroy mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) SetAPIResourceList ¶
func (m *MockInterface) SetAPIResourceList(arg0 []*v1.APIResourceList)
SetAPIResourceList mocks base method.
func (*MockInterface) SetNodeNetworkCIDRs ¶ added in v1.99.0
func (m *MockInterface) SetNodeNetworkCIDRs(arg0 []net.IPNet)
SetNodeNetworkCIDRs mocks base method.
func (*MockInterface) SetPodNetworkCIDRs ¶ added in v1.99.0
func (m *MockInterface) SetPodNetworkCIDRs(arg0 []net.IPNet)
SetPodNetworkCIDRs mocks base method.
func (*MockInterface) SetServiceNetworkCIDRs ¶ added in v1.99.0
func (m *MockInterface) SetServiceNetworkCIDRs(arg0 []net.IPNet)
SetServiceNetworkCIDRs mocks base method.
func (*MockInterface) Wait ¶
func (m *MockInterface) Wait(ctx context.Context) error
Wait mocks base method.
func (*MockInterface) WaitCleanup ¶
func (m *MockInterface) WaitCleanup(ctx context.Context) error
WaitCleanup mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Deploy ¶
func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInterfaceMockRecorder) Destroy ¶
func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockInterfaceMockRecorder) SetAPIResourceList ¶
func (mr *MockInterfaceMockRecorder) SetAPIResourceList(arg0 any) *gomock.Call
SetAPIResourceList indicates an expected call of SetAPIResourceList.
func (*MockInterfaceMockRecorder) SetNodeNetworkCIDRs ¶ added in v1.99.0
func (mr *MockInterfaceMockRecorder) SetNodeNetworkCIDRs(arg0 any) *gomock.Call
SetNodeNetworkCIDRs indicates an expected call of SetNodeNetworkCIDRs.
func (*MockInterfaceMockRecorder) SetPodNetworkCIDRs ¶ added in v1.99.0
func (mr *MockInterfaceMockRecorder) SetPodNetworkCIDRs(arg0 any) *gomock.Call
SetPodNetworkCIDRs indicates an expected call of SetPodNetworkCIDRs.
func (*MockInterfaceMockRecorder) SetServiceNetworkCIDRs ¶ added in v1.99.0
func (mr *MockInterfaceMockRecorder) SetServiceNetworkCIDRs(arg0 any) *gomock.Call
SetServiceNetworkCIDRs indicates an expected call of SetServiceNetworkCIDRs.
func (*MockInterfaceMockRecorder) Wait ¶
func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockInterfaceMockRecorder) WaitCleanup ¶
func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.