Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGovcClient
- func (m *MockGovcClient) AddUserToGroup(arg0 context.Context, arg1, arg2 string) error
- func (m *MockGovcClient) CreateGroup(arg0 context.Context, arg1 string) error
- func (m *MockGovcClient) CreateRole(arg0 context.Context, arg1 string, arg2 []string) error
- func (m *MockGovcClient) CreateUser(arg0 context.Context, arg1, arg2 string) error
- func (m *MockGovcClient) EXPECT() *MockGovcClientMockRecorder
- func (m *MockGovcClient) GroupExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockGovcClient) RoleExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockGovcClient) SetGroupRoleOnObject(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockGovcClient) UserExists(arg0 context.Context, arg1 string) (bool, error)
- type MockGovcClientMockRecorder
- func (mr *MockGovcClientMockRecorder) AddUserToGroup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) CreateRole(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) CreateUser(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) GroupExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) RoleExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) SetGroupRoleOnObject(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockGovcClientMockRecorder) UserExists(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGovcClient ¶
type MockGovcClient struct {
// contains filtered or unexported fields
}
MockGovcClient is a mock of GovcClient interface.
func NewMockGovcClient ¶
func NewMockGovcClient(ctrl *gomock.Controller) *MockGovcClient
NewMockGovcClient creates a new mock instance.
func (*MockGovcClient) AddUserToGroup ¶
func (m *MockGovcClient) AddUserToGroup(arg0 context.Context, arg1, arg2 string) error
AddUserToGroup mocks base method.
func (*MockGovcClient) CreateGroup ¶
func (m *MockGovcClient) CreateGroup(arg0 context.Context, arg1 string) error
CreateGroup mocks base method.
func (*MockGovcClient) CreateRole ¶
CreateRole mocks base method.
func (*MockGovcClient) CreateUser ¶
func (m *MockGovcClient) CreateUser(arg0 context.Context, arg1, arg2 string) error
CreateUser mocks base method.
func (*MockGovcClient) EXPECT ¶
func (m *MockGovcClient) EXPECT() *MockGovcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGovcClient) GroupExists ¶
GroupExists mocks base method.
func (*MockGovcClient) RoleExists ¶
RoleExists mocks base method.
func (*MockGovcClient) SetGroupRoleOnObject ¶
func (m *MockGovcClient) SetGroupRoleOnObject(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
SetGroupRoleOnObject mocks base method.
func (*MockGovcClient) UserExists ¶
UserExists mocks base method.
type MockGovcClientMockRecorder ¶
type MockGovcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGovcClientMockRecorder is the mock recorder for MockGovcClient.
func (*MockGovcClientMockRecorder) AddUserToGroup ¶
func (mr *MockGovcClientMockRecorder) AddUserToGroup(arg0, arg1, arg2 interface{}) *gomock.Call
AddUserToGroup indicates an expected call of AddUserToGroup.
func (*MockGovcClientMockRecorder) CreateGroup ¶
func (mr *MockGovcClientMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call
CreateGroup indicates an expected call of CreateGroup.
func (*MockGovcClientMockRecorder) CreateRole ¶
func (mr *MockGovcClientMockRecorder) CreateRole(arg0, arg1, arg2 interface{}) *gomock.Call
CreateRole indicates an expected call of CreateRole.
func (*MockGovcClientMockRecorder) CreateUser ¶
func (mr *MockGovcClientMockRecorder) CreateUser(arg0, arg1, arg2 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockGovcClientMockRecorder) GroupExists ¶
func (mr *MockGovcClientMockRecorder) GroupExists(arg0, arg1 interface{}) *gomock.Call
GroupExists indicates an expected call of GroupExists.
func (*MockGovcClientMockRecorder) RoleExists ¶
func (mr *MockGovcClientMockRecorder) RoleExists(arg0, arg1 interface{}) *gomock.Call
RoleExists indicates an expected call of RoleExists.
func (*MockGovcClientMockRecorder) SetGroupRoleOnObject ¶
func (mr *MockGovcClientMockRecorder) SetGroupRoleOnObject(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SetGroupRoleOnObject indicates an expected call of SetGroupRoleOnObject.
func (*MockGovcClientMockRecorder) UserExists ¶
func (mr *MockGovcClientMockRecorder) UserExists(arg0, arg1 interface{}) *gomock.Call
UserExists indicates an expected call of UserExists.