orm

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplications

func NewApplications(m *Models) interfaces.Applications

func NewAuthCode

func NewAuthCode(m *Storage) interfaces.AuthCode

func NewLogs

func NewLogs(m *Models) interfaces.Logs

func NewModels

func NewModels(opt *interfaces.AuthOption, database interface{}) interfaces.Models

func NewScopes

func NewScopes(m *Models) interfaces.Scopes

func NewStorage added in v0.0.8

func NewStorage(mm interfaces.Models, opt *interfaces.AuthOption, database interface{}) interfaces.Storage

func NewTokens

func NewTokens(mm interfaces.Models, m *Storage) interfaces.Tokens

func NewUserListsApplications

func NewUserListsApplications(m *Models) interfaces.UserListsApplications

func NewUserListsGroups

func NewUserListsGroups(m *Models) interfaces.UserListsGroups

func NewUsers

func NewUsers(m *Models) interfaces.Users

func NewUsersGroupApplications

func NewUsersGroupApplications(m *Models) interfaces.UsersGroupApplications

func NewUsersGroupScopes

func NewUsersGroupScopes(m *Models) interfaces.UsersGroupScopes

func NewUsersGroups

func NewUsersGroups(m *Models) interfaces.UsersGroups

Types

type Applications

type Applications struct {
	// contains filtered or unexported fields
}

func (*Applications) BulkInsert added in v0.0.9

func (c *Applications) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.ApplicationList) (err error)

BulkInsert - this for migration data

func (*Applications) CountWithParams

func (c *Applications) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetApplicationRequest) (count int64, err error)

func (*Applications) Create

func (c *Applications) Create(enableTracing bool, ctx context.Context, req *auth.ApplicationList) (err error)

func (*Applications) Delete

func (c *Applications) Delete(enableTracing bool, ctx context.Context, data *auth.DeleteApplicationRequest) (err error)

func (*Applications) FindByDefault

func (c *Applications) FindByDefault(enableTracing bool, ctx context.Context, params bool) (res []*auth.ApplicationList, err error)

func (*Applications) FindByID

func (c *Applications) FindByID(enableTracing bool, ctx context.Context, params string) (res []*auth.ApplicationList, err error)

func (*Applications) FindByIDAndDefault

func (c *Applications) FindByIDAndDefault(enableTracing bool, ctx context.Context, params string, def bool) (res []*auth.ApplicationList, err error)

func (*Applications) FindByMultipleIDAndDefault

func (c *Applications) FindByMultipleIDAndDefault(enableTracing bool, ctx context.Context, param []string, def bool) (res []*auth.ApplicationList, err error)

func (*Applications) FindByName

func (c *Applications) FindByName(enableTracing bool, ctx context.Context, params string) (res []*auth.ApplicationList, err error)

func (*Applications) FindWithParams

func (c *Applications) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetApplicationRequest) (res []*auth.ApplicationList, err error)

func (*Applications) GetData added in v0.0.9

func (c *Applications) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.ApplicationList, err error)

GetData - this for migration data

func (*Applications) Update added in v0.0.6

func (c *Applications) Update(enableTracing bool, ctx context.Context, req *auth.EditApplicationRequest) (err error)

type AuthCode

type AuthCode struct {
	// contains filtered or unexported fields
}

func (*AuthCode) Add

func (c *AuthCode) Add(enableTracing bool, ctx context.Context, req *auth.AuthCodeList) (err error)

func (*AuthCode) CountWithParams

func (c *AuthCode) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetAuthCodeListRequest) (count int64, err error)

func (*AuthCode) Del

func (c *AuthCode) Del(enableTracing bool, ctx context.Context, req *auth.AuthCodeList) (err error)

func (*AuthCode) FindByCode

func (c *AuthCode) FindByCode(enableTracing bool, ctx context.Context, code string) (res []*auth.AuthCodeList, err error)

func (*AuthCode) FindByState

