Documentation ¶
Index ¶
- func DataSource() *schema.Resource
- func GetChangesForTeamUsers(currentUsers, newUsers []admin.CloudAppUser) (toAdd, toDelete []string, err error)
- func InitUserSet(users []admin.CloudAppUser) map[string]bool
- func LegacyTeamsDataSource() *schema.Resource
- func LegacyTeamsResource() *schema.Resource
- func Resource() *schema.Resource
- func UpdateTeamUsers(teamsAPI admin.TeamsApi, usersAPI admin.MongoDBCloudUsersApi, ...) error
- func ValidateUsernames(c admin.MongoDBCloudUsersApi, usernames []string) ([]admin.CloudAppUser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶
func GetChangesForTeamUsers ¶ added in v1.21.1
func GetChangesForTeamUsers(currentUsers, newUsers []admin.CloudAppUser) (toAdd, toDelete []string, err error)
func InitUserSet ¶ added in v1.21.1
func InitUserSet(users []admin.CloudAppUser) map[string]bool
func LegacyTeamsDataSource ¶
func LegacyTeamsResource ¶
func UpdateTeamUsers ¶ added in v1.21.1
func UpdateTeamUsers(teamsAPI admin.TeamsApi, usersAPI admin.MongoDBCloudUsersApi, existingTeamUsers *admin.PaginatedAppUser, newUsernames []string, orgID, teamID string) error
func ValidateUsernames ¶ added in v1.21.1
func ValidateUsernames(c admin.MongoDBCloudUsersApi, usernames []string) ([]admin.CloudAppUser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.