customRole

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Converter

func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*apiCustomRole.CustomRole, bool)

func PermissionsConverter

func PermissionsConverter(plan []*PermissionModel, state []*PermissionModel, converterType commons.ConverterType) ([]*apiCustomRole.Permission, bool)

func UpdateStateAfterRead

func UpdateStateAfterRead(res *apiCustomRole.CustomRole, state *ResourceModel)

Types

type PermissionModel

type PermissionModel struct {
	Name types.String `tfsdk:"name"`
}

type ResourceModel

type ResourceModel struct {
	ID               types.String       `tfsdk:"id"`
	Name             types.String       `tfsdk:"name"`
	Description      types.String       `tfsdk:"description"`
	Permissions      []*PermissionModel `tfsdk:"permissions"`
	StackRestriction types.String       `tfsdk:"stack_restriction"`
}

Jump to

Keyboard shortcuts

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