Documentation
¶
Index ¶
- Constants
- Variables
- type AccessGrant
- type Account
- type AccountRequest
- type AgentEnrollment
- type AppliedLimitClass
- type BandwidthClass
- type BandwidthLimitJournalEntry
- type BaseLimitClass
- type Config
- type Environment
- type EnvironmentFilter
- type EnvironmentWithCounts
- type Frontend
- type FrontendFilter
- type FrontendMapping
- type FrontendMappingWithShareState
- type FrontendWithEnvironment
- type InviteToken
- type LimitAction
- type LimitClass
- func (lc LimitClass) GetBackendMode() sdk.BackendMode
- func (lc LimitClass) GetEnvironments() int
- func (lc LimitClass) GetLimitAction() LimitAction
- func (lc LimitClass) GetLimitClassId() int
- func (lc LimitClass) GetPeriodMinutes() int
- func (lc LimitClass) GetReservedShares() int
- func (lc LimitClass) GetRxBytes() int64
- func (lc LimitClass) GetShareFrontends() int
- func (lc LimitClass) GetShares() int
- func (lc LimitClass) GetTotalBytes() int64
- func (lc LimitClass) GetTxBytes() int64
- func (lc LimitClass) GetUniqueNames() int
- func (lc LimitClass) IsGlobal() bool
- func (lc LimitClass) IsResourceCountClass() bool
- func (lc LimitClass) IsScoped() bool
- func (lc LimitClass) IsScopedBandwidthClass() bool
- func (lc LimitClass) IsUnscopedBandwidthClass() bool
- func (lc LimitClass) String() string
- type Model
- type Name
- type NameWithNamespace
- type NameWithShareToken
- type Namespace
- type NamespaceFrontendMapping
- type NamespaceGrant
- type Organization
- type OrganizationMember
- type OrganizationMembership
- type PasswordResetRequest
- type PermissionMode
- type ResourceCountClass
- type Share
- type ShareFilter
- type ShareNameCleanupDetail
- type ShareNameMapping
- type ShareNameMappingWithShare
- type Store
- func (str *Store) AddAccountToOrganization(acctId, orgId int, admin bool, trx *sqlx.Tx) error
- func (str *Store) ApplyLimitClass(lc *AppliedLimitClass, trx *sqlx.Tx) (int, error)
- func (str *Store) Begin() (*sqlx.Tx, error)
- func (str *Store) CheckNameAvailability(namespaceId int, name string, trx *sqlx.Tx) (bool, error)
- func (str *Store) CheckNamespaceGrant(namespaceId, accountId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) Close() error
- func (str *Store) CreateAccessGrant(shareId, accountId int, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateAccount(a *Account, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateAccountRequest(ar *AccountRequest, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateAgentEnrollment(envId int, token string, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateBandwidthLimitJournalEntry(j *BandwidthLimitJournalEntry, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateEnvironment(accountId int, i *Environment, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateEphemeralEnvironment(i *Environment, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateFrontend(envId int, f *Frontend, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateFrontendGrant(frontendId, accountId int, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateFrontendMapping(fm *FrontendMapping, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateGlobalFrontend(f *Frontend, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateInviteTokens(inviteTokens []*InviteToken, trx *sqlx.Tx) error
- func (str *Store) CreateLimitClass(lc *LimitClass, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateName(an *Name, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateNamespace(ns *Namespace, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateNamespaceFrontendMapping(nsId, feId int, isDefault bool, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateNamespaceGrant(ng *NamespaceGrant, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateOrganization(org *Organization, trx *sqlx.Tx) (int, error)
- func (str *Store) CreatePasswordResetRequest(prr *PasswordResetRequest, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateShare(envId int, shr *Share, trx *sqlx.Tx) (int, error)
- func (str *Store) CreateShareNameMapping(snm *ShareNameMapping, trx *sqlx.Tx) (int, error)
- func (str *Store) DeleteAccessGrantsForShare(shrId int, trx *sqlx.Tx) error
- func (str *Store) DeleteAccessGrantsForShareAndAccount(shrId, acctId int, trx *sqlx.Tx) error
- func (str *Store) DeleteAccount(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteAccountRequest(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteAgentEnrollment(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteBandwidthLimitJournalEntryForGlobal(acctId int, trx *sqlx.Tx) error
- func (str *Store) DeleteBandwidthLimitJournalEntryForLimitClass(acctId int, lcId int, trx *sqlx.Tx) error
- func (str *Store) DeleteEnvironment(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteFrontend(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteFrontendGrant(frontendId, accountId int, trx *sqlx.Tx) error
- func (str *Store) DeleteFrontendMappingsByFrontendTokenAndName(frontendToken, name string, trx *sqlx.Tx) error
- func (str *Store) DeleteInviteToken(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteMultipleAccountRequests(ids []int, trx *sqlx.Tx) error
- func (str *Store) DeleteMultiplePasswordResetRequests(ids []int, trx *sqlx.Tx) error
- func (str *Store) DeleteName(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteNamespace(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteNamespaceFrontendMapping(nsId, feId int, trx *sqlx.Tx) error
- func (str *Store) DeleteNamespaceGrant(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteOrganization(id int, trx *sqlx.Tx) error
- func (str *Store) DeletePasswordResetRequest(id int, trx *sqlx.Tx) error
- func (str *Store) DeletePasswordResetRequestsByAccountId(accountId int, trx *sqlx.Tx) error
- func (str *Store) DeleteShare(id int, trx *sqlx.Tx) error
- func (str *Store) DeleteShareNameMapping(id int, trx *sqlx.Tx) error
- func (str *Store) FindAccountRequestWithEmail(email string, trx *sqlx.Tx) (*AccountRequest, error)
- func (str *Store) FindAccountRequestWithToken(token string, trx *sqlx.Tx) (*AccountRequest, error)
- func (str *Store) FindAccountWithEmail(email string, trx *sqlx.Tx) (*Account, error)
- func (str *Store) FindAccountWithEmailAndDeleted(email string, trx *sqlx.Tx) (*Account, error)
- func (str *Store) FindAccountWithToken(token string, trx *sqlx.Tx) (*Account, error)
- func (str *Store) FindAccountsForOrganization(orgId int, trx *sqlx.Tx) ([]*OrganizationMember, error)
- func (str *Store) FindAgentEnrollmentForEnvironment(envId int, trx *sqlx.Tx) (*AgentEnrollment, error)
- func (str *Store) FindAllBandwidthLimitJournal(trx *sqlx.Tx) ([]*BandwidthLimitJournalEntry, error)
- func (str *Store) FindAllLatestBandwidthLimitJournal(trx *sqlx.Tx) ([]*BandwidthLimitJournalEntry, error)
- func (str *Store) FindAllLatestBandwidthLimitJournalForAccount(acctId int, trx *sqlx.Tx) ([]*BandwidthLimitJournalEntry, error)
- func (str *Store) FindAllShares(trx *sqlx.Tx) ([]*Share, error)
- func (str *Store) FindAllSharesForAccount(accountId int, trx *sqlx.Tx) ([]*Share, error)
- func (str *Store) FindAppliedLimitClassesForAccount(acctId int, trx *sqlx.Tx) ([]*LimitClass, error)
- func (str *Store) FindClosedPublicFrontendsGrantedToAccount(accountId int, trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindDynamicFrontendsForNamespace(namespaceId int, trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindEnvironmentForAccount(envZId string, accountId int, trx *sqlx.Tx) (*Environment, error)
- func (str *Store) FindEnvironmentsForAccount(accountId int, trx *sqlx.Tx) ([]*Environment, error)
- func (str *Store) FindEnvironmentsForAccountWithFilter(accountId int, filter *EnvironmentFilter, trx *sqlx.Tx) ([]*EnvironmentWithCounts, error)
- func (str *Store) FindExpiredAccountRequests(before time.Time, limit int, trx *sqlx.Tx) ([]*AccountRequest, error)
- func (str *Store) FindExpiredPasswordResetRequests(before time.Time, limit int, trx *sqlx.Tx) ([]*PasswordResetRequest, error)
- func (str *Store) FindFrontendMappingByFrontendTokenAndNameWithShareState(frontendToken, name string, trx *sqlx.Tx) (*FrontendMappingWithShareState, error)
- func (str *Store) FindFrontendMappingsByFrontendTokenWithHigherId(frontendToken string, id int64, trx *sqlx.Tx) ([]*FrontendMapping, error)
- func (str *Store) FindFrontendMappingsWithHigherId(frontendToken, name string, id int64, trx *sqlx.Tx) ([]*FrontendMapping, error)
- func (str *Store) FindFrontendPubliclyNamed(publicName string, trx *sqlx.Tx) (*Frontend, error)
- func (str *Store) FindFrontendWithToken(token string, trx *sqlx.Tx) (*Frontend, error)
- func (str *Store) FindFrontendWithTokenAndEnvironment(token string, envId int, trx *sqlx.Tx) (*Frontend, error)
- func (str *Store) FindFrontendWithZId(zId string, trx *sqlx.Tx) (*Frontend, error)
- func (str *Store) FindFrontendsForAccountWithFilter(accountId int, filter *FrontendFilter, trx *sqlx.Tx) ([]*FrontendWithEnvironment, error)
- func (str *Store) FindFrontendsForEnvironment(envId int, trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindFrontendsForNamespace(namespaceId int, trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindFrontendsForPrivateShare(shrId int, trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindInviteTokenByToken(token string, trx *sqlx.Tx) (*InviteToken, error)
- func (str *Store) FindLatestBandwidthLimitJournal(acctId int, trx *sqlx.Tx) (*BandwidthLimitJournalEntry, error)
- func (str *Store) FindLatestBandwidthLimitJournalForGlobal(acctId int, trx *sqlx.Tx) (*BandwidthLimitJournalEntry, error)
- func (str *Store) FindLatestBandwidthLimitJournalForLimitClass(acctId, lcId int, trx *sqlx.Tx) (*BandwidthLimitJournalEntry, error)
- func (str *Store) FindLimitClassesByLabel(label string, trx *sqlx.Tx) ([]*LimitClass, error)
- func (str *Store) FindNameByNamespaceAndName(namespaceId int, name string, trx *sqlx.Tx) (*Name, error)
- func (str *Store) FindNamesForAccount(accountId int, trx *sqlx.Tx) ([]*Name, error)
- func (str *Store) FindNamesForAccountAndNamespace(accountId, namespaceId int, trx *sqlx.Tx) ([]*Name, error)
- func (str *Store) FindNamesForNamespace(namespaceId int, trx *sqlx.Tx) ([]*Name, error)
- func (str *Store) FindNamesForShare(shareId int, trx *sqlx.Tx) ([]*NameWithNamespace, error)
- func (str *Store) FindNamesWithShareTokensForAccountAndNamespace(accountId, namespaceId int, trx *sqlx.Tx) ([]*NameWithShareToken, error)
- func (str *Store) FindNamespaceFrontendMappingsForFrontend(frontendId int, trx *sqlx.Tx) ([]*NamespaceFrontendMapping, error)
- func (str *Store) FindNamespaceFrontendMappingsForNamespace(namespaceId int, trx *sqlx.Tx) ([]*NamespaceFrontendMapping, error)
- func (str *Store) FindNamespaceGrantsForAccount(accountId int, trx *sqlx.Tx) ([]*NamespaceGrant, error)
- func (str *Store) FindNamespaceGrantsForNamespace(namespaceId int, trx *sqlx.Tx) ([]*NamespaceGrant, error)
- func (str *Store) FindNamespaceWithName(name string, trx *sqlx.Tx) (*Namespace, error)
- func (str *Store) FindNamespaceWithToken(token string, trx *sqlx.Tx) (*Namespace, error)
- func (str *Store) FindNamespaces(trx *sqlx.Tx) ([]*Namespace, error)
- func (str *Store) FindNamespacesForAccount(accountId int, trx *sqlx.Tx) ([]*Namespace, error)
- func (str *Store) FindNamespacesForFrontend(frontendId int, trx *sqlx.Tx) ([]*Namespace, error)
- func (str *Store) FindOpenPublicFrontends(trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindOrganizationByToken(token string, trx *sqlx.Tx) (*Organization, error)
- func (str *Store) FindOrganizations(trx *sqlx.Tx) ([]*Organization, error)
- func (str *Store) FindOrganizationsForAccount(acctId int, trx *sqlx.Tx) ([]*OrganizationMembership, error)
- func (str *Store) FindPasswordResetRequestWithToken(token string, trx *sqlx.Tx) (*PasswordResetRequest, error)
- func (str *Store) FindPublicFrontends(trx *sqlx.Tx) ([]*Frontend, error)
- func (str *Store) FindShareNameCleanupDetailsByShareId(shareId int, trx *sqlx.Tx) ([]*ShareNameCleanupDetail, error)
- func (str *Store) FindShareNameMappingByShareIdAndNameId(shareId, nameId int, trx *sqlx.Tx) (*ShareNameMapping, error)
- func (str *Store) FindShareNameMappingsByNameId(nameId int, trx *sqlx.Tx) ([]*ShareNameMapping, error)
- func (str *Store) FindShareNameMappingsByNameIdWithShare(nameId int, trx *sqlx.Tx) ([]*ShareNameMappingWithShare, error)
- func (str *Store) FindShareNameMappingsByShareId(shareId int, trx *sqlx.Tx) ([]*ShareNameMapping, error)
- func (str *Store) FindShareWithToken(shrToken string, trx *sqlx.Tx) (*Share, error)
- func (str *Store) FindShareWithTokenEvenIfDeleted(shrToken string, trx *sqlx.Tx) (*Share, error)
- func (str *Store) FindShareWithZIdAndDeleted(zId string, trx *sqlx.Tx) (*Share, error)
- func (str *Store) FindSharesForAccountWithFilter(accountId int, filter *ShareFilter, trx *sqlx.Tx) ([]*Share, error)
- func (str *Store) FindSharesForEnvironment(envId int, trx *sqlx.Tx) ([]*Share, error)
- func (str *Store) GetAccount(id int, trx *sqlx.Tx) (*Account, error)
- func (str *Store) GetAccountRequest(id int, trx *sqlx.Tx) (*AccountRequest, error)
- func (str *Store) GetEnvironment(id int, trx *sqlx.Tx) (*Environment, error)
- func (str *Store) GetFrontend(id int, trx *sqlx.Tx) (*Frontend, error)
- func (str *Store) GetLimitClass(lcId int, trx *sqlx.Tx) (*LimitClass, error)
- func (str *Store) GetName(id int, trx *sqlx.Tx) (*Name, error)
- func (str *Store) GetNamespace(id int, trx *sqlx.Tx) (*Namespace, error)
- func (str *Store) GetNamespaceGrant(id int, trx *sqlx.Tx) (*NamespaceGrant, error)
- func (str *Store) GetShare(id int, trx *sqlx.Tx) (*Share, error)
- func (str *Store) GetShareNameMapping(id int, trx *sqlx.Tx) (*ShareNameMapping, error)
- func (str *Store) GrantSkipInterstitial(acctId int, trx *sqlx.Tx) error
- func (str *Store) IsAccessGrantedToAccountForShare(shrId, acctId int, trx *sqlx.Tx) (int, error)
- func (str *Store) IsAccountAdminOfOrganization(acctId, orgId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsAccountGrantedSkipInterstitial(acctId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsAccountInOrganization(acctId, orgId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsAgentEnrolledForEnvironment(envId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsBandwidthLimitJournalEmpty(acctId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsBandwidthLimitJournalEmptyForGlobal(acctId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsBandwidthLimitJournalEmptyForLimitClass(acctId, lcId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) IsFrontendGrantedToAccount(frontendId, accountId int, trx *sqlx.Tx) (bool, error)
- func (str *Store) LimitCheckLock(acctId int, trx *sqlx.Tx) error
- func (str *Store) MigrateDown(cfg *Config, max int) error
- func (str *Store) RemoveAccountFromOrganization(acctId, orgId int, trx *sqlx.Tx) error
- func (str *Store) RemoveAppliedLimitClass(acctId, lcId int, trx *sqlx.Tx) error
- func (str *Store) RevokeSkipInterstitial(acctId int, trx *sqlx.Tx) error
- func (str *Store) ShareWithTokenExists(shrToken string, trx *sqlx.Tx) (bool, error)
- func (str *Store) UpdateAccount(a *Account, trx *sqlx.Tx) (int, error)
- func (str *Store) UpdateFrontend(fe *Frontend, trx *sqlx.Tx) error
- func (str *Store) UpdateName(name *Name, trx *sqlx.Tx) error
- func (str *Store) UpdateNamespace(ns *Namespace, trx *sqlx.Tx) error
- func (str *Store) UpdateShare(shr *Share, trx *sqlx.Tx) error
Constants ¶
View Source
const Unlimited = -1
Variables ¶
View Source
var ErrAccountNotFound = stderrors.New("account not found")
Functions ¶
This section is empty.
Types ¶
type AccessGrant ¶
type AccountRequest ¶
type AgentEnrollment ¶
type AppliedLimitClass ¶
type BandwidthClass ¶
type BandwidthClass interface {
BaseLimitClass
IsScoped() bool
GetBackendMode() sdk.BackendMode
GetPeriodMinutes() int
GetRxBytes() int64
GetTxBytes() int64
GetTotalBytes() int64
GetLimitAction() LimitAction
}
type BaseLimitClass ¶
type Environment ¶
type EnvironmentFilter ¶
type EnvironmentWithCounts ¶
type EnvironmentWithCounts struct {
Environment
AccessCount int
}
type FrontendFilter ¶
type FrontendMapping ¶
type FrontendMappingWithShareState ¶ added in v2.0.1
type FrontendMappingWithShareState struct {
}
type FrontendWithEnvironment ¶
type InviteToken ¶
type LimitAction ¶
type LimitAction string
const ( LimitLimitAction LimitAction = "limit" WarningLimitAction LimitAction = "warning" )
type LimitClass ¶
type LimitClass struct {
Model
Label *string
BackendMode *sdk.BackendMode
Environments int
UniqueNames int
PeriodMinutes int
RxBytes int64
TxBytes int64
TotalBytes int64
LimitAction LimitAction
}
func (LimitClass) GetBackendMode ¶
func (lc LimitClass) GetBackendMode() sdk.BackendMode
func (LimitClass) GetEnvironments ¶
func (lc LimitClass) GetEnvironments() int
func (LimitClass) GetLimitAction ¶
func (lc LimitClass) GetLimitAction() LimitAction
func (LimitClass) GetLimitClassId ¶
func (lc LimitClass) GetLimitClassId() int
func (LimitClass) GetPeriodMinutes ¶
func (lc LimitClass) GetPeriodMinutes() int
func (LimitClass) GetReservedShares ¶
func (lc LimitClass) GetReservedShares() int
func (LimitClass) GetRxBytes ¶
func (lc LimitClass) GetRxBytes() int64
func (LimitClass) GetShareFrontends ¶
func (lc LimitClass) GetShareFrontends() int
func (LimitClass) GetShares ¶
func (lc LimitClass) GetShares() int
func (LimitClass) GetTotalBytes ¶
func (lc LimitClass) GetTotalBytes() int64
func (LimitClass) GetTxBytes ¶
func (lc LimitClass) GetTxBytes() int64
func (LimitClass) GetUniqueNames ¶
func (lc LimitClass) GetUniqueNames() int
func (LimitClass) IsGlobal ¶
func (lc LimitClass) IsGlobal() bool
func (LimitClass) IsResourceCountClass ¶ added in v2.0.1
func (lc LimitClass) IsResourceCountClass() bool
func (LimitClass) IsScoped ¶
func (lc LimitClass) IsScoped() bool
func (LimitClass) IsScopedBandwidthClass ¶ added in v2.0.1
func (lc LimitClass) IsScopedBandwidthClass() bool
func (LimitClass) IsUnscopedBandwidthClass ¶ added in v2.0.1
func (lc LimitClass) IsUnscopedBandwidthClass() bool
func (LimitClass) String ¶
func (lc LimitClass) String() string
type NameWithNamespace ¶
type NameWithShareToken ¶
type NameWithShareToken struct {
}
type NamespaceGrant ¶
type Organization ¶
type OrganizationMember ¶
type OrganizationMembership ¶
type PasswordResetRequest ¶
type PermissionMode ¶
type PermissionMode string
const ( OpenPermissionMode PermissionMode = "open" ClosedPermissionMode PermissionMode = "closed" )
type ResourceCountClass ¶
type ResourceCountClass interface {
BaseLimitClass
GetEnvironments() int
GetUniqueNames() int
}
type ShareFilter ¶
type ShareFilter struct {
}
type ShareNameCleanupDetail ¶ added in v2.0.1
type ShareNameCleanupDetail struct {
}
type ShareNameMapping ¶
type ShareNameMapping struct {
}
type ShareNameMappingWithShare ¶ added in v2.0.1
type ShareNameMappingWithShare struct {
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddAccountToOrganization ¶
func (*Store) ApplyLimitClass ¶
func (*Store) CheckNameAvailability ¶
func (*Store) CheckNamespaceGrant ¶
func (*Store) CreateAccessGrant ¶
func (*Store) CreateAccount ¶
func (*Store) CreateAccountRequest ¶
func (*Store) CreateAgentEnrollment ¶
func (*Store) CreateBandwidthLimitJournalEntry ¶
func (*Store) CreateEnvironment ¶
func (*Store) CreateEphemeralEnvironment ¶
func (*Store) CreateFrontend ¶
func (*Store) CreateFrontendGrant ¶
func (*Store) CreateFrontendMapping ¶
func (*Store) CreateGlobalFrontend ¶
func (*Store) CreateInviteTokens ¶
func (str *Store) CreateInviteTokens(inviteTokens []*InviteToken, trx *sqlx.Tx) error
func (*Store) CreateLimitClass ¶
func (*Store) CreateNamespace ¶
func (*Store) CreateNamespaceFrontendMapping ¶
func (*Store) CreateNamespaceGrant ¶
func (*Store) CreateOrganization ¶
func (*Store) CreatePasswordResetRequest ¶
func (*Store) CreateShare ¶
func (*Store) CreateShareNameMapping ¶
func (*Store) DeleteAccessGrantsForShare ¶
func (*Store) DeleteAccessGrantsForShareAndAccount ¶
func (*Store) DeleteAccountRequest ¶
func (*Store) DeleteAgentEnrollment ¶
func (*Store) DeleteBandwidthLimitJournalEntryForGlobal ¶
func (*Store) DeleteBandwidthLimitJournalEntryForLimitClass ¶
func (*Store) DeleteFrontendGrant ¶
func (*Store) DeleteFrontendMappingsByFrontendTokenAndName ¶
func (*Store) DeleteMultipleAccountRequests ¶
func (*Store) DeleteMultiplePasswordResetRequests ¶
func (*Store) DeleteNamespaceFrontendMapping ¶
func (*Store) DeleteNamespaceGrant ¶
func (*Store) DeletePasswordResetRequest ¶
func (*Store) DeletePasswordResetRequestsByAccountId ¶
func (*Store) DeleteShareNameMapping ¶
func (*Store) FindAccountRequestWithEmail ¶
func (*Store) FindAccountRequestWithToken ¶
func (*Store) FindAccountWithEmail ¶
func (*Store) FindAccountWithEmailAndDeleted ¶
func (*Store) FindAccountWithToken ¶
func (*Store) FindAccountsForOrganization ¶
func (*Store) FindAgentEnrollmentForEnvironment ¶
func (*Store) FindAllBandwidthLimitJournal ¶
func (str *Store) FindAllBandwidthLimitJournal(trx *sqlx.Tx) ([]*BandwidthLimitJournalEntry, error)
func (*Store) FindAllLatestBandwidthLimitJournal ¶
func (str *Store) FindAllLatestBandwidthLimitJournal(trx *sqlx.Tx) ([]*BandwidthLimitJournalEntry, error)
func (*Store) FindAllLatestBandwidthLimitJournalForAccount ¶
func (*Store) FindAllSharesForAccount ¶
func (*Store) FindAppliedLimitClassesForAccount ¶
func (*Store) FindClosedPublicFrontendsGrantedToAccount ¶
func (*Store) FindDynamicFrontendsForNamespace ¶
func (*Store) FindEnvironmentForAccount ¶
func (*Store) FindEnvironmentsForAccount ¶
func (*Store) FindEnvironmentsForAccountWithFilter ¶
func (str *Store) FindEnvironmentsForAccountWithFilter(accountId int, filter *EnvironmentFilter, trx *sqlx.Tx) ([]*EnvironmentWithCounts, error)
func (*Store) FindExpiredAccountRequests ¶
func (*Store) FindExpiredPasswordResetRequests ¶
func (*Store) FindFrontendMappingByFrontendTokenAndNameWithShareState ¶ added in v2.0.1
func (*Store) FindFrontendMappingsByFrontendTokenWithHigherId ¶
func (*Store) FindFrontendMappingsWithHigherId ¶
func (*Store) FindFrontendPubliclyNamed ¶
func (*Store) FindFrontendWithToken ¶
func (*Store) FindFrontendWithTokenAndEnvironment ¶ added in v2.0.1
func (*Store) FindFrontendWithZId ¶
func (*Store) FindFrontendsForAccountWithFilter ¶
func (str *Store) FindFrontendsForAccountWithFilter(accountId int, filter *FrontendFilter, trx *sqlx.Tx) ([]*FrontendWithEnvironment, error)
func (*Store) FindFrontendsForEnvironment ¶
func (*Store) FindFrontendsForNamespace ¶
func (*Store) FindFrontendsForPrivateShare ¶
func (*Store) FindInviteTokenByToken ¶
func (*Store) FindLatestBandwidthLimitJournal ¶
func (*Store) FindLatestBandwidthLimitJournalForGlobal ¶
func (*Store) FindLatestBandwidthLimitJournalForLimitClass ¶
func (*Store) FindLimitClassesByLabel ¶ added in v2.0.1
func (*Store) FindNameByNamespaceAndName ¶
func (*Store) FindNamesForAccount ¶
func (*Store) FindNamesForAccountAndNamespace ¶
func (*Store) FindNamesForNamespace ¶
func (*Store) FindNamesForShare ¶
func (*Store) FindNamesWithShareTokensForAccountAndNamespace ¶
func (*Store) FindNamespaceFrontendMappingsForFrontend ¶
func (*Store) FindNamespaceFrontendMappingsForNamespace ¶
func (*Store) FindNamespaceGrantsForAccount ¶
func (*Store) FindNamespaceGrantsForNamespace ¶
func (*Store) FindNamespaceWithName ¶
func (*Store) FindNamespaceWithToken ¶
func (*Store) FindNamespacesForAccount ¶
func (*Store) FindNamespacesForFrontend ¶
func (*Store) FindOpenPublicFrontends ¶
func (*Store) FindOrganizationByToken ¶
func (*Store) FindOrganizations ¶
func (str *Store) FindOrganizations(trx *sqlx.Tx) ([]*Organization, error)
func (*Store) FindOrganizationsForAccount ¶
func (*Store) FindPasswordResetRequestWithToken ¶
func (*Store) FindPublicFrontends ¶
func (*Store) FindShareNameCleanupDetailsByShareId ¶ added in v2.0.1
func (*Store) FindShareNameMappingByShareIdAndNameId ¶
func (*Store) FindShareNameMappingsByNameId ¶
func (*Store) FindShareNameMappingsByNameIdWithShare ¶ added in v2.0.1
func (*Store) FindShareNameMappingsByShareId ¶
func (*Store) FindShareWithToken ¶
func (*Store) FindShareWithTokenEvenIfDeleted ¶
func (*Store) FindShareWithZIdAndDeleted ¶
func (*Store) FindSharesForAccountWithFilter ¶
func (*Store) FindSharesForEnvironment ¶
func (*Store) GetAccountRequest ¶
func (*Store) GetEnvironment ¶
func (*Store) GetLimitClass ¶
func (*Store) GetNamespace ¶
func (*Store) GetNamespaceGrant ¶
func (*Store) GetShareNameMapping ¶
func (*Store) GrantSkipInterstitial ¶ added in v2.0.1
func (*Store) IsAccessGrantedToAccountForShare ¶
func (*Store) IsAccountAdminOfOrganization ¶
func (*Store) IsAccountGrantedSkipInterstitial ¶
func (*Store) IsAccountInOrganization ¶
func (*Store) IsAgentEnrolledForEnvironment ¶
func (*Store) IsBandwidthLimitJournalEmpty ¶
func (*Store) IsBandwidthLimitJournalEmptyForGlobal ¶
func (*Store) IsBandwidthLimitJournalEmptyForLimitClass ¶
func (*Store) IsFrontendGrantedToAccount ¶
func (*Store) RemoveAccountFromOrganization ¶
func (*Store) RemoveAppliedLimitClass ¶ added in v2.0.1
func (*Store) RevokeSkipInterstitial ¶ added in v2.0.1
func (*Store) ShareWithTokenExists ¶
func (*Store) UpdateAccount ¶
func (*Store) UpdateNamespace ¶
Source Files
¶
- accessGrant.go
- account.go
- accountRequest.go
- agentEnrollment.go
- appliedLimitClass.go
- bandwidthLimitJournal.go
- environment.go
- frontend.go
- frontendGrant.go
- frontendMapping.go
- invite_tokens.go
- limitCheckLock.go
- limitClass.go
- model.go
- name.go
- namespace.go
- namespaceFrontendMapping.go
- namespaceGrant.go
- organization.go
- organizationMember.go
- passwordResetRequest.go
- share.go
- shareNameMapping.go
- skipInterstitialGrant.go
- store.go
Click to show internal directories.
Click to hide internal directories.