Searched refs:RoleName (Results 1 – 1 of 1) sorted by relevance
116 type RoleName string type120 Owner RoleName = "roles/owner"121 Editor RoleName = "roles/editor"122 Viewer RoleName = "roles/viewer"149 func (p *Policy) Members(r RoleName) []string {158 func (p *Policy) HasRole(member string, r RoleName) bool {164 func (p *Policy) Add(member string, r RoleName) {183 func (p *Policy) Remove(member string, r RoleName) {213 func (p *Policy) Roles() []RoleName {217 var rns []RoleName[all …]