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) CreateServiceAccount(ctx context.Context, in *authservice.CreateServiceAccountRequest, ...) (*authservice.CreateServiceAccountResponse, error)
- func (m *MockAuthServiceClient) CreateServiceAccountAPIKey(ctx context.Context, in *authservice.CreateServiceAccountAPIKeyRequest, ...) (*authservice.CreateServiceAccountAPIKeyResponse, error)
- func (m *MockAuthServiceClient) DeleteAPIKey(ctx context.Context, in *authservice.DeleteAPIKeyRequest, ...) (*authservice.DeleteAPIKeyResponse, error)
- func (m *MockAuthServiceClient) DeleteServiceAccount(ctx context.Context, in *authservice.DeleteServiceAccountRequest, ...) (*authservice.DeleteServiceAccountResponse, 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) 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) GetServiceAccount(ctx context.Context, in *authservice.GetServiceAccountRequest, ...) (*authservice.GetServiceAccountResponse, error)
- func (m *MockAuthServiceClient) GetServiceAccounts(ctx context.Context, in *authservice.GetServiceAccountsRequest, ...) (*authservice.GetServiceAccountsResponse, 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) UpdateServiceAccount(ctx context.Context, in *authservice.UpdateServiceAccountRequest, ...) (*authservice.UpdateServiceAccountResponse, 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) CreateServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) CreateServiceAccountAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) DeleteAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) DeleteServiceAccount(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) 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) GetServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthServiceClientMockRecorder) GetServiceAccounts(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) UpdateServiceAccount(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) CreateServiceAccount(arg0 context.Context, arg1 *authservice.CreateServiceAccountRequest) (*authservice.CreateServiceAccountResponse, error)
- func (m *MockAuthServiceServer) CreateServiceAccountAPIKey(arg0 context.Context, arg1 *authservice.CreateServiceAccountAPIKeyRequest) (*authservice.CreateServiceAccountAPIKeyResponse, error)
- func (m *MockAuthServiceServer) DeleteAPIKey(arg0 context.Context, arg1 *authservice.DeleteAPIKeyRequest) (*authservice.DeleteAPIKeyResponse, error)
- func (m *MockAuthServiceServer) DeleteServiceAccount(arg0 context.Context, arg1 *authservice.DeleteServiceAccountRequest) (*authservice.DeleteServiceAccountResponse, 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) 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) GetServiceAccount(arg0 context.Context, arg1 *authservice.GetServiceAccountRequest) (*authservice.GetServiceAccountResponse, error)
- func (m *MockAuthServiceServer) GetServiceAccounts(arg0 context.Context, arg1 *authservice.GetServiceAccountsRequest) (*authservice.GetServiceAccountsResponse, 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) UpdateServiceAccount(arg0 context.Context, arg1 *authservice.UpdateServiceAccountRequest) (*authservice.UpdateServiceAccountResponse, 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) CreateServiceAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) CreateServiceAccountAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) DeleteAPIKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) DeleteServiceAccount(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) 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) GetServiceAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthServiceServerMockRecorder) GetServiceAccounts(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) UpdateServiceAccount(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) CreateServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceClient) CreateServiceAccount(ctx context.Context, in *authservice.CreateServiceAccountRequest, opts ...grpc.CallOption) (*authservice.CreateServiceAccountResponse, error)
CreateServiceAccount mocks base method.
func (*MockAuthServiceClient) CreateServiceAccountAPIKey ¶ added in v0.16.0
func (m *MockAuthServiceClient) CreateServiceAccountAPIKey(ctx context.Context, in *authservice.CreateServiceAccountAPIKeyRequest, opts ...grpc.CallOption) (*authservice.CreateServiceAccountAPIKeyResponse, error)
CreateServiceAccountAPIKey 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) DeleteServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceClient) DeleteServiceAccount(ctx context.Context, in *authservice.DeleteServiceAccountRequest, opts ...grpc.CallOption) (*authservice.DeleteServiceAccountResponse, error)
DeleteServiceAccount 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) 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) GetServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceClient) GetServiceAccount(ctx context.Context, in *authservice.GetServiceAccountRequest, opts ...grpc.CallOption) (*authservice.GetServiceAccountResponse, error)
GetServiceAccount mocks base method.
func (*MockAuthServiceClient) GetServiceAccounts ¶ added in v0.16.0
func (m *MockAuthServiceClient) GetServiceAccounts(ctx context.Context, in *authservice.GetServiceAccountsRequest, opts ...grpc.CallOption) (*authservice.GetServiceAccountsResponse, error)
GetServiceAccounts 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) UpdateServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceClient) UpdateServiceAccount(ctx context.Context, in *authservice.UpdateServiceAccountRequest, opts ...grpc.CallOption) (*authservice.UpdateServiceAccountResponse, error)
UpdateServiceAccount 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) CreateServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceClientMockRecorder) CreateServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateServiceAccount indicates an expected call of CreateServiceAccount.
func (*MockAuthServiceClientMockRecorder) CreateServiceAccountAPIKey ¶ added in v0.16.0
func (mr *MockAuthServiceClientMockRecorder) CreateServiceAccountAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateServiceAccountAPIKey indicates an expected call of CreateServiceAccountAPIKey.
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) DeleteServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceClientMockRecorder) DeleteServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteServiceAccount indicates an expected call of DeleteServiceAccount.
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) 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) GetServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceClientMockRecorder) GetServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetServiceAccount indicates an expected call of GetServiceAccount.
func (*MockAuthServiceClientMockRecorder) GetServiceAccounts ¶ added in v0.16.0
func (mr *MockAuthServiceClientMockRecorder) GetServiceAccounts(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetServiceAccounts indicates an expected call of GetServiceAccounts.
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) UpdateServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceClientMockRecorder) UpdateServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateServiceAccount indicates an expected call of UpdateServiceAccount.
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) CreateServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceServer) CreateServiceAccount(arg0 context.Context, arg1 *authservice.CreateServiceAccountRequest) (*authservice.CreateServiceAccountResponse, error)
CreateServiceAccount mocks base method.
func (*MockAuthServiceServer) CreateServiceAccountAPIKey ¶ added in v0.16.0
func (m *MockAuthServiceServer) CreateServiceAccountAPIKey(arg0 context.Context, arg1 *authservice.CreateServiceAccountAPIKeyRequest) (*authservice.CreateServiceAccountAPIKeyResponse, error)
CreateServiceAccountAPIKey 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) DeleteServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceServer) DeleteServiceAccount(arg0 context.Context, arg1 *authservice.DeleteServiceAccountRequest) (*authservice.DeleteServiceAccountResponse, error)
DeleteServiceAccount 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) 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) GetServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceServer) GetServiceAccount(arg0 context.Context, arg1 *authservice.GetServiceAccountRequest) (*authservice.GetServiceAccountResponse, error)
GetServiceAccount mocks base method.
func (*MockAuthServiceServer) GetServiceAccounts ¶ added in v0.16.0
func (m *MockAuthServiceServer) GetServiceAccounts(arg0 context.Context, arg1 *authservice.GetServiceAccountsRequest) (*authservice.GetServiceAccountsResponse, error)
GetServiceAccounts 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) UpdateServiceAccount ¶ added in v0.16.0
func (m *MockAuthServiceServer) UpdateServiceAccount(arg0 context.Context, arg1 *authservice.UpdateServiceAccountRequest) (*authservice.UpdateServiceAccountResponse, error)
UpdateServiceAccount 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) CreateServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceServerMockRecorder) CreateServiceAccount(arg0, arg1 interface{}) *gomock.Call
CreateServiceAccount indicates an expected call of CreateServiceAccount.
func (*MockAuthServiceServerMockRecorder) CreateServiceAccountAPIKey ¶ added in v0.16.0
func (mr *MockAuthServiceServerMockRecorder) CreateServiceAccountAPIKey(arg0, arg1 interface{}) *gomock.Call
CreateServiceAccountAPIKey indicates an expected call of CreateServiceAccountAPIKey.
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) DeleteServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceServerMockRecorder) DeleteServiceAccount(arg0, arg1 interface{}) *gomock.Call
DeleteServiceAccount indicates an expected call of DeleteServiceAccount.
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) 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) GetServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceServerMockRecorder) GetServiceAccount(arg0, arg1 interface{}) *gomock.Call
GetServiceAccount indicates an expected call of GetServiceAccount.
func (*MockAuthServiceServerMockRecorder) GetServiceAccounts ¶ added in v0.16.0
func (mr *MockAuthServiceServerMockRecorder) GetServiceAccounts(arg0, arg1 interface{}) *gomock.Call
GetServiceAccounts indicates an expected call of GetServiceAccounts.
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) UpdateServiceAccount ¶ added in v0.16.0
func (mr *MockAuthServiceServerMockRecorder) UpdateServiceAccount(arg0, arg1 interface{}) *gomock.Call
UpdateServiceAccount indicates an expected call of UpdateServiceAccount.
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.