func (c *AuthCode) FindByState(enableTracing bool, ctx context.Context, state string) (res []*auth.AuthCodeList, err error)

func (*AuthCode) FindWithParams

func (c *AuthCode) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetAuthCodeListRequest) (res []*auth.AuthCodeList, err error)

type Logs

type Logs struct {
	// contains filtered or unexported fields
}

func (*Logs) Insert

func (c *Logs) Insert(enableTracing bool, ctx context.Context, req *auth.LogsList) (err error)

type Models

type Models struct {
	Options        *interfaces.AuthOption
	DefaultTimeout time.Duration
	// contains filtered or unexported fields
}

func (*Models) Applications

func (c *Models) Applications() interfaces.Applications

func (*Models) Id added in v0.0.8

func (c *Models) Id() string

func (*Models) Init

func (c *Models) Init() (err error)

func (*Models) Logs

func (c *Models) Logs() interfaces.Logs

func (*Models) Scopes

func (c *Models) Scopes() interfaces.Scopes

func (*Models) UserListsApplications

func (c *Models) UserListsApplications() interfaces.UserListsApplications

func (*Models) UserListsGroups

func (c *Models) UserListsGroups() interfaces.UserListsGroups

func (*Models) Users

func (c *Models) Users() interfaces.Users

func (*Models) UsersGroupApplications

func (c *Models) UsersGroupApplications() interfaces.UsersGroupApplications

func (*Models) UsersGroupScopes

func (c *Models) UsersGroupScopes() interfaces.UsersGroupScopes

func (*Models) UsersGroups

func (c *Models) UsersGroups() interfaces.UsersGroups

type Scopes

type Scopes struct {
	// contains filtered or unexported fields
}

func (*Scopes) BulkInsert added in v0.0.9

func (c *Scopes) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.ScopeList) (err error)

BulkInsert - this for migration data

func (*Scopes) CountWithParams

func (c *Scopes) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetScopesRequest) (count int64, err error)

func (*Scopes) Create

func (c *Scopes) Create(enableTracing bool, ctx context.Context, req *auth.ScopeList) (err error)

func (*Scopes) Delete

func (c *Scopes) Delete(enableTracing bool, ctx context.Context, req *auth.DeleteScopesRequest) (err error)

func (*Scopes) Edit

func (c *Scopes) Edit(enableTracing bool, ctx context.Context, req *auth.ScopeList) (err error)

func (*Scopes) FindByDefault added in v0.0.9

