Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockAuthServiceClient
- func (m *MockAuthServiceClient) CreateAPIKey(ctx context.Context, in *authservice.CreateAPIKeyRequest, ...) (*authservice.CreateAPIKeyResponse, error)
- func (m *MockAuthServiceClient) DeleteAPIKey(ctx context.Context, in *authservice.DeleteAPIKeyRequest, ...) (*authservice.DeleteAPIKeyResponse, error)
- func (m *MockAuthServiceClient) DeleteAnyAPIKey(ctx context.Context, in *authservice.DeleteAnyAPIKeyRequest, ...) (*authservice.DeleteAnyAPIKeyResponse, error)
- func (m *MockAuthServiceClient) DeleteUser(ctx context.Context, in *authservice.DeleteUserRequest, ...) (*authservice.DeleteUserResponse, error)
- func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder
- func (m *MockAuthServiceClient) GetAPIKey(ctx context.Context, in *authservice.GetAPIKeyRequest, opts ...grpc.CallOption) (*authservice.GetAPIKeyResponse, error)
- func (m *MockAuthServiceClient) GetAPIKeys(ctx context.Context, in *authservice.GetAPIKeysRequest, ...) (*authservice.GetAPIKeysResponse, error)
- func (m *MockAuthServiceClient) GetAllAPIKeys(ctx context.Context, in *authservice.GetAllAPIKeysRequest, ...) (*authservice.GetAllAPIKeysResponse, error)
- func (m *MockAuthServiceClient) GetAnyAPIKey(ctx context.Context, in *authservice.GetAnyAPIKeyRequest, ...) (*authservice.GetAnyAPIKeyResponse, error)
- func (m *MockAuthServiceClient) GetRole(ctx context.Context, in *authservice.GetRoleRequest, opts ...grpc.CallOption) (*authservice.GetRoleResponse, error)
- func (m *MockAuthServiceClient) GetRoles(ctx context.Context, in *authservice.GetRolesRequest, opts ...grpc.CallOption) (*authservice.GetRolesResponse, error)
- func (m *MockAuthServiceClient) GetRolesByPermissions(ctx context.Context, in *authservice.GetRolesByPermissionsRequest, ...) (*authservice.GetRolesByPermissionsResponse, error)
- func (m *MockAuthServiceClient) GetUser(ctx context.Context, in *authservice.GetUserRequest, opts ...grpc.CallOption) (*authservice.GetUserResponse, error)
- func (m *MockAuthServiceClient) GetUsers(ctx context.Context, in *authservice.GetUsersRequest, opts ...grpc.CallOption) (*authservice.GetUsersResponse, error)
- func (m *MockAuthServiceClient) InviteUsers(ctx context.Context, in *authservice.InviteUsersRequest, ...) (*authservice.InviteUsersResponse, error)
- func (m *MockAuthServiceClient) ResendUserInvite(ctx context.Context, in *authservice.ResendUserInviteRequest, ...) (*authservice.ResendUserInviteResponse, error)
- func (m *MockAuthServiceClient) UpdateAPIKey(ctx context.Context, in *authservice.UpdateAPIKeyRequest, ...) (*authservice.UpdateAPIKeyResponse, error)
- func (m *MockAuthServiceClient) UpdateAnyAPIKey(ctx context.Context, in *authservice.UpdateAnyAPIKeyRequest, ...) (*authservice.UpdateAnyAPIKeyResponse, error)
- func (m *MockAuthServiceClient) UpdateUser(ctx context.Context, in *authservice.UpdateUserRequest, ...) (*authservice.UpdateUserResponse, error)
- func (m *MockAuthServiceClient) UpdateUserNamespacePermissions(ctx context.Context, in *authservice.UpdateUserNamespacePermissionsRequest, ...) (*authservice.UpdateUserNamespacePermissionsResponse, error)
- type MockAuthServiceClientMockRecorder
- func (mr *MockAuthServiceClientMockRecorder) CreateAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) DeleteAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) DeleteAnyAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetAPIKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetAllAPIKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetAnyAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetRole(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetRolesByPermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) InviteUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) ResendUserInvite(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateAnyAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAuthServiceServer
- func (m *MockAuthServiceServer) CreateAPIKey(arg0 context.Context, arg1 *authservice.CreateAPIKeyRequest) (*authservice.CreateAPIKeyResponse, error)
- func (m *MockAuthServiceServer) DeleteAPIKey(arg0 context.Context, arg1 *authservice.DeleteAPIKeyRequest) (*authservice.DeleteAPIKeyResponse, error)
- func (m *MockAuthServiceServer) DeleteAnyAPIKey(arg0 context.Context, arg1 *authservice.DeleteAnyAPIKeyRequest) (*authservice.DeleteAnyAPIKeyResponse, error)
- func (m *MockAuthServiceServer) DeleteUser(arg0 context.Context, arg1 *authservice.DeleteUserRequest) (*authservice.DeleteUserResponse, error)
- func (m *MockAuthServiceServer) EXPECT() *MockAuthServiceServerMockRecorder
- func (m *MockAuthServiceServer) GetAPIKey(arg0 context.Context, arg1 *authservice.GetAPIKeyRequest) (*authservice.GetAPIKeyResponse, error)
- func (m *MockAuthServiceServer) GetAPIKeys(arg0 context.Context, arg1 *authservice.GetAPIKeysRequest) (*authservice.GetAPIKeysResponse, error)
- func (m *MockAuthServiceServer) GetAllAPIKeys(arg0 context.Context, arg1 *authservice.GetAllAPIKeysRequest) (*authservice.GetAllAPIKeysResponse, error)
- func (m *MockAuthServiceServer) GetAnyAPIKey(arg0 context.Context, arg1 *authservice.GetAnyAPIKeyRequest) (*authservice.GetAnyAPIKeyResponse, error)
- func (m *MockAuthServiceServer) GetRole(arg0 context.Context, arg1 *authservice.GetRoleRequest) (*authservice.GetRoleResponse, error)
- func (m *MockAuthServiceServer) GetRoles(arg0 context.Context, arg1 *authservice.GetRolesRequest) (*authservice.GetRolesResponse, error)
- func (m *MockAuthServiceServer) GetRolesByPermissions(arg0 context.Context, arg1 *authservice.GetRolesByPermissionsRequest) (*authservice.GetRolesByPermissionsResponse, error)
- func (m *MockAuthServiceServer) GetUser(arg0 context.Context, arg1 *authservice.GetUserRequest) (*authservice.GetUserResponse, error)
- func (m *MockAuthServiceServer) GetUsers(arg0 context.Context, arg1 *authservice.GetUsersRequest) (*authservice.GetUsersResponse, error)
- func (m *MockAuthServiceServer) InviteUsers(arg0 context.Context, arg1 *authservice.InviteUsersRequest) (*authservice.InviteUsersResponse, error)
- func (m *MockAuthServiceServer) ResendUserInvite(arg0 context.Context, arg1 *authservice.ResendUserInviteRequest) (*authservice.ResendUserInviteResponse, error)
- func (m *MockAuthServiceServer) UpdateAPIKey(arg0 context.Context, arg1 *authservice.UpdateAPIKeyRequest) (*authservice.UpdateAPIKeyResponse, error)
- func (m *MockAuthServiceServer) UpdateAnyAPIKey(arg0 context.Context, arg1 *authservice.UpdateAnyAPIKeyRequest) (*authservice.UpdateAnyAPIKeyResponse, error)
- func (m *MockAuthServiceServer) UpdateUser(arg0 context.Context, arg1 *authservice.UpdateUserRequest) (*authservice.UpdateUserResponse, error)
- func (m *MockAuthServiceServer) UpdateUserNamespacePermissions(arg0 context.Context, arg1 *authservice.UpdateUserNamespacePermissionsRequest) (*authservice.UpdateUserNamespacePermissionsResponse, error)
- type MockAuthServiceServerMockRecorder
- func (mr *MockAuthServiceServerMockRecorder) CreateAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) DeleteAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) DeleteAnyAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetAPIKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetAllAPIKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetAnyAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetRoles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetRolesByPermissions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) InviteUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) ResendUserInvite(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateAnyAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthServiceClient ¶
type MockAuthServiceClient struct {
// contains filtered or unexported fields
}
MockAuthServiceClient is a mock of AuthServiceClient interface.
func NewMockAuthServiceClient ¶
func NewMockAuthServiceClient(ctrl *gomock.Controller) *MockAuthServiceClient
NewMockAuthServiceClient creates a new mock instance.
func (*MockAuthServiceClient) CreateAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) CreateAPIKey(ctx context.Context, in *authservice.CreateAPIKeyRequest, opts ...grpc.CallOption) (*authservice.CreateAPIKeyResponse, error)
CreateAPIKey mocks base method.
func (*MockAuthServiceClient) DeleteAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) DeleteAPIKey(ctx context.Context, in *authservice.DeleteAPIKeyRequest, opts ...grpc.CallOption) (*authservice.DeleteAPIKeyResponse, error)
DeleteAPIKey mocks base method.
func (*MockAuthServiceClient) DeleteAnyAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) DeleteAnyAPIKey(ctx context.Context, in *authservice.DeleteAnyAPIKeyRequest, opts ...grpc.CallOption) (*authservice.DeleteAnyAPIKeyResponse, error)
DeleteAnyAPIKey mocks base method.
func (*MockAuthServiceClient) DeleteUser ¶
func (m *MockAuthServiceClient) DeleteUser(ctx context.Context, in *authservice.DeleteUserRequest, opts ...grpc.CallOption) (*authservice.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockAuthServiceClient) EXPECT ¶
func (m *MockAuthServiceClient) EXPECT() *MockAuthServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServiceClient) GetAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) GetAPIKey(ctx context.Context, in *authservice.GetAPIKeyRequest, opts ...grpc.CallOption) (*authservice.GetAPIKeyResponse, error)
GetAPIKey mocks base method.
func (*MockAuthServiceClient) GetAPIKeys ¶ added in v0.11.0
func (m *MockAuthServiceClient) GetAPIKeys(ctx context.Context, in *authservice.GetAPIKeysRequest, opts ...grpc.CallOption) (*authservice.GetAPIKeysResponse, error)
GetAPIKeys mocks base method.
func (*MockAuthServiceClient) GetAllAPIKeys ¶ added in v0.11.0
func (m *MockAuthServiceClient) GetAllAPIKeys(ctx context.Context, in *authservice.GetAllAPIKeysRequest, opts ...grpc.CallOption) (*authservice.GetAllAPIKeysResponse, error)
GetAllAPIKeys mocks base method.
func (*MockAuthServiceClient) GetAnyAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) GetAnyAPIKey(ctx context.Context, in *authservice.GetAnyAPIKeyRequest, opts ...grpc.CallOption) (*authservice.GetAnyAPIKeyResponse, error)
GetAnyAPIKey mocks base method.
func (*MockAuthServiceClient) GetRole ¶ added in v0.11.0
func (m *MockAuthServiceClient) GetRole(ctx context.Context, in *authservice.GetRoleRequest, opts ...grpc.CallOption) (*authservice.GetRoleResponse, error)
GetRole mocks base method.
func (*MockAuthServiceClient) GetRoles ¶
func (m *MockAuthServiceClient) GetRoles(ctx context.Context, in *authservice.GetRolesRequest, opts ...grpc.CallOption) (*authservice.GetRolesResponse, error)
GetRoles mocks base method.
func (*MockAuthServiceClient) GetRolesByPermissions ¶
func (m *MockAuthServiceClient) GetRolesByPermissions(ctx context.Context, in *authservice.GetRolesByPermissionsRequest, opts ...grpc.CallOption) (*authservice.GetRolesByPermissionsResponse, error)
GetRolesByPermissions mocks base method.
func (*MockAuthServiceClient) GetUser ¶
func (m *MockAuthServiceClient) GetUser(ctx context.Context, in *authservice.GetUserRequest, opts ...grpc.CallOption) (*authservice.GetUserResponse, error)
GetUser mocks base method.
func (*MockAuthServiceClient) GetUsers ¶
func (m *MockAuthServiceClient) GetUsers(ctx context.Context, in *authservice.GetUsersRequest, opts ...grpc.CallOption) (*authservice.GetUsersResponse, error)
GetUsers mocks base method.
func (*MockAuthServiceClient) InviteUsers ¶
func (m *MockAuthServiceClient) InviteUsers(ctx context.Context, in *authservice.InviteUsersRequest, opts ...grpc.CallOption) (*authservice.InviteUsersResponse, error)
InviteUsers mocks base method.
func (*MockAuthServiceClient) ResendUserInvite ¶
func (m *MockAuthServiceClient) ResendUserInvite(ctx context.Context, in *authservice.ResendUserInviteRequest, opts ...grpc.CallOption) (*authservice.ResendUserInviteResponse, error)
ResendUserInvite mocks base method.
func (*MockAuthServiceClient) UpdateAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) UpdateAPIKey(ctx context.Context, in *authservice.UpdateAPIKeyRequest, opts ...grpc.CallOption) (*authservice.UpdateAPIKeyResponse, error)
UpdateAPIKey mocks base method.
func (*MockAuthServiceClient) UpdateAnyAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceClient) UpdateAnyAPIKey(ctx context.Context, in *authservice.UpdateAnyAPIKeyRequest, opts ...grpc.CallOption) (*authservice.UpdateAnyAPIKeyResponse, error)
UpdateAnyAPIKey mocks base method.
func (*MockAuthServiceClient) UpdateUser ¶
func (m *MockAuthServiceClient) UpdateUser(ctx context.Context, in *authservice.UpdateUserRequest, opts ...grpc.CallOption) (*authservice.UpdateUserResponse, error)
UpdateUser mocks base method.
func (*MockAuthServiceClient) UpdateUserNamespacePermissions ¶
func (m *MockAuthServiceClient) UpdateUserNamespacePermissions(ctx context.Context, in *authservice.UpdateUserNamespacePermissionsRequest, opts ...grpc.CallOption) (*authservice.UpdateUserNamespacePermissionsResponse, error)
UpdateUserNamespacePermissions mocks base method.
type MockAuthServiceClientMockRecorder ¶
type MockAuthServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceClientMockRecorder is the mock recorder for MockAuthServiceClient.
func (*MockAuthServiceClientMockRecorder) CreateAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) CreateAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateAPIKey indicates an expected call of CreateAPIKey.
func (*MockAuthServiceClientMockRecorder) DeleteAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) DeleteAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteAPIKey indicates an expected call of DeleteAPIKey.
func (*MockAuthServiceClientMockRecorder) DeleteAnyAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) DeleteAnyAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteAnyAPIKey indicates an expected call of DeleteAnyAPIKey.
func (*MockAuthServiceClientMockRecorder) DeleteUser ¶
func (mr *MockAuthServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockAuthServiceClientMockRecorder) GetAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) GetAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAPIKey indicates an expected call of GetAPIKey.
func (*MockAuthServiceClientMockRecorder) GetAPIKeys ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) GetAPIKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAPIKeys indicates an expected call of GetAPIKeys.
func (*MockAuthServiceClientMockRecorder) GetAllAPIKeys ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) GetAllAPIKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAllAPIKeys indicates an expected call of GetAllAPIKeys.
func (*MockAuthServiceClientMockRecorder) GetAnyAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) GetAnyAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAnyAPIKey indicates an expected call of GetAnyAPIKey.
func (*MockAuthServiceClientMockRecorder) GetRole ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) GetRole(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockAuthServiceClientMockRecorder) GetRoles ¶
func (mr *MockAuthServiceClientMockRecorder) GetRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRoles indicates an expected call of GetRoles.
func (*MockAuthServiceClientMockRecorder) GetRolesByPermissions ¶
func (mr *MockAuthServiceClientMockRecorder) GetRolesByPermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRolesByPermissions indicates an expected call of GetRolesByPermissions.
func (*MockAuthServiceClientMockRecorder) GetUser ¶
func (mr *MockAuthServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockAuthServiceClientMockRecorder) GetUsers ¶
func (mr *MockAuthServiceClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockAuthServiceClientMockRecorder) InviteUsers ¶
func (mr *MockAuthServiceClientMockRecorder) InviteUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
InviteUsers indicates an expected call of InviteUsers.
func (*MockAuthServiceClientMockRecorder) ResendUserInvite ¶
func (mr *MockAuthServiceClientMockRecorder) ResendUserInvite(ctx, in interface{}, opts ...interface{}) *gomock.Call
ResendUserInvite indicates an expected call of ResendUserInvite.
func (*MockAuthServiceClientMockRecorder) UpdateAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) UpdateAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateAPIKey indicates an expected call of UpdateAPIKey.
func (*MockAuthServiceClientMockRecorder) UpdateAnyAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceClientMockRecorder) UpdateAnyAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateAnyAPIKey indicates an expected call of UpdateAnyAPIKey.
func (*MockAuthServiceClientMockRecorder) UpdateUser ¶
func (mr *MockAuthServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions ¶
func (mr *MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUserNamespacePermissions indicates an expected call of UpdateUserNamespacePermissions.
type MockAuthServiceServer ¶
type MockAuthServiceServer struct {
// contains filtered or unexported fields
}
MockAuthServiceServer is a mock of AuthServiceServer interface.
func NewMockAuthServiceServer ¶
func NewMockAuthServiceServer(ctrl *gomock.Controller) *MockAuthServiceServer
NewMockAuthServiceServer creates a new mock instance.
func (*MockAuthServiceServer) CreateAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) CreateAPIKey(arg0 context.Context, arg1 *authservice.CreateAPIKeyRequest) (*authservice.CreateAPIKeyResponse, error)
CreateAPIKey mocks base method.
func (*MockAuthServiceServer) DeleteAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) DeleteAPIKey(arg0 context.Context, arg1 *authservice.DeleteAPIKeyRequest) (*authservice.DeleteAPIKeyResponse, error)
DeleteAPIKey mocks base method.
func (*MockAuthServiceServer) DeleteAnyAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) DeleteAnyAPIKey(arg0 context.Context, arg1 *authservice.DeleteAnyAPIKeyRequest) (*authservice.DeleteAnyAPIKeyResponse, error)
DeleteAnyAPIKey mocks base method.
func (*MockAuthServiceServer) DeleteUser ¶
func (m *MockAuthServiceServer) DeleteUser(arg0 context.Context, arg1 *authservice.DeleteUserRequest) (*authservice.DeleteUserResponse, error)
DeleteUser mocks base method.
func (*MockAuthServiceServer) EXPECT ¶
func (m *MockAuthServiceServer) EXPECT() *MockAuthServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServiceServer) GetAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) GetAPIKey(arg0 context.Context, arg1 *authservice.GetAPIKeyRequest) (*authservice.GetAPIKeyResponse, error)
GetAPIKey mocks base method.
func (*MockAuthServiceServer) GetAPIKeys ¶ added in v0.11.0
func (m *MockAuthServiceServer) GetAPIKeys(arg0 context.Context, arg1 *authservice.GetAPIKeysRequest) (*authservice.GetAPIKeysResponse, error)
GetAPIKeys mocks base method.
func (*MockAuthServiceServer) GetAllAPIKeys ¶ added in v0.11.0
func (m *MockAuthServiceServer) GetAllAPIKeys(arg0 context.Context, arg1 *authservice.GetAllAPIKeysRequest) (*authservice.GetAllAPIKeysResponse, error)
GetAllAPIKeys mocks base method.
func (*MockAuthServiceServer) GetAnyAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) GetAnyAPIKey(arg0 context.Context, arg1 *authservice.GetAnyAPIKeyRequest) (*authservice.GetAnyAPIKeyResponse, error)
GetAnyAPIKey mocks base method.
func (*MockAuthServiceServer) GetRole ¶ added in v0.11.0
func (m *MockAuthServiceServer) GetRole(arg0 context.Context, arg1 *authservice.GetRoleRequest) (*authservice.GetRoleResponse, error)
GetRole mocks base method.
func (*MockAuthServiceServer) GetRoles ¶
func (m *MockAuthServiceServer) GetRoles(arg0 context.Context, arg1 *authservice.GetRolesRequest) (*authservice.GetRolesResponse, error)
GetRoles mocks base method.
func (*MockAuthServiceServer) GetRolesByPermissions ¶
func (m *MockAuthServiceServer) GetRolesByPermissions(arg0 context.Context, arg1 *authservice.GetRolesByPermissionsRequest) (*authservice.GetRolesByPermissionsResponse, error)
GetRolesByPermissions mocks base method.
func (*MockAuthServiceServer) GetUser ¶
func (m *MockAuthServiceServer) GetUser(arg0 context.Context, arg1 *authservice.GetUserRequest) (*authservice.GetUserResponse, error)
GetUser mocks base method.
func (*MockAuthServiceServer) GetUsers ¶
func (m *MockAuthServiceServer) GetUsers(arg0 context.Context, arg1 *authservice.GetUsersRequest) (*authservice.GetUsersResponse, error)
GetUsers mocks base method.
func (*MockAuthServiceServer) InviteUsers ¶
func (m *MockAuthServiceServer) InviteUsers(arg0 context.Context, arg1 *authservice.InviteUsersRequest) (*authservice.InviteUsersResponse, error)
InviteUsers mocks base method.
func (*MockAuthServiceServer) ResendUserInvite ¶
func (m *MockAuthServiceServer) ResendUserInvite(arg0 context.Context, arg1 *authservice.ResendUserInviteRequest) (*authservice.ResendUserInviteResponse, error)
ResendUserInvite mocks base method.
func (*MockAuthServiceServer) UpdateAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) UpdateAPIKey(arg0 context.Context, arg1 *authservice.UpdateAPIKeyRequest) (*authservice.UpdateAPIKeyResponse, error)
UpdateAPIKey mocks base method.
func (*MockAuthServiceServer) UpdateAnyAPIKey ¶ added in v0.11.0
func (m *MockAuthServiceServer) UpdateAnyAPIKey(arg0 context.Context, arg1 *authservice.UpdateAnyAPIKeyRequest) (*authservice.UpdateAnyAPIKeyResponse, error)
UpdateAnyAPIKey mocks base method.
func (*MockAuthServiceServer) UpdateUser ¶
func (m *MockAuthServiceServer) UpdateUser(arg0 context.Context, arg1 *authservice.UpdateUserRequest) (*authservice.UpdateUserResponse, error)
UpdateUser mocks base method.
func (*MockAuthServiceServer) UpdateUserNamespacePermissions ¶
func (m *MockAuthServiceServer) UpdateUserNamespacePermissions(arg0 context.Context, arg1 *authservice.UpdateUserNamespacePermissionsRequest) (*authservice.UpdateUserNamespacePermissionsResponse, error)
UpdateUserNamespacePermissions mocks base method.
type MockAuthServiceServerMockRecorder ¶
type MockAuthServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceServerMockRecorder is the mock recorder for MockAuthServiceServer.
func (*MockAuthServiceServerMockRecorder) CreateAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) CreateAPIKey(arg0, arg1 interface{}) *gomock.Call
CreateAPIKey indicates an expected call of CreateAPIKey.
func (*MockAuthServiceServerMockRecorder) DeleteAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) DeleteAPIKey(arg0, arg1 interface{}) *gomock.Call
DeleteAPIKey indicates an expected call of DeleteAPIKey.
func (*MockAuthServiceServerMockRecorder) DeleteAnyAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) DeleteAnyAPIKey(arg0, arg1 interface{}) *gomock.Call
DeleteAnyAPIKey indicates an expected call of DeleteAnyAPIKey.
func (*MockAuthServiceServerMockRecorder) DeleteUser ¶
func (mr *MockAuthServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockAuthServiceServerMockRecorder) GetAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) GetAPIKey(arg0, arg1 interface{}) *gomock.Call
GetAPIKey indicates an expected call of GetAPIKey.
func (*MockAuthServiceServerMockRecorder) GetAPIKeys ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) GetAPIKeys(arg0, arg1 interface{}) *gomock.Call
GetAPIKeys indicates an expected call of GetAPIKeys.
func (*MockAuthServiceServerMockRecorder) GetAllAPIKeys ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) GetAllAPIKeys(arg0, arg1 interface{}) *gomock.Call
GetAllAPIKeys indicates an expected call of GetAllAPIKeys.
func (*MockAuthServiceServerMockRecorder) GetAnyAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) GetAnyAPIKey(arg0, arg1 interface{}) *gomock.Call
GetAnyAPIKey indicates an expected call of GetAnyAPIKey.
func (*MockAuthServiceServerMockRecorder) GetRole ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) GetRole(arg0, arg1 interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockAuthServiceServerMockRecorder) GetRoles ¶
func (mr *MockAuthServiceServerMockRecorder) GetRoles(arg0, arg1 interface{}) *gomock.Call
GetRoles indicates an expected call of GetRoles.
func (*MockAuthServiceServerMockRecorder) GetRolesByPermissions ¶
func (mr *MockAuthServiceServerMockRecorder) GetRolesByPermissions(arg0, arg1 interface{}) *gomock.Call
GetRolesByPermissions indicates an expected call of GetRolesByPermissions.
func (*MockAuthServiceServerMockRecorder) GetUser ¶
func (mr *MockAuthServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockAuthServiceServerMockRecorder) GetUsers ¶
func (mr *MockAuthServiceServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockAuthServiceServerMockRecorder) InviteUsers ¶
func (mr *MockAuthServiceServerMockRecorder) InviteUsers(arg0, arg1 interface{}) *gomock.Call
InviteUsers indicates an expected call of InviteUsers.
func (*MockAuthServiceServerMockRecorder) ResendUserInvite ¶
func (mr *MockAuthServiceServerMockRecorder) ResendUserInvite(arg0, arg1 interface{}) *gomock.Call
ResendUserInvite indicates an expected call of ResendUserInvite.
func (*MockAuthServiceServerMockRecorder) UpdateAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) UpdateAPIKey(arg0, arg1 interface{}) *gomock.Call
UpdateAPIKey indicates an expected call of UpdateAPIKey.
func (*MockAuthServiceServerMockRecorder) UpdateAnyAPIKey ¶ added in v0.11.0
func (mr *MockAuthServiceServerMockRecorder) UpdateAnyAPIKey(arg0, arg1 interface{}) *gomock.Call
UpdateAnyAPIKey indicates an expected call of UpdateAnyAPIKey.
func (*MockAuthServiceServerMockRecorder) UpdateUser ¶
func (mr *MockAuthServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions ¶
func (mr *MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions(arg0, arg1 interface{}) *gomock.Call
UpdateUserNamespacePermissions indicates an expected call of UpdateUserNamespacePermissions.