MCPcopy
hub / github.com/cloudfoundry/cli / rolesToString

Function rolesToString

cf/actors/userprint/plugin.go:96–102  ·  view source on GitHub ↗
(roles []models.Role)

Source from the content-addressed store, hash-verified

94}
95
96func rolesToString(roles []models.Role) []string {
97 var rolesStr []string
98 for _, role := range roles {
99 rolesStr = append(rolesStr, role.ToString())
100 }
101 return rolesStr
102}

Callers 2

NewOrgUsersPluginPrinterFunction · 0.85

Calls 1

ToStringMethod · 0.80

Tested by

no test coverage detected