Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClientMap
- func (m *MockClientMap) EXPECT() *MockClientMapMockRecorder
- func (m *MockClientMap) GetClient(arg0 context.Context, arg1 clientmap.ClientSetKey) (kubernetes.Interface, error)
- func (m *MockClientMap) InvalidateClient(arg0 clientmap.ClientSetKey) error
- func (m *MockClientMap) Start(arg0 context.Context) error
- type MockClientMapMockRecorder
- type MockClientSetFactory
- func (m *MockClientSetFactory) CalculateClientSetHash(arg0 context.Context, arg1 clientmap.ClientSetKey) (string, error)
- func (m *MockClientSetFactory) EXPECT() *MockClientSetFactoryMockRecorder
- func (m *MockClientSetFactory) NewClientSet(arg0 context.Context, arg1 clientmap.ClientSetKey) (kubernetes.Interface, string, error)
- type MockClientSetFactoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientMap ¶
type MockClientMap struct {
// contains filtered or unexported fields
}
MockClientMap is a mock of ClientMap interface.
func NewMockClientMap ¶
func NewMockClientMap(ctrl *gomock.Controller) *MockClientMap
NewMockClientMap creates a new mock instance.
func (*MockClientMap) EXPECT ¶
func (m *MockClientMap) EXPECT() *MockClientMapMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientMap) GetClient ¶
func (m *MockClientMap) GetClient(arg0 context.Context, arg1 clientmap.ClientSetKey) (kubernetes.Interface, error)
GetClient mocks base method.
func (*MockClientMap) InvalidateClient ¶
func (m *MockClientMap) InvalidateClient(arg0 clientmap.ClientSetKey) error
InvalidateClient mocks base method.
type MockClientMapMockRecorder ¶
type MockClientMapMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMapMockRecorder is the mock recorder for MockClientMap.
func (*MockClientMapMockRecorder) GetClient ¶
func (mr *MockClientMapMockRecorder) GetClient(arg0, arg1 any) *gomock.Call
GetClient indicates an expected call of GetClient.
func (*MockClientMapMockRecorder) InvalidateClient ¶
func (mr *MockClientMapMockRecorder) InvalidateClient(arg0 any) *gomock.Call
InvalidateClient indicates an expected call of InvalidateClient.
type MockClientSetFactory ¶
type MockClientSetFactory struct {
// contains filtered or unexported fields
}
MockClientSetFactory is a mock of ClientSetFactory interface.
func NewMockClientSetFactory ¶
func NewMockClientSetFactory(ctrl *gomock.Controller) *MockClientSetFactory
NewMockClientSetFactory creates a new mock instance.
func (*MockClientSetFactory) CalculateClientSetHash ¶
func (m *MockClientSetFactory) CalculateClientSetHash(arg0 context.Context, arg1 clientmap.ClientSetKey) (string, error)
CalculateClientSetHash mocks base method.
func (*MockClientSetFactory) EXPECT ¶
func (m *MockClientSetFactory) EXPECT() *MockClientSetFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientSetFactory) NewClientSet ¶
func (m *MockClientSetFactory) NewClientSet(arg0 context.Context, arg1 clientmap.ClientSetKey) (kubernetes.Interface, string, error)
NewClientSet mocks base method.
type MockClientSetFactoryMockRecorder ¶
type MockClientSetFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientSetFactoryMockRecorder is the mock recorder for MockClientSetFactory.
func (*MockClientSetFactoryMockRecorder) CalculateClientSetHash ¶
func (mr *MockClientSetFactoryMockRecorder) CalculateClientSetHash(arg0, arg1 any) *gomock.Call
CalculateClientSetHash indicates an expected call of CalculateClientSetHash.
func (*MockClientSetFactoryMockRecorder) NewClientSet ¶
func (mr *MockClientSetFactoryMockRecorder) NewClientSet(arg0, arg1 any) *gomock.Call
NewClientSet indicates an expected call of NewClientSet.