Documentation
¶
Overview ¶
Package account is a generated GoMock package.
Index ¶
- Constants
- type ExternalCacheManager
- type Manager
- type MockManager
- func (m *MockManager) AcceptUserInvite(ctx context.Context, token, password string) error
- func (m *MockManager) AccountExists(ctx context.Context, accountID string) (bool, error)
- func (m *MockManager) AddPeer(ctx context.Context, accountID, setupKey, userID string, p *peer.Peer, ...) (*peer.Peer, *types.NetworkMap, []*posture.Checks, error)
- func (m *MockManager) ApproveUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) (*types.UserInfo, error)
- func (m *MockManager) BufferUpdateAccountPeers(ctx context.Context, accountID string, reason types.UpdateReason)
- func (m *MockManager) BuildUserInfosForAccount(ctx context.Context, accountID, initiatorUserID string, ...) (map[string]*types.UserInfo, error)
- func (m *MockManager) CreateGroup(ctx context.Context, accountID, userID string, group *types.Group) error
- func (m *MockManager) CreateGroups(ctx context.Context, accountID, userID string, newGroups []*types.Group) error
- func (m *MockManager) CreateIdentityProvider(ctx context.Context, accountID, userID string, idp *types.IdentityProvider) (*types.IdentityProvider, error)
- func (m *MockManager) CreateNameServerGroup(ctx context.Context, accountID, name, description string, ...) (*dns.NameServerGroup, error)
- func (m *MockManager) CreatePAT(ctx context.Context, ...) (*types.PersonalAccessTokenGenerated, error)
- func (m *MockManager) CreatePeerJob(ctx context.Context, accountID, peerID, userID string, job *types.Job) error
- func (m *MockManager) CreateRoute(ctx context.Context, accountID string, prefix netip.Prefix, ...) (*route.Route, error)
- func (m *MockManager) CreateSetupKey(ctx context.Context, accountID, keyName string, keyType types.SetupKeyType, ...) (*types.SetupKey, error)
- func (m *MockManager) CreateUser(ctx context.Context, accountID, initiatorUserID string, key *types.UserInfo) (*types.UserInfo, error)
- func (m *MockManager) CreateUserInvite(ctx context.Context, accountID, initiatorUserID string, invite *types.UserInfo, ...) (*types.UserInvite, error)
- func (m *MockManager) DeleteAccount(ctx context.Context, accountID, userID string) error
- func (m *MockManager) DeleteGroup(ctx context.Context, accountId, userId, groupID string) error
- func (m *MockManager) DeleteGroups(ctx context.Context, accountId, userId string, groupIDs []string) error
- func (m *MockManager) DeleteIdentityProvider(ctx context.Context, accountID, idpID, userID string) error
- func (m *MockManager) DeleteNameServerGroup(ctx context.Context, accountID, nsGroupID, userID string) error
- func (m *MockManager) DeletePAT(ctx context.Context, accountID, initiatorUserID, targetUserID, tokenID string) error
- func (m *MockManager) DeletePeer(ctx context.Context, accountID, peerID, userID string) error
- func (m *MockManager) DeletePolicy(ctx context.Context, accountID, policyID, userID string) error
- func (m *MockManager) DeletePostureChecks(ctx context.Context, accountID, postureChecksID, userID string) error
- func (m *MockManager) DeleteRegularUsers(ctx context.Context, accountID, initiatorUserID string, targetUserIDs []string, ...) error
- func (m *MockManager) DeleteRoute(ctx context.Context, accountID string, routeID route.ID, userID string) error
- func (m *MockManager) DeleteSetupKey(ctx context.Context, accountID, userID, keyID string) error
- func (m *MockManager) DeleteUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
- func (m *MockManager) DeleteUserInvite(ctx context.Context, accountID, initiatorUserID, inviteID string) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) ExtendPeerSession(ctx context.Context, peerPubKey, userID string) (time.Time, error)
- func (m *MockManager) FindExistingPostureCheck(accountID string, checks *posture.ChecksDefinition) (*posture.Checks, error)
- func (m *MockManager) GetAccount(ctx context.Context, accountID string) (*types.Account, error)
- func (m *MockManager) GetAccountByID(ctx context.Context, accountID, userID string) (*types.Account, error)
- func (m *MockManager) GetAccountIDByUserID(ctx context.Context, userAuth auth.UserAuth) (string, error)
- func (m *MockManager) GetAccountIDForPeerKey(ctx context.Context, peerKey string) (string, error)
- func (m *MockManager) GetAccountIDFromUserAuth(ctx context.Context, userAuth auth.UserAuth) (string, string, error)
- func (m *MockManager) GetAccountMeta(ctx context.Context, accountID, userID string) (*types.AccountMeta, error)
- func (m *MockManager) GetAccountOnboarding(ctx context.Context, accountID, userID string) (*types.AccountOnboarding, error)
- func (m *MockManager) GetAccountSettings(ctx context.Context, accountID, userID string) (*types.Settings, error)
- func (m *MockManager) GetAllGroups(ctx context.Context, accountID, userID string) ([]*types.Group, error)
- func (m *MockManager) GetAllPATs(ctx context.Context, accountID, initiatorUserID, targetUserID string) ([]*types.PersonalAccessToken, error)
- func (m *MockManager) GetAllPeerJobs(ctx context.Context, accountID, userID, peerID string) ([]*types.Job, error)
- func (m *MockManager) GetCurrentUserInfo(ctx context.Context, userAuth auth.UserAuth) (*users.UserInfoWithPermissions, error)
- func (m *MockManager) GetDNSSettings(ctx context.Context, accountID, userID string) (*types.DNSSettings, error)
- func (m *MockManager) GetEvents(ctx context.Context, accountID, userID string) ([]*activity.Event, error)
- func (m *MockManager) GetExternalCacheManager() ExternalCacheManager
- func (m *MockManager) GetGroup(ctx context.Context, accountId, groupID, userID string) (*types.Group, error)
- func (m *MockManager) GetGroupByName(ctx context.Context, groupName, accountID, userID string) (*types.Group, error)
- func (m *MockManager) GetIdentityProvider(ctx context.Context, accountID, idpID, userID string) (*types.IdentityProvider, error)
- func (m *MockManager) GetIdentityProviders(ctx context.Context, accountID, userID string) ([]*types.IdentityProvider, error)
- func (m *MockManager) GetIdpManager() idp.Manager
- func (m *MockManager) GetNameServerGroup(ctx context.Context, accountID, userID, nsGroupID string) (*dns.NameServerGroup, error)
- func (m *MockManager) GetNetworkMap(ctx context.Context, peerID string) (*types.NetworkMap, error)
- func (m *MockManager) GetOrCreateAccountByPrivateDomain(ctx context.Context, initiatorId, domain string) (*types.Account, bool, error)
- func (m *MockManager) GetOrCreateAccountByUser(ctx context.Context, userAuth auth.UserAuth) (*types.Account, error)
- func (m *MockManager) GetOwnerInfo(ctx context.Context, accountId string) (*types.UserInfo, error)
- func (m *MockManager) GetPAT(ctx context.Context, accountID, initiatorUserID, targetUserID, tokenID string) (*types.PersonalAccessToken, error)
- func (m *MockManager) GetPeer(ctx context.Context, accountID, peerID, userID string) (*peer.Peer, error)
- func (m *MockManager) GetPeerGroups(ctx context.Context, accountID, peerID string) ([]*types.Group, error)
- func (m *MockManager) GetPeerJobByID(ctx context.Context, accountID, userID, peerID, jobID string) (*types.Job, error)
- func (m *MockManager) GetPeerNetwork(ctx context.Context, peerID string) (*types.Network, error)
- func (m *MockManager) GetPeers(ctx context.Context, accountID, userID, nameFilter, ipFilter string) ([]*peer.Peer, error)
- func (m *MockManager) GetPolicy(ctx context.Context, accountID, policyID, userID string) (*types.Policy, error)
- func (m *MockManager) GetPostureChecks(ctx context.Context, accountID, postureChecksID, userID string) (*posture.Checks, error)
- func (m *MockManager) GetRoute(ctx context.Context, accountID string, routeID route.ID, userID string) (*route.Route, error)
- func (m *MockManager) GetSetupKey(ctx context.Context, accountID, userID, keyID string) (*types.SetupKey, error)
- func (m *MockManager) GetStore() store.Store
- func (m *MockManager) GetUserByID(ctx context.Context, id string) (*types.User, error)
- func (m *MockManager) GetUserFromUserAuth(ctx context.Context, userAuth auth.UserAuth) (*types.User, error)
- func (m *MockManager) GetUserIDByPeerKey(ctx context.Context, peerKey string) (string, error)
- func (m *MockManager) GetUserInviteInfo(ctx context.Context, token string) (*types.UserInviteInfo, error)
- func (m *MockManager) GetUsersFromAccount(ctx context.Context, accountID, userID string) (map[string]*types.UserInfo, error)
- func (m *MockManager) GetValidatedPeers(ctx context.Context, accountID string) (map[string]struct{}, map[string]string, error)
- func (m *MockManager) GroupAddPeer(ctx context.Context, accountId, groupID, peerID string) error
- func (m *MockManager) GroupDeletePeer(ctx context.Context, accountId, groupID, peerID string) error
- func (m *MockManager) GroupValidation(ctx context.Context, accountId string, groups []string) (bool, error)
- func (m *MockManager) InviteUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
- func (m *MockManager) ListNameServerGroups(ctx context.Context, accountID, userID string) ([]*dns.NameServerGroup, error)
- func (m *MockManager) ListPolicies(ctx context.Context, accountID, userID string) ([]*types.Policy, error)
- func (m *MockManager) ListPostureChecks(ctx context.Context, accountID, userID string) ([]*posture.Checks, error)
- func (m *MockManager) ListRoutes(ctx context.Context, accountID, userID string) ([]*route.Route, error)
- func (m *MockManager) ListSetupKeys(ctx context.Context, accountID, userID string) ([]*types.SetupKey, error)
- func (m *MockManager) ListUserInvites(ctx context.Context, accountID, initiatorUserID string) ([]*types.UserInvite, error)
- func (m *MockManager) ListUsers(ctx context.Context, accountID string) ([]*types.User, error)
- func (m *MockManager) LoginPeer(ctx context.Context, login types.PeerLogin) (*peer.Peer, *types.NetworkMap, []*posture.Checks, error)
- func (m *MockManager) MarkPeerConnected(ctx context.Context, peerKey string, realIP net.IP, accountID string, ...) error
- func (m *MockManager) MarkPeerDisconnected(ctx context.Context, peerKey string, accountID string, sessionStartedAt int64) error
- func (m *MockManager) OnPeerDisconnected(ctx context.Context, accountID, peerPubKey string, streamStartTime time.Time) error
- func (m *MockManager) RegenerateUserInvite(ctx context.Context, accountID, initiatorUserID, inviteID string, ...) (*types.UserInvite, error)
- func (m *MockManager) RejectUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
- func (m *MockManager) SaveDNSSettings(ctx context.Context, accountID, userID string, ...) error
- func (m *MockManager) SaveNameServerGroup(ctx context.Context, accountID, userID string, ...) error
- func (m *MockManager) SaveOrAddUser(ctx context.Context, accountID, initiatorUserID string, update *types.User, ...) (*types.UserInfo, error)
- func (m *MockManager) SaveOrAddUsers(ctx context.Context, accountID, initiatorUserID string, updates []*types.User, ...) ([]*types.UserInfo, error)
- func (m *MockManager) SavePolicy(ctx context.Context, accountID, userID string, policy *types.Policy, ...) (*types.Policy, error)
- func (m *MockManager) SavePostureChecks(ctx context.Context, accountID, userID string, postureChecks *posture.Checks, ...) (*posture.Checks, error)
- func (m *MockManager) SaveRoute(ctx context.Context, accountID, userID string, route *route.Route) error
- func (m *MockManager) SaveSetupKey(ctx context.Context, accountID string, key *types.SetupKey, userID string) (*types.SetupKey, error)
- func (m *MockManager) SaveUser(ctx context.Context, accountID, initiatorUserID string, update *types.User) (*types.UserInfo, error)
- func (m *MockManager) SetServiceManager(serviceManager service.Manager)
- func (m *MockManager) StoreEvent(ctx context.Context, initiatorID, targetID, accountID string, ...)
- func (m *MockManager) SyncAndMarkPeer(ctx context.Context, accountID, peerPubKey string, meta peer.PeerSystemMeta, ...) (*peer.Peer, *types.NetworkMap, []*posture.Checks, int64, error)
- func (m *MockManager) SyncPeer(ctx context.Context, sync types.PeerSync, accountID string) (*peer.Peer, *types.NetworkMap, []*posture.Checks, int64, error)
- func (m *MockManager) SyncPeerMeta(ctx context.Context, peerPubKey string, meta peer.PeerSystemMeta) error
- func (m *MockManager) SyncUserJWTGroups(ctx context.Context, userAuth auth.UserAuth) error
- func (m *MockManager) UpdateAccountOnboarding(ctx context.Context, accountID, userID string, ...) (*types.AccountOnboarding, error)
- func (m *MockManager) UpdateAccountPeers(ctx context.Context, accountID string, reason types.UpdateReason)
- func (m *MockManager) UpdateAccountSettings(ctx context.Context, accountID, userID string, newSettings *types.Settings) (*types.Settings, error)
- func (m *MockManager) UpdateGroup(ctx context.Context, accountID, userID string, group *types.Group) error
- func (m *MockManager) UpdateGroups(ctx context.Context, accountID, userID string, newGroups []*types.Group) error
- func (m *MockManager) UpdateIdentityProvider(ctx context.Context, accountID, idpID, userID string, ...) (*types.IdentityProvider, error)
- func (m *MockManager) UpdateIntegratedValidator(ctx context.Context, accountID, userID, validator string, groups []string) error
- func (m *MockManager) UpdatePeer(ctx context.Context, accountID, userID string, p *peer.Peer) (*peer.Peer, error)
- func (m *MockManager) UpdatePeerIP(ctx context.Context, accountID, userID, peerID string, newIP netip.Addr) error
- func (m *MockManager) UpdatePeerIPv6(ctx context.Context, accountID, userID, peerID string, newIPv6 netip.Addr) error
- func (m *MockManager) UpdateToPrimaryAccount(ctx context.Context, accountId string) error
- func (m *MockManager) UpdateUserPassword(ctx context.Context, ...) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AcceptUserInvite(ctx, token, password interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AccountExists(ctx, accountID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AddPeer(ctx, accountID, setupKey, userID, p, temporary interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ApproveUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) BufferUpdateAccountPeers(ctx, accountID, reason interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) BuildUserInfosForAccount(ctx, accountID, initiatorUserID, accountUsers interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateGroup(ctx, accountID, userID, group interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateGroups(ctx, accountID, userID, newGroups interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateIdentityProvider(ctx, accountID, userID, idp interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateNameServerGroup(...) *gomock.Call
- func (mr *MockManagerMockRecorder) CreatePAT(...) *gomock.Call
- func (mr *MockManagerMockRecorder) CreatePeerJob(ctx, accountID, peerID, userID, job interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateRoute(...) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateSetupKey(...) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateUser(ctx, accountID, initiatorUserID, key interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateUserInvite(ctx, accountID, initiatorUserID, invite, expiresIn interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteAccount(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteGroup(ctx, accountId, userId, groupID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteGroups(ctx, accountId, userId, groupIDs interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteIdentityProvider(ctx, accountID, idpID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteNameServerGroup(ctx, accountID, nsGroupID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeletePAT(ctx, accountID, initiatorUserID, targetUserID, tokenID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeletePeer(ctx, accountID, peerID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeletePolicy(ctx, accountID, policyID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeletePostureChecks(ctx, accountID, postureChecksID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteRegularUsers(ctx, accountID, initiatorUserID, targetUserIDs, userInfos interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteRoute(ctx, accountID, routeID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteSetupKey(ctx, accountID, userID, keyID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteUserInvite(ctx, accountID, initiatorUserID, inviteID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ExtendPeerSession(ctx, peerPubKey, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) FindExistingPostureCheck(accountID, checks interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccount(ctx, accountID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountByID(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountIDByUserID(ctx, userAuth interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountIDForPeerKey(ctx, peerKey interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountIDFromUserAuth(ctx, userAuth interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountMeta(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountOnboarding(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAccountSettings(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAllGroups(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAllPATs(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAllPeerJobs(ctx, accountID, userID, peerID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetCurrentUserInfo(ctx, userAuth interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetDNSSettings(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetEvents(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetExternalCacheManager() *gomock.Call
- func (mr *MockManagerMockRecorder) GetGroup(ctx, accountId, groupID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetGroupByName(ctx, groupName, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetIdentityProvider(ctx, accountID, idpID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetIdentityProviders(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetIdpManager() *gomock.Call
- func (mr *MockManagerMockRecorder) GetNameServerGroup(ctx, accountID, userID, nsGroupID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetNetworkMap(ctx, peerID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetOrCreateAccountByPrivateDomain(ctx, initiatorId, domain interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetOrCreateAccountByUser(ctx, userAuth interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetOwnerInfo(ctx, accountId interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPAT(ctx, accountID, initiatorUserID, targetUserID, tokenID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPeer(ctx, accountID, peerID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPeerGroups(ctx, accountID, peerID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPeerJobByID(ctx, accountID, userID, peerID, jobID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPeerNetwork(ctx, peerID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPeers(ctx, accountID, userID, nameFilter, ipFilter interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPolicy(ctx, accountID, policyID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetPostureChecks(ctx, accountID, postureChecksID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetRoute(ctx, accountID, routeID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetSetupKey(ctx, accountID, userID, keyID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetStore() *gomock.Call
- func (mr *MockManagerMockRecorder) GetUserByID(ctx, id interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetUserFromUserAuth(ctx, userAuth interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetUserIDByPeerKey(ctx, peerKey interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetUserInviteInfo(ctx, token interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetUsersFromAccount(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetValidatedPeers(ctx, accountID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GroupAddPeer(ctx, accountId, groupID, peerID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GroupDeletePeer(ctx, accountId, groupID, peerID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GroupValidation(ctx, accountId, groups interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) InviteUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListNameServerGroups(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListPolicies(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListPostureChecks(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListRoutes(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListSetupKeys(ctx, accountID, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListUserInvites(ctx, accountID, initiatorUserID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListUsers(ctx, accountID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) LoginPeer(ctx, login interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) MarkPeerConnected(ctx, peerKey, realIP, accountID, sessionStartedAt interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) MarkPeerDisconnected(ctx, peerKey, accountID, sessionStartedAt interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) OnPeerDisconnected(ctx, accountID, peerPubKey, streamStartTime interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) RegenerateUserInvite(ctx, accountID, initiatorUserID, inviteID, expiresIn interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) RejectUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveDNSSettings(ctx, accountID, userID, dnsSettingsToSave interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveNameServerGroup(ctx, accountID, userID, nsGroupToSave interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveOrAddUser(ctx, accountID, initiatorUserID, update, addIfNotExists interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveOrAddUsers(ctx, accountID, initiatorUserID, updates, addIfNotExists interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SavePolicy(ctx, accountID, userID, policy, create interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SavePostureChecks(ctx, accountID, userID, postureChecks, create interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveRoute(ctx, accountID, userID, route interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveSetupKey(ctx, accountID, key, userID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SaveUser(ctx, accountID, initiatorUserID, update interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SetServiceManager(serviceManager interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) StoreEvent(ctx, initiatorID, targetID, accountID, activityID, meta interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SyncAndMarkPeer(ctx, accountID, peerPubKey, meta, realIP, syncTime interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SyncPeer(ctx, sync, accountID interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SyncPeerMeta(ctx, peerPubKey, meta interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SyncUserJWTGroups(ctx, userAuth interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateAccountOnboarding(ctx, accountID, userID, newOnboarding interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateAccountPeers(ctx, accountID, reason interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateAccountSettings(ctx, accountID, userID, newSettings interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateGroup(ctx, accountID, userID, group interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateGroups(ctx, accountID, userID, newGroups interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateIdentityProvider(ctx, accountID, idpID, userID, idp interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateIntegratedValidator(ctx, accountID, userID, validator, groups interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdatePeer(ctx, accountID, userID, p interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdatePeerIP(ctx, accountID, userID, peerID, newIP interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdatePeerIPv6(ctx, accountID, userID, peerID, newIPv6 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateToPrimaryAccount(ctx, accountId interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UpdateUserPassword(...) *gomock.Call
- type RequestBuffer
Constants ¶
const ( // PATMinExpireDays is the minimum allowed Personal Access Token expiration in days. PATMinExpireDays = 1 // PATMaxExpireDays is the maximum allowed Personal Access Token expiration in days. PATMaxExpireDays = 365 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalCacheManager ¶ added in v0.39.0
type ExternalCacheManager nbcache.UserDataCache
type Manager ¶ added in v0.39.0
type Manager interface {
GetOrCreateAccountByUser(ctx context.Context, userAuth auth.UserAuth) (*types.Account, error)
GetAccount(ctx context.Context, accountID string) (*types.Account, error)
CreateSetupKey(ctx context.Context, accountID string, keyName string, keyType types.SetupKeyType, expiresIn time.Duration,
autoGroups []string, usageLimit int, userID string, ephemeral bool, allowExtraDNSLabels bool) (*types.SetupKey, error)
SaveSetupKey(ctx context.Context, accountID string, key *types.SetupKey, userID string) (*types.SetupKey, error)
CreateUser(ctx context.Context, accountID, initiatorUserID string, key *types.UserInfo) (*types.UserInfo, error)
CreateUserInvite(ctx context.Context, accountID, initiatorUserID string, invite *types.UserInfo, expiresIn int) (*types.UserInvite, error)
AcceptUserInvite(ctx context.Context, token, password string) error
RegenerateUserInvite(ctx context.Context, accountID, initiatorUserID, inviteID string, expiresIn int) (*types.UserInvite, error)
GetUserInviteInfo(ctx context.Context, token string) (*types.UserInviteInfo, error)
ListUserInvites(ctx context.Context, accountID, initiatorUserID string) ([]*types.UserInvite, error)
DeleteUserInvite(ctx context.Context, accountID, initiatorUserID, inviteID string) error
DeleteUser(ctx context.Context, accountID, initiatorUserID string, targetUserID string) error
DeleteRegularUsers(ctx context.Context, accountID, initiatorUserID string, targetUserIDs []string, userInfos map[string]*types.UserInfo) error
UpdateUserPassword(ctx context.Context, accountID, currentUserID, targetUserID string, oldPassword, newPassword string) error
InviteUser(ctx context.Context, accountID string, initiatorUserID string, targetUserID string) error
ApproveUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) (*types.UserInfo, error)
RejectUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
ListSetupKeys(ctx context.Context, accountID, userID string) ([]*types.SetupKey, error)
SaveUser(ctx context.Context, accountID, initiatorUserID string, update *types.User) (*types.UserInfo, error)
SaveOrAddUser(ctx context.Context, accountID, initiatorUserID string, update *types.User, addIfNotExists bool) (*types.UserInfo, error)
SaveOrAddUsers(ctx context.Context, accountID, initiatorUserID string, updates []*types.User, addIfNotExists bool) ([]*types.UserInfo, error)
GetSetupKey(ctx context.Context, accountID, userID, keyID string) (*types.SetupKey, error)
GetAccountByID(ctx context.Context, accountID string, userID string) (*types.Account, error)
GetAccountMeta(ctx context.Context, accountID string, userID string) (*types.AccountMeta, error)
GetAccountOnboarding(ctx context.Context, accountID string, userID string) (*types.AccountOnboarding, error)
AccountExists(ctx context.Context, accountID string) (bool, error)
GetAccountIDByUserID(ctx context.Context, userAuth auth.UserAuth) (string, error)
GetAccountIDFromUserAuth(ctx context.Context, userAuth auth.UserAuth) (string, string, error)
DeleteAccount(ctx context.Context, accountID, userID string) error
GetUserByID(ctx context.Context, id string) (*types.User, error)
GetUserFromUserAuth(ctx context.Context, userAuth auth.UserAuth) (*types.User, error)
ListUsers(ctx context.Context, accountID string) ([]*types.User, error)
GetPeers(ctx context.Context, accountID, userID, nameFilter, ipFilter string) ([]*nbpeer.Peer, error)
MarkPeerConnected(ctx context.Context, peerKey string, realIP net.IP, accountID string, sessionStartedAt int64) error
MarkPeerDisconnected(ctx context.Context, peerKey string, accountID string, sessionStartedAt int64) error
DeletePeer(ctx context.Context, accountID, peerID, userID string) error
UpdatePeer(ctx context.Context, accountID, userID string, p *nbpeer.Peer) (*nbpeer.Peer, error)
UpdatePeerIP(ctx context.Context, accountID, userID, peerID string, newIP netip.Addr) error
UpdatePeerIPv6(ctx context.Context, accountID, userID, peerID string, newIPv6 netip.Addr) error
GetNetworkMap(ctx context.Context, peerID string) (*types.NetworkMap, error)
GetPeerNetwork(ctx context.Context, peerID string) (*types.Network, error)
AddPeer(ctx context.Context, accountID, setupKey, userID string, p *nbpeer.Peer, temporary bool) (*nbpeer.Peer, *types.NetworkMap, []*posture.Checks, error)
CreatePAT(ctx context.Context, accountID string, initiatorUserID string, targetUserID string, tokenName string, expiresIn int) (*types.PersonalAccessTokenGenerated, error)
DeletePAT(ctx context.Context, accountID string, initiatorUserID string, targetUserID string, tokenID string) error
GetPAT(ctx context.Context, accountID string, initiatorUserID string, targetUserID string, tokenID string) (*types.PersonalAccessToken, error)
GetAllPATs(ctx context.Context, accountID string, initiatorUserID string, targetUserID string) ([]*types.PersonalAccessToken, error)
GetUsersFromAccount(ctx context.Context, accountID, userID string) (map[string]*types.UserInfo, error)
GetGroup(ctx context.Context, accountId, groupID, userID string) (*types.Group, error)
GetAllGroups(ctx context.Context, accountID, userID string) ([]*types.Group, error)
GetGroupByName(ctx context.Context, groupName, accountID, userID string) (*types.Group, error)
CreateGroup(ctx context.Context, accountID, userID string, group *types.Group) error
UpdateGroup(ctx context.Context, accountID, userID string, group *types.Group) error
CreateGroups(ctx context.Context, accountID, userID string, newGroups []*types.Group) error
UpdateGroups(ctx context.Context, accountID, userID string, newGroups []*types.Group) error
DeleteGroup(ctx context.Context, accountId, userId, groupID string) error
DeleteGroups(ctx context.Context, accountId, userId string, groupIDs []string) error
GroupAddPeer(ctx context.Context, accountId, groupID, peerID string) error
GroupDeletePeer(ctx context.Context, accountId, groupID, peerID string) error
GetPeerGroups(ctx context.Context, accountID, peerID string) ([]*types.Group, error)
GetPolicy(ctx context.Context, accountID, policyID, userID string) (*types.Policy, error)
SavePolicy(ctx context.Context, accountID, userID string, policy *types.Policy, create bool) (*types.Policy, error)
DeletePolicy(ctx context.Context, accountID, policyID, userID string) error
ListPolicies(ctx context.Context, accountID, userID string) ([]*types.Policy, error)
GetRoute(ctx context.Context, accountID string, routeID route.ID, userID string) (*route.Route, error)
CreateRoute(ctx context.Context, accountID string, prefix netip.Prefix, networkType route.NetworkType, domains domain.List, peerID string, peerGroupIDs []string, description string, netID route.NetID, masquerade bool, metric int, groups, accessControlGroupIDs []string, enabled bool, userID string, keepRoute bool, skipAutoApply bool) (*route.Route, error)
SaveRoute(ctx context.Context, accountID, userID string, route *route.Route) error
DeleteRoute(ctx context.Context, accountID string, routeID route.ID, userID string) error
ListRoutes(ctx context.Context, accountID, userID string) ([]*route.Route, error)
GetNameServerGroup(ctx context.Context, accountID, userID, nsGroupID string) (*nbdns.NameServerGroup, error)
CreateNameServerGroup(ctx context.Context, accountID string, name, description string, nameServerList []nbdns.NameServer, groups []string, primary bool, domains []string, enabled bool, userID string, searchDomainsEnabled bool) (*nbdns.NameServerGroup, error)
SaveNameServerGroup(ctx context.Context, accountID, userID string, nsGroupToSave *nbdns.NameServerGroup) error
DeleteNameServerGroup(ctx context.Context, accountID, nsGroupID, userID string) error
ListNameServerGroups(ctx context.Context, accountID string, userID string) ([]*nbdns.NameServerGroup, error)
StoreEvent(ctx context.Context, initiatorID, targetID, accountID string, activityID activity.ActivityDescriber, meta map[string]any)
GetEvents(ctx context.Context, accountID, userID string) ([]*activity.Event, error)
GetDNSSettings(ctx context.Context, accountID string, userID string) (*types.DNSSettings, error)
SaveDNSSettings(ctx context.Context, accountID string, userID string, dnsSettingsToSave *types.DNSSettings) error
GetPeer(ctx context.Context, accountID, peerID, userID string) (*nbpeer.Peer, error)
UpdateAccountSettings(ctx context.Context, accountID, userID string, newSettings *types.Settings) (*types.Settings, error)
UpdateAccountOnboarding(ctx context.Context, accountID, userID string, newOnboarding *types.AccountOnboarding) (*types.AccountOnboarding, error)
LoginPeer(ctx context.Context, login types.PeerLogin) (*nbpeer.Peer, *types.NetworkMap, []*posture.Checks, error) // used by peer gRPC API
ExtendPeerSession(ctx context.Context, peerPubKey, userID string) (time.Time, error) // used by peer gRPC API for ExtendAuthSession
SyncPeer(ctx context.Context, sync types.PeerSync, accountID string) (*nbpeer.Peer, *types.NetworkMap, []*posture.Checks, int64, error) // used by peer gRPC API
GetExternalCacheManager() ExternalCacheManager
GetPostureChecks(ctx context.Context, accountID, postureChecksID, userID string) (*posture.Checks, error)
SavePostureChecks(ctx context.Context, accountID, userID string, postureChecks *posture.Checks, create bool) (*posture.Checks, error)
DeletePostureChecks(ctx context.Context, accountID, postureChecksID, userID string) error
ListPostureChecks(ctx context.Context, accountID, userID string) ([]*posture.Checks, error)
GetIdpManager() idp.Manager
UpdateIntegratedValidator(ctx context.Context, accountID, userID, validator string, groups []string) error
GroupValidation(ctx context.Context, accountId string, groups []string) (bool, error)
GetValidatedPeers(ctx context.Context, accountID string) (map[string]struct{}, map[string]string, error)
SyncAndMarkPeer(ctx context.Context, accountID string, peerPubKey string, meta nbpeer.PeerSystemMeta, realIP net.IP, syncTime time.Time) (*nbpeer.Peer, *types.NetworkMap, []*posture.Checks, int64, error)
OnPeerDisconnected(ctx context.Context, accountID string, peerPubKey string, streamStartTime time.Time) error
SyncPeerMeta(ctx context.Context, peerPubKey string, meta nbpeer.PeerSystemMeta) error
FindExistingPostureCheck(accountID string, checks *posture.ChecksDefinition) (*posture.Checks, error)
GetAccountIDForPeerKey(ctx context.Context, peerKey string) (string, error)
GetAccountSettings(ctx context.Context, accountID string, userID string) (*types.Settings, error)
DeleteSetupKey(ctx context.Context, accountID, userID, keyID string) error
UpdateAccountPeers(ctx context.Context, accountID string, reason types.UpdateReason)
BufferUpdateAccountPeers(ctx context.Context, accountID string, reason types.UpdateReason)
BuildUserInfosForAccount(ctx context.Context, accountID, initiatorUserID string, accountUsers []*types.User) (map[string]*types.UserInfo, error)
SyncUserJWTGroups(ctx context.Context, userAuth auth.UserAuth) error
GetStore() store.Store
GetOrCreateAccountByPrivateDomain(ctx context.Context, initiatorId, domain string) (*types.Account, bool, error)
UpdateToPrimaryAccount(ctx context.Context, accountId string) error
GetOwnerInfo(ctx context.Context, accountId string) (*types.UserInfo, error)
GetCurrentUserInfo(ctx context.Context, userAuth auth.UserAuth) (*users.UserInfoWithPermissions, error)
GetUserIDByPeerKey(ctx context.Context, peerKey string) (string, error)
GetIdentityProvider(ctx context.Context, accountID, idpID, userID string) (*types.IdentityProvider, error)
GetIdentityProviders(ctx context.Context, accountID, userID string) ([]*types.IdentityProvider, error)
CreateIdentityProvider(ctx context.Context, accountID, userID string, idp *types.IdentityProvider) (*types.IdentityProvider, error)
UpdateIdentityProvider(ctx context.Context, accountID, idpID, userID string, idp *types.IdentityProvider) (*types.IdentityProvider, error)
DeleteIdentityProvider(ctx context.Context, accountID, idpID, userID string) error
CreatePeerJob(ctx context.Context, accountID, peerID, userID string, job *types.Job) error
GetAllPeerJobs(ctx context.Context, accountID, userID, peerID string) ([]*types.Job, error)
GetPeerJobByID(ctx context.Context, accountID, userID, peerID, jobID string) (*types.Job, error)
SetServiceManager(serviceManager service.Manager)
}
type MockManager ¶ added in v0.66.1
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶ added in v0.66.1
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) AcceptUserInvite ¶ added in v0.66.1
func (m *MockManager) AcceptUserInvite(ctx context.Context, token, password string) error
AcceptUserInvite mocks base method.
func (*MockManager) AccountExists ¶ added in v0.66.1
AccountExists mocks base method.
func (*MockManager) AddPeer ¶ added in v0.66.1
func (m *MockManager) AddPeer(ctx context.Context, accountID, setupKey, userID string, p *peer.Peer, temporary bool) (*peer.Peer, *types.NetworkMap, []*posture.Checks, error)
AddPeer mocks base method.
func (*MockManager) ApproveUser ¶ added in v0.66.1
func (m *MockManager) ApproveUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) (*types.UserInfo, error)
ApproveUser mocks base method.
func (*MockManager) BufferUpdateAccountPeers ¶ added in v0.66.1
func (m *MockManager) BufferUpdateAccountPeers(ctx context.Context, accountID string, reason types.UpdateReason)
BufferUpdateAccountPeers mocks base method.
func (*MockManager) BuildUserInfosForAccount ¶ added in v0.66.1
func (m *MockManager) BuildUserInfosForAccount(ctx context.Context, accountID, initiatorUserID string, accountUsers []*types.User) (map[string]*types.UserInfo, error)
BuildUserInfosForAccount mocks base method.
func (*MockManager) CreateGroup ¶ added in v0.66.1
func (m *MockManager) CreateGroup(ctx context.Context, accountID, userID string, group *types.Group) error
CreateGroup mocks base method.
func (*MockManager) CreateGroups ¶ added in v0.66.1
func (m *MockManager) CreateGroups(ctx context.Context, accountID, userID string, newGroups []*types.Group) error
CreateGroups mocks base method.
func (*MockManager) CreateIdentityProvider ¶ added in v0.66.1
func (m *MockManager) CreateIdentityProvider(ctx context.Context, accountID, userID string, idp *types.IdentityProvider) (*types.IdentityProvider, error)
CreateIdentityProvider mocks base method.
func (*MockManager) CreateNameServerGroup ¶ added in v0.66.1
func (m *MockManager) CreateNameServerGroup(ctx context.Context, accountID, name, description string, nameServerList []dns.NameServer, groups []string, primary bool, domains []string, enabled bool, userID string, searchDomainsEnabled bool) (*dns.NameServerGroup, error)
CreateNameServerGroup mocks base method.
func (*MockManager) CreatePAT ¶ added in v0.66.1
func (m *MockManager) CreatePAT(ctx context.Context, accountID, initiatorUserID, targetUserID, tokenName string, expiresIn int) (*types.PersonalAccessTokenGenerated, error)
CreatePAT mocks base method.
func (*MockManager) CreatePeerJob ¶ added in v0.66.1
func (m *MockManager) CreatePeerJob(ctx context.Context, accountID, peerID, userID string, job *types.Job) error
CreatePeerJob mocks base method.
func (*MockManager) CreateRoute ¶ added in v0.66.1
func (m *MockManager) CreateRoute(ctx context.Context, accountID string, prefix netip.Prefix, networkType route.NetworkType, domains domain.List, peerID string, peerGroupIDs []string, description string, netID route.NetID, masquerade bool, metric int, groups, accessControlGroupIDs []string, enabled bool, userID string, keepRoute, skipAutoApply bool) (*route.Route, error)
CreateRoute mocks base method.
func (*MockManager) CreateSetupKey ¶ added in v0.66.1
func (m *MockManager) CreateSetupKey(ctx context.Context, accountID, keyName string, keyType types.SetupKeyType, expiresIn time.Duration, autoGroups []string, usageLimit int, userID string, ephemeral, allowExtraDNSLabels bool) (*types.SetupKey, error)
CreateSetupKey mocks base method.
func (*MockManager) CreateUser ¶ added in v0.66.1
func (m *MockManager) CreateUser(ctx context.Context, accountID, initiatorUserID string, key *types.UserInfo) (*types.UserInfo, error)
CreateUser mocks base method.
func (*MockManager) CreateUserInvite ¶ added in v0.66.1
func (m *MockManager) CreateUserInvite(ctx context.Context, accountID, initiatorUserID string, invite *types.UserInfo, expiresIn int) (*types.UserInvite, error)
CreateUserInvite mocks base method.
func (*MockManager) DeleteAccount ¶ added in v0.66.1
func (m *MockManager) DeleteAccount(ctx context.Context, accountID, userID string) error
DeleteAccount mocks base method.
func (*MockManager) DeleteGroup ¶ added in v0.66.1
func (m *MockManager) DeleteGroup(ctx context.Context, accountId, userId, groupID string) error
DeleteGroup mocks base method.
func (*MockManager) DeleteGroups ¶ added in v0.66.1
func (m *MockManager) DeleteGroups(ctx context.Context, accountId, userId string, groupIDs []string) error
DeleteGroups mocks base method.
func (*MockManager) DeleteIdentityProvider ¶ added in v0.66.1
func (m *MockManager) DeleteIdentityProvider(ctx context.Context, accountID, idpID, userID string) error
DeleteIdentityProvider mocks base method.
func (*MockManager) DeleteNameServerGroup ¶ added in v0.66.1
func (m *MockManager) DeleteNameServerGroup(ctx context.Context, accountID, nsGroupID, userID string) error
DeleteNameServerGroup mocks base method.
func (*MockManager) DeletePAT ¶ added in v0.66.1
func (m *MockManager) DeletePAT(ctx context.Context, accountID, initiatorUserID, targetUserID, tokenID string) error
DeletePAT mocks base method.
func (*MockManager) DeletePeer ¶ added in v0.66.1
func (m *MockManager) DeletePeer(ctx context.Context, accountID, peerID, userID string) error
DeletePeer mocks base method.
func (*MockManager) DeletePolicy ¶ added in v0.66.1
func (m *MockManager) DeletePolicy(ctx context.Context, accountID, policyID, userID string) error
DeletePolicy mocks base method.
func (*MockManager) DeletePostureChecks ¶ added in v0.66.1
func (m *MockManager) DeletePostureChecks(ctx context.Context, accountID, postureChecksID, userID string) error
DeletePostureChecks mocks base method.
func (*MockManager) DeleteRegularUsers ¶ added in v0.66.1
func (m *MockManager) DeleteRegularUsers(ctx context.Context, accountID, initiatorUserID string, targetUserIDs []string, userInfos map[string]*types.UserInfo) error
DeleteRegularUsers mocks base method.
func (*MockManager) DeleteRoute ¶ added in v0.66.1
func (m *MockManager) DeleteRoute(ctx context.Context, accountID string, routeID route.ID, userID string) error
DeleteRoute mocks base method.
func (*MockManager) DeleteSetupKey ¶ added in v0.66.1
func (m *MockManager) DeleteSetupKey(ctx context.Context, accountID, userID, keyID string) error
DeleteSetupKey mocks base method.
func (*MockManager) DeleteUser ¶ added in v0.66.1
func (m *MockManager) DeleteUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
DeleteUser mocks base method.
func (*MockManager) DeleteUserInvite ¶ added in v0.66.1
func (m *MockManager) DeleteUserInvite(ctx context.Context, accountID, initiatorUserID, inviteID string) error
DeleteUserInvite mocks base method.
func (*MockManager) EXPECT ¶ added in v0.66.1
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) ExtendPeerSession ¶ added in v0.72.0
func (m *MockManager) ExtendPeerSession(ctx context.Context, peerPubKey, userID string) (time.Time, error)
ExtendPeerSession mocks base method.
func (*MockManager) FindExistingPostureCheck ¶ added in v0.66.1
func (m *MockManager) FindExistingPostureCheck(accountID string, checks *posture.ChecksDefinition) (*posture.Checks, error)
FindExistingPostureCheck mocks base method.
func (*MockManager) GetAccount ¶ added in v0.66.1
GetAccount mocks base method.
func (*MockManager) GetAccountByID ¶ added in v0.66.1
func (m *MockManager) GetAccountByID(ctx context.Context, accountID, userID string) (*types.Account, error)
GetAccountByID mocks base method.
func (*MockManager) GetAccountIDByUserID ¶ added in v0.66.1
func (m *MockManager) GetAccountIDByUserID(ctx context.Context, userAuth auth.UserAuth) (string, error)
GetAccountIDByUserID mocks base method.
func (*MockManager) GetAccountIDForPeerKey ¶ added in v0.66.1
GetAccountIDForPeerKey mocks base method.
func (*MockManager) GetAccountIDFromUserAuth ¶ added in v0.66.1
func (m *MockManager) GetAccountIDFromUserAuth(ctx context.Context, userAuth auth.UserAuth) (string, string, error)
GetAccountIDFromUserAuth mocks base method.
func (*MockManager) GetAccountMeta ¶ added in v0.66.1
func (m *MockManager) GetAccountMeta(ctx context.Context, accountID, userID string) (*types.AccountMeta, error)
GetAccountMeta mocks base method.
func (*MockManager) GetAccountOnboarding ¶ added in v0.66.1
func (m *MockManager) GetAccountOnboarding(ctx context.Context, accountID, userID string) (*types.AccountOnboarding, error)
GetAccountOnboarding mocks base method.
func (*MockManager) GetAccountSettings ¶ added in v0.66.1
func (m *MockManager) GetAccountSettings(ctx context.Context, accountID, userID string) (*types.Settings, error)
GetAccountSettings mocks base method.
func (*MockManager) GetAllGroups ¶ added in v0.66.1
func (m *MockManager) GetAllGroups(ctx context.Context, accountID, userID string) ([]*types.Group, error)
GetAllGroups mocks base method.
func (*MockManager) GetAllPATs ¶ added in v0.66.1
func (m *MockManager) GetAllPATs(ctx context.Context, accountID, initiatorUserID, targetUserID string) ([]*types.PersonalAccessToken, error)
GetAllPATs mocks base method.
func (*MockManager) GetAllPeerJobs ¶ added in v0.66.1
func (m *MockManager) GetAllPeerJobs(ctx context.Context, accountID, userID, peerID string) ([]*types.Job, error)
GetAllPeerJobs mocks base method.
func (*MockManager) GetCurrentUserInfo ¶ added in v0.66.1
func (m *MockManager) GetCurrentUserInfo(ctx context.Context, userAuth auth.UserAuth) (*users.UserInfoWithPermissions, error)
GetCurrentUserInfo mocks base method.
func (*MockManager) GetDNSSettings ¶ added in v0.66.1
func (m *MockManager) GetDNSSettings(ctx context.Context, accountID, userID string) (*types.DNSSettings, error)
GetDNSSettings mocks base method.
func (*MockManager) GetEvents ¶ added in v0.66.1
func (m *MockManager) GetEvents(ctx context.Context, accountID, userID string) ([]*activity.Event, error)
GetEvents mocks base method.
func (*MockManager) GetExternalCacheManager ¶ added in v0.66.1
func (m *MockManager) GetExternalCacheManager() ExternalCacheManager
GetExternalCacheManager mocks base method.
func (*MockManager) GetGroup ¶ added in v0.66.1
func (m *MockManager) GetGroup(ctx context.Context, accountId, groupID, userID string) (*types.Group, error)
GetGroup mocks base method.
func (*MockManager) GetGroupByName ¶ added in v0.66.1
func (m *MockManager) GetGroupByName(ctx context.Context, groupName, accountID, userID string) (*types.Group, error)
GetGroupByName mocks base method.
func (*MockManager) GetIdentityProvider ¶ added in v0.66.1
func (m *MockManager) GetIdentityProvider(ctx context.Context, accountID, idpID, userID string) (*types.IdentityProvider, error)
GetIdentityProvider mocks base method.
func (*MockManager) GetIdentityProviders ¶ added in v0.66.1
func (m *MockManager) GetIdentityProviders(ctx context.Context, accountID, userID string) ([]*types.IdentityProvider, error)
GetIdentityProviders mocks base method.
func (*MockManager) GetIdpManager ¶ added in v0.66.1
func (m *MockManager) GetIdpManager() idp.Manager
GetIdpManager mocks base method.
func (*MockManager) GetNameServerGroup ¶ added in v0.66.1
func (m *MockManager) GetNameServerGroup(ctx context.Context, accountID, userID, nsGroupID string) (*dns.NameServerGroup, error)
GetNameServerGroup mocks base method.
func (*MockManager) GetNetworkMap ¶ added in v0.66.1
func (m *MockManager) GetNetworkMap(ctx context.Context, peerID string) (*types.NetworkMap, error)
GetNetworkMap mocks base method.
func (*MockManager) GetOrCreateAccountByPrivateDomain ¶ added in v0.66.1
func (m *MockManager) GetOrCreateAccountByPrivateDomain(ctx context.Context, initiatorId, domain string) (*types.Account, bool, error)
GetOrCreateAccountByPrivateDomain mocks base method.
func (*MockManager) GetOrCreateAccountByUser ¶ added in v0.66.1
func (m *MockManager) GetOrCreateAccountByUser(ctx context.Context, userAuth auth.UserAuth) (*types.Account, error)
GetOrCreateAccountByUser mocks base method.
func (*MockManager) GetOwnerInfo ¶ added in v0.66.1
GetOwnerInfo mocks base method.
func (*MockManager) GetPAT ¶ added in v0.66.1
func (m *MockManager) GetPAT(ctx context.Context, accountID, initiatorUserID, targetUserID, tokenID string) (*types.PersonalAccessToken, error)
GetPAT mocks base method.
func (*MockManager) GetPeer ¶ added in v0.66.1
func (m *MockManager) GetPeer(ctx context.Context, accountID, peerID, userID string) (*peer.Peer, error)
GetPeer mocks base method.
func (*MockManager) GetPeerGroups ¶ added in v0.66.1
func (m *MockManager) GetPeerGroups(ctx context.Context, accountID, peerID string) ([]*types.Group, error)
GetPeerGroups mocks base method.
func (*MockManager) GetPeerJobByID ¶ added in v0.66.1
func (m *MockManager) GetPeerJobByID(ctx context.Context, accountID, userID, peerID, jobID string) (*types.Job, error)
GetPeerJobByID mocks base method.
func (*MockManager) GetPeerNetwork ¶ added in v0.66.1
GetPeerNetwork mocks base method.
func (*MockManager) GetPeers ¶ added in v0.66.1
func (m *MockManager) GetPeers(ctx context.Context, accountID, userID, nameFilter, ipFilter string) ([]*peer.Peer, error)
GetPeers mocks base method.
func (*MockManager) GetPolicy ¶ added in v0.66.1
func (m *MockManager) GetPolicy(ctx context.Context, accountID, policyID, userID string) (*types.Policy, error)
GetPolicy mocks base method.
func (*MockManager) GetPostureChecks ¶ added in v0.66.1
func (m *MockManager) GetPostureChecks(ctx context.Context, accountID, postureChecksID, userID string) (*posture.Checks, error)
GetPostureChecks mocks base method.
func (*MockManager) GetRoute ¶ added in v0.66.1
func (m *MockManager) GetRoute(ctx context.Context, accountID string, routeID route.ID, userID string) (*route.Route, error)
GetRoute mocks base method.
func (*MockManager) GetSetupKey ¶ added in v0.66.1
func (m *MockManager) GetSetupKey(ctx context.Context, accountID, userID, keyID string) (*types.SetupKey, error)
GetSetupKey mocks base method.
func (*MockManager) GetStore ¶ added in v0.66.1
func (m *MockManager) GetStore() store.Store
GetStore mocks base method.
func (*MockManager) GetUserByID ¶ added in v0.66.1
GetUserByID mocks base method.
func (*MockManager) GetUserFromUserAuth ¶ added in v0.66.1
func (m *MockManager) GetUserFromUserAuth(ctx context.Context, userAuth auth.UserAuth) (*types.User, error)
GetUserFromUserAuth mocks base method.
func (*MockManager) GetUserIDByPeerKey ¶ added in v0.66.1
GetUserIDByPeerKey mocks base method.
func (*MockManager) GetUserInviteInfo ¶ added in v0.66.1
func (m *MockManager) GetUserInviteInfo(ctx context.Context, token string) (*types.UserInviteInfo, error)
GetUserInviteInfo mocks base method.
func (*MockManager) GetUsersFromAccount ¶ added in v0.66.1
func (m *MockManager) GetUsersFromAccount(ctx context.Context, accountID, userID string) (map[string]*types.UserInfo, error)
GetUsersFromAccount mocks base method.
func (*MockManager) GetValidatedPeers ¶ added in v0.66.1
func (m *MockManager) GetValidatedPeers(ctx context.Context, accountID string) (map[string]struct{}, map[string]string, error)
GetValidatedPeers mocks base method.
func (*MockManager) GroupAddPeer ¶ added in v0.66.1
func (m *MockManager) GroupAddPeer(ctx context.Context, accountId, groupID, peerID string) error
GroupAddPeer mocks base method.
func (*MockManager) GroupDeletePeer ¶ added in v0.66.1
func (m *MockManager) GroupDeletePeer(ctx context.Context, accountId, groupID, peerID string) error
GroupDeletePeer mocks base method.
func (*MockManager) GroupValidation ¶ added in v0.66.1
func (m *MockManager) GroupValidation(ctx context.Context, accountId string, groups []string) (bool, error)
GroupValidation mocks base method.
func (*MockManager) InviteUser ¶ added in v0.66.1
func (m *MockManager) InviteUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
InviteUser mocks base method.
func (*MockManager) ListNameServerGroups ¶ added in v0.66.1
func (m *MockManager) ListNameServerGroups(ctx context.Context, accountID, userID string) ([]*dns.NameServerGroup, error)
ListNameServerGroups mocks base method.
func (*MockManager) ListPolicies ¶ added in v0.66.1
func (m *MockManager) ListPolicies(ctx context.Context, accountID, userID string) ([]*types.Policy, error)
ListPolicies mocks base method.
func (*MockManager) ListPostureChecks ¶ added in v0.66.1
func (m *MockManager) ListPostureChecks(ctx context.Context, accountID, userID string) ([]*posture.Checks, error)
ListPostureChecks mocks base method.
func (*MockManager) ListRoutes ¶ added in v0.66.1
func (m *MockManager) ListRoutes(ctx context.Context, accountID, userID string) ([]*route.Route, error)
ListRoutes mocks base method.
func (*MockManager) ListSetupKeys ¶ added in v0.66.1
func (m *MockManager) ListSetupKeys(ctx context.Context, accountID, userID string) ([]*types.SetupKey, error)
ListSetupKeys mocks base method.
func (*MockManager) ListUserInvites ¶ added in v0.66.1
func (m *MockManager) ListUserInvites(ctx context.Context, accountID, initiatorUserID string) ([]*types.UserInvite, error)
ListUserInvites mocks base method.
func (*MockManager) LoginPeer ¶ added in v0.66.1
func (m *MockManager) LoginPeer(ctx context.Context, login types.PeerLogin) (*peer.Peer, *types.NetworkMap, []*posture.Checks, error)
LoginPeer mocks base method.
func (*MockManager) MarkPeerConnected ¶ added in v0.66.1
func (m *MockManager) MarkPeerConnected(ctx context.Context, peerKey string, realIP net.IP, accountID string, sessionStartedAt int64) error
MarkPeerConnected mocks base method.
func (*MockManager) MarkPeerDisconnected ¶ added in v0.71.3
func (m *MockManager) MarkPeerDisconnected(ctx context.Context, peerKey string, accountID string, sessionStartedAt int64) error
MarkPeerDisconnected mocks base method.
func (*MockManager) OnPeerDisconnected ¶ added in v0.66.1
func (m *MockManager) OnPeerDisconnected(ctx context.Context, accountID, peerPubKey string, streamStartTime time.Time) error
OnPeerDisconnected mocks base method.
func (*MockManager) RegenerateUserInvite ¶ added in v0.66.1
func (m *MockManager) RegenerateUserInvite(ctx context.Context, accountID, initiatorUserID, inviteID string, expiresIn int) (*types.UserInvite, error)
RegenerateUserInvite mocks base method.
func (*MockManager) RejectUser ¶ added in v0.66.1
func (m *MockManager) RejectUser(ctx context.Context, accountID, initiatorUserID, targetUserID string) error
RejectUser mocks base method.
func (*MockManager) SaveDNSSettings ¶ added in v0.66.1
func (m *MockManager) SaveDNSSettings(ctx context.Context, accountID, userID string, dnsSettingsToSave *types.DNSSettings) error
SaveDNSSettings mocks base method.
func (*MockManager) SaveNameServerGroup ¶ added in v0.66.1
func (m *MockManager) SaveNameServerGroup(ctx context.Context, accountID, userID string, nsGroupToSave *dns.NameServerGroup) error
SaveNameServerGroup mocks base method.
func (*MockManager) SaveOrAddUser ¶ added in v0.66.1
func (m *MockManager) SaveOrAddUser(ctx context.Context, accountID, initiatorUserID string, update *types.User, addIfNotExists bool) (*types.UserInfo, error)
SaveOrAddUser mocks base method.
func (*MockManager) SaveOrAddUsers ¶ added in v0.66.1
func (m *MockManager) SaveOrAddUsers(ctx context.Context, accountID, initiatorUserID string, updates []*types.User, addIfNotExists bool) ([]*types.UserInfo, error)
SaveOrAddUsers mocks base method.
func (*MockManager) SavePolicy ¶ added in v0.66.1
func (m *MockManager) SavePolicy(ctx context.Context, accountID, userID string, policy *types.Policy, create bool) (*types.Policy, error)
SavePolicy mocks base method.
func (*MockManager) SavePostureChecks ¶ added in v0.66.1
func (m *MockManager) SavePostureChecks(ctx context.Context, accountID, userID string, postureChecks *posture.Checks, create bool) (*posture.Checks, error)
SavePostureChecks mocks base method.
func (*MockManager) SaveRoute ¶ added in v0.66.1
func (m *MockManager) SaveRoute(ctx context.Context, accountID, userID string, route *route.Route) error
SaveRoute mocks base method.
func (*MockManager) SaveSetupKey ¶ added in v0.66.1
func (m *MockManager) SaveSetupKey(ctx context.Context, accountID string, key *types.SetupKey, userID string) (*types.SetupKey, error)
SaveSetupKey mocks base method.
func (*MockManager) SaveUser ¶ added in v0.66.1
func (m *MockManager) SaveUser(ctx context.Context, accountID, initiatorUserID string, update *types.User) (*types.UserInfo, error)
SaveUser mocks base method.
func (*MockManager) SetServiceManager ¶ added in v0.66.1
func (m *MockManager) SetServiceManager(serviceManager service.Manager)
SetServiceManager mocks base method.
func (*MockManager) StoreEvent ¶ added in v0.66.1
func (m *MockManager) StoreEvent(ctx context.Context, initiatorID, targetID, accountID string, activityID activity.ActivityDescriber, meta map[string]any)
StoreEvent mocks base method.
func (*MockManager) SyncAndMarkPeer ¶ added in v0.66.1
func (m *MockManager) SyncAndMarkPeer(ctx context.Context, accountID, peerPubKey string, meta peer.PeerSystemMeta, realIP net.IP, syncTime time.Time) (*peer.Peer, *types.NetworkMap, []*posture.Checks, int64, error)
SyncAndMarkPeer mocks base method.
func (*MockManager) SyncPeer ¶ added in v0.66.1
func (m *MockManager) SyncPeer(ctx context.Context, sync types.PeerSync, accountID string) (*peer.Peer, *types.NetworkMap, []*posture.Checks, int64, error)
SyncPeer mocks base method.
func (*MockManager) SyncPeerMeta ¶ added in v0.66.1
func (m *MockManager) SyncPeerMeta(ctx context.Context, peerPubKey string, meta peer.PeerSystemMeta) error
SyncPeerMeta mocks base method.
func (*MockManager) SyncUserJWTGroups ¶ added in v0.66.1
SyncUserJWTGroups mocks base method.
func (*MockManager) UpdateAccountOnboarding ¶ added in v0.66.1
func (m *MockManager) UpdateAccountOnboarding(ctx context.Context, accountID, userID string, newOnboarding *types.AccountOnboarding) (*types.AccountOnboarding, error)
UpdateAccountOnboarding mocks base method.
func (*MockManager) UpdateAccountPeers ¶ added in v0.66.1
func (m *MockManager) UpdateAccountPeers(ctx context.Context, accountID string, reason types.UpdateReason)
UpdateAccountPeers mocks base method.
func (*MockManager) UpdateAccountSettings ¶ added in v0.66.1
func (m *MockManager) UpdateAccountSettings(ctx context.Context, accountID, userID string, newSettings *types.Settings) (*types.Settings, error)
UpdateAccountSettings mocks base method.
func (*MockManager) UpdateGroup ¶ added in v0.66.1
func (m *MockManager) UpdateGroup(ctx context.Context, accountID, userID string, group *types.Group) error
UpdateGroup mocks base method.
func (*MockManager) UpdateGroups ¶ added in v0.66.1
func (m *MockManager) UpdateGroups(ctx context.Context, accountID, userID string, newGroups []*types.Group) error
UpdateGroups mocks base method.
func (*MockManager) UpdateIdentityProvider ¶ added in v0.66.1
func (m *MockManager) UpdateIdentityProvider(ctx context.Context, accountID, idpID, userID string, idp *types.IdentityProvider) (*types.IdentityProvider, error)
UpdateIdentityProvider mocks base method.
func (*MockManager) UpdateIntegratedValidator ¶ added in v0.66.1
func (m *MockManager) UpdateIntegratedValidator(ctx context.Context, accountID, userID, validator string, groups []string) error
UpdateIntegratedValidator mocks base method.
func (*MockManager) UpdatePeer ¶ added in v0.66.1
func (m *MockManager) UpdatePeer(ctx context.Context, accountID, userID string, p *peer.Peer) (*peer.Peer, error)
UpdatePeer mocks base method.
func (*MockManager) UpdatePeerIP ¶ added in v0.66.1
func (m *MockManager) UpdatePeerIP(ctx context.Context, accountID, userID, peerID string, newIP netip.Addr) error
UpdatePeerIP mocks base method.
func (*MockManager) UpdatePeerIPv6 ¶ added in v0.71.0
func (*MockManager) UpdateToPrimaryAccount ¶ added in v0.66.1
func (m *MockManager) UpdateToPrimaryAccount(ctx context.Context, accountId string) error
UpdateToPrimaryAccount mocks base method.
func (*MockManager) UpdateUserPassword ¶ added in v0.66.1
func (m *MockManager) UpdateUserPassword(ctx context.Context, accountID, currentUserID, targetUserID, oldPassword, newPassword string) error
UpdateUserPassword mocks base method.
type MockManagerMockRecorder ¶ added in v0.66.1
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) AcceptUserInvite ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) AcceptUserInvite(ctx, token, password interface{}) *gomock.Call
AcceptUserInvite indicates an expected call of AcceptUserInvite.
func (*MockManagerMockRecorder) AccountExists ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) AccountExists(ctx, accountID interface{}) *gomock.Call
AccountExists indicates an expected call of AccountExists.
func (*MockManagerMockRecorder) AddPeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) AddPeer(ctx, accountID, setupKey, userID, p, temporary interface{}) *gomock.Call
AddPeer indicates an expected call of AddPeer.
func (*MockManagerMockRecorder) ApproveUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ApproveUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
ApproveUser indicates an expected call of ApproveUser.
func (*MockManagerMockRecorder) BufferUpdateAccountPeers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) BufferUpdateAccountPeers(ctx, accountID, reason interface{}) *gomock.Call
BufferUpdateAccountPeers indicates an expected call of BufferUpdateAccountPeers.
func (*MockManagerMockRecorder) BuildUserInfosForAccount ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) BuildUserInfosForAccount(ctx, accountID, initiatorUserID, accountUsers interface{}) *gomock.Call
BuildUserInfosForAccount indicates an expected call of BuildUserInfosForAccount.
func (*MockManagerMockRecorder) CreateGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateGroup(ctx, accountID, userID, group interface{}) *gomock.Call
CreateGroup indicates an expected call of CreateGroup.
func (*MockManagerMockRecorder) CreateGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateGroups(ctx, accountID, userID, newGroups interface{}) *gomock.Call
CreateGroups indicates an expected call of CreateGroups.
func (*MockManagerMockRecorder) CreateIdentityProvider ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateIdentityProvider(ctx, accountID, userID, idp interface{}) *gomock.Call
CreateIdentityProvider indicates an expected call of CreateIdentityProvider.
func (*MockManagerMockRecorder) CreateNameServerGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateNameServerGroup(ctx, accountID, name, description, nameServerList, groups, primary, domains, enabled, userID, searchDomainsEnabled interface{}) *gomock.Call
CreateNameServerGroup indicates an expected call of CreateNameServerGroup.
func (*MockManagerMockRecorder) CreatePAT ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreatePAT(ctx, accountID, initiatorUserID, targetUserID, tokenName, expiresIn interface{}) *gomock.Call
CreatePAT indicates an expected call of CreatePAT.
func (*MockManagerMockRecorder) CreatePeerJob ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreatePeerJob(ctx, accountID, peerID, userID, job interface{}) *gomock.Call
CreatePeerJob indicates an expected call of CreatePeerJob.
func (*MockManagerMockRecorder) CreateRoute ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateRoute(ctx, accountID, prefix, networkType, domains, peerID, peerGroupIDs, description, netID, masquerade, metric, groups, accessControlGroupIDs, enabled, userID, keepRoute, skipAutoApply interface{}) *gomock.Call
CreateRoute indicates an expected call of CreateRoute.
func (*MockManagerMockRecorder) CreateSetupKey ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateSetupKey(ctx, accountID, keyName, keyType, expiresIn, autoGroups, usageLimit, userID, ephemeral, allowExtraDNSLabels interface{}) *gomock.Call
CreateSetupKey indicates an expected call of CreateSetupKey.
func (*MockManagerMockRecorder) CreateUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateUser(ctx, accountID, initiatorUserID, key interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockManagerMockRecorder) CreateUserInvite ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) CreateUserInvite(ctx, accountID, initiatorUserID, invite, expiresIn interface{}) *gomock.Call
CreateUserInvite indicates an expected call of CreateUserInvite.
func (*MockManagerMockRecorder) DeleteAccount ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteAccount(ctx, accountID, userID interface{}) *gomock.Call
DeleteAccount indicates an expected call of DeleteAccount.
func (*MockManagerMockRecorder) DeleteGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteGroup(ctx, accountId, userId, groupID interface{}) *gomock.Call
DeleteGroup indicates an expected call of DeleteGroup.
func (*MockManagerMockRecorder) DeleteGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteGroups(ctx, accountId, userId, groupIDs interface{}) *gomock.Call
DeleteGroups indicates an expected call of DeleteGroups.
func (*MockManagerMockRecorder) DeleteIdentityProvider ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteIdentityProvider(ctx, accountID, idpID, userID interface{}) *gomock.Call
DeleteIdentityProvider indicates an expected call of DeleteIdentityProvider.
func (*MockManagerMockRecorder) DeleteNameServerGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteNameServerGroup(ctx, accountID, nsGroupID, userID interface{}) *gomock.Call
DeleteNameServerGroup indicates an expected call of DeleteNameServerGroup.
func (*MockManagerMockRecorder) DeletePAT ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeletePAT(ctx, accountID, initiatorUserID, targetUserID, tokenID interface{}) *gomock.Call
DeletePAT indicates an expected call of DeletePAT.
func (*MockManagerMockRecorder) DeletePeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeletePeer(ctx, accountID, peerID, userID interface{}) *gomock.Call
DeletePeer indicates an expected call of DeletePeer.
func (*MockManagerMockRecorder) DeletePolicy ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeletePolicy(ctx, accountID, policyID, userID interface{}) *gomock.Call
DeletePolicy indicates an expected call of DeletePolicy.
func (*MockManagerMockRecorder) DeletePostureChecks ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeletePostureChecks(ctx, accountID, postureChecksID, userID interface{}) *gomock.Call
DeletePostureChecks indicates an expected call of DeletePostureChecks.
func (*MockManagerMockRecorder) DeleteRegularUsers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteRegularUsers(ctx, accountID, initiatorUserID, targetUserIDs, userInfos interface{}) *gomock.Call
DeleteRegularUsers indicates an expected call of DeleteRegularUsers.
func (*MockManagerMockRecorder) DeleteRoute ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteRoute(ctx, accountID, routeID, userID interface{}) *gomock.Call
DeleteRoute indicates an expected call of DeleteRoute.
func (*MockManagerMockRecorder) DeleteSetupKey ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteSetupKey(ctx, accountID, userID, keyID interface{}) *gomock.Call
DeleteSetupKey indicates an expected call of DeleteSetupKey.
func (*MockManagerMockRecorder) DeleteUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockManagerMockRecorder) DeleteUserInvite ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) DeleteUserInvite(ctx, accountID, initiatorUserID, inviteID interface{}) *gomock.Call
DeleteUserInvite indicates an expected call of DeleteUserInvite.
func (*MockManagerMockRecorder) ExtendPeerSession ¶ added in v0.72.0
func (mr *MockManagerMockRecorder) ExtendPeerSession(ctx, peerPubKey, userID interface{}) *gomock.Call
ExtendPeerSession indicates an expected call of ExtendPeerSession.
func (*MockManagerMockRecorder) FindExistingPostureCheck ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) FindExistingPostureCheck(accountID, checks interface{}) *gomock.Call
FindExistingPostureCheck indicates an expected call of FindExistingPostureCheck.
func (*MockManagerMockRecorder) GetAccount ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccount(ctx, accountID interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockManagerMockRecorder) GetAccountByID ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountByID(ctx, accountID, userID interface{}) *gomock.Call
GetAccountByID indicates an expected call of GetAccountByID.
func (*MockManagerMockRecorder) GetAccountIDByUserID ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountIDByUserID(ctx, userAuth interface{}) *gomock.Call
GetAccountIDByUserID indicates an expected call of GetAccountIDByUserID.
func (*MockManagerMockRecorder) GetAccountIDForPeerKey ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountIDForPeerKey(ctx, peerKey interface{}) *gomock.Call
GetAccountIDForPeerKey indicates an expected call of GetAccountIDForPeerKey.
func (*MockManagerMockRecorder) GetAccountIDFromUserAuth ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountIDFromUserAuth(ctx, userAuth interface{}) *gomock.Call
GetAccountIDFromUserAuth indicates an expected call of GetAccountIDFromUserAuth.
func (*MockManagerMockRecorder) GetAccountMeta ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountMeta(ctx, accountID, userID interface{}) *gomock.Call
GetAccountMeta indicates an expected call of GetAccountMeta.
func (*MockManagerMockRecorder) GetAccountOnboarding ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountOnboarding(ctx, accountID, userID interface{}) *gomock.Call
GetAccountOnboarding indicates an expected call of GetAccountOnboarding.
func (*MockManagerMockRecorder) GetAccountSettings ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAccountSettings(ctx, accountID, userID interface{}) *gomock.Call
GetAccountSettings indicates an expected call of GetAccountSettings.
func (*MockManagerMockRecorder) GetAllGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAllGroups(ctx, accountID, userID interface{}) *gomock.Call
GetAllGroups indicates an expected call of GetAllGroups.
func (*MockManagerMockRecorder) GetAllPATs ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAllPATs(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
GetAllPATs indicates an expected call of GetAllPATs.
func (*MockManagerMockRecorder) GetAllPeerJobs ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetAllPeerJobs(ctx, accountID, userID, peerID interface{}) *gomock.Call
GetAllPeerJobs indicates an expected call of GetAllPeerJobs.
func (*MockManagerMockRecorder) GetCurrentUserInfo ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetCurrentUserInfo(ctx, userAuth interface{}) *gomock.Call
GetCurrentUserInfo indicates an expected call of GetCurrentUserInfo.
func (*MockManagerMockRecorder) GetDNSSettings ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetDNSSettings(ctx, accountID, userID interface{}) *gomock.Call
GetDNSSettings indicates an expected call of GetDNSSettings.
func (*MockManagerMockRecorder) GetEvents ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetEvents(ctx, accountID, userID interface{}) *gomock.Call
GetEvents indicates an expected call of GetEvents.
func (*MockManagerMockRecorder) GetExternalCacheManager ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetExternalCacheManager() *gomock.Call
GetExternalCacheManager indicates an expected call of GetExternalCacheManager.
func (*MockManagerMockRecorder) GetGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetGroup(ctx, accountId, groupID, userID interface{}) *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockManagerMockRecorder) GetGroupByName ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetGroupByName(ctx, groupName, accountID, userID interface{}) *gomock.Call
GetGroupByName indicates an expected call of GetGroupByName.
func (*MockManagerMockRecorder) GetIdentityProvider ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetIdentityProvider(ctx, accountID, idpID, userID interface{}) *gomock.Call
GetIdentityProvider indicates an expected call of GetIdentityProvider.
func (*MockManagerMockRecorder) GetIdentityProviders ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetIdentityProviders(ctx, accountID, userID interface{}) *gomock.Call
GetIdentityProviders indicates an expected call of GetIdentityProviders.
func (*MockManagerMockRecorder) GetIdpManager ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetIdpManager() *gomock.Call
GetIdpManager indicates an expected call of GetIdpManager.
func (*MockManagerMockRecorder) GetNameServerGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetNameServerGroup(ctx, accountID, userID, nsGroupID interface{}) *gomock.Call
GetNameServerGroup indicates an expected call of GetNameServerGroup.
func (*MockManagerMockRecorder) GetNetworkMap ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetNetworkMap(ctx, peerID interface{}) *gomock.Call
GetNetworkMap indicates an expected call of GetNetworkMap.
func (*MockManagerMockRecorder) GetOrCreateAccountByPrivateDomain ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetOrCreateAccountByPrivateDomain(ctx, initiatorId, domain interface{}) *gomock.Call
GetOrCreateAccountByPrivateDomain indicates an expected call of GetOrCreateAccountByPrivateDomain.
func (*MockManagerMockRecorder) GetOrCreateAccountByUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetOrCreateAccountByUser(ctx, userAuth interface{}) *gomock.Call
GetOrCreateAccountByUser indicates an expected call of GetOrCreateAccountByUser.
func (*MockManagerMockRecorder) GetOwnerInfo ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetOwnerInfo(ctx, accountId interface{}) *gomock.Call
GetOwnerInfo indicates an expected call of GetOwnerInfo.
func (*MockManagerMockRecorder) GetPAT ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPAT(ctx, accountID, initiatorUserID, targetUserID, tokenID interface{}) *gomock.Call
GetPAT indicates an expected call of GetPAT.
func (*MockManagerMockRecorder) GetPeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPeer(ctx, accountID, peerID, userID interface{}) *gomock.Call
GetPeer indicates an expected call of GetPeer.
func (*MockManagerMockRecorder) GetPeerGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPeerGroups(ctx, accountID, peerID interface{}) *gomock.Call
GetPeerGroups indicates an expected call of GetPeerGroups.
func (*MockManagerMockRecorder) GetPeerJobByID ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPeerJobByID(ctx, accountID, userID, peerID, jobID interface{}) *gomock.Call
GetPeerJobByID indicates an expected call of GetPeerJobByID.
func (*MockManagerMockRecorder) GetPeerNetwork ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPeerNetwork(ctx, peerID interface{}) *gomock.Call
GetPeerNetwork indicates an expected call of GetPeerNetwork.
func (*MockManagerMockRecorder) GetPeers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPeers(ctx, accountID, userID, nameFilter, ipFilter interface{}) *gomock.Call
GetPeers indicates an expected call of GetPeers.
func (*MockManagerMockRecorder) GetPolicy ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPolicy(ctx, accountID, policyID, userID interface{}) *gomock.Call
GetPolicy indicates an expected call of GetPolicy.
func (*MockManagerMockRecorder) GetPostureChecks ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetPostureChecks(ctx, accountID, postureChecksID, userID interface{}) *gomock.Call
GetPostureChecks indicates an expected call of GetPostureChecks.
func (*MockManagerMockRecorder) GetRoute ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetRoute(ctx, accountID, routeID, userID interface{}) *gomock.Call
GetRoute indicates an expected call of GetRoute.
func (*MockManagerMockRecorder) GetSetupKey ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetSetupKey(ctx, accountID, userID, keyID interface{}) *gomock.Call
GetSetupKey indicates an expected call of GetSetupKey.
func (*MockManagerMockRecorder) GetStore ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetStore() *gomock.Call
GetStore indicates an expected call of GetStore.
func (*MockManagerMockRecorder) GetUserByID ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetUserByID(ctx, id interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockManagerMockRecorder) GetUserFromUserAuth ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetUserFromUserAuth(ctx, userAuth interface{}) *gomock.Call
GetUserFromUserAuth indicates an expected call of GetUserFromUserAuth.
func (*MockManagerMockRecorder) GetUserIDByPeerKey ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetUserIDByPeerKey(ctx, peerKey interface{}) *gomock.Call
GetUserIDByPeerKey indicates an expected call of GetUserIDByPeerKey.
func (*MockManagerMockRecorder) GetUserInviteInfo ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetUserInviteInfo(ctx, token interface{}) *gomock.Call
GetUserInviteInfo indicates an expected call of GetUserInviteInfo.
func (*MockManagerMockRecorder) GetUsersFromAccount ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetUsersFromAccount(ctx, accountID, userID interface{}) *gomock.Call
GetUsersFromAccount indicates an expected call of GetUsersFromAccount.
func (*MockManagerMockRecorder) GetValidatedPeers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GetValidatedPeers(ctx, accountID interface{}) *gomock.Call
GetValidatedPeers indicates an expected call of GetValidatedPeers.
func (*MockManagerMockRecorder) GroupAddPeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GroupAddPeer(ctx, accountId, groupID, peerID interface{}) *gomock.Call
GroupAddPeer indicates an expected call of GroupAddPeer.
func (*MockManagerMockRecorder) GroupDeletePeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GroupDeletePeer(ctx, accountId, groupID, peerID interface{}) *gomock.Call
GroupDeletePeer indicates an expected call of GroupDeletePeer.
func (*MockManagerMockRecorder) GroupValidation ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) GroupValidation(ctx, accountId, groups interface{}) *gomock.Call
GroupValidation indicates an expected call of GroupValidation.
func (*MockManagerMockRecorder) InviteUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) InviteUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
InviteUser indicates an expected call of InviteUser.
func (*MockManagerMockRecorder) ListNameServerGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListNameServerGroups(ctx, accountID, userID interface{}) *gomock.Call
ListNameServerGroups indicates an expected call of ListNameServerGroups.
func (*MockManagerMockRecorder) ListPolicies ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListPolicies(ctx, accountID, userID interface{}) *gomock.Call
ListPolicies indicates an expected call of ListPolicies.
func (*MockManagerMockRecorder) ListPostureChecks ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListPostureChecks(ctx, accountID, userID interface{}) *gomock.Call
ListPostureChecks indicates an expected call of ListPostureChecks.
func (*MockManagerMockRecorder) ListRoutes ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListRoutes(ctx, accountID, userID interface{}) *gomock.Call
ListRoutes indicates an expected call of ListRoutes.
func (*MockManagerMockRecorder) ListSetupKeys ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListSetupKeys(ctx, accountID, userID interface{}) *gomock.Call
ListSetupKeys indicates an expected call of ListSetupKeys.
func (*MockManagerMockRecorder) ListUserInvites ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListUserInvites(ctx, accountID, initiatorUserID interface{}) *gomock.Call
ListUserInvites indicates an expected call of ListUserInvites.
func (*MockManagerMockRecorder) ListUsers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) ListUsers(ctx, accountID interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockManagerMockRecorder) LoginPeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) LoginPeer(ctx, login interface{}) *gomock.Call
LoginPeer indicates an expected call of LoginPeer.
func (*MockManagerMockRecorder) MarkPeerConnected ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) MarkPeerConnected(ctx, peerKey, realIP, accountID, sessionStartedAt interface{}) *gomock.Call
MarkPeerConnected indicates an expected call of MarkPeerConnected.
func (*MockManagerMockRecorder) MarkPeerDisconnected ¶ added in v0.71.3
func (mr *MockManagerMockRecorder) MarkPeerDisconnected(ctx, peerKey, accountID, sessionStartedAt interface{}) *gomock.Call
MarkPeerDisconnected indicates an expected call of MarkPeerDisconnected.
func (*MockManagerMockRecorder) OnPeerDisconnected ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) OnPeerDisconnected(ctx, accountID, peerPubKey, streamStartTime interface{}) *gomock.Call
OnPeerDisconnected indicates an expected call of OnPeerDisconnected.
func (*MockManagerMockRecorder) RegenerateUserInvite ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) RegenerateUserInvite(ctx, accountID, initiatorUserID, inviteID, expiresIn interface{}) *gomock.Call
RegenerateUserInvite indicates an expected call of RegenerateUserInvite.
func (*MockManagerMockRecorder) RejectUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) RejectUser(ctx, accountID, initiatorUserID, targetUserID interface{}) *gomock.Call
RejectUser indicates an expected call of RejectUser.
func (*MockManagerMockRecorder) SaveDNSSettings ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveDNSSettings(ctx, accountID, userID, dnsSettingsToSave interface{}) *gomock.Call
SaveDNSSettings indicates an expected call of SaveDNSSettings.
func (*MockManagerMockRecorder) SaveNameServerGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveNameServerGroup(ctx, accountID, userID, nsGroupToSave interface{}) *gomock.Call
SaveNameServerGroup indicates an expected call of SaveNameServerGroup.
func (*MockManagerMockRecorder) SaveOrAddUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveOrAddUser(ctx, accountID, initiatorUserID, update, addIfNotExists interface{}) *gomock.Call
SaveOrAddUser indicates an expected call of SaveOrAddUser.
func (*MockManagerMockRecorder) SaveOrAddUsers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveOrAddUsers(ctx, accountID, initiatorUserID, updates, addIfNotExists interface{}) *gomock.Call
SaveOrAddUsers indicates an expected call of SaveOrAddUsers.
func (*MockManagerMockRecorder) SavePolicy ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SavePolicy(ctx, accountID, userID, policy, create interface{}) *gomock.Call
SavePolicy indicates an expected call of SavePolicy.
func (*MockManagerMockRecorder) SavePostureChecks ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SavePostureChecks(ctx, accountID, userID, postureChecks, create interface{}) *gomock.Call
SavePostureChecks indicates an expected call of SavePostureChecks.
func (*MockManagerMockRecorder) SaveRoute ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveRoute(ctx, accountID, userID, route interface{}) *gomock.Call
SaveRoute indicates an expected call of SaveRoute.
func (*MockManagerMockRecorder) SaveSetupKey ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveSetupKey(ctx, accountID, key, userID interface{}) *gomock.Call
SaveSetupKey indicates an expected call of SaveSetupKey.
func (*MockManagerMockRecorder) SaveUser ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SaveUser(ctx, accountID, initiatorUserID, update interface{}) *gomock.Call
SaveUser indicates an expected call of SaveUser.
func (*MockManagerMockRecorder) SetServiceManager ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SetServiceManager(serviceManager interface{}) *gomock.Call
SetServiceManager indicates an expected call of SetServiceManager.
func (*MockManagerMockRecorder) StoreEvent ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) StoreEvent(ctx, initiatorID, targetID, accountID, activityID, meta interface{}) *gomock.Call
StoreEvent indicates an expected call of StoreEvent.
func (*MockManagerMockRecorder) SyncAndMarkPeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SyncAndMarkPeer(ctx, accountID, peerPubKey, meta, realIP, syncTime interface{}) *gomock.Call
SyncAndMarkPeer indicates an expected call of SyncAndMarkPeer.
func (*MockManagerMockRecorder) SyncPeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SyncPeer(ctx, sync, accountID interface{}) *gomock.Call
SyncPeer indicates an expected call of SyncPeer.
func (*MockManagerMockRecorder) SyncPeerMeta ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SyncPeerMeta(ctx, peerPubKey, meta interface{}) *gomock.Call
SyncPeerMeta indicates an expected call of SyncPeerMeta.
func (*MockManagerMockRecorder) SyncUserJWTGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) SyncUserJWTGroups(ctx, userAuth interface{}) *gomock.Call
SyncUserJWTGroups indicates an expected call of SyncUserJWTGroups.
func (*MockManagerMockRecorder) UpdateAccountOnboarding ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateAccountOnboarding(ctx, accountID, userID, newOnboarding interface{}) *gomock.Call
UpdateAccountOnboarding indicates an expected call of UpdateAccountOnboarding.
func (*MockManagerMockRecorder) UpdateAccountPeers ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateAccountPeers(ctx, accountID, reason interface{}) *gomock.Call
UpdateAccountPeers indicates an expected call of UpdateAccountPeers.
func (*MockManagerMockRecorder) UpdateAccountSettings ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateAccountSettings(ctx, accountID, userID, newSettings interface{}) *gomock.Call
UpdateAccountSettings indicates an expected call of UpdateAccountSettings.
func (*MockManagerMockRecorder) UpdateGroup ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateGroup(ctx, accountID, userID, group interface{}) *gomock.Call
UpdateGroup indicates an expected call of UpdateGroup.
func (*MockManagerMockRecorder) UpdateGroups ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateGroups(ctx, accountID, userID, newGroups interface{}) *gomock.Call
UpdateGroups indicates an expected call of UpdateGroups.
func (*MockManagerMockRecorder) UpdateIdentityProvider ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateIdentityProvider(ctx, accountID, idpID, userID, idp interface{}) *gomock.Call
UpdateIdentityProvider indicates an expected call of UpdateIdentityProvider.
func (*MockManagerMockRecorder) UpdateIntegratedValidator ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateIntegratedValidator(ctx, accountID, userID, validator, groups interface{}) *gomock.Call
UpdateIntegratedValidator indicates an expected call of UpdateIntegratedValidator.
func (*MockManagerMockRecorder) UpdatePeer ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdatePeer(ctx, accountID, userID, p interface{}) *gomock.Call
UpdatePeer indicates an expected call of UpdatePeer.
func (*MockManagerMockRecorder) UpdatePeerIP ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdatePeerIP(ctx, accountID, userID, peerID, newIP interface{}) *gomock.Call
UpdatePeerIP indicates an expected call of UpdatePeerIP.
func (*MockManagerMockRecorder) UpdatePeerIPv6 ¶ added in v0.71.0
func (mr *MockManagerMockRecorder) UpdatePeerIPv6(ctx, accountID, userID, peerID, newIPv6 interface{}) *gomock.Call
func (*MockManagerMockRecorder) UpdateToPrimaryAccount ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateToPrimaryAccount(ctx, accountId interface{}) *gomock.Call
UpdateToPrimaryAccount indicates an expected call of UpdateToPrimaryAccount.
func (*MockManagerMockRecorder) UpdateUserPassword ¶ added in v0.66.1
func (mr *MockManagerMockRecorder) UpdateUserPassword(ctx, accountID, currentUserID, targetUserID, oldPassword, newPassword interface{}) *gomock.Call
UpdateUserPassword indicates an expected call of UpdateUserPassword.