func (c *Scopes) FindByDefault(enableTracing bool, ctx context.Context, isDefault bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindByDefaultAndTag added in v0.0.9

func (c *Scopes) FindByDefaultAndTag(enableTracing bool, ctx context.Context, isDefault bool, tag []string) (res []*auth.ScopeList, err error)

func (*Scopes) FindByID

func (c *Scopes) FindByID(enableTracing bool, ctx context.Context, id string) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMethodsAndDefault

func (c *Scopes) FindByMethodsAndDefault(enableTracing bool, ctx context.Context, params []string, isDefault bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMethodsAndDefaultAndIDAndEnable

func (c *Scopes) FindByMethodsAndDefaultAndIDAndEnable(enableTracing bool, ctx context.Context, method, id []string, isDefault, enable bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMethodsAndDefaultAndTag added in v0.0.7

func (c *Scopes) FindByMethodsAndDefaultAndTag(enableTracing bool, ctx context.Context, id []string, tag string, isDefault bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMethodsAndDefaultAndTagAndEnable added in v0.0.7

func (c *Scopes) FindByMethodsAndDefaultAndTagAndEnable(enableTracing bool, ctx context.Context, method []string, tag string, isDefault bool, enable bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMultipleID

func (c *Scopes) FindByMultipleID(enableTracing bool, ctx context.Context, id []string) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMultipleIDAndDefault

func (c *Scopes) FindByMultipleIDAndDefault(enableTracing bool, ctx context.Context, id []string, isDefault bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindByMultipleIDAndDefaultAndTagAndMethod added in v0.0.9

func (c *Scopes) FindByMultipleIDAndDefaultAndTagAndMethod(enableTracing bool, ctx context.Context, id []string, isDefault bool, tag string, method string) (res []*auth.ScopeList, err error)

func (*Scopes) FindIfExist

func (c *Scopes) FindIfExist(enableTracing bool, ctx context.Context, id, method string, isDefault bool) (res []*auth.ScopeList, err error)

func (*Scopes) FindWithParams

func (c *Scopes) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetScopesRequest) (res []*auth.ScopeList, err error)

func (*Scopes) GetData added in v0.0.9

func (c *Scopes) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.ScopeList, err error)

GetData - this for migration data

type Storage added in v0.0.8

type Storage struct {
	Options        *interfaces.AuthOption
	DefaultTimeout time.Duration
	// contains filtered or unexported fields
}

func (*Storage) AuthCode added in v0.0.8

func (c *Storage) AuthCode() interfaces.AuthCode

func (*Storage) Id added in v0.0.8

func (c *Storage) Id() string

func (*Storage) Init added in v0.0.8

func (c *Storage) Init() (err error)

func (*Storage) Tokens added in v0.0.8

func (c *Storage) Tokens() interfaces.Tokens

type Tokens

type Tokens struct {
	// contains filtered or unexported fields
}

func (*Tokens) DeleteToken

func (c *Tokens) DeleteToken(enableTracing bool, ctx context.Context, userid, id string) (err error)

func (*Tokens) Find

func (c *Tokens) Find(enableTracing bool, ctx context.Context, query interface{}, args ...interface{}) (res []*auth.TokenList, err error)

func (*Tokens) FindByID

func (c *Tokens) FindByID(enableTracing bool, ctx context.Context, param string) (res []*auth.TokenList, err error)

func (*Tokens) GetToken

func (c *Tokens) GetToken(enableTracing bool, ctx context.Context, userid, id, appId string, withApp bool) (res types.TokenData, err error)

func (*Tokens) GetTokenSameStorage added in v0.0.8

func (c *Tokens) GetTokenSameStorage(enableTracing bool, ctx context.Context, userid, id, appId string, withApp bool) (res types.TokenData, err error)

func (*Tokens) InsertToken

func (c *Tokens) InsertToken(enableTracing bool, ctx context.Context, req *auth.TokenList) (err error)

func (*Tokens) RevokeToken

func (c *Tokens) RevokeToken(enableTracing bool, ctx context.Context, userid, id string) (err error)

func (*Tokens) TerminateOtherTokens

func (c *Tokens) TerminateOtherTokens(enableTracing bool, ctx context.Context, userid, id string) (err error)

type UserListsApplications

type UserListsApplications struct {
	// contains filtered or unexported fields
}

func (*UserListsApplications) AddApplication

func (c *UserListsApplications) AddApplication(enableTracing bool, ctx context.Context, req *auth.UsersApplicationList) (err error)

func (*UserListsApplications) BulkInsert added in v1.0.0

func (c *UserListsApplications) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.UsersApplicationList) (err error)

BulkInsert - this for migration data

func (*UserListsApplications) CountWithParams

func (c *UserListsApplications) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersApplicationRequest) (count int64, err error)

func (*UserListsApplications) DelApplication

func (c *UserListsApplications) DelApplication(enableTracing bool, ctx context.Context, req *auth.UsersApplicationList) (err error)

func (*UserListsApplications) FindByUserIDAndApplicationID

func (c *UserListsApplications) FindByUserIDAndApplicationID(enableTracing bool, ctx context.Context, userID, applicationID string) (res []*auth.UsersApplicationList, err error)

func (*UserListsApplications) FindWithParams

func (c *UserListsApplications) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersApplicationRequest) (res []*auth.UsersApplicationList, err error)

func (*UserListsApplications) GetData added in v1.0.0

func (c *UserListsApplications) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.UsersApplicationList, err error)

