team

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSource

func DataSource() *schema.Resource

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 LegacyTeamsDataSource() *schema.Resource

func LegacyTeamsResource

func LegacyTeamsResource() *schema.Resource

func Resource

func Resource() *schema.Resource

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL