Documentation ¶
Index ¶
- func CompareGroupPermissions(group1, group2 GroupPermission) bool
- func ConvertGroupPermissionModelToData(requiredAllPermissions []GroupPermission, groupID int, accountID int) []dbt_cloud.GroupPermission
- func GroupDataSource() datasource.DataSource
- func GroupResource() resource.Resource
- type GroupDataSourceModel
- type GroupPermission
- type GroupResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareGroupPermissions ¶
func CompareGroupPermissions( group1, group2 GroupPermission, ) bool
func ConvertGroupPermissionModelToData ¶
func ConvertGroupPermissionModelToData( requiredAllPermissions []GroupPermission, groupID int, accountID int, ) []dbt_cloud.GroupPermission
func GroupDataSource ¶
func GroupDataSource() datasource.DataSource
func GroupResource ¶
Types ¶
type GroupDataSourceModel ¶ added in v0.3.10
type GroupDataSourceModel struct { ID types.Int64 `tfsdk:"id"` GroupID types.Int64 `tfsdk:"group_id"` Name types.String `tfsdk:"name"` AssignByDefault types.Bool `tfsdk:"assign_by_default"` SSOMappingGroups types.Set `tfsdk:"sso_mapping_groups"` GroupPermissions []GroupPermission `tfsdk:"group_permissions"` }
we need a different one just because historically the data source uses `group_id` instead of `id`
type GroupPermission ¶
type GroupPermission struct { PermissionSet types.String `tfsdk:"permission_set"` ProjectID types.Int64 `tfsdk:"project_id"` AllProjects types.Bool `tfsdk:"all_projects"` WritableEnvironmentCategories types.Set `tfsdk:"writable_environment_categories"` }
func ConvertGroupPermissionDataToModel ¶
func ConvertGroupPermissionDataToModel( allPermissions []dbt_cloud.GroupPermission, ) []GroupPermission
Click to show internal directories.
Click to hide internal directories.