GetData - this for migration data

type UserListsGroups

type UserListsGroups struct {
	// contains filtered or unexported fields
}

func (*UserListsGroups) AddGroups

func (c *UserListsGroups) AddGroups(enableTracing bool, ctx context.Context, req *auth.UsersListGroups) (err error)

func (*UserListsGroups) BulkInsert added in v1.0.0

func (c *UserListsGroups) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.UsersListGroups) (err error)

BulkInsert - this for migration data

func (*UserListsGroups) CountWithParams

func (c *UserListsGroups) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersListGroupsRequest) (count int64, err error)

func (*UserListsGroups) DelGroups

func (c *UserListsGroups) DelGroups(enableTracing bool, ctx context.Context, req *auth.UsersListGroups) (err error)

func (*UserListsGroups) FindByGroupID

func (c *UserListsGroups) FindByGroupID(enableTracing bool, ctx context.Context, groupID string) (res []*auth.UsersListGroups, err error)

func (*UserListsGroups) FindByUserID

func (c *UserListsGroups) FindByUserID(enableTracing bool, ctx context.Context, userID string) (res []*auth.UsersListGroups, err error)

func (*UserListsGroups) FindByUserIDAndGroupID

func (c *UserListsGroups) FindByUserIDAndGroupID(enableTracing bool, ctx context.Context, userID, groupID string) (res []*auth.UsersListGroups, err error)

func (*UserListsGroups) FindByUserIDAndMultipleGroupID

func (c *UserListsGroups) FindByUserIDAndMultipleGroupID(enableTracing bool, ctx context.Context, userID string, groupID []string) (res []*auth.UsersListGroups, err error)

func (*UserListsGroups) FindWithParams

func (c *UserListsGroups) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersListGroupsRequest) (res []*auth.UsersListGroups, err error)

func (*UserListsGroups) GetData added in v1.0.0

func (c *UserListsGroups) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.UsersListGroups, err error)

GetData - this for migration data

type Users

type Users struct {
	// contains filtered or unexported fields
}

func (*Users) BulkInsert added in v1.0.0

func (c *Users) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.UsersList) (err error)

BulkInsert - this for migration data

func (*Users) CheckLogin

func (c *Users) CheckLogin(enableTracing bool, ctx context.Context, data *auth.UserLoginRequest, system bool) (res *auth.UsersList, err error)

func (*Users) CountWithParams

func (c *Users) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersRequest) (count int64, err error)

func (*Users) Create

func (c *Users) Create(enableTracing bool, ctx context.Context, data *auth.UsersList) (err error)

func (*Users) Delete

func (c *Users) Delete(enableTracing bool, ctx context.Context, data *auth.UsersList) (err error)

func (*Users) FindByDefault

func (c *Users) FindByDefault(enableTracing bool, ctx context.Context, param bool) (res []*auth.UsersList, err error)

func (*Users) FindByDefaultAndSystem

func (c *Users) FindByDefaultAndSystem(enableTracing bool, ctx context.Context, param, system bool) (res []*auth.UsersList, err error)

func (*Users) FindByEmail

func (c *Users) FindByEmail(enableTracing bool, ctx context.Context, param string) (res []*auth.UsersList, err error)

func (*Users) FindByEmailAndSystem

func (c *Users) FindByEmailAndSystem(enableTracing bool, ctx context.Context, param string, system bool) (res []*auth.UsersList, err error)

func (*Users) FindByID

func (c *Users) FindByID(enableTracing bool, ctx context.Context, param string) (res []*auth.UsersList, err error)

func (*Users) FindByIDAndSystem

func (c *Users) FindByIDAndSystem(enableTracing bool, ctx context.Context, param string, system bool) (res []*auth.UsersList, err error)

func (*Users) FindBySystem

func (c *Users) FindBySystem(enableTracing bool, ctx context.Context, param bool) (res []*auth.UsersList, err error)

