Versions in this module Expand all Collapse all v1 v1.7.2 Sep 2, 2021 Changes in this version + var ConfigFile string + func ActivateObject(orgID string, objectType string, objectID string) common.SyncServiceError + func AddObjectDestinations(orgID string, objectType string, objectID string, destinationsList []string) common.SyncServiceError + func AddUsersToACL(aclType string, orgID string, key string, usernames []common.ACLentry) common.SyncServiceError + func AddWaiterForStartup(channel chan int) error + func BlockUntilShutdown() + func ConfigStandaloneSyncService() + func DeleteObject(orgID string, objectType string, objectID string) common.SyncServiceError + func DeleteObjectDestinations(orgID string, objectType string, objectID string, destinationsList []string) common.SyncServiceError + func DeleteWebhook(orgID string, objectType string, url string) common.SyncServiceError + func GetAccessibleObjects(code int, orgID string, userOrgID string, userID string, ...) ([]common.MetaData, error) + func GetAccessibleObjectsDestinationPolicy(code int, orgID string, userOrgID string, userID string, ...) ([]common.ObjectDestinationPolicy, error) + func GetObject(orgID string, objectType string, objectID string) (*common.MetaData, common.SyncServiceError) + func GetObjectData(orgID string, objectType string, objectID string) (io.Reader, common.SyncServiceError) + func GetObjectDestinationsStatus(orgID string, objectType string, objectID string) ([]common.DestinationsStatus, common.SyncServiceError) + func GetObjectStatus(orgID string, objectType string, objectID string) (string, common.SyncServiceError) + func GetObjectsForDestination(orgID string, destType string, destID string) ([]common.ObjectStatus, common.SyncServiceError) + func GetRemovedDestinationPolicyServicesFromESS(orgID string, objectType string, objectID string) ([]common.ServiceID, common.SyncServiceError) + func ListAllObjects(orgID string, objectType string) ([]common.ObjectDestinationPolicy, common.SyncServiceError) + func ListDestinations(orgID string) ([]common.Destination, common.SyncServiceError) + func ListObjectsWithDestinationPolicy(orgID string, received bool) ([]common.ObjectDestinationPolicy, common.SyncServiceError) + func ListObjectsWithDestinationPolicyByService(orgID, serviceOrgID, serviceName string) ([]common.ObjectDestinationPolicy, common.SyncServiceError) + func ListObjectsWithDestinationPolicyUpdatedSince(orgID string, since int64) ([]common.ObjectDestinationPolicy, common.SyncServiceError) + func ListObjectsWithFilters(orgID string, destinationPolicy *bool, dpServiceOrgID string, ...) ([]common.MetaData, common.SyncServiceError) + func ListUpdatedObjects(orgID string, objectType string, received bool) ([]common.MetaData, common.SyncServiceError) + func ObjectConsumed(orgID string, objectType string, objectID string) common.SyncServiceError + func ObjectDeleted(userID string, orgID string, objectType string, objectID string) common.SyncServiceError + func ObjectPolicyReceived(orgID string, objectType string, objectID string) common.SyncServiceError + func ObjectReceived(orgID string, objectType string, objectID string) common.SyncServiceError + func PutObjectData(orgID string, objectType string, objectID string, dataReader io.Reader) (bool, common.SyncServiceError) + func RegisterWebhook(orgID string, objectType string, webhook string) common.SyncServiceError + func RemoveUsersFromACL(aclType string, orgID string, key string, users []common.ACLentry) common.SyncServiceError + func ResendObjects() common.SyncServiceError + func RetrieveACL(aclType string, orgID string, key string, aclUserType string) ([]common.ACLentry, common.SyncServiceError) + func RetrieveACLsInOrg(aclType string, orgID string) ([]string, common.SyncServiceError) + func StandaloneSyncService(auth security.Authentication) + func Start(swaggerFile string, registerHandlers bool) common.SyncServiceError + func Stop(quiesceTime int, unregisterSelf bool) + func UpdateObject(orgID string, objectType string, objectID string, metaData common.MetaData, ...) common.SyncServiceError + func UpdateObjectDestinations(orgID string, objectType string, objectID string, destinationsList []string) common.SyncServiceError