github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/steampipeconfig/cloud_workspace.go (about) 1 package steampipeconfig 2 3 import "strings" 4 5 // IsCloudWorkspaceIdentifier returns whether name is a cloud workspace identifier 6 // of the form: {identity_handle}/{workspace_handle}, 7 func IsCloudWorkspaceIdentifier(name string) bool { 8 return len(strings.Split(name, "/")) == 2 9 }