Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional api.Role role = 50001;
E_Role = &file_role_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_role_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role struct { // name of the resource Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // scope of the resource Scope []string `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"` // actionable verb of the resource like create, update, list, get, poweroff etc. to be shown to the user Verb string `protobuf:"bytes,3,opt,name=verb,proto3" json:"verb,omitempty"` // contains filtered or unexported fields }
Define the Role definition for Auth Gateway
func (*Role) Descriptor
deprecated
func (*Role) GetResource ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.