MCPcopy Create free account
hub / github.com/auth0/auth0-cli / makeRoleView

Function makeRoleView

internal/display/roles.go:92–99  ·  view source on GitHub ↗
(role *management.Role)

Source from the content-addressed store, hash-verified

90}
91
92func makeRoleView(role *management.Role) *roleView {
93 return &roleView{
94 Name: role.GetName(),
95 ID: ansi.Faint(role.GetID()),
96 Description: role.GetDescription(),
97 raw: role,
98 }
99}

Callers 5

RoleListMethod · 0.85
UserRoleListMethod · 0.85
RoleShowMethod · 0.85
RoleCreateMethod · 0.85
RoleUpdateMethod · 0.85

Calls 2

FaintFunction · 0.92
GetNameMethod · 0.65

Tested by

no test coverage detected