Documentation ¶
Overview ¶
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Code generated by seacle.Generator DO NOT EDIT About seacle: https://github.com/acidlemon/seacle
Index ¶
- Constants
- type AuthAPIKeyRow
- func (p *AuthAPIKeyRow) AutoIncrementColumn() string
- func (p *AuthAPIKeyRow) Columns() []string
- func (p *AuthAPIKeyRow) PrimaryKeys() []string
- func (p *AuthAPIKeyRow) PrimaryValues() []interface{}
- func (p *AuthAPIKeyRow) Scan(r seacle.RowScanner) error
- func (p *AuthAPIKeyRow) Table() string
- func (a *AuthAPIKeyRow) ToEntity() *entity.AuthAPIKey
- func (p *AuthAPIKeyRow) ValueColumns() []string
- func (p *AuthAPIKeyRow) Values() []interface{}
- type AuthOIDCRow
- func (p *AuthOIDCRow) AutoIncrementColumn() string
- func (p *AuthOIDCRow) Columns() []string
- func (p *AuthOIDCRow) PrimaryKeys() []string
- func (p *AuthOIDCRow) PrimaryValues() []interface{}
- func (p *AuthOIDCRow) Scan(r seacle.RowScanner) error
- func (p *AuthOIDCRow) Table() string
- func (a *AuthOIDCRow) ToEntity() *entity.OIDCAuthorization
- func (p *AuthOIDCRow) ValueColumns() []string
- func (p *AuthOIDCRow) Values() []interface{}
- type Context
- type GroupRoleMapRow
- func (p *GroupRoleMapRow) AutoIncrementColumn() string
- func (p *GroupRoleMapRow) Columns() []string
- func (p *GroupRoleMapRow) PrimaryKeys() []string
- func (p *GroupRoleMapRow) PrimaryValues() []interface{}
- func (p *GroupRoleMapRow) Scan(r seacle.RowScanner) error
- func (p *GroupRoleMapRow) Table() string
- func (row *GroupRoleMapRow) TargetSeqID() int64
- func (p *GroupRoleMapRow) ValueColumns() []string
- func (p *GroupRoleMapRow) Values() []interface{}
- type GroupRow
- func (p *GroupRow) AutoIncrementColumn() string
- func (p *GroupRow) Columns() []string
- func (p *GroupRow) PrimaryKeys() []string
- func (p *GroupRow) PrimaryValues() []interface{}
- func (p *GroupRow) Scan(r seacle.RowScanner) error
- func (p *GroupRow) Table() string
- func (p *GroupRow) ValueColumns() []string
- func (p *GroupRow) Values() []interface{}
- type MappingRuleRow
- func (p *MappingRuleRow) AutoIncrementColumn() string
- func (p *MappingRuleRow) Columns() []string
- func (p *MappingRuleRow) PrimaryKeys() []string
- func (p *MappingRuleRow) PrimaryValues() []interface{}
- func (p *MappingRuleRow) Scan(r seacle.RowScanner) error
- func (p *MappingRuleRow) Table() string
- func (p *MappingRuleRow) ValueColumns() []string
- func (p *MappingRuleRow) Values() []interface{}
- type PermissionRow
- func (p *PermissionRow) AutoIncrementColumn() string
- func (p *PermissionRow) Columns() []string
- func (p *PermissionRow) PrimaryKeys() []string
- func (p *PermissionRow) PrimaryValues() []interface{}
- func (p *PermissionRow) Scan(r seacle.RowScanner) error
- func (p *PermissionRow) Table() string
- func (perm *PermissionRow) ToEntity() *entity.Permission
- func (p *PermissionRow) ValueColumns() []string
- func (p *PermissionRow) Values() []interface{}
- type PrincipalGroupMapRow
- func (p *PrincipalGroupMapRow) AutoIncrementColumn() string
- func (p *PrincipalGroupMapRow) Columns() []string
- func (p *PrincipalGroupMapRow) PrimaryKeys() []string
- func (p *PrincipalGroupMapRow) PrimaryValues() []interface{}
- func (p *PrincipalGroupMapRow) Scan(r seacle.RowScanner) error
- func (p *PrincipalGroupMapRow) Table() string
- func (row *PrincipalGroupMapRow) TargetSeqID() int64
- func (p *PrincipalGroupMapRow) ValueColumns() []string
- func (p *PrincipalGroupMapRow) Values() []interface{}
- type PrincipalRoleMapRow
- func (p *PrincipalRoleMapRow) AutoIncrementColumn() string
- func (p *PrincipalRoleMapRow) Columns() []string
- func (p *PrincipalRoleMapRow) PrimaryKeys() []string
- func (p *PrincipalRoleMapRow) PrimaryValues() []interface{}
- func (p *PrincipalRoleMapRow) Scan(r seacle.RowScanner) error
- func (p *PrincipalRoleMapRow) Table() string
- func (row *PrincipalRoleMapRow) TargetSeqID() int64
- func (p *PrincipalRoleMapRow) ValueColumns() []string
- func (p *PrincipalRoleMapRow) Values() []interface{}
- type PrincipalRow
- func (p *PrincipalRow) AutoIncrementColumn() string
- func (p *PrincipalRow) Columns() []string
- func (p *PrincipalRow) PrimaryKeys() []string
- func (p *PrincipalRow) PrimaryValues() []interface{}
- func (p *PrincipalRow) Scan(r seacle.RowScanner) error
- func (p *PrincipalRow) Table() string
- func (pri *PrincipalRow) ToEntity() *entity.Principal
- func (p *PrincipalRow) ValueColumns() []string
- func (p *PrincipalRow) Values() []interface{}
- type RolePermissionMapRow
- func (p *RolePermissionMapRow) AutoIncrementColumn() string
- func (p *RolePermissionMapRow) Columns() []string
- func (p *RolePermissionMapRow) PrimaryKeys() []string
- func (p *RolePermissionMapRow) PrimaryValues() []interface{}
- func (p *RolePermissionMapRow) Scan(r seacle.RowScanner) error
- func (p *RolePermissionMapRow) Table() string
- func (row *RolePermissionMapRow) TargetSeqID() int64
- func (p *RolePermissionMapRow) ValueColumns() []string
- func (p *RolePermissionMapRow) Values() []interface{}
- type RoleRow
- func (p *RoleRow) AutoIncrementColumn() string
- func (p *RoleRow) Columns() []string
- func (p *RoleRow) PrimaryKeys() []string
- func (p *RoleRow) PrimaryValues() []interface{}
- func (p *RoleRow) Scan(r seacle.RowScanner) error
- func (p *RoleRow) Table() string
- func (p *RoleRow) ValueColumns() []string
- func (p *RoleRow) Values() []interface{}
- type Service
- func (s *Service) DeleteGroup(ctx context.Context, conn seacle.Executable, g *entity.Group) error
- func (s *Service) DeleteMappingRule(ctx Context, conn seacle.Executable, rule *entity.MappingRule) error
- func (s *Service) DeletePermission(ctx Context, conn seacle.Executable, perm *entity.Permission) error
- func (s *Service) DeletePrincipal(ctx Context, conn seacle.Executable, pri *entity.Principal) error
- func (s *Service) DeleteRole(ctx context.Context, conn seacle.Executable, r *entity.Role) error
- func (s *Service) EnumerateGroupIDs(ctx Context, conn seacle.Selectable) ([]string, error)
- func (s *Service) EnumerateMappingRuleIDs(ctx Context, conn seacle.Selectable) ([]string, error)
- func (s *Service) EnumeratePermissionIDs(ctx Context, conn seacle.Selectable) ([]string, error)
- func (s *Service) EnumeratePrincipalIDs(ctx Context, conn seacle.Selectable) ([]string, error)
- func (s *Service) EnumerateRoleIDs(ctx Context, conn seacle.Selectable) ([]string, error)
- func (s *Service) FindGroups(ctx Context, conn seacle.Selectable, groupIDs []string) ([]*entity.Group, error)
- func (s *Service) FindMappingRules(ctx Context, conn seacle.Selectable, mappingRuleIDs []string) ([]*entity.MappingRule, error)
- func (s *Service) FindPermissions(ctx Context, conn seacle.Selectable, permissionIDs []string) ([]*entity.Permission, error)
- func (s *Service) FindPrincipalByOIDC(ctx Context, conn seacle.Selectable, issuer, subject string) (*entity.Principal, error)
- func (s *Service) FindPrincipalBySeqID(ctx Context, conn *sql.Conn, id int64) (*entity.Principal, error)
- func (s *Service) FindPrincipals(ctx Context, conn seacle.Selectable, principalIDs []string) ([]*entity.Principal, error)
- func (s *Service) FindRoles(ctx Context, conn seacle.Selectable, roleIDs []string) ([]*entity.Role, error)
- func (s *Service) SaveAuthAPIKey(ctx Context, conn seacle.Executable, a *entity.AuthAPIKey, ...) error
- func (s *Service) SaveAuthOIDC(ctx Context, conn seacle.Executable, a *entity.OIDCAuthorization, ...) error
- func (s *Service) SaveGroup(ctx context.Context, conn seacle.Executable, g *entity.Group) error
- func (s *Service) SaveMappingRule(ctx Context, conn seacle.Executable, rule *entity.MappingRule) error
- func (s *Service) SavePermission(ctx Context, conn seacle.Executable, perm *entity.Permission) error
- func (s *Service) SavePrincipal(ctx Context, conn seacle.Executable, pri *entity.Principal) error
- func (s *Service) SaveRole(ctx context.Context, conn seacle.Executable, r *entity.Role) error
Constants ¶
const AssociatedTypeGroup = 1
const AssociatedTypeRole = 2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthAPIKeyRow ¶
type AuthAPIKeyRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` AuthAPIKeyID string `db:"auth_apikey_id"` Name string `db:"name"` MaskedToken string `db:"masked_token"` HashedToken string `db:"hashed_token"` PrincipalSeqID int64 `db:"principal_seq_id"` }
func (*AuthAPIKeyRow) AutoIncrementColumn ¶
func (p *AuthAPIKeyRow) AutoIncrementColumn() string
func (*AuthAPIKeyRow) Columns ¶
func (p *AuthAPIKeyRow) Columns() []string
func (*AuthAPIKeyRow) PrimaryKeys ¶
func (p *AuthAPIKeyRow) PrimaryKeys() []string
func (*AuthAPIKeyRow) PrimaryValues ¶
func (p *AuthAPIKeyRow) PrimaryValues() []interface{}
func (*AuthAPIKeyRow) Scan ¶
func (p *AuthAPIKeyRow) Scan(r seacle.RowScanner) error
func (*AuthAPIKeyRow) Table ¶
func (p *AuthAPIKeyRow) Table() string
func (*AuthAPIKeyRow) ToEntity ¶
func (a *AuthAPIKeyRow) ToEntity() *entity.AuthAPIKey
func (*AuthAPIKeyRow) ValueColumns ¶
func (p *AuthAPIKeyRow) ValueColumns() []string
func (*AuthAPIKeyRow) Values ¶
func (p *AuthAPIKeyRow) Values() []interface{}
type AuthOIDCRow ¶
type AuthOIDCRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` AuthOIDCID string `db:"auth_oidc_id"` Issuer string `db:"issuer"` Subject string `db:"subject"` Email string `db:"email"` Name string `db:"name"` PrincipalSeqID int64 `db:"principal_seq_id"` }
func (*AuthOIDCRow) AutoIncrementColumn ¶
func (p *AuthOIDCRow) AutoIncrementColumn() string
func (*AuthOIDCRow) Columns ¶
func (p *AuthOIDCRow) Columns() []string
func (*AuthOIDCRow) PrimaryKeys ¶
func (p *AuthOIDCRow) PrimaryKeys() []string
func (*AuthOIDCRow) PrimaryValues ¶
func (p *AuthOIDCRow) PrimaryValues() []interface{}
func (*AuthOIDCRow) Scan ¶
func (p *AuthOIDCRow) Scan(r seacle.RowScanner) error
func (*AuthOIDCRow) Table ¶
func (p *AuthOIDCRow) Table() string
func (*AuthOIDCRow) ToEntity ¶
func (a *AuthOIDCRow) ToEntity() *entity.OIDCAuthorization
func (*AuthOIDCRow) ValueColumns ¶
func (p *AuthOIDCRow) ValueColumns() []string
func (*AuthOIDCRow) Values ¶
func (p *AuthOIDCRow) Values() []interface{}
type GroupRoleMapRow ¶
type GroupRoleMapRow struct { GroupSeqID int64 `db:"group_seq_id,primary"` RoleSeqID int64 `db:"role_seq_id,primary"` }
func (*GroupRoleMapRow) AutoIncrementColumn ¶
func (p *GroupRoleMapRow) AutoIncrementColumn() string
func (*GroupRoleMapRow) Columns ¶
func (p *GroupRoleMapRow) Columns() []string
func (*GroupRoleMapRow) PrimaryKeys ¶
func (p *GroupRoleMapRow) PrimaryKeys() []string
func (*GroupRoleMapRow) PrimaryValues ¶
func (p *GroupRoleMapRow) PrimaryValues() []interface{}
func (*GroupRoleMapRow) Scan ¶
func (p *GroupRoleMapRow) Scan(r seacle.RowScanner) error
func (*GroupRoleMapRow) Table ¶
func (p *GroupRoleMapRow) Table() string
func (*GroupRoleMapRow) TargetSeqID ¶
func (row *GroupRoleMapRow) TargetSeqID() int64
func (*GroupRoleMapRow) ValueColumns ¶
func (p *GroupRoleMapRow) ValueColumns() []string
func (*GroupRoleMapRow) Values ¶
func (p *GroupRoleMapRow) Values() []interface{}
type GroupRow ¶
type GroupRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` GroupID string `db:"group_id"` Name string `db:"name"` Description string `db:"description"` }
func (*GroupRow) AutoIncrementColumn ¶
func (*GroupRow) PrimaryKeys ¶
func (*GroupRow) PrimaryValues ¶
func (p *GroupRow) PrimaryValues() []interface{}
func (*GroupRow) ValueColumns ¶
type MappingRuleRow ¶
type MappingRuleRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` MappingRuleID string `db:"mapping_rule_id"` RuleType int `db:"rule_type"` Detail string `db:"detail"` Name string `db:"name"` Description string `db:"description"` Priority int `db:"priority"` AssociationType int `db:"association_type"` AssociationID string `db:"association_id"` }
func (*MappingRuleRow) AutoIncrementColumn ¶
func (p *MappingRuleRow) AutoIncrementColumn() string
func (*MappingRuleRow) Columns ¶
func (p *MappingRuleRow) Columns() []string
func (*MappingRuleRow) PrimaryKeys ¶
func (p *MappingRuleRow) PrimaryKeys() []string
func (*MappingRuleRow) PrimaryValues ¶
func (p *MappingRuleRow) PrimaryValues() []interface{}
func (*MappingRuleRow) Scan ¶
func (p *MappingRuleRow) Scan(r seacle.RowScanner) error
func (*MappingRuleRow) Table ¶
func (p *MappingRuleRow) Table() string
func (*MappingRuleRow) ValueColumns ¶
func (p *MappingRuleRow) ValueColumns() []string
func (*MappingRuleRow) Values ¶
func (p *MappingRuleRow) Values() []interface{}
type PermissionRow ¶
type PermissionRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` PermissionID string `db:"permission_id"` Name string `db:"name"` Description string `db:"description"` }
func (*PermissionRow) AutoIncrementColumn ¶
func (p *PermissionRow) AutoIncrementColumn() string
func (*PermissionRow) Columns ¶
func (p *PermissionRow) Columns() []string
func (*PermissionRow) PrimaryKeys ¶
func (p *PermissionRow) PrimaryKeys() []string
func (*PermissionRow) PrimaryValues ¶
func (p *PermissionRow) PrimaryValues() []interface{}
func (*PermissionRow) Scan ¶
func (p *PermissionRow) Scan(r seacle.RowScanner) error
func (*PermissionRow) Table ¶
func (p *PermissionRow) Table() string
func (*PermissionRow) ToEntity ¶
func (perm *PermissionRow) ToEntity() *entity.Permission
func (*PermissionRow) ValueColumns ¶
func (p *PermissionRow) ValueColumns() []string
func (*PermissionRow) Values ¶
func (p *PermissionRow) Values() []interface{}
type PrincipalGroupMapRow ¶
type PrincipalGroupMapRow struct { PrincipalSeqID int64 `db:"principal_seq_id,primary"` GroupSeqID int64 `db:"group_seq_id,primary"` }
func (*PrincipalGroupMapRow) AutoIncrementColumn ¶
func (p *PrincipalGroupMapRow) AutoIncrementColumn() string
func (*PrincipalGroupMapRow) Columns ¶
func (p *PrincipalGroupMapRow) Columns() []string
func (*PrincipalGroupMapRow) PrimaryKeys ¶
func (p *PrincipalGroupMapRow) PrimaryKeys() []string
func (*PrincipalGroupMapRow) PrimaryValues ¶
func (p *PrincipalGroupMapRow) PrimaryValues() []interface{}
func (*PrincipalGroupMapRow) Scan ¶
func (p *PrincipalGroupMapRow) Scan(r seacle.RowScanner) error
func (*PrincipalGroupMapRow) Table ¶
func (p *PrincipalGroupMapRow) Table() string
func (*PrincipalGroupMapRow) TargetSeqID ¶
func (row *PrincipalGroupMapRow) TargetSeqID() int64
func (*PrincipalGroupMapRow) ValueColumns ¶
func (p *PrincipalGroupMapRow) ValueColumns() []string
func (*PrincipalGroupMapRow) Values ¶
func (p *PrincipalGroupMapRow) Values() []interface{}
type PrincipalRoleMapRow ¶
type PrincipalRoleMapRow struct { PrincipalSeqID int64 `db:"principal_seq_id,primary"` RoleSeqID int64 `db:"role_seq_id,primary"` }
func (*PrincipalRoleMapRow) AutoIncrementColumn ¶
func (p *PrincipalRoleMapRow) AutoIncrementColumn() string
func (*PrincipalRoleMapRow) Columns ¶
func (p *PrincipalRoleMapRow) Columns() []string
func (*PrincipalRoleMapRow) PrimaryKeys ¶
func (p *PrincipalRoleMapRow) PrimaryKeys() []string
func (*PrincipalRoleMapRow) PrimaryValues ¶
func (p *PrincipalRoleMapRow) PrimaryValues() []interface{}
func (*PrincipalRoleMapRow) Scan ¶
func (p *PrincipalRoleMapRow) Scan(r seacle.RowScanner) error
func (*PrincipalRoleMapRow) Table ¶
func (p *PrincipalRoleMapRow) Table() string
func (*PrincipalRoleMapRow) TargetSeqID ¶
func (row *PrincipalRoleMapRow) TargetSeqID() int64
func (*PrincipalRoleMapRow) ValueColumns ¶
func (p *PrincipalRoleMapRow) ValueColumns() []string
func (*PrincipalRoleMapRow) Values ¶
func (p *PrincipalRoleMapRow) Values() []interface{}
type PrincipalRow ¶
type PrincipalRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` PrincipalID string `db:"principal_id"` Name string `db:"name"` Description string `db:"description"` }
func (*PrincipalRow) AutoIncrementColumn ¶
func (p *PrincipalRow) AutoIncrementColumn() string
func (*PrincipalRow) Columns ¶
func (p *PrincipalRow) Columns() []string
func (*PrincipalRow) PrimaryKeys ¶
func (p *PrincipalRow) PrimaryKeys() []string
func (*PrincipalRow) PrimaryValues ¶
func (p *PrincipalRow) PrimaryValues() []interface{}
func (*PrincipalRow) Scan ¶
func (p *PrincipalRow) Scan(r seacle.RowScanner) error
func (*PrincipalRow) Table ¶
func (p *PrincipalRow) Table() string
func (*PrincipalRow) ToEntity ¶
func (pri *PrincipalRow) ToEntity() *entity.Principal
func (*PrincipalRow) ValueColumns ¶
func (p *PrincipalRow) ValueColumns() []string
func (*PrincipalRow) Values ¶
func (p *PrincipalRow) Values() []interface{}
type RolePermissionMapRow ¶
type RolePermissionMapRow struct { RoleSeqID int64 `db:"role_seq_id,primary"` PermissionSeqID int64 `db:"permission_seq_id,primary"` }
func (*RolePermissionMapRow) AutoIncrementColumn ¶
func (p *RolePermissionMapRow) AutoIncrementColumn() string
func (*RolePermissionMapRow) Columns ¶
func (p *RolePermissionMapRow) Columns() []string
func (*RolePermissionMapRow) PrimaryKeys ¶
func (p *RolePermissionMapRow) PrimaryKeys() []string
func (*RolePermissionMapRow) PrimaryValues ¶
func (p *RolePermissionMapRow) PrimaryValues() []interface{}
func (*RolePermissionMapRow) Scan ¶
func (p *RolePermissionMapRow) Scan(r seacle.RowScanner) error
func (*RolePermissionMapRow) Table ¶
func (p *RolePermissionMapRow) Table() string
func (*RolePermissionMapRow) TargetSeqID ¶
func (row *RolePermissionMapRow) TargetSeqID() int64
func (*RolePermissionMapRow) ValueColumns ¶
func (p *RolePermissionMapRow) ValueColumns() []string
func (*RolePermissionMapRow) Values ¶
func (p *RolePermissionMapRow) Values() []interface{}
type RoleRow ¶
type RoleRow struct { SeqID int64 `db:"seq_id,primary,auto_increment"` RoleID string `db:"role_id"` Name string `db:"name"` Description string `db:"description"` }
func (*RoleRow) AutoIncrementColumn ¶
func (*RoleRow) PrimaryKeys ¶
func (*RoleRow) PrimaryValues ¶
func (p *RoleRow) PrimaryValues() []interface{}
func (*RoleRow) ValueColumns ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) DeleteGroup ¶
func (*Service) DeleteMappingRule ¶
func (s *Service) DeleteMappingRule(ctx Context, conn seacle.Executable, rule *entity.MappingRule) error
func (*Service) DeletePermission ¶
func (s *Service) DeletePermission(ctx Context, conn seacle.Executable, perm *entity.Permission) error
func (*Service) DeletePrincipal ¶
func (*Service) DeleteRole ¶
func (*Service) EnumerateGroupIDs ¶
func (*Service) EnumerateMappingRuleIDs ¶
func (*Service) EnumeratePermissionIDs ¶
func (*Service) EnumeratePrincipalIDs ¶
func (*Service) EnumerateRoleIDs ¶
func (*Service) FindGroups ¶
func (*Service) FindMappingRules ¶
func (s *Service) FindMappingRules(ctx Context, conn seacle.Selectable, mappingRuleIDs []string) ([]*entity.MappingRule, error)
func (*Service) FindPermissions ¶
func (s *Service) FindPermissions(ctx Context, conn seacle.Selectable, permissionIDs []string) ([]*entity.Permission, error)
func (*Service) FindPrincipalByOIDC ¶
func (*Service) FindPrincipalBySeqID ¶
func (*Service) FindPrincipals ¶
func (*Service) SaveAuthAPIKey ¶
func (s *Service) SaveAuthAPIKey(ctx Context, conn seacle.Executable, a *entity.AuthAPIKey, pri *entity.Principal) error
func (*Service) SaveAuthOIDC ¶
func (s *Service) SaveAuthOIDC(ctx Context, conn seacle.Executable, a *entity.OIDCAuthorization, pri *entity.Principal) error
func (*Service) SaveMappingRule ¶
func (s *Service) SaveMappingRule(ctx Context, conn seacle.Executable, rule *entity.MappingRule) error
func (*Service) SavePermission ¶
func (s *Service) SavePermission(ctx Context, conn seacle.Executable, perm *entity.Permission) error
func (*Service) SavePrincipal ¶
Source Files ¶
- auth_apikey.go
- auth_apikey_gen.go
- auth_oidc.go
- auth_oidc_gen.go
- common.go
- group_info.go
- group_info_gen.go
- group_role_map_gen.go
- mapping_rule.go
- mapping_rule_gen.go
- permission.go
- permission_gen.go
- principal.go
- principal_gen.go
- principal_group_map_gen.go
- principal_role_map.go
- principal_role_map_gen.go
- role_info.go
- role_info_gen.go
- role_permission_map_gen.go