Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AlertingRules() (map[string]string, error)
- func (m *MockInterface) Deploy(arg0 context.Context) error
- func (m *MockInterface) Destroy(arg0 context.Context) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) ScrapeConfigs() ([]string, error)
- func (m *MockInterface) SetMachineDeployments(arg0 []v1alpha1.MachineDeployment)
- func (m *MockInterface) SetNamespaceUID(arg0 types.UID)
- func (m *MockInterface) Wait(arg0 context.Context) error
- func (m *MockInterface) WaitCleanup(arg0 context.Context) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AlertingRules() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Deploy(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Destroy(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetMachineDeployments(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetNamespaceUID(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Wait(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitCleanup(arg0 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) AlertingRules ¶
func (m *MockInterface) AlertingRules() (map[string]string, error)
AlertingRules mocks base method.
func (*MockInterface) Deploy ¶
func (m *MockInterface) Deploy(arg0 context.Context) error
Deploy mocks base method.
func (*MockInterface) Destroy ¶
func (m *MockInterface) Destroy(arg0 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) ScrapeConfigs ¶
func (m *MockInterface) ScrapeConfigs() ([]string, error)
ScrapeConfigs mocks base method.
func (*MockInterface) SetMachineDeployments ¶
func (m *MockInterface) SetMachineDeployments(arg0 []v1alpha1.MachineDeployment)
SetMachineDeployments mocks base method.
func (*MockInterface) SetNamespaceUID ¶
func (m *MockInterface) SetNamespaceUID(arg0 types.UID)
SetNamespaceUID mocks base method.
func (*MockInterface) Wait ¶
func (m *MockInterface) Wait(arg0 context.Context) error
Wait mocks base method.
func (*MockInterface) WaitCleanup ¶
func (m *MockInterface) WaitCleanup(arg0 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) AlertingRules ¶
func (mr *MockInterfaceMockRecorder) AlertingRules() *gomock.Call
AlertingRules indicates an expected call of AlertingRules.
func (*MockInterfaceMockRecorder) Deploy ¶
func (mr *MockInterfaceMockRecorder) Deploy(arg0 any) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInterfaceMockRecorder) Destroy ¶
func (mr *MockInterfaceMockRecorder) Destroy(arg0 any) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockInterfaceMockRecorder) ScrapeConfigs ¶
func (mr *MockInterfaceMockRecorder) ScrapeConfigs() *gomock.Call
ScrapeConfigs indicates an expected call of ScrapeConfigs.
func (*MockInterfaceMockRecorder) SetMachineDeployments ¶
func (mr *MockInterfaceMockRecorder) SetMachineDeployments(arg0 any) *gomock.Call
SetMachineDeployments indicates an expected call of SetMachineDeployments.
func (*MockInterfaceMockRecorder) SetNamespaceUID ¶
func (mr *MockInterfaceMockRecorder) SetNamespaceUID(arg0 any) *gomock.Call
SetNamespaceUID indicates an expected call of SetNamespaceUID.
func (*MockInterfaceMockRecorder) Wait ¶
func (mr *MockInterfaceMockRecorder) Wait(arg0 any) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockInterfaceMockRecorder) WaitCleanup ¶
func (mr *MockInterfaceMockRecorder) WaitCleanup(arg0 any) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.