Documentation ¶
Index ¶
- Constants
- func BytesToGibibytes(bytes int64) int64
- func GibibytesToBytes(bytes int64) int64
- func NewProjectEnvironmentResource() resource.Resource
- func NewProjectGroupResource() resource.Resource
- func NewProjectRepositoryResource() resource.Resource
- func NewProjectResource() resource.Resource
- func NewProjectRoleResource() resource.Resource
- func NewProjectShareRepositoryResource() resource.Resource
- func NewProjectShareRepositoryWithAllResource() resource.Resource
- func NewProjectUserResource() resource.Resource
- func RetryOnSpecificMsgBody(matchString string) func(response *resty.Response, err error) bool
- type AdminPrivilegesAPIModel
- type ArtifactoryRepo
- type Equatable
- type MemberAPIModel
- type MembershipAPIModel
- type ProjectAPIModel
- type ProjectEnvironmentAPIModel
- type ProjectEnvironmentResource
- func (r *ProjectEnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectEnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectEnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectEnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectEnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectEnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectEnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectEnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r ProjectEnvironmentResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type ProjectEnvironmentResourceModel
- type ProjectEnvironmentUpdateAPIModel
- type ProjectError
- type ProjectErrorsResponse
- type ProjectGroupAPIModel
- type ProjectGroupResource
- func (r *ProjectGroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectGroupResourceModel
- type ProjectRepositoryAPIModel
- type ProjectRepositoryResource
- func (r *ProjectRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectRepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectRepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectRepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectRepositoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectRepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectRepositoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectRepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectRepositoryResourceModel
- type ProjectRepositoryStatusAPIModel
- type ProjectResource
- func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r *ProjectResource) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader
- type ProjectResourceModelV1
- type ProjectResourceModelV2
- type ProjectResourceModelV3
- type ProjectResourceModelV4
- type ProjectRoleAPIModel
- type ProjectRoleResource
- func (r *ProjectRoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectRoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectRoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectRoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectRoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectRoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectRoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectRoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectRoleResourceModel
- type ProjectShareRepositoryResource
- func (r *ProjectShareRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectShareRepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectShareRepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectShareRepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectShareRepositoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectShareRepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectShareRepositoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectShareRepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectShareRepositoryResourceModel
- type ProjectShareRepositoryWithAllResource
- func (r *ProjectShareRepositoryWithAllResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectShareRepositoryWithAllResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectShareRepositoryWithAllResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectShareRepositoryWithAllResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectShareRepositoryWithAllResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectShareRepositoryWithAllResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectShareRepositoryWithAllResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectShareRepositoryWithAllResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectShareRepositoryWithAllResourceModel
- type ProjectUserAPIModel
- type ProjectUserResource
- func (r *ProjectUserResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectUserResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectUserResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectUserResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectUserResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectUserResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectUserResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectUserResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectUserResourceModel
- type Role
- type Set
Constants ¶
const ( ProjectsUrl = "/access/api/v1/projects" ProjectUrl = ProjectsUrl + "/{projectKey}" MaxStorageInGibibytes = 8589934591 )
const ProjectEnvironmentUrl = "/access/api/v1/projects/{projectKey}/environments"
const ProjectGroupsUrl = "access/api/v1/projects/{projectKey}/groups/{name}"
const ProjectRepositoryStatusEndpoint = "access/api/v1/projects/_/repositories/{repo_key}"
const ProjectRoleUrl = ProjectRolesUrl + "/{roleName}"
const ProjectRolesUrl = ProjectUrl + "/roles"
const ProjectUsersUrl = "access/api/v1/projects/{projectKey}/users/{name}"
Variables ¶
This section is empty.
Functions ¶
func BytesToGibibytes ¶
func GibibytesToBytes ¶
func NewProjectEnvironmentResource ¶ added in v1.6.1
func NewProjectGroupResource ¶ added in v1.6.2
func NewProjectRepositoryResource ¶ added in v1.6.2
func NewProjectResource ¶
func NewProjectRoleResource ¶ added in v1.6.2
func NewProjectShareRepositoryResource ¶ added in v1.7.0
func NewProjectShareRepositoryWithAllResource ¶ added in v1.7.0
func NewProjectUserResource ¶ added in v1.6.2
func RetryOnSpecificMsgBody ¶
Types ¶
type AdminPrivilegesAPIModel ¶
type ArtifactoryRepo ¶
type ArtifactoryRepo struct {
Key string
}
type MemberAPIModel ¶
Use by both project user and project group, as they shared identical data structure
func (MemberAPIModel) Equals ¶
func (a MemberAPIModel) Equals(b Equatable) bool
func (MemberAPIModel) Id ¶
func (m MemberAPIModel) Id() string
type MembershipAPIModel ¶
type MembershipAPIModel struct {
Members []MemberAPIModel
}
Use by both project user and project group, as they shared identical data structure
type ProjectAPIModel ¶
type ProjectAPIModel struct { Key string `json:"project_key"` DisplayName string `json:"display_name"` Description string `json:"description"` AdminPrivileges AdminPrivilegesAPIModel `json:"admin_privileges"` StorageQuota int64 `json:"storage_quota_bytes"` SoftLimit bool `json:"soft_limit"` QuotaEmailNotification bool `json:"storage_quota_email_notification"` }
Project GET {{ host }}/access/api/v1/projects/{{projKey}}/ GET {{ host }}/artifactory/api/repositories/?project={{projKey}}
type ProjectEnvironmentAPIModel ¶ added in v1.6.1
type ProjectEnvironmentAPIModel struct {
Name string `json:"name"`
}
type ProjectEnvironmentResource ¶
type ProjectEnvironmentResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ProjectEnvironmentResource) Configure ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectEnvironmentResource) Create ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectEnvironmentResource) Delete ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectEnvironmentResource) ImportState ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectEnvironmentResource) Metadata ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectEnvironmentResource) Read ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectEnvironmentResource) Schema ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectEnvironmentResource) Update ¶ added in v1.6.1
func (r *ProjectEnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (ProjectEnvironmentResource) ValidateConfig ¶ added in v1.6.1
func (r ProjectEnvironmentResource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type ProjectEnvironmentResourceModel ¶ added in v1.6.1
type ProjectEnvironmentUpdateAPIModel ¶ added in v1.6.1
type ProjectEnvironmentUpdateAPIModel struct {
NewName string `json:"new_name"`
}
type ProjectError ¶
func (ProjectError) String ¶
func (e ProjectError) String() string
type ProjectErrorsResponse ¶
type ProjectErrorsResponse struct {
Errors []ProjectError `json:"errors"`
}
func (ProjectErrorsResponse) String ¶
func (r ProjectErrorsResponse) String() string
type ProjectGroupAPIModel ¶ added in v1.6.2
type ProjectGroupResource ¶
type ProjectGroupResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ProjectGroupResource) Configure ¶ added in v1.6.2
func (r *ProjectGroupResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectGroupResource) Create ¶ added in v1.6.2
func (r *ProjectGroupResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectGroupResource) Delete ¶ added in v1.6.2
func (r *ProjectGroupResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectGroupResource) ImportState ¶ added in v1.6.2
func (r *ProjectGroupResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectGroupResource) Metadata ¶ added in v1.6.2
func (r *ProjectGroupResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectGroupResource) Read ¶ added in v1.6.2
func (r *ProjectGroupResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectGroupResource) Schema ¶ added in v1.6.2
func (r *ProjectGroupResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectGroupResource) Update ¶ added in v1.6.2
func (r *ProjectGroupResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectGroupResourceModel ¶ added in v1.6.2
type ProjectRepositoryAPIModel ¶ added in v1.6.2
type ProjectRepositoryResource ¶
type ProjectRepositoryResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ProjectRepositoryResource) Configure ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectRepositoryResource) Create ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectRepositoryResource) Delete ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectRepositoryResource) ImportState ¶ added in v1.6.2
func (r *ProjectRepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectRepositoryResource) Metadata ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectRepositoryResource) Read ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectRepositoryResource) Schema ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectRepositoryResource) Update ¶ added in v1.6.2
func (r *ProjectRepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectRepositoryResourceModel ¶ added in v1.6.2
type ProjectRepositoryStatusAPIModel ¶ added in v1.7.0
type ProjectResource ¶
type ProjectResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ProjectResource) Configure ¶
func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectResource) Create ¶
func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectResource) Delete ¶
func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectResource) ImportState ¶
func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectResource) Metadata ¶
func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectResource) Read ¶
func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectResource) Schema ¶
func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectResource) Update ¶
func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (*ProjectResource) UpgradeState ¶
func (r *ProjectResource) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader
type ProjectResourceModelV1 ¶
type ProjectResourceModelV1 struct { ID types.String `tfsdk:"id"` Key types.String `tfsdk:"key"` DisplayName types.String `tfsdk:"display_name"` Description types.String `tfsdk:"description"` AdminPrivileges types.Set `tfsdk:"admin_privileges"` MaxStorageInGibibytes types.Int64 `tfsdk:"max_storage_in_gibibytes"` SoftLimit types.Bool `tfsdk:"block_deployments_on_limit"` QuotaEmailNotification types.Bool `tfsdk:"email_notification"` Members types.Set `tfsdk:"member"` Groups types.Set `tfsdk:"group"` Roles types.Set `tfsdk:"role"` Repos types.Set `tfsdk:"repos"` }
type ProjectResourceModelV2 ¶
type ProjectResourceModelV2 struct { ID types.String `tfsdk:"id"` Key types.String `tfsdk:"key"` DisplayName types.String `tfsdk:"display_name"` Description types.String `tfsdk:"description"` AdminPrivileges types.Set `tfsdk:"admin_privileges"` MaxStorageInGibibytes types.Int64 `tfsdk:"max_storage_in_gibibytes"` SoftLimit types.Bool `tfsdk:"block_deployments_on_limit"` QuotaEmailNotification types.Bool `tfsdk:"email_notification"` Members types.Set `tfsdk:"member"` Groups types.Set `tfsdk:"group"` Roles types.Set `tfsdk:"role"` Repos types.Set `tfsdk:"repos"` UseProjectRoleResource types.Bool `tfsdk:"use_project_role_resource"` }
type ProjectResourceModelV3 ¶
type ProjectResourceModelV3 struct { ID types.String `tfsdk:"id"` Key types.String `tfsdk:"key"` DisplayName types.String `tfsdk:"display_name"` Description types.String `tfsdk:"description"` AdminPrivileges types.Set `tfsdk:"admin_privileges"` MaxStorageInGibibytes types.Int64 `tfsdk:"max_storage_in_gibibytes"` SoftLimit types.Bool `tfsdk:"block_deployments_on_limit"` QuotaEmailNotification types.Bool `tfsdk:"email_notification"` Members types.Set `tfsdk:"member"` Groups types.Set `tfsdk:"group"` Roles types.Set `tfsdk:"role"` Repos types.Set `tfsdk:"repos"` UseProjectRoleResource types.Bool `tfsdk:"use_project_role_resource"` UseProjectUserResource types.Bool `tfsdk:"use_project_user_resource"` UseProjectGroupResource types.Bool `tfsdk:"use_project_group_resource"` }
type ProjectResourceModelV4 ¶
type ProjectResourceModelV4 struct { ID types.String `tfsdk:"id"` Key types.String `tfsdk:"key"` DisplayName types.String `tfsdk:"display_name"` Description types.String `tfsdk:"description"` AdminPrivileges types.Set `tfsdk:"admin_privileges"` MaxStorageInGibibytes types.Int64 `tfsdk:"max_storage_in_gibibytes"` SoftLimit types.Bool `tfsdk:"block_deployments_on_limit"` QuotaEmailNotification types.Bool `tfsdk:"email_notification"` Members types.Set `tfsdk:"member"` Groups types.Set `tfsdk:"group"` Roles types.Set `tfsdk:"role"` Repos types.Set `tfsdk:"repos"` UseProjectRoleResource types.Bool `tfsdk:"use_project_role_resource"` UseProjectUserResource types.Bool `tfsdk:"use_project_user_resource"` UseProjectGroupResource types.Bool `tfsdk:"use_project_group_resource"` UseProjectRepositoryResource types.Bool `tfsdk:"use_project_repository_resource"` }
type ProjectRoleAPIModel ¶ added in v1.6.2
type ProjectRoleResource ¶
type ProjectRoleResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ProjectRoleResource) Configure ¶ added in v1.6.2
func (r *ProjectRoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectRoleResource) Create ¶ added in v1.6.2
func (r *ProjectRoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectRoleResource) Delete ¶ added in v1.6.2
func (r *ProjectRoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectRoleResource) ImportState ¶ added in v1.6.2
func (r *ProjectRoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectRoleResource) Metadata ¶ added in v1.6.2
func (r *ProjectRoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectRoleResource) Read ¶ added in v1.6.2
func (r *ProjectRoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectRoleResource) Schema ¶ added in v1.6.2
func (r *ProjectRoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectRoleResource) Update ¶ added in v1.6.2
func (r *ProjectRoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectRoleResourceModel ¶ added in v1.6.2
type ProjectShareRepositoryResource ¶ added in v1.7.0
type ProjectShareRepositoryResource struct {}
func (*ProjectShareRepositoryResource) Configure ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectShareRepositoryResource) Create ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectShareRepositoryResource) Delete ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectShareRepositoryResource) ImportState ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectShareRepositoryResource) Metadata ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectShareRepositoryResource) Read ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectShareRepositoryResource) Schema ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectShareRepositoryResource) Update ¶ added in v1.7.0
func (r *ProjectShareRepositoryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectShareRepositoryResourceModel ¶ added in v1.7.0
type ProjectShareRepositoryResourceModel struct {}
type ProjectShareRepositoryWithAllResource ¶ added in v1.7.0
type ProjectShareRepositoryWithAllResource struct {}
func (*ProjectShareRepositoryWithAllResource) Configure ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectShareRepositoryWithAllResource) Create ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectShareRepositoryWithAllResource) Delete ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectShareRepositoryWithAllResource) ImportState ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectShareRepositoryWithAllResource) Metadata ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectShareRepositoryWithAllResource) Read ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectShareRepositoryWithAllResource) Schema ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectShareRepositoryWithAllResource) Update ¶ added in v1.7.0
func (r *ProjectShareRepositoryWithAllResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectShareRepositoryWithAllResourceModel ¶ added in v1.7.0
type ProjectShareRepositoryWithAllResourceModel struct {}
type ProjectUserAPIModel ¶ added in v1.6.2
type ProjectUserResource ¶
type ProjectUserResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ProjectUserResource) Configure ¶ added in v1.6.2
func (r *ProjectUserResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectUserResource) Create ¶ added in v1.6.2
func (r *ProjectUserResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectUserResource) Delete ¶ added in v1.6.2
func (r *ProjectUserResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectUserResource) ImportState ¶ added in v1.6.2
func (r *ProjectUserResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState imports the resource into the Terraform state.
func (*ProjectUserResource) Metadata ¶ added in v1.6.2
func (r *ProjectUserResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectUserResource) Read ¶ added in v1.6.2
func (r *ProjectUserResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectUserResource) Schema ¶ added in v1.6.2
func (r *ProjectUserResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectUserResource) Update ¶ added in v1.6.2
func (r *ProjectUserResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectUserResourceModel ¶ added in v1.6.2
type Role ¶
type Set ¶
type Set[T Equatable] []T
func SetFromSlice ¶
func (Set[T]) Difference ¶
Difference returns a Set containing all the items not contained in the other set. Note this is "unidirectional", and the result is _only_ the elements in A that are not in B. Example: [1, 2, 3].Difference([2, 3, 4]) = [1].
func (Set[T]) Intersection ¶
Intersection returns a Set containing all the common items between both Sets. Example: [1, 2, 3].Intersection([2, 3, 4]) = [2, 3].