Documentation
¶
Index ¶
- Variables
- func AssignmentSchema() schema.ListNestedBlock
- func RemoveAssignment(ctx context.Context, assignedPermissions *confluence.ObjectPermissions, ...) diag.Diagnostics
- type Assignment
- type AssignmentOrder
- type AssignmentResult
- func ApplyNewAssignmentSet(ctx context.Context, actorLookupService *cloud.ActorLookupService, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputePermissionAssignments(ctx context.Context, assignedPermissions *confluence.ObjectPermissions, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateAssignment(ctx context.Context, actorLookupService *cloud.ActorLookupService, ...) (*AssignmentResult, diag.Diagnostics)
- type Assignments
- type ComputedAssignment
- type UpdateGroupPermissionsFunc
- type UpdateUserPermissionsFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ComputedAssignmentSchema = schema.ListNestedAttribute{ Computed: true, NestedObject: schema.NestedAttributeObject{ Attributes: map[string]schema.Attribute{ "name": schema.StringAttribute{ Computed: true, }, "permissions": schema.ListAttribute{ Computed: true, ElementType: types.StringType, }, }, }, }
Functions ¶
func AssignmentSchema ¶
func AssignmentSchema() schema.ListNestedBlock
func RemoveAssignment ¶
func RemoveAssignment(ctx context.Context, assignedPermissions *confluence.ObjectPermissions, assignmentOrder *AssignmentOrder, updateUserPermissions UpdateUserPermissionsFunc, updateGroupPermissions UpdateGroupPermissionsFunc) diag.Diagnostics
Types ¶
type Assignment ¶
type AssignmentOrder ¶
type AssignmentResult ¶
func ApplyNewAssignmentSet ¶
func ApplyNewAssignmentSet(ctx context.Context, actorLookupService *cloud.ActorLookupService, assignmentOrder AssignmentOrder, updateUserPermissions UpdateUserPermissionsFunc, updateGroupPermissions UpdateGroupPermissionsFunc) (*AssignmentResult, diag.Diagnostics)
func ComputePermissionAssignments ¶
func ComputePermissionAssignments(ctx context.Context, assignedPermissions *confluence.ObjectPermissions, assignmentOrder AssignmentOrder) (*AssignmentResult, diag.Diagnostics)
func UpdateAssignment ¶
func UpdateAssignment(ctx context.Context, actorLookupService *cloud.ActorLookupService, inStateAssignmentOrder AssignmentOrder, plannedAssignmentOrder AssignmentOrder, forceUpdate bool, updateUserPermission UpdateUserPermissionsFunc, updateGroupPermission UpdateGroupPermissionsFunc) (*AssignmentResult, diag.Diagnostics)
type Assignments ¶
type Assignments []Assignment
func (Assignments) CreateAssignmentOrder ¶
func (assignments Assignments) CreateAssignmentOrder(ctx context.Context) (*AssignmentOrder, diag.Diagnostics)
type ComputedAssignment ¶
Click to show internal directories.
Click to hide internal directories.