Documentation ¶
Index ¶
- Variables
- func AssignmentSchema() schema.ListNestedBlock
- func RemoveAssignment(ctx context.Context, assignedRoles *jira.ObjectRoles, ...) diag.Diagnostics
- type Assignment
- type AssignmentOrder
- type AssignmentResult
- func ApplyNewAssignmentSet(ctx context.Context, actorLookupService *cloud.ActorLookupService, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputeJiraAssignment(ctx context.Context, assignedRoles *jira.ObjectRoles, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateAssignment(ctx context.Context, actorLookupService *cloud.ActorLookupService, ...) (*AssignmentResult, diag.Diagnostics)
- type Assignments
- type ComputedAssignment
- type UpdateGroupRolesFunc
- type UpdateUserRolesFunc
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, }, "roles": schema.ListAttribute{ Computed: true, ElementType: types.StringType, }, }, }, }
Functions ¶
func AssignmentSchema ¶
func AssignmentSchema() schema.ListNestedBlock
func RemoveAssignment ¶
func RemoveAssignment(ctx context.Context, assignedRoles *jira.ObjectRoles, assignmentOrder *AssignmentOrder, updateUserRoles UpdateUserRolesFunc, updateGroupRoles UpdateGroupRolesFunc) diag.Diagnostics
Types ¶
type Assignment ¶
type AssignmentOrder ¶
type AssignmentResult ¶
func ApplyNewAssignmentSet ¶
func ApplyNewAssignmentSet(ctx context.Context, actorLookupService *cloud.ActorLookupService, assignmentOrder AssignmentOrder, updateUserRoles UpdateUserRolesFunc, updateGroupRoles UpdateGroupRolesFunc) (*AssignmentResult, diag.Diagnostics)
func ComputeJiraAssignment ¶
func ComputeJiraAssignment(ctx context.Context, assignedRoles *jira.ObjectRoles, assignmentOrder AssignmentOrder) (*AssignmentResult, diag.Diagnostics)
func UpdateAssignment ¶
func UpdateAssignment(ctx context.Context, actorLookupService *cloud.ActorLookupService, inStateAssignmentOrder AssignmentOrder, plannedAssignmentOrder AssignmentOrder, forceUpdate bool, updateUserRole UpdateUserRolesFunc, updateGroupRole UpdateGroupRolesFunc) (*AssignmentResult, diag.Diagnostics)
type Assignments ¶
type Assignments []Assignment
func (Assignments) CreateAssignmentOrder ¶
func (assignments Assignments) CreateAssignmentOrder(ctx context.Context) (*AssignmentOrder, diag.Diagnostics)
type ComputedAssignment ¶
type UpdateGroupRolesFunc ¶
type UpdateUserRolesFunc ¶
Click to show internal directories.
Click to hide internal directories.