Documentation
¶
Index ¶
- Constants
- type SyncLogicResult
- type SyncLogicResultItem
- func NewReadResourceFailItem(msg string) *SyncLogicResultItem
- func NewReadResourceSuccessItem() *SyncLogicResultItem
- func NewSyncGroupFailItem(msg string) *SyncLogicResultItem
- func NewSyncGroupMemberFailItem(msg string) *SyncLogicResultItem
- func NewSyncGroupMemberSuccessItem() *SyncLogicResultItem
- func NewSyncGroupSuccessItem() *SyncLogicResultItem
- func NewSyncProjectFailItem(msg string) *SyncLogicResultItem
- func NewSyncProjectSuccessItem() *SyncLogicResultItem
- func NewSyncUserFailItem(msg string) *SyncLogicResultItem
- func NewSyncUserSuccessItem() *SyncLogicResultItem
- type SyncLogicService
- func (s *SyncLogicService) ClearTargetAppData() error
- func (s *SyncLogicService) GetResult() *SyncLogicResult
- func (s *SyncLogicService) InjectIdp(idp idp.Idp) *SyncLogicService
- func (s *SyncLogicService) InjectTargetApps(targetApps ...target.TargetApp) *SyncLogicService
- func (s *SyncLogicService) Run() error
Constants ¶
View Source
const ( SyncStatusSuccess = "True" SyncStatusFail = "False" )
View Source
const ( ReadResourceKind = "ReadResource" SyncUserKind = "SyncUser" SyncGroupKind = "SyncGroup" SyncProjectKind = "SyncProject" SyncGroupMemberKind = "SyncGroupMember" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncLogicResult ¶
type SyncLogicResult struct { Brief []*SyncLogicResultItem Detail map[target.TargetAppKindName][]*SyncLogicResultItem }
type SyncLogicResultItem ¶
func NewReadResourceFailItem ¶
func NewReadResourceFailItem(msg string) *SyncLogicResultItem
func NewReadResourceSuccessItem ¶
func NewReadResourceSuccessItem() *SyncLogicResultItem
func NewSyncGroupFailItem ¶
func NewSyncGroupFailItem(msg string) *SyncLogicResultItem
func NewSyncGroupMemberFailItem ¶
func NewSyncGroupMemberFailItem(msg string) *SyncLogicResultItem
func NewSyncGroupMemberSuccessItem ¶
func NewSyncGroupMemberSuccessItem() *SyncLogicResultItem
func NewSyncGroupSuccessItem ¶
func NewSyncGroupSuccessItem() *SyncLogicResultItem
func NewSyncProjectFailItem ¶
func NewSyncProjectFailItem(msg string) *SyncLogicResultItem
func NewSyncProjectSuccessItem ¶
func NewSyncProjectSuccessItem() *SyncLogicResultItem
func NewSyncUserFailItem ¶
func NewSyncUserFailItem(msg string) *SyncLogicResultItem
func NewSyncUserSuccessItem ¶
func NewSyncUserSuccessItem() *SyncLogicResultItem
type SyncLogicService ¶
type SyncLogicService struct {
// contains filtered or unexported fields
}
func NewSyncLogicService ¶
func NewSyncLogicService(ctx context.Context) *SyncLogicService
new service instance
func (*SyncLogicService) ClearTargetAppData ¶
func (s *SyncLogicService) ClearTargetAppData() error
func (*SyncLogicService) GetResult ¶
func (s *SyncLogicService) GetResult() *SyncLogicResult
Get Sync Result
func (*SyncLogicService) InjectIdp ¶
func (s *SyncLogicService) InjectIdp(idp idp.Idp) *SyncLogicService
inject idp
func (*SyncLogicService) InjectTargetApps ¶
func (s *SyncLogicService) InjectTargetApps(targetApps ...target.TargetApp) *SyncLogicService
inject target App
Click to show internal directories.
Click to hide internal directories.