Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockFakeIWMapper
- func (m *MockFakeIWMapper) EXPECT() *MockFakeIWMapperMockRecorder
- func (m *MockFakeIWMapper) InternalWorkspaceListToWorkspaceList(arg0 *v1alpha1.InternalWorkspaceList) (*v1alpha10.WorkspaceList, error)
- func (m *MockFakeIWMapper) InternalWorkspaceToWorkspace(arg0 *v1alpha1.InternalWorkspace) (*v1alpha10.Workspace, error)
- func (m *MockFakeIWMapper) WorkspaceToInternalWorkspace(arg0 *v1alpha10.Workspace) (*v1alpha1.InternalWorkspace, error)
- type MockFakeIWMapperMockRecorder
- type MockFakeIWReadClient
- func (m *MockFakeIWReadClient) EXPECT() *MockFakeIWReadClientMockRecorder
- func (m *MockFakeIWReadClient) GetAsUser(arg0 context.Context, arg1 string, arg2 clientinterface.SpaceKey, ...) error
- func (m *MockFakeIWReadClient) ListAsUser(arg0 context.Context, arg1 string, arg2 *v1alpha1.InternalWorkspaceList) error
- func (m *MockFakeIWReadClient) UserHasDirectAccess(arg0 context.Context, arg1, arg2 string) (bool, error)
- type MockFakeIWReadClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFakeIWMapper ¶
type MockFakeIWMapper struct {
// contains filtered or unexported fields
}
MockFakeIWMapper is a mock of FakeIWMapper interface.
func NewMockFakeIWMapper ¶
func NewMockFakeIWMapper(ctrl *gomock.Controller) *MockFakeIWMapper
NewMockFakeIWMapper creates a new mock instance.
func (*MockFakeIWMapper) EXPECT ¶
func (m *MockFakeIWMapper) EXPECT() *MockFakeIWMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFakeIWMapper) InternalWorkspaceListToWorkspaceList ¶
func (m *MockFakeIWMapper) InternalWorkspaceListToWorkspaceList(arg0 *v1alpha1.InternalWorkspaceList) (*v1alpha10.WorkspaceList, error)
InternalWorkspaceListToWorkspaceList mocks base method.
func (*MockFakeIWMapper) InternalWorkspaceToWorkspace ¶
func (m *MockFakeIWMapper) InternalWorkspaceToWorkspace(arg0 *v1alpha1.InternalWorkspace) (*v1alpha10.Workspace, error)
InternalWorkspaceToWorkspace mocks base method.
func (*MockFakeIWMapper) WorkspaceToInternalWorkspace ¶
func (m *MockFakeIWMapper) WorkspaceToInternalWorkspace(arg0 *v1alpha10.Workspace) (*v1alpha1.InternalWorkspace, error)
WorkspaceToInternalWorkspace mocks base method.
type MockFakeIWMapperMockRecorder ¶
type MockFakeIWMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockFakeIWMapperMockRecorder is the mock recorder for MockFakeIWMapper.
func (*MockFakeIWMapperMockRecorder) InternalWorkspaceListToWorkspaceList ¶
func (mr *MockFakeIWMapperMockRecorder) InternalWorkspaceListToWorkspaceList(arg0 any) *gomock.Call
InternalWorkspaceListToWorkspaceList indicates an expected call of InternalWorkspaceListToWorkspaceList.
func (*MockFakeIWMapperMockRecorder) InternalWorkspaceToWorkspace ¶
func (mr *MockFakeIWMapperMockRecorder) InternalWorkspaceToWorkspace(arg0 any) *gomock.Call
InternalWorkspaceToWorkspace indicates an expected call of InternalWorkspaceToWorkspace.
func (*MockFakeIWMapperMockRecorder) WorkspaceToInternalWorkspace ¶
func (mr *MockFakeIWMapperMockRecorder) WorkspaceToInternalWorkspace(arg0 any) *gomock.Call
WorkspaceToInternalWorkspace indicates an expected call of WorkspaceToInternalWorkspace.
type MockFakeIWReadClient ¶
type MockFakeIWReadClient struct {
// contains filtered or unexported fields
}
MockFakeIWReadClient is a mock of FakeIWReadClient interface.
func NewMockFakeIWReadClient ¶
func NewMockFakeIWReadClient(ctrl *gomock.Controller) *MockFakeIWReadClient
NewMockFakeIWReadClient creates a new mock instance.
func (*MockFakeIWReadClient) EXPECT ¶
func (m *MockFakeIWReadClient) EXPECT() *MockFakeIWReadClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFakeIWReadClient) GetAsUser ¶
func (m *MockFakeIWReadClient) GetAsUser(arg0 context.Context, arg1 string, arg2 clientinterface.SpaceKey, arg3 *v1alpha1.InternalWorkspace, arg4 ...client.GetOption) error
GetAsUser mocks base method.
func (*MockFakeIWReadClient) ListAsUser ¶
func (m *MockFakeIWReadClient) ListAsUser(arg0 context.Context, arg1 string, arg2 *v1alpha1.InternalWorkspaceList) error
ListAsUser mocks base method.
func (*MockFakeIWReadClient) UserHasDirectAccess ¶
func (m *MockFakeIWReadClient) UserHasDirectAccess(arg0 context.Context, arg1, arg2 string) (bool, error)
UserHasDirectAccess mocks base method.
type MockFakeIWReadClientMockRecorder ¶
type MockFakeIWReadClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFakeIWReadClientMockRecorder is the mock recorder for MockFakeIWReadClient.
func (*MockFakeIWReadClientMockRecorder) GetAsUser ¶
func (mr *MockFakeIWReadClientMockRecorder) GetAsUser(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
GetAsUser indicates an expected call of GetAsUser.
func (*MockFakeIWReadClientMockRecorder) ListAsUser ¶
func (mr *MockFakeIWReadClientMockRecorder) ListAsUser(arg0, arg1, arg2 any) *gomock.Call
ListAsUser indicates an expected call of ListAsUser.
func (*MockFakeIWReadClientMockRecorder) UserHasDirectAccess ¶
func (mr *MockFakeIWReadClientMockRecorder) UserHasDirectAccess(arg0, arg1, arg2 any) *gomock.Call
UserHasDirectAccess indicates an expected call of UserHasDirectAccess.