func (*Users) FindByUserName

func (c *Users) FindByUserName(enableTracing bool, ctx context.Context, param string) (res []*auth.UsersList, err error)

func (*Users) FindByUserNameAndSystem

func (c *Users) FindByUserNameAndSystem(enableTracing bool, ctx context.Context, param string, system bool) (res []*auth.UsersList, err error)

func (*Users) FindWithParams

func (c *Users) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersRequest) (res []*auth.UsersList, err error)

func (*Users) GetData added in v1.0.0

func (c *Users) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.UsersList, err error)

GetData - this for migration data

func (*Users) Update

func (c *Users) Update(enableTracing bool, ctx context.Context, data *auth.UsersList) (err error)

func (*Users) UpdateById added in v0.0.6

func (c *Users) UpdateById(enableTracing bool, ctx context.Context, userId string, updateData map[string]interface{}) (err error)

type UsersGroupApplications

type UsersGroupApplications struct {
	// contains filtered or unexported fields
}

func (*UsersGroupApplications) AddApplication

func (c *UsersGroupApplications) AddApplication(enableTracing bool, ctx context.Context, req *auth.UsersGroupApplicationsList) (err error)

func (*UsersGroupApplications) BulkInsert added in v1.0.0

func (c *UsersGroupApplications) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.UsersGroupApplicationsList) (err error)

BulkInsert - this for migration data

func (*UsersGroupApplications) CountWithParams

func (c *UsersGroupApplications) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersGroupApplicationsRequest) (count int64, err error)

func (*UsersGroupApplications) DelApplication

func (c *UsersGroupApplications) DelApplication(enableTracing bool, ctx context.Context, req *auth.UsersGroupApplicationsList) (err error)

func (*UsersGroupApplications) FindByGroupIDAndApplicationID

func (c *UsersGroupApplications) FindByGroupIDAndApplicationID(enableTracing bool, ctx context.Context, groupID, applicationID string) (res []*auth.UsersGroupApplicationsList, err error)

func (*UsersGroupApplications) FindByGroupIDAndMultipleApplicationID

func (c *UsersGroupApplications) FindByGroupIDAndMultipleApplicationID(enableTracing bool, ctx context.Context, groupID string, applicationID []string) (res []*auth.UsersGroupApplicationsList, err error)

func (*UsersGroupApplications) FindByMultipleApplicationID

func (c *UsersGroupApplications) FindByMultipleApplicationID(enableTracing bool, ctx context.Context, applicationID []string) (res []*auth.UsersGroupApplicationsList, err error)

func (*UsersGroupApplications) FindByMultipleGroupID

func (c *UsersGroupApplications) FindByMultipleGroupID(enableTracing bool, ctx context.Context, groupID []string) (res []*auth.UsersGroupApplicationsList, err error)

func (*UsersGroupApplications) FindByMultipleGroupIDAndApplicationID

func (c *UsersGroupApplications) FindByMultipleGroupIDAndApplicationID(enableTracing bool, ctx context.Context, groupID []string, applicationID string) (res []*auth.UsersGroupApplicationsList, err error)

func (*UsersGroupApplications) FindWithParams

func (c *UsersGroupApplications) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersGroupApplicationsRequest) (res []*auth.UsersGroupApplicationsList, err error)

func (*UsersGroupApplications) GetData added in v1.0.0

func (c *UsersGroupApplications) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.UsersGroupApplicationsList, err error)

GetData - this for migration data

type UsersGroupScopes

type UsersGroupScopes struct {
	// contains filtered or unexported fields
}

func (*UsersGroupScopes) AddScope

func (c *UsersGroupScopes) AddScope(enableTracing bool, ctx context.Context, req *auth.UsersGroupScopesList) (err error)

func (*UsersGroupScopes) BulkInsert added in v1.0.0

func (c *UsersGroupScopes) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.UsersGroupScopesList) (err error)

