Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfile/devworkspace-operator
/ WorkspaceRolebindingName
Function
WorkspaceRolebindingName
pkg/common/naming.go:150–152 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
148
}
149
150
func
WorkspaceRolebindingName() string {
151
return
"devworkspace-default-rolebinding"
152
}
153
154
func
WorkspaceSCCRoleName(sccName string) string {
155
return
fmt.Sprintf(
"devworkspace-use-%s"
, sccName)
Callers
10
devworkspace_controller_test.go
File · 0.92
TestShouldRemoveWorkspaceSAFromRolebindingWhenDeleted
Function · 0.92
TestFinalizeDoesNothingWhenRolebindingDoesNotExist
Function · 0.92
common_test.go
File · 0.92
TestSyncRBAC
Function · 0.92
TestCreatesRolebindingIfNotExists
Function · 0.92
TestAddsMultipleSubjectsToRolebinding
Function · 0.92
syncRolebindings
Function · 0.92
FinalizeRBAC
Function · 0.92
cleanupDeprecatedRBAC
Function · 0.92
Calls
no outgoing calls
Tested by
5
TestShouldRemoveWorkspaceSAFromRolebindingWhenDeleted
Function · 0.74
TestFinalizeDoesNothingWhenRolebindingDoesNotExist
Function · 0.74
TestSyncRBAC
Function · 0.74
TestCreatesRolebindingIfNotExists
Function · 0.74
TestAddsMultipleSubjectsToRolebinding
Function · 0.74