Documentation ¶
Index ¶
- Variables
- func AssignmentSchema(permissions ...string) schema.ListNestedBlock
- func ConfigureDataSource(receiver ConfigurableReceiver, ctx context.Context, ...)
- func ConfigureResource(receiver ConfigurableReceiver, ctx context.Context, ...)
- func CreateAttestation(ctx context.Context, permissions *bamboo.ObjectPermission, ...) (basetypes.MapValue, basetypes.MapValue, diag.Diagnostics)
- func DeleteDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, ...) diag.Diagnostics
- func DeleteLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, ...) diag.Diagnostics
- func DeleteProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, ...) diag.Diagnostics
- func DeleteProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, ...) diag.Diagnostics
- func New(Version string) func() provider.Provider
- func NewAgentAssignmentResource() resource.Resource
- func NewDeploymentDataSource() datasource.DataSource
- func NewDeploymentRepositoryResource() resource.Resource
- func NewDeploymentResource() resource.Resource
- func NewLinkedRepositoryAccessorResource() resource.Resource
- func NewLinkedRepositoryDataSource() datasource.DataSource
- func NewLinkedRepositoryDependencyResource() resource.Resource
- func NewLinkedRepositoryResource() resource.Resource
- func NewPlanResource() resource.Resource
- func NewProjectDataSource() datasource.DataSource
- func NewProjectLinkedRepositoryResource() resource.Resource
- func NewProjectPermissionsDataSource() datasource.DataSource
- func NewProjectPermissionsResource() resource.Resource
- func NewProjectRepositoriesResource() resource.Resource
- func NewProjectResource() resource.Resource
- func NewProjectVariableResource() resource.Resource
- func RemoveAssignment(ctx context.Context, assignedPermissions *bamboo.ObjectPermission, ...) diag.Diagnostics
- type AgentAssignmentModel
- type AgentAssignmentResource
- func (receiver *AgentAssignmentResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *AgentAssignmentResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *AgentAssignmentResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *AgentAssignmentResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *AgentAssignmentResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *AgentAssignmentResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *AgentAssignmentResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type Assignment
- type AssignmentOrder
- type AssignmentResult
- func ApplyNewAssignmentSet(ctx context.Context, userService *bamboo.UserService, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputeAssignment(ctx context.Context, assignedPermissions *bamboo.ObjectPermission, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputeDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputeLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputeProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func ComputeProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func CreateDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func CreateLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func CreateProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func CreateProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateAssignment(ctx context.Context, userService *bamboo.UserService, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- func UpdateProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, ...) (*AssignmentResult, diag.Diagnostics)
- type Assignments
- type BambooProvider
- func (p *BambooProvider) Configure(ctx context.Context, request provider.ConfigureRequest, ...)
- func (p *BambooProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *BambooProvider) Metadata(ctx context.Context, request provider.MetadataRequest, ...)
- func (p *BambooProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *BambooProvider) Schema(ctx context.Context, request provider.SchemaRequest, ...)
- type BambooProviderConfig
- type BambooProviderData
- type BambooRss
- type ComputedAssignment
- type ConfigurableReceiver
- type DeploymentData
- type DeploymentDataSource
- func (receiver *DeploymentDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, ...)
- func (receiver *DeploymentDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, ...)
- func (receiver *DeploymentDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (receiver *DeploymentDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, ...)
- type DeploymentModel
- type DeploymentPermissionInterface
- type DeploymentPermissionsReceiver
- type DeploymentRepositoriesModel
- type DeploymentRepositoriesResource
- func (receiver *DeploymentRepositoriesResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *DeploymentRepositoriesResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *DeploymentRepositoriesResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *DeploymentRepositoriesResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *DeploymentRepositoriesResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *DeploymentRepositoriesResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *DeploymentRepositoriesResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *DeploymentRepositoriesResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type DeploymentResource
- func (receiver *DeploymentResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *DeploymentResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *DeploymentResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *DeploymentResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *DeploymentResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *DeploymentResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *DeploymentResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *DeploymentResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- func (receiver *DeploymentResource) UpdateLinkedRepositories(ctx context.Context, deploymentId int, plan DeploymentModel, ...) diag.Diagnostics
- type EndPoint
- type FindGroupPermissionsFunc
- type FindUserPermissionsFunc
- type LinkedRepositoryAccessorModel
- type LinkedRepositoryAccessorResource
- func (receiver *LinkedRepositoryAccessorResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *LinkedRepositoryAccessorResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type LinkedRepositoryData
- type LinkedRepositoryDataSource
- func (receiver *LinkedRepositoryDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, ...)
- func (receiver *LinkedRepositoryDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, ...)
- func (receiver *LinkedRepositoryDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (receiver *LinkedRepositoryDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, ...)
- type LinkedRepositoryDependencyModel
- type LinkedRepositoryDependencyResource
- func (receiver *LinkedRepositoryDependencyResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *LinkedRepositoryDependencyResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *LinkedRepositoryDependencyResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *LinkedRepositoryDependencyResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *LinkedRepositoryDependencyResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *LinkedRepositoryDependencyResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *LinkedRepositoryDependencyResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type LinkedRepositoryModel
- type LinkedRepositoryPermissionInterface
- type LinkedRepositoryPermissionsReceiver
- type LinkedRepositoryResource
- func (receiver *LinkedRepositoryResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *LinkedRepositoryResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *LinkedRepositoryResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *LinkedRepositoryResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *LinkedRepositoryResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *LinkedRepositoryResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *LinkedRepositoryResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *LinkedRepositoryResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type PlanModel
- type PlanResource
- func (receiver *PlanResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *PlanResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *PlanResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *PlanResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *PlanResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *PlanResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *PlanResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *PlanResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type ProjectData
- type ProjectDataSource
- func (receiver *ProjectDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, ...)
- func (receiver *ProjectDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, ...)
- func (receiver *ProjectDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (receiver *ProjectDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, ...)
- type ProjectLinkedRepositoryModel
- type ProjectLinkedRepositoryPermissionInterface
- type ProjectLinkedRepositoryPermissionReceiver
- type ProjectLinkedRepositoryResource
- func (receiver *ProjectLinkedRepositoryResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *ProjectLinkedRepositoryResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type ProjectModel
- type ProjectPermissionInterface
- type ProjectPermissionsData
- type ProjectPermissionsDataSource
- func (receiver *ProjectPermissionsDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, ...)
- func (receiver *ProjectPermissionsDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, ...)
- func (receiver *ProjectPermissionsDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (receiver *ProjectPermissionsDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, ...)
- type ProjectPermissionsModel
- type ProjectPermissionsReceiver
- type ProjectPermissionsResource
- func (receiver *ProjectPermissionsResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *ProjectPermissionsResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *ProjectPermissionsResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *ProjectPermissionsResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *ProjectPermissionsResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *ProjectPermissionsResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *ProjectPermissionsResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *ProjectPermissionsResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type ProjectRepositoriesModel
- type ProjectRepositoriesResource
- func (receiver *ProjectRepositoriesResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *ProjectRepositoriesResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *ProjectRepositoriesResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *ProjectRepositoriesResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *ProjectRepositoriesResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *ProjectRepositoriesResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *ProjectRepositoriesResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *ProjectRepositoriesResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type ProjectResource
- func (receiver *ProjectResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *ProjectResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *ProjectResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *ProjectResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *ProjectResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *ProjectResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *ProjectResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *ProjectResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type ProjectVariableModel
- type ProjectVariableResource
- func (receiver *ProjectVariableResource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (receiver *ProjectVariableResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (receiver *ProjectVariableResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (receiver *ProjectVariableResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (receiver *ProjectVariableResource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (receiver *ProjectVariableResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (receiver *ProjectVariableResource) Schema(ctx context.Context, request resource.SchemaRequest, ...)
- func (receiver *ProjectVariableResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type UpdateGroupPermissionsFunc
- type UpdateUserPermissionsFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ComputedAssignmentSchema = schema.ListNestedAttribute{ Computed: true, MarkdownDescription: "Computed assignment.", NestedObject: schema.NestedAttributeObject{ Attributes: map[string]schema.Attribute{ "name": schema.StringAttribute{ Computed: true, MarkdownDescription: "Name of the entity in the assignment.", }, "permissions": schema.ListAttribute{ Computed: true, ElementType: types.StringType, MarkdownDescription: "List of permission owned by the entity in the assignment.", }, }, }, }
Functions ¶
func AssignmentSchema ¶
func AssignmentSchema(permissions ...string) schema.ListNestedBlock
func ConfigureDataSource ¶
func ConfigureDataSource(receiver ConfigurableReceiver, ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func ConfigureResource ¶
func ConfigureResource(receiver ConfigurableReceiver, ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func CreateAttestation ¶
func CreateAttestation(ctx context.Context, permissions *bamboo.ObjectPermission, diagnostics *diag.Diagnostics) (basetypes.MapValue, basetypes.MapValue, diag.Diagnostics)
func DeleteDeploymentAssignments ¶
func DeleteDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, state DeploymentPermissionInterface) diag.Diagnostics
func DeleteLinkedRepositoryAssignments ¶
func DeleteLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, state LinkedRepositoryPermissionInterface) diag.Diagnostics
func DeleteProjectAssignments ¶
func DeleteProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, state ProjectPermissionInterface) diag.Diagnostics
func DeleteProjectLinkedRepositoryAssignments ¶
func DeleteProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, state ProjectLinkedRepositoryPermissionInterface) diag.Diagnostics
func NewDeploymentDataSource ¶
func NewDeploymentDataSource() datasource.DataSource
func NewDeploymentResource ¶
func NewLinkedRepositoryDataSource ¶
func NewLinkedRepositoryDataSource() datasource.DataSource
func NewPlanResource ¶
func NewProjectDataSource ¶
func NewProjectDataSource() datasource.DataSource
func NewProjectPermissionsDataSource ¶
func NewProjectPermissionsDataSource() datasource.DataSource
func NewProjectResource ¶
func RemoveAssignment ¶
func RemoveAssignment(ctx context.Context, assignedPermissions *bamboo.ObjectPermission, assignmentOrder *AssignmentOrder, findUserPermission FindUserPermissionsFunc, findGroupPermission FindGroupPermissionsFunc, updateUserPermissions UpdateUserPermissionsFunc, updateGroupPermissions UpdateGroupPermissionsFunc) diag.Diagnostics
Types ¶
type AgentAssignmentModel ¶
type AgentAssignmentResource ¶
type AgentAssignmentResource struct {
// contains filtered or unexported fields
}
func (*AgentAssignmentResource) Configure ¶
func (receiver *AgentAssignmentResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*AgentAssignmentResource) Create ¶
func (receiver *AgentAssignmentResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*AgentAssignmentResource) Delete ¶
func (receiver *AgentAssignmentResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*AgentAssignmentResource) Metadata ¶
func (receiver *AgentAssignmentResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*AgentAssignmentResource) Read ¶
func (receiver *AgentAssignmentResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*AgentAssignmentResource) Schema ¶
func (receiver *AgentAssignmentResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*AgentAssignmentResource) Update ¶
func (receiver *AgentAssignmentResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type Assignment ¶
type AssignmentOrder ¶
type AssignmentResult ¶
func ApplyNewAssignmentSet ¶
func ApplyNewAssignmentSet(ctx context.Context, userService *bamboo.UserService, assignmentOrder AssignmentOrder, findUserPermission FindUserPermissionsFunc, findGroupPermission FindGroupPermissionsFunc, updateUserPermissions UpdateUserPermissionsFunc, updateGroupPermissions UpdateGroupPermissionsFunc) (*AssignmentResult, diag.Diagnostics)
func ComputeAssignment ¶
func ComputeAssignment(ctx context.Context, assignedPermissions *bamboo.ObjectPermission, assignmentOrder AssignmentOrder) (*AssignmentResult, diag.Diagnostics)
func ComputeDeploymentAssignments ¶
func ComputeDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, state DeploymentPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func ComputeLinkedRepositoryAssignments ¶
func ComputeLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, state LinkedRepositoryPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func ComputeProjectAssignments ¶
func ComputeProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, state ProjectPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func ComputeProjectLinkedRepositoryAssignments ¶
func ComputeProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, state ProjectLinkedRepositoryPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func CreateDeploymentAssignments ¶
func CreateDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, plan DeploymentPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func CreateLinkedRepositoryAssignments ¶
func CreateLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, plan LinkedRepositoryPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func CreateProjectAssignments ¶
func CreateProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, plan ProjectPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func CreateProjectLinkedRepositoryAssignments ¶
func CreateProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, plan ProjectLinkedRepositoryPermissionInterface) (*AssignmentResult, diag.Diagnostics)
func UpdateAssignment ¶
func UpdateAssignment(ctx context.Context, userService *bamboo.UserService, inStateAssignmentOrder AssignmentOrder, plannedAssignmentOrder AssignmentOrder, forceUpdate bool, findUserPermission FindUserPermissionsFunc, findGroupPermission FindGroupPermissionsFunc, updateUserPermission UpdateUserPermissionsFunc, updateGroupPermission UpdateGroupPermissionsFunc) (*AssignmentResult, diag.Diagnostics)
func UpdateDeploymentAssignments ¶
func UpdateDeploymentAssignments(ctx context.Context, receiver DeploymentPermissionsReceiver, plan DeploymentPermissionInterface, state DeploymentPermissionInterface, forceUpdate bool) (*AssignmentResult, diag.Diagnostics)
func UpdateLinkedRepositoryAssignments ¶
func UpdateLinkedRepositoryAssignments(ctx context.Context, receiver LinkedRepositoryPermissionsReceiver, plan LinkedRepositoryPermissionInterface, state LinkedRepositoryPermissionInterface, forceUpdate bool) (*AssignmentResult, diag.Diagnostics)
func UpdateProjectAssignments ¶
func UpdateProjectAssignments(ctx context.Context, receiver ProjectPermissionsReceiver, plan ProjectPermissionInterface, state ProjectPermissionInterface, forceUpdate bool) (*AssignmentResult, diag.Diagnostics)
func UpdateProjectLinkedRepositoryAssignments ¶
func UpdateProjectLinkedRepositoryAssignments(ctx context.Context, receiver ProjectLinkedRepositoryPermissionReceiver, plan ProjectLinkedRepositoryPermissionInterface, state ProjectLinkedRepositoryPermissionInterface, forceUpdate bool) (*AssignmentResult, diag.Diagnostics)
type Assignments ¶
type Assignments []Assignment
func (Assignments) CreateAssignmentOrder ¶
func (assignments Assignments) CreateAssignmentOrder(ctx context.Context) (*AssignmentOrder, diag.Diagnostics)
type BambooProvider ¶
type BambooProvider struct {
Version string
}
func (*BambooProvider) Configure ¶
func (p *BambooProvider) Configure(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse)
func (*BambooProvider) DataSources ¶
func (p *BambooProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*BambooProvider) Metadata ¶
func (p *BambooProvider) Metadata(ctx context.Context, request provider.MetadataRequest, response *provider.MetadataResponse)
func (*BambooProvider) Resources ¶
func (p *BambooProvider) Resources(ctx context.Context) []func() resource.Resource
func (*BambooProvider) Schema ¶
func (p *BambooProvider) Schema(ctx context.Context, request provider.SchemaRequest, response *provider.SchemaResponse)
type BambooProviderConfig ¶
type BambooProviderData ¶
type BambooProviderData struct {
// contains filtered or unexported fields
}
type ComputedAssignment ¶
type ConfigurableReceiver ¶
type ConfigurableReceiver interface {
// contains filtered or unexported methods
}
type DeploymentData ¶
type DeploymentDataSource ¶
type DeploymentDataSource struct {
// contains filtered or unexported fields
}
func (*DeploymentDataSource) Configure ¶
func (receiver *DeploymentDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*DeploymentDataSource) Metadata ¶
func (receiver *DeploymentDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*DeploymentDataSource) Read ¶
func (receiver *DeploymentDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*DeploymentDataSource) Schema ¶
func (receiver *DeploymentDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, response *datasource.SchemaResponse)
type DeploymentModel ¶
type DeploymentModel struct { RetainOnDelete types.Bool `tfsdk:"retain_on_delete"` ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` PlanKey types.String `tfsdk:"plan_key"` Description types.String `tfsdk:"description"` RepositorySpecsManaged types.Bool `tfsdk:"repository_specs_managed"` Repositories types.List `tfsdk:"repositories"` AssignmentVersion types.String `tfsdk:"assignment_version"` Assignments types.List `tfsdk:"assignments"` ComputedUsers types.List `tfsdk:"computed_users"` ComputedGroups types.List `tfsdk:"computed_groups"` }
func NewDeploymentModel ¶
func NewDeploymentModel(plan DeploymentModel, deployment *bamboo.Deployment, assignmentResult *AssignmentResult) *DeploymentModel
type DeploymentPermissionInterface ¶
type DeploymentPermissionInterface interface {
// contains filtered or unexported methods
}
type DeploymentPermissionsReceiver ¶
type DeploymentPermissionsReceiver interface {
// contains filtered or unexported methods
}
type DeploymentRepositoriesResource ¶
type DeploymentRepositoriesResource struct {
// contains filtered or unexported fields
}
func (*DeploymentRepositoriesResource) Configure ¶
func (receiver *DeploymentRepositoriesResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*DeploymentRepositoriesResource) Create ¶
func (receiver *DeploymentRepositoriesResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*DeploymentRepositoriesResource) Delete ¶
func (receiver *DeploymentRepositoriesResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*DeploymentRepositoriesResource) ImportState ¶
func (receiver *DeploymentRepositoriesResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*DeploymentRepositoriesResource) Metadata ¶
func (receiver *DeploymentRepositoriesResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*DeploymentRepositoriesResource) Read ¶
func (receiver *DeploymentRepositoriesResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*DeploymentRepositoriesResource) Schema ¶
func (receiver *DeploymentRepositoriesResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*DeploymentRepositoriesResource) Update ¶
func (receiver *DeploymentRepositoriesResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type DeploymentResource ¶
type DeploymentResource struct {
// contains filtered or unexported fields
}
func (*DeploymentResource) Configure ¶
func (receiver *DeploymentResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*DeploymentResource) Create ¶
func (receiver *DeploymentResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*DeploymentResource) Delete ¶
func (receiver *DeploymentResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*DeploymentResource) ImportState ¶
func (receiver *DeploymentResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*DeploymentResource) Metadata ¶
func (receiver *DeploymentResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*DeploymentResource) Read ¶
func (receiver *DeploymentResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*DeploymentResource) Schema ¶
func (receiver *DeploymentResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*DeploymentResource) Update ¶
func (receiver *DeploymentResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
func (*DeploymentResource) UpdateLinkedRepositories ¶
func (receiver *DeploymentResource) UpdateLinkedRepositories(ctx context.Context, deploymentId int, plan DeploymentModel, state DeploymentModel) diag.Diagnostics
type FindGroupPermissionsFunc ¶ added in v1.5.12
type FindGroupPermissionsFunc func(group string) (*bamboo.GroupPermission, error)
type FindUserPermissionsFunc ¶ added in v1.5.12
type FindUserPermissionsFunc func(user string) (*bamboo.UserPermission, error)
type LinkedRepositoryAccessorResource ¶
type LinkedRepositoryAccessorResource struct {
// contains filtered or unexported fields
}
func (*LinkedRepositoryAccessorResource) Configure ¶
func (receiver *LinkedRepositoryAccessorResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*LinkedRepositoryAccessorResource) Create ¶
func (receiver *LinkedRepositoryAccessorResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*LinkedRepositoryAccessorResource) Delete ¶
func (receiver *LinkedRepositoryAccessorResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*LinkedRepositoryAccessorResource) ImportState ¶
func (receiver *LinkedRepositoryAccessorResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*LinkedRepositoryAccessorResource) Metadata ¶
func (receiver *LinkedRepositoryAccessorResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*LinkedRepositoryAccessorResource) Read ¶
func (receiver *LinkedRepositoryAccessorResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*LinkedRepositoryAccessorResource) Schema ¶
func (receiver *LinkedRepositoryAccessorResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*LinkedRepositoryAccessorResource) Update ¶
func (receiver *LinkedRepositoryAccessorResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type LinkedRepositoryData ¶
type LinkedRepositoryDataSource ¶
type LinkedRepositoryDataSource struct {
// contains filtered or unexported fields
}
func (*LinkedRepositoryDataSource) Configure ¶
func (receiver *LinkedRepositoryDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*LinkedRepositoryDataSource) Metadata ¶
func (receiver *LinkedRepositoryDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LinkedRepositoryDataSource) Read ¶
func (receiver *LinkedRepositoryDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LinkedRepositoryDataSource) Schema ¶
func (receiver *LinkedRepositoryDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, response *datasource.SchemaResponse)
type LinkedRepositoryDependencyResource ¶
type LinkedRepositoryDependencyResource struct {
// contains filtered or unexported fields
}
func (*LinkedRepositoryDependencyResource) Configure ¶
func (receiver *LinkedRepositoryDependencyResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*LinkedRepositoryDependencyResource) Create ¶
func (receiver *LinkedRepositoryDependencyResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*LinkedRepositoryDependencyResource) Delete ¶
func (receiver *LinkedRepositoryDependencyResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*LinkedRepositoryDependencyResource) Metadata ¶
func (receiver *LinkedRepositoryDependencyResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*LinkedRepositoryDependencyResource) Read ¶
func (receiver *LinkedRepositoryDependencyResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*LinkedRepositoryDependencyResource) Schema ¶
func (receiver *LinkedRepositoryDependencyResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*LinkedRepositoryDependencyResource) Update ¶
func (receiver *LinkedRepositoryDependencyResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type LinkedRepositoryModel ¶
type LinkedRepositoryModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` RssEnabled types.Bool `tfsdk:"rss_enabled"` Project types.String `tfsdk:"project"` Slug types.String `tfsdk:"slug"` Branch types.String `tfsdk:"branch"` AssignmentVersion types.String `tfsdk:"assignment_version"` Assignments types.List `tfsdk:"assignments"` ComputedUsers types.List `tfsdk:"computed_users"` ComputedGroups types.List `tfsdk:"computed_groups"` }
func NewLinkedRepositoryModel ¶
func NewLinkedRepositoryModel(plan LinkedRepositoryModel, repositoryId int, assignmentResult *AssignmentResult) *LinkedRepositoryModel
type LinkedRepositoryPermissionInterface ¶
type LinkedRepositoryPermissionInterface interface {
// contains filtered or unexported methods
}
type LinkedRepositoryPermissionsReceiver ¶
type LinkedRepositoryPermissionsReceiver interface {
// contains filtered or unexported methods
}
type LinkedRepositoryResource ¶
type LinkedRepositoryResource struct {
// contains filtered or unexported fields
}
func (*LinkedRepositoryResource) Configure ¶
func (receiver *LinkedRepositoryResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*LinkedRepositoryResource) Create ¶
func (receiver *LinkedRepositoryResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*LinkedRepositoryResource) Delete ¶
func (receiver *LinkedRepositoryResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*LinkedRepositoryResource) ImportState ¶
func (receiver *LinkedRepositoryResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*LinkedRepositoryResource) Metadata ¶
func (receiver *LinkedRepositoryResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*LinkedRepositoryResource) Read ¶
func (receiver *LinkedRepositoryResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*LinkedRepositoryResource) Schema ¶
func (receiver *LinkedRepositoryResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*LinkedRepositoryResource) Update ¶
func (receiver *LinkedRepositoryResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type PlanModel ¶
type PlanResource ¶
type PlanResource struct {
// contains filtered or unexported fields
}
func (*PlanResource) Configure ¶
func (receiver *PlanResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*PlanResource) Create ¶
func (receiver *PlanResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*PlanResource) Delete ¶
func (receiver *PlanResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*PlanResource) ImportState ¶
func (receiver *PlanResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*PlanResource) Metadata ¶
func (receiver *PlanResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*PlanResource) Read ¶
func (receiver *PlanResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*PlanResource) Schema ¶
func (receiver *PlanResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*PlanResource) Update ¶
func (receiver *PlanResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type ProjectData ¶
type ProjectDataSource ¶
type ProjectDataSource struct {
// contains filtered or unexported fields
}
func (*ProjectDataSource) Configure ¶
func (receiver *ProjectDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*ProjectDataSource) Metadata ¶
func (receiver *ProjectDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*ProjectDataSource) Read ¶
func (receiver *ProjectDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*ProjectDataSource) Schema ¶
func (receiver *ProjectDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, response *datasource.SchemaResponse)
type ProjectLinkedRepositoryModel ¶
type ProjectLinkedRepositoryModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` RssEnabled types.Bool `tfsdk:"rss_enabled"` Key types.String `tfsdk:"key"` Project types.String `tfsdk:"project"` Slug types.String `tfsdk:"slug"` Branch types.String `tfsdk:"branch"` AssignmentVersion types.String `tfsdk:"assignment_version"` Assignments types.List `tfsdk:"assignments"` ComputedUsers types.List `tfsdk:"computed_users"` ComputedGroups types.List `tfsdk:"computed_groups"` }
func NewProjectLinkedRepositoryModel ¶
func NewProjectLinkedRepositoryModel(plan ProjectLinkedRepositoryModel, repositoryId int, assignmentResult *AssignmentResult) *ProjectLinkedRepositoryModel
type ProjectLinkedRepositoryPermissionInterface ¶
type ProjectLinkedRepositoryPermissionInterface interface {
// contains filtered or unexported methods
}
type ProjectLinkedRepositoryPermissionReceiver ¶
type ProjectLinkedRepositoryPermissionReceiver interface {
// contains filtered or unexported methods
}
type ProjectLinkedRepositoryResource ¶
type ProjectLinkedRepositoryResource struct {
// contains filtered or unexported fields
}
func (*ProjectLinkedRepositoryResource) Configure ¶
func (receiver *ProjectLinkedRepositoryResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*ProjectLinkedRepositoryResource) Create ¶
func (receiver *ProjectLinkedRepositoryResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*ProjectLinkedRepositoryResource) Delete ¶
func (receiver *ProjectLinkedRepositoryResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*ProjectLinkedRepositoryResource) ImportState ¶
func (receiver *ProjectLinkedRepositoryResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ProjectLinkedRepositoryResource) Metadata ¶
func (receiver *ProjectLinkedRepositoryResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*ProjectLinkedRepositoryResource) Read ¶
func (receiver *ProjectLinkedRepositoryResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*ProjectLinkedRepositoryResource) Schema ¶
func (receiver *ProjectLinkedRepositoryResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*ProjectLinkedRepositoryResource) Update ¶
func (receiver *ProjectLinkedRepositoryResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type ProjectModel ¶
type ProjectModel struct { RetainOnDelete types.Bool `tfsdk:"retain_on_delete"` Key types.String `tfsdk:"key"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` AssignmentVersion types.String `tfsdk:"assignment_version"` Assignments types.List `tfsdk:"assignments"` ComputedUsers types.List `tfsdk:"computed_users"` ComputedGroups types.List `tfsdk:"computed_groups"` }
func NewProjectModel ¶
func NewProjectModel(plan ProjectModel, project *bamboo.Project, assignmentResult *AssignmentResult) *ProjectModel
type ProjectPermissionInterface ¶
type ProjectPermissionInterface interface {
// contains filtered or unexported methods
}
type ProjectPermissionsData ¶
type ProjectPermissionsDataSource ¶
type ProjectPermissionsDataSource struct {
// contains filtered or unexported fields
}
func (*ProjectPermissionsDataSource) Configure ¶
func (receiver *ProjectPermissionsDataSource) Configure(ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*ProjectPermissionsDataSource) Metadata ¶
func (receiver *ProjectPermissionsDataSource) Metadata(ctx context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*ProjectPermissionsDataSource) Read ¶
func (receiver *ProjectPermissionsDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*ProjectPermissionsDataSource) Schema ¶
func (receiver *ProjectPermissionsDataSource) Schema(ctx context.Context, request datasource.SchemaRequest, response *datasource.SchemaResponse)
type ProjectPermissionsModel ¶
type ProjectPermissionsModel struct { RetainOnDelete types.Bool `tfsdk:"retain_on_delete"` Key types.String `tfsdk:"key"` AssignmentVersion types.String `tfsdk:"assignment_version"` Assignments types.List `tfsdk:"assignments"` ComputedUsers types.List `tfsdk:"computed_users"` ComputedGroups types.List `tfsdk:"computed_groups"` }
func NewProjectPermissionsModel ¶
func NewProjectPermissionsModel(plan ProjectPermissionsModel, assignmentResult *AssignmentResult) *ProjectPermissionsModel
type ProjectPermissionsReceiver ¶
type ProjectPermissionsReceiver interface {
// contains filtered or unexported methods
}
type ProjectPermissionsResource ¶
type ProjectPermissionsResource struct {
// contains filtered or unexported fields
}
func (*ProjectPermissionsResource) Configure ¶
func (receiver *ProjectPermissionsResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*ProjectPermissionsResource) Create ¶
func (receiver *ProjectPermissionsResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*ProjectPermissionsResource) Delete ¶
func (receiver *ProjectPermissionsResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*ProjectPermissionsResource) ImportState ¶
func (receiver *ProjectPermissionsResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ProjectPermissionsResource) Metadata ¶
func (receiver *ProjectPermissionsResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*ProjectPermissionsResource) Read ¶
func (receiver *ProjectPermissionsResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*ProjectPermissionsResource) Schema ¶
func (receiver *ProjectPermissionsResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*ProjectPermissionsResource) Update ¶
func (receiver *ProjectPermissionsResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type ProjectRepositoriesResource ¶
type ProjectRepositoriesResource struct {
// contains filtered or unexported fields
}
func (*ProjectRepositoriesResource) Configure ¶
func (receiver *ProjectRepositoriesResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*ProjectRepositoriesResource) Create ¶
func (receiver *ProjectRepositoriesResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*ProjectRepositoriesResource) Delete ¶
func (receiver *ProjectRepositoriesResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*ProjectRepositoriesResource) ImportState ¶
func (receiver *ProjectRepositoriesResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ProjectRepositoriesResource) Metadata ¶
func (receiver *ProjectRepositoriesResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*ProjectRepositoriesResource) Read ¶
func (receiver *ProjectRepositoriesResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*ProjectRepositoriesResource) Schema ¶
func (receiver *ProjectRepositoriesResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*ProjectRepositoriesResource) Update ¶
func (receiver *ProjectRepositoriesResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type ProjectResource ¶
type ProjectResource struct {
// contains filtered or unexported fields
}
func (*ProjectResource) Configure ¶
func (receiver *ProjectResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*ProjectResource) Create ¶
func (receiver *ProjectResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*ProjectResource) Delete ¶
func (receiver *ProjectResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*ProjectResource) ImportState ¶
func (receiver *ProjectResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ProjectResource) Metadata ¶
func (receiver *ProjectResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*ProjectResource) Read ¶
func (receiver *ProjectResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*ProjectResource) Schema ¶
func (receiver *ProjectResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*ProjectResource) Update ¶
func (receiver *ProjectResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type ProjectVariableModel ¶
type ProjectVariableResource ¶
type ProjectVariableResource struct {
// contains filtered or unexported fields
}
func (*ProjectVariableResource) Configure ¶
func (receiver *ProjectVariableResource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*ProjectVariableResource) Create ¶
func (receiver *ProjectVariableResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*ProjectVariableResource) Delete ¶
func (receiver *ProjectVariableResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*ProjectVariableResource) ImportState ¶
func (receiver *ProjectVariableResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*ProjectVariableResource) Metadata ¶
func (receiver *ProjectVariableResource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*ProjectVariableResource) Read ¶
func (receiver *ProjectVariableResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*ProjectVariableResource) Schema ¶
func (receiver *ProjectVariableResource) Schema(ctx context.Context, request resource.SchemaRequest, response *resource.SchemaResponse)
func (*ProjectVariableResource) Update ¶
func (receiver *ProjectVariableResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
Source Files ¶
- agent_assignment_model.go
- assignments.go
- attestations.go
- constants.go
- data_bamboo_deployment.go
- data_bamboo_linked_repository.go
- data_bamboo_project.go
- data_bamboo_project_permissions.go
- deployment_model.go
- deployment_permissions.go
- linked_repository_model.go
- linked_repository_permissions.go
- plan_model.go
- project_linked_repository_model.go
- project_linked_repository_permissions.go
- project_model.go
- project_permission.go
- project_permission_model.go
- project_variable_model.go
- provider.go
- provider_model.go
- receiver_config.go
- resource_bamboo_agent_assignment.go
- resource_bamboo_deployment.go
- resource_bamboo_deployment_repository.go
- resource_bamboo_linked_repository.go
- resource_bamboo_plan.go
- resource_bamboo_project.go
- resource_bamboo_project_linked_repository.go
- resource_bamboo_project_permissions.go
- resource_bamboo_project_repository.go
- resource_bamboo_project_variable.go
- resource_bamboo_repository_accessor.go
- resource_bamboo_repository_requires.go
Click to show internal directories.
Click to hide internal directories.