Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfile/devworkspace-operator
/ WorkspaceRoleName
Function
WorkspaceRoleName
pkg/common/naming.go:146–148 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
144
}
145
146
func
WorkspaceRoleName() string {
147
return
"devworkspace-default-role"
148
}
149
150
func
WorkspaceRolebindingName() string {
151
return
"devworkspace-default-rolebinding"
Callers
11
devworkspace_controller_test.go
File · 0.92
common_test.go
File · 0.92
TestSyncRBAC
Function · 0.92
TestCreatesRolebindingIfNotExists
Function · 0.92
TestAddsMultipleSubjectsToRolebinding
Function · 0.92
TestCreatesRoleIfNotExists
Function · 0.92
TestDoesNothingIfRoleAlreadyInSync
Function · 0.92
syncRolebindings
Function · 0.92
FinalizeRBAC
Function · 0.92
generateDefaultRole
Function · 0.92
cleanupDeprecatedRBAC
Function · 0.92
Calls
no outgoing calls
Tested by
5
TestSyncRBAC
Function · 0.74
TestCreatesRolebindingIfNotExists
Function · 0.74
TestAddsMultipleSubjectsToRolebinding
Function · 0.74
TestCreatesRoleIfNotExists
Function · 0.74
TestDoesNothingIfRoleAlreadyInSync
Function · 0.74