BulkInsert - this for migration data

func (*UsersGroupScopes) CountWithParams

func (c *UsersGroupScopes) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersGroupScopesRequest) (count int64, err error)

func (*UsersGroupScopes) DelScope

func (c *UsersGroupScopes) DelScope(enableTracing bool, ctx context.Context, req *auth.UsersGroupScopesList) (err error)

func (*UsersGroupScopes) FindByGroupID

func (c *UsersGroupScopes) FindByGroupID(enableTracing bool, ctx context.Context, groupID string) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) FindByGroupIDAndMultiScopeID

func (c *UsersGroupScopes) FindByGroupIDAndMultiScopeID(enableTracing bool, ctx context.Context, groupID string, scopeID []string) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) FindByGroupIDAndScopeID

func (c *UsersGroupScopes) FindByGroupIDAndScopeID(enableTracing bool, ctx context.Context, groupID, scopeID string) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) FindByMultipleGroupID

func (c *UsersGroupScopes) FindByMultipleGroupID(enableTracing bool, ctx context.Context, groupID []string) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) FindByMultipleGroupIDAndScopeID

func (c *UsersGroupScopes) FindByMultipleGroupIDAndScopeID(enableTracing bool, ctx context.Context, groupID, scopeID []string) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) FindByScopeID

func (c *UsersGroupScopes) FindByScopeID(enableTracing bool, ctx context.Context, scopeID []string) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) FindWithParams

func (c *UsersGroupScopes) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersGroupScopesRequest) (res []*auth.UsersGroupScopesList, err error)

func (*UsersGroupScopes) GetData added in v1.0.0

func (c *UsersGroupScopes) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.UsersGroupScopesList, err error)

GetData - this for migration data

type UsersGroups

type UsersGroups struct {
	// contains filtered or unexported fields
}

func (*UsersGroups) BulkInsert added in v1.0.0

func (c *UsersGroups) BulkInsert(enableTracing bool, ctx context.Context, req []*auth.UsersGroupList) (err error)

BulkInsert - this for migration data

func (*UsersGroups) CountWithParams

func (c *UsersGroups) CountWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersGroupRequest) (count int64, err error)

func (*UsersGroups) Create

func (c *UsersGroups) Create(enableTracing bool, ctx context.Context, data *auth.UsersGroupList) (err error)

func (*UsersGroups) DeleteByIDAndSystem

func (c *UsersGroups) DeleteByIDAndSystem(enableTracing bool, ctx context.Context, id string, system bool) (err error)

func (*UsersGroups) FindByDefault

func (c *UsersGroups) FindByDefault(enableTracing bool, ctx context.Context, isDefault bool) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindByDefaultAndSystem

func (c *UsersGroups) FindByDefaultAndSystem(enableTracing bool, ctx context.Context, isDefault, system bool) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindByID

func (c *UsersGroups) FindByID(enableTracing bool, ctx context.Context, id string) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindByIDAndDefaultAndSystem

func (c *UsersGroups) FindByIDAndDefaultAndSystem(enableTracing bool, ctx context.Context, id string, isDefault, system bool) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindByIDAndSystem

func (c *UsersGroups) FindByIDAndSystem(enableTracing bool, ctx context.Context, id string, system bool) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindByMultipleIDAndSystem

func (c *UsersGroups) FindByMultipleIDAndSystem(enableTracing bool, ctx context.Context, id []string, system bool) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindBySystem

func (c *UsersGroups) FindBySystem(enableTracing bool, ctx context.Context, system bool) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) FindWithParams

func (c *UsersGroups) FindWithParams(enableTracing bool, ctx context.Context, req *auth.GetUsersGroupRequest) (res []*auth.UsersGroupList, err error)

func (*UsersGroups) GetData added in v1.0.0

func (c *UsersGroups) GetData(enableTracing bool, ctx context.Context, limit, skip int) (res []*auth.UsersGroupList, err error)

GetData - this for migration data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL