team_users

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateStateAfterRead

func UpdateStateAfterRead(res []*sdkTeam.TeamUser, state *ResourceModel)

Types

type MergedEntities

type MergedEntities struct {
	EntitiesToCreate []*team.TeamUser
	EntitiesToUpdate []*team.TeamUser
	EntitiesToDelete []*team.TeamUser
}

func Merge

func Merge(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) *MergedEntities

type ResourceModel

type ResourceModel struct {
	ID     types.String `tfsdk:"id"`
	TeamId types.String `tfsdk:"team_id"`
	Users  []*UserModel `tfsdk:"users"`
}

type UserModel

type UserModel struct {
	Email types.String `tfsdk:"email"`
}

func (*UserModel) GetBlockIdentifier

func (e *UserModel) GetBlockIdentifier() string

func (*UserModel) Hash

func (e *UserModel) Hash() string

Jump to

Keyboard shortcuts

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