Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupSyncs = []GroupSyncType{
{AdGroup: "AD Group 1", LocalGroup: "Local 1"},
{AdGroup: "AD Group 2", LocalGroup: "Local 2"},
}
Functions ¶
func ConfluenceSyncAdGroup ¶
func ConfluenceSyncAdGroup(propPtr string)
func SyncGroupInTool ¶
func SyncGroupInTool(cfg Config, client *client.ConfluenceClient) (adcount int, localcount int)
func TryDeactivateUserConfluence ¶
func TryDeactivateUserConfluence(client *client.ConfluenceClient, deactuser string)
Types ¶
type Config ¶
type Config struct { ConfHost string `properties:"confhost"` ConfUser string `properties:"confuser"` ConfPass string `properties:"confpass"` ConfToken string `properties:"conftoken"` UseToken bool `properties:"usetoken"` Simple bool `properties:"simple"` AddOperation bool `properties:"add"` RemoveOperation bool `properties:"remove"` Report bool `properties:"report"` Limited bool `properties:"limited"` AutoDisable bool `properties:"autodisable"` AdGroup string `properties:"adgroup"` Localgroup string `properties:"localgroup"` File string `properties:"file"` ConfUpload bool `properties:"confupload"` ConfPage string `properties:"confluencepage"` ConfSpace string `properties:"confluencespace"` ConfAttName string `properties:"conlfuenceattachment"` Reset bool `properties:"reset"` Bindusername string `properties:"bindusername"` Bindpassword string `properties:"bindpassword"` BaseDN string `properties:"basedn"` }
Click to show internal directories.
Click to hide internal directories.