Help us shape the future of Go! Take the 2026 Go Developer Survey

customrole

package
v0.100.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomRoleDataSource

func NewCustomRoleDataSource() datasource.DataSource

NewAuthorizationDataSource creates a new customrole of the authorizationDataSource.

func NewCustomRoleDataSources

func NewCustomRoleDataSources() []func() datasource.DataSource

NewProjectRoleAssignmentDataSources is a helper function generate custom role data sources for all possible resource types.

func NewCustomRoleResources

func NewCustomRoleResources() []func() resource.Resource

NewProjectRoleAssignmentResources is a helper function generate custom role resources for all possible resource types.

Types

type Model

type Model struct {
	Id          types.String `tfsdk:"id"` // Required by Terraform
	RoleId      types.String `tfsdk:"role_id"`
	ResourceId  types.String `tfsdk:"resource_id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Permissions types.List   `tfsdk:"permissions"`
}

Model represents the schema for the git resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL