Documentation ¶
Index ¶
- Variables
- func RegisterPermissionServiceServer(s *grpc.Server, srv PermissionServiceServer)
- func RegisterRoleServiceServer(s *grpc.Server, srv RoleServiceServer)
- type Actor
- func (*Actor) Descriptor() ([]byte, []int)
- func (m *Actor) GetID() string
- func (m *Actor) GetNamespace() string
- func (m *Actor) Marshal() (dAtA []byte, err error)
- func (m *Actor) MarshalTo(dAtA []byte) (int, error)
- func (*Actor) ProtoMessage()
- func (m *Actor) Reset()
- func (m *Actor) Size() (n int)
- func (m *Actor) String() string
- func (m *Actor) Unmarshal(dAtA []byte) error
- func (m *Actor) XXX_DiscardUnknown()
- func (m *Actor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Actor) XXX_Merge(src proto.Message)
- func (m *Actor) XXX_Size() int
- func (m *Actor) XXX_Unmarshal(b []byte) error
- type AssignRoleRequest
- func (*AssignRoleRequest) Descriptor() ([]byte, []int)
- func (m *AssignRoleRequest) GetActor() *Actor
- func (m *AssignRoleRequest) GetRoleName() string
- func (m *AssignRoleRequest) Marshal() (dAtA []byte, err error)
- func (m *AssignRoleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*AssignRoleRequest) ProtoMessage()
- func (m *AssignRoleRequest) Reset()
- func (m *AssignRoleRequest) Size() (n int)
- func (m *AssignRoleRequest) String() string
- func (m *AssignRoleRequest) Unmarshal(dAtA []byte) error
- func (m *AssignRoleRequest) XXX_DiscardUnknown()
- func (m *AssignRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssignRoleRequest) XXX_Merge(src proto.Message)
- func (m *AssignRoleRequest) XXX_Size() int
- func (m *AssignRoleRequest) XXX_Unmarshal(b []byte) error
- type AssignRoleResponse
- func (*AssignRoleResponse) Descriptor() ([]byte, []int)
- func (m *AssignRoleResponse) Marshal() (dAtA []byte, err error)
- func (m *AssignRoleResponse) MarshalTo(dAtA []byte) (int, error)
- func (*AssignRoleResponse) ProtoMessage()
- func (m *AssignRoleResponse) Reset()
- func (m *AssignRoleResponse) Size() (n int)
- func (m *AssignRoleResponse) String() string
- func (m *AssignRoleResponse) Unmarshal(dAtA []byte) error
- func (m *AssignRoleResponse) XXX_DiscardUnknown()
- func (m *AssignRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssignRoleResponse) XXX_Merge(src proto.Message)
- func (m *AssignRoleResponse) XXX_Size() int
- func (m *AssignRoleResponse) XXX_Unmarshal(b []byte) error
- type AssignRoleToGroupRequest
- func (*AssignRoleToGroupRequest) Descriptor() ([]byte, []int)
- func (m *AssignRoleToGroupRequest) GetGroup() *Group
- func (m *AssignRoleToGroupRequest) GetRoleName() string
- func (m *AssignRoleToGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *AssignRoleToGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*AssignRoleToGroupRequest) ProtoMessage()
- func (m *AssignRoleToGroupRequest) Reset()
- func (m *AssignRoleToGroupRequest) Size() (n int)
- func (m *AssignRoleToGroupRequest) String() string
- func (m *AssignRoleToGroupRequest) Unmarshal(dAtA []byte) error
- func (m *AssignRoleToGroupRequest) XXX_DiscardUnknown()
- func (m *AssignRoleToGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssignRoleToGroupRequest) XXX_Merge(src proto.Message)
- func (m *AssignRoleToGroupRequest) XXX_Size() int
- func (m *AssignRoleToGroupRequest) XXX_Unmarshal(b []byte) error
- type AssignRoleToGroupResponse
- func (*AssignRoleToGroupResponse) Descriptor() ([]byte, []int)
- func (m *AssignRoleToGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *AssignRoleToGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*AssignRoleToGroupResponse) ProtoMessage()
- func (m *AssignRoleToGroupResponse) Reset()
- func (m *AssignRoleToGroupResponse) Size() (n int)
- func (m *AssignRoleToGroupResponse) String() string
- func (m *AssignRoleToGroupResponse) Unmarshal(dAtA []byte) error
- func (m *AssignRoleToGroupResponse) XXX_DiscardUnknown()
- func (m *AssignRoleToGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssignRoleToGroupResponse) XXX_Merge(src proto.Message)
- func (m *AssignRoleToGroupResponse) XXX_Size() int
- func (m *AssignRoleToGroupResponse) XXX_Unmarshal(b []byte) error
- type CreateRoleRequest
- func (*CreateRoleRequest) Descriptor() ([]byte, []int)
- func (m *CreateRoleRequest) GetName() string
- func (m *CreateRoleRequest) GetPermissions() []*Permission
- func (m *CreateRoleRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateRoleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CreateRoleRequest) ProtoMessage()
- func (m *CreateRoleRequest) Reset()
- func (m *CreateRoleRequest) Size() (n int)
- func (m *CreateRoleRequest) String() string
- func (m *CreateRoleRequest) Unmarshal(dAtA []byte) error
- func (m *CreateRoleRequest) XXX_DiscardUnknown()
- func (m *CreateRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateRoleRequest) XXX_Merge(src proto.Message)
- func (m *CreateRoleRequest) XXX_Size() int
- func (m *CreateRoleRequest) XXX_Unmarshal(b []byte) error
- type CreateRoleResponse
- func (*CreateRoleResponse) Descriptor() ([]byte, []int)
- func (m *CreateRoleResponse) GetRole() *Role
- func (m *CreateRoleResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateRoleResponse) MarshalTo(dAtA []byte) (int, error)
- func (*CreateRoleResponse) ProtoMessage()
- func (m *CreateRoleResponse) Reset()
- func (m *CreateRoleResponse) Size() (n int)
- func (m *CreateRoleResponse) String() string
- func (m *CreateRoleResponse) Unmarshal(dAtA []byte) error
- func (m *CreateRoleResponse) XXX_DiscardUnknown()
- func (m *CreateRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateRoleResponse) XXX_Merge(src proto.Message)
- func (m *CreateRoleResponse) XXX_Size() int
- func (m *CreateRoleResponse) XXX_Unmarshal(b []byte) error
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRoleRequest) GetName() string
- func (m *DeleteRoleRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteRoleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteRoleRequest) ProtoMessage()
- func (m *DeleteRoleRequest) Reset()
- func (m *DeleteRoleRequest) Size() (n int)
- func (m *DeleteRoleRequest) String() string
- func (m *DeleteRoleRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteRoleRequest) XXX_DiscardUnknown()
- func (m *DeleteRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteRoleRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRoleRequest) XXX_Size() int
- func (m *DeleteRoleRequest) XXX_Unmarshal(b []byte) error
- type DeleteRoleResponse
- func (*DeleteRoleResponse) Descriptor() ([]byte, []int)
- func (m *DeleteRoleResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteRoleResponse) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteRoleResponse) ProtoMessage()
- func (m *DeleteRoleResponse) Reset()
- func (m *DeleteRoleResponse) Size() (n int)
- func (m *DeleteRoleResponse) String() string
- func (m *DeleteRoleResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteRoleResponse) XXX_DiscardUnknown()
- func (m *DeleteRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteRoleResponse) XXX_Merge(src proto.Message)
- func (m *DeleteRoleResponse) XXX_Size() int
- func (m *DeleteRoleResponse) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetID() string
- func (m *Group) Marshal() (dAtA []byte, err error)
- func (m *Group) MarshalTo(dAtA []byte) (int, error)
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) Size() (n int)
- func (m *Group) String() string
- func (m *Group) Unmarshal(dAtA []byte) error
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type HasPermissionRequest
- func (*HasPermissionRequest) Descriptor() ([]byte, []int)
- func (m *HasPermissionRequest) GetAction() string
- func (m *HasPermissionRequest) GetActor() *Actor
- func (m *HasPermissionRequest) GetGroups() []*Group
- func (m *HasPermissionRequest) GetResource() string
- func (m *HasPermissionRequest) Marshal() (dAtA []byte, err error)
- func (m *HasPermissionRequest) MarshalTo(dAtA []byte) (int, error)
- func (*HasPermissionRequest) ProtoMessage()
- func (m *HasPermissionRequest) Reset()
- func (m *HasPermissionRequest) Size() (n int)
- func (m *HasPermissionRequest) String() string
- func (m *HasPermissionRequest) Unmarshal(dAtA []byte) error
- func (m *HasPermissionRequest) XXX_DiscardUnknown()
- func (m *HasPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HasPermissionRequest) XXX_Merge(src proto.Message)
- func (m *HasPermissionRequest) XXX_Size() int
- func (m *HasPermissionRequest) XXX_Unmarshal(b []byte) error
- type HasPermissionResponse
- func (*HasPermissionResponse) Descriptor() ([]byte, []int)
- func (m *HasPermissionResponse) GetHasPermission() bool
- func (m *HasPermissionResponse) Marshal() (dAtA []byte, err error)
- func (m *HasPermissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (*HasPermissionResponse) ProtoMessage()
- func (m *HasPermissionResponse) Reset()
- func (m *HasPermissionResponse) Size() (n int)
- func (m *HasPermissionResponse) String() string
- func (m *HasPermissionResponse) Unmarshal(dAtA []byte) error
- func (m *HasPermissionResponse) XXX_DiscardUnknown()
- func (m *HasPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HasPermissionResponse) XXX_Merge(src proto.Message)
- func (m *HasPermissionResponse) XXX_Size() int
- func (m *HasPermissionResponse) XXX_Unmarshal(b []byte) error
- type HasRoleForGroupRequest
- func (*HasRoleForGroupRequest) Descriptor() ([]byte, []int)
- func (m *HasRoleForGroupRequest) GetGroup() *Group
- func (m *HasRoleForGroupRequest) GetRoleName() string
- func (m *HasRoleForGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *HasRoleForGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*HasRoleForGroupRequest) ProtoMessage()
- func (m *HasRoleForGroupRequest) Reset()
- func (m *HasRoleForGroupRequest) Size() (n int)
- func (m *HasRoleForGroupRequest) String() string
- func (m *HasRoleForGroupRequest) Unmarshal(dAtA []byte) error
- func (m *HasRoleForGroupRequest) XXX_DiscardUnknown()
- func (m *HasRoleForGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HasRoleForGroupRequest) XXX_Merge(src proto.Message)
- func (m *HasRoleForGroupRequest) XXX_Size() int
- func (m *HasRoleForGroupRequest) XXX_Unmarshal(b []byte) error
- type HasRoleForGroupResponse
- func (*HasRoleForGroupResponse) Descriptor() ([]byte, []int)
- func (m *HasRoleForGroupResponse) GetHasRole() bool
- func (m *HasRoleForGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *HasRoleForGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*HasRoleForGroupResponse) ProtoMessage()
- func (m *HasRoleForGroupResponse) Reset()
- func (m *HasRoleForGroupResponse) Size() (n int)
- func (m *HasRoleForGroupResponse) String() string
- func (m *HasRoleForGroupResponse) Unmarshal(dAtA []byte) error
- func (m *HasRoleForGroupResponse) XXX_DiscardUnknown()
- func (m *HasRoleForGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HasRoleForGroupResponse) XXX_Merge(src proto.Message)
- func (m *HasRoleForGroupResponse) XXX_Size() int
- func (m *HasRoleForGroupResponse) XXX_Unmarshal(b []byte) error
- type HasRoleRequest
- func (*HasRoleRequest) Descriptor() ([]byte, []int)
- func (m *HasRoleRequest) GetActor() *Actor
- func (m *HasRoleRequest) GetRoleName() string
- func (m *HasRoleRequest) Marshal() (dAtA []byte, err error)
- func (m *HasRoleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*HasRoleRequest) ProtoMessage()
- func (m *HasRoleRequest) Reset()
- func (m *HasRoleRequest) Size() (n int)
- func (m *HasRoleRequest) String() string
- func (m *HasRoleRequest) Unmarshal(dAtA []byte) error
- func (m *HasRoleRequest) XXX_DiscardUnknown()
- func (m *HasRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HasRoleRequest) XXX_Merge(src proto.Message)
- func (m *HasRoleRequest) XXX_Size() int
- func (m *HasRoleRequest) XXX_Unmarshal(b []byte) error
- type HasRoleResponse
- func (*HasRoleResponse) Descriptor() ([]byte, []int)
- func (m *HasRoleResponse) GetHasRole() bool
- func (m *HasRoleResponse) Marshal() (dAtA []byte, err error)
- func (m *HasRoleResponse) MarshalTo(dAtA []byte) (int, error)
- func (*HasRoleResponse) ProtoMessage()
- func (m *HasRoleResponse) Reset()
- func (m *HasRoleResponse) Size() (n int)
- func (m *HasRoleResponse) String() string
- func (m *HasRoleResponse) Unmarshal(dAtA []byte) error
- func (m *HasRoleResponse) XXX_DiscardUnknown()
- func (m *HasRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HasRoleResponse) XXX_Merge(src proto.Message)
- func (m *HasRoleResponse) XXX_Size() int
- func (m *HasRoleResponse) XXX_Unmarshal(b []byte) error
- type ListResourcePatternsRequest
- func (*ListResourcePatternsRequest) Descriptor() ([]byte, []int)
- func (m *ListResourcePatternsRequest) GetAction() string
- func (m *ListResourcePatternsRequest) GetActor() *Actor
- func (m *ListResourcePatternsRequest) GetGroups() []*Group
- func (m *ListResourcePatternsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListResourcePatternsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListResourcePatternsRequest) ProtoMessage()
- func (m *ListResourcePatternsRequest) Reset()
- func (m *ListResourcePatternsRequest) Size() (n int)
- func (m *ListResourcePatternsRequest) String() string
- func (m *ListResourcePatternsRequest) Unmarshal(dAtA []byte) error
- func (m *ListResourcePatternsRequest) XXX_DiscardUnknown()
- func (m *ListResourcePatternsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListResourcePatternsRequest) XXX_Merge(src proto.Message)
- func (m *ListResourcePatternsRequest) XXX_Size() int
- func (m *ListResourcePatternsRequest) XXX_Unmarshal(b []byte) error
- type ListResourcePatternsResponse
- func (*ListResourcePatternsResponse) Descriptor() ([]byte, []int)
- func (m *ListResourcePatternsResponse) GetResourcePatterns() []string
- func (m *ListResourcePatternsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListResourcePatternsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListResourcePatternsResponse) ProtoMessage()
- func (m *ListResourcePatternsResponse) Reset()
- func (m *ListResourcePatternsResponse) Size() (n int)
- func (m *ListResourcePatternsResponse) String() string
- func (m *ListResourcePatternsResponse) Unmarshal(dAtA []byte) error
- func (m *ListResourcePatternsResponse) XXX_DiscardUnknown()
- func (m *ListResourcePatternsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListResourcePatternsResponse) XXX_Merge(src proto.Message)
- func (m *ListResourcePatternsResponse) XXX_Size() int
- func (m *ListResourcePatternsResponse) XXX_Unmarshal(b []byte) error
- type ListRolePermissionsRequest
- func (*ListRolePermissionsRequest) Descriptor() ([]byte, []int)
- func (m *ListRolePermissionsRequest) GetRoleName() string
- func (m *ListRolePermissionsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListRolePermissionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListRolePermissionsRequest) ProtoMessage()
- func (m *ListRolePermissionsRequest) Reset()
- func (m *ListRolePermissionsRequest) Size() (n int)
- func (m *ListRolePermissionsRequest) String() string
- func (m *ListRolePermissionsRequest) Unmarshal(dAtA []byte) error
- func (m *ListRolePermissionsRequest) XXX_DiscardUnknown()
- func (m *ListRolePermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRolePermissionsRequest) XXX_Merge(src proto.Message)
- func (m *ListRolePermissionsRequest) XXX_Size() int
- func (m *ListRolePermissionsRequest) XXX_Unmarshal(b []byte) error
- type ListRolePermissionsResponse
- func (*ListRolePermissionsResponse) Descriptor() ([]byte, []int)
- func (m *ListRolePermissionsResponse) GetPermissions() []*Permission
- func (m *ListRolePermissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListRolePermissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListRolePermissionsResponse) ProtoMessage()
- func (m *ListRolePermissionsResponse) Reset()
- func (m *ListRolePermissionsResponse) Size() (n int)
- func (m *ListRolePermissionsResponse) String() string
- func (m *ListRolePermissionsResponse) Unmarshal(dAtA []byte) error
- func (m *ListRolePermissionsResponse) XXX_DiscardUnknown()
- func (m *ListRolePermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRolePermissionsResponse) XXX_Merge(src proto.Message)
- func (m *ListRolePermissionsResponse) XXX_Size() int
- func (m *ListRolePermissionsResponse) XXX_Unmarshal(b []byte) error
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)
- func (m *Permission) GetAction() string
- func (m *Permission) GetResourcePattern() string
- func (m *Permission) Marshal() (dAtA []byte, err error)
- func (m *Permission) MarshalTo(dAtA []byte) (int, error)
- func (*Permission) ProtoMessage()
- func (m *Permission) Reset()
- func (m *Permission) Size() (n int)
- func (m *Permission) String() string
- func (m *Permission) Unmarshal(dAtA []byte) error
- func (m *Permission) XXX_DiscardUnknown()
- func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Permission) XXX_Merge(src proto.Message)
- func (m *Permission) XXX_Size() int
- func (m *Permission) XXX_Unmarshal(b []byte) error
- type PermissionServiceClient
- type PermissionServiceServer
- type Role
- func (*Role) Descriptor() ([]byte, []int)
- func (m *Role) GetName() string
- func (m *Role) Marshal() (dAtA []byte, err error)
- func (m *Role) MarshalTo(dAtA []byte) (int, error)
- func (*Role) ProtoMessage()
- func (m *Role) Reset()
- func (m *Role) Size() (n int)
- func (m *Role) String() string
- func (m *Role) Unmarshal(dAtA []byte) error
- func (m *Role) XXX_DiscardUnknown()
- func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Role) XXX_Merge(src proto.Message)
- func (m *Role) XXX_Size() int
- func (m *Role) XXX_Unmarshal(b []byte) error
- type RoleServiceClient
- type RoleServiceServer
- type UnassignRoleFromGroupRequest
- func (*UnassignRoleFromGroupRequest) Descriptor() ([]byte, []int)
- func (m *UnassignRoleFromGroupRequest) GetGroup() *Group
- func (m *UnassignRoleFromGroupRequest) GetRoleName() string
- func (m *UnassignRoleFromGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *UnassignRoleFromGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UnassignRoleFromGroupRequest) ProtoMessage()
- func (m *UnassignRoleFromGroupRequest) Reset()
- func (m *UnassignRoleFromGroupRequest) Size() (n int)
- func (m *UnassignRoleFromGroupRequest) String() string
- func (m *UnassignRoleFromGroupRequest) Unmarshal(dAtA []byte) error
- func (m *UnassignRoleFromGroupRequest) XXX_DiscardUnknown()
- func (m *UnassignRoleFromGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnassignRoleFromGroupRequest) XXX_Merge(src proto.Message)
- func (m *UnassignRoleFromGroupRequest) XXX_Size() int
- func (m *UnassignRoleFromGroupRequest) XXX_Unmarshal(b []byte) error
- type UnassignRoleFromGroupResponse
- func (*UnassignRoleFromGroupResponse) Descriptor() ([]byte, []int)
- func (m *UnassignRoleFromGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *UnassignRoleFromGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UnassignRoleFromGroupResponse) ProtoMessage()
- func (m *UnassignRoleFromGroupResponse) Reset()
- func (m *UnassignRoleFromGroupResponse) Size() (n int)
- func (m *UnassignRoleFromGroupResponse) String() string
- func (m *UnassignRoleFromGroupResponse) Unmarshal(dAtA []byte) error
- func (m *UnassignRoleFromGroupResponse) XXX_DiscardUnknown()
- func (m *UnassignRoleFromGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnassignRoleFromGroupResponse) XXX_Merge(src proto.Message)
- func (m *UnassignRoleFromGroupResponse) XXX_Size() int
- func (m *UnassignRoleFromGroupResponse) XXX_Unmarshal(b []byte) error
- type UnassignRoleRequest
- func (*UnassignRoleRequest) Descriptor() ([]byte, []int)
- func (m *UnassignRoleRequest) GetActor() *Actor
- func (m *UnassignRoleRequest) GetRoleName() string
- func (m *UnassignRoleRequest) Marshal() (dAtA []byte, err error)
- func (m *UnassignRoleRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UnassignRoleRequest) ProtoMessage()
- func (m *UnassignRoleRequest) Reset()
- func (m *UnassignRoleRequest) Size() (n int)
- func (m *UnassignRoleRequest) String() string
- func (m *UnassignRoleRequest) Unmarshal(dAtA []byte) error
- func (m *UnassignRoleRequest) XXX_DiscardUnknown()
- func (m *UnassignRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnassignRoleRequest) XXX_Merge(src proto.Message)
- func (m *UnassignRoleRequest) XXX_Size() int
- func (m *UnassignRoleRequest) XXX_Unmarshal(b []byte) error
- type UnassignRoleResponse
- func (*UnassignRoleResponse) Descriptor() ([]byte, []int)
- func (m *UnassignRoleResponse) Marshal() (dAtA []byte, err error)
- func (m *UnassignRoleResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UnassignRoleResponse) ProtoMessage()
- func (m *UnassignRoleResponse) Reset()
- func (m *UnassignRoleResponse) Size() (n int)
- func (m *UnassignRoleResponse) String() string
- func (m *UnassignRoleResponse) Unmarshal(dAtA []byte) error
- func (m *UnassignRoleResponse) XXX_DiscardUnknown()
- func (m *UnassignRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnassignRoleResponse) XXX_Merge(src proto.Message)
- func (m *UnassignRoleResponse) XXX_Size() int
- func (m *UnassignRoleResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthActor = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowActor = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthGroup = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGroup = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthPermission = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPermission = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthPermissionService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPermissionService = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthRole = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRole = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthRoleService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRoleService = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterPermissionServiceServer ¶
func RegisterPermissionServiceServer(s *grpc.Server, srv PermissionServiceServer)
func RegisterRoleServiceServer ¶
func RegisterRoleServiceServer(s *grpc.Server, srv RoleServiceServer)
Types ¶
type Actor ¶
type Actor struct { ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Actor) Descriptor ¶
func (*Actor) GetNamespace ¶
func (*Actor) ProtoMessage ¶
func (*Actor) ProtoMessage()
func (*Actor) XXX_DiscardUnknown ¶
func (m *Actor) XXX_DiscardUnknown()
func (*Actor) XXX_Marshal ¶
func (*Actor) XXX_Unmarshal ¶
type AssignRoleRequest ¶
type AssignRoleRequest struct { Actor *Actor `protobuf:"bytes,1,opt,name=actor" json:"actor,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssignRoleRequest) Descriptor ¶
func (*AssignRoleRequest) Descriptor() ([]byte, []int)
func (*AssignRoleRequest) GetActor ¶
func (m *AssignRoleRequest) GetActor() *Actor
func (*AssignRoleRequest) GetRoleName ¶
func (m *AssignRoleRequest) GetRoleName() string
func (*AssignRoleRequest) Marshal ¶
func (m *AssignRoleRequest) Marshal() (dAtA []byte, err error)
func (*AssignRoleRequest) MarshalTo ¶
func (m *AssignRoleRequest) MarshalTo(dAtA []byte) (int, error)
func (*AssignRoleRequest) ProtoMessage ¶
func (*AssignRoleRequest) ProtoMessage()
func (*AssignRoleRequest) Reset ¶
func (m *AssignRoleRequest) Reset()
func (*AssignRoleRequest) Size ¶
func (m *AssignRoleRequest) Size() (n int)
func (*AssignRoleRequest) String ¶
func (m *AssignRoleRequest) String() string
func (*AssignRoleRequest) Unmarshal ¶
func (m *AssignRoleRequest) Unmarshal(dAtA []byte) error
func (*AssignRoleRequest) XXX_DiscardUnknown ¶
func (m *AssignRoleRequest) XXX_DiscardUnknown()
func (*AssignRoleRequest) XXX_Marshal ¶
func (m *AssignRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssignRoleRequest) XXX_Merge ¶
func (dst *AssignRoleRequest) XXX_Merge(src proto.Message)
func (*AssignRoleRequest) XXX_Size ¶
func (m *AssignRoleRequest) XXX_Size() int
func (*AssignRoleRequest) XXX_Unmarshal ¶
func (m *AssignRoleRequest) XXX_Unmarshal(b []byte) error
type AssignRoleResponse ¶
type AssignRoleResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssignRoleResponse) Descriptor ¶
func (*AssignRoleResponse) Descriptor() ([]byte, []int)
func (*AssignRoleResponse) Marshal ¶
func (m *AssignRoleResponse) Marshal() (dAtA []byte, err error)
func (*AssignRoleResponse) MarshalTo ¶
func (m *AssignRoleResponse) MarshalTo(dAtA []byte) (int, error)
func (*AssignRoleResponse) ProtoMessage ¶
func (*AssignRoleResponse) ProtoMessage()
func (*AssignRoleResponse) Reset ¶
func (m *AssignRoleResponse) Reset()
func (*AssignRoleResponse) Size ¶
func (m *AssignRoleResponse) Size() (n int)
func (*AssignRoleResponse) String ¶
func (m *AssignRoleResponse) String() string
func (*AssignRoleResponse) Unmarshal ¶
func (m *AssignRoleResponse) Unmarshal(dAtA []byte) error
func (*AssignRoleResponse) XXX_DiscardUnknown ¶
func (m *AssignRoleResponse) XXX_DiscardUnknown()
func (*AssignRoleResponse) XXX_Marshal ¶
func (m *AssignRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssignRoleResponse) XXX_Merge ¶
func (dst *AssignRoleResponse) XXX_Merge(src proto.Message)
func (*AssignRoleResponse) XXX_Size ¶
func (m *AssignRoleResponse) XXX_Size() int
func (*AssignRoleResponse) XXX_Unmarshal ¶
func (m *AssignRoleResponse) XXX_Unmarshal(b []byte) error
type AssignRoleToGroupRequest ¶
type AssignRoleToGroupRequest struct { Group *Group `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssignRoleToGroupRequest) Descriptor ¶
func (*AssignRoleToGroupRequest) Descriptor() ([]byte, []int)
func (*AssignRoleToGroupRequest) GetGroup ¶
func (m *AssignRoleToGroupRequest) GetGroup() *Group
func (*AssignRoleToGroupRequest) GetRoleName ¶
func (m *AssignRoleToGroupRequest) GetRoleName() string
func (*AssignRoleToGroupRequest) Marshal ¶
func (m *AssignRoleToGroupRequest) Marshal() (dAtA []byte, err error)
func (*AssignRoleToGroupRequest) MarshalTo ¶
func (m *AssignRoleToGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*AssignRoleToGroupRequest) ProtoMessage ¶
func (*AssignRoleToGroupRequest) ProtoMessage()
func (*AssignRoleToGroupRequest) Reset ¶
func (m *AssignRoleToGroupRequest) Reset()
func (*AssignRoleToGroupRequest) Size ¶
func (m *AssignRoleToGroupRequest) Size() (n int)
func (*AssignRoleToGroupRequest) String ¶
func (m *AssignRoleToGroupRequest) String() string
func (*AssignRoleToGroupRequest) Unmarshal ¶
func (m *AssignRoleToGroupRequest) Unmarshal(dAtA []byte) error
func (*AssignRoleToGroupRequest) XXX_DiscardUnknown ¶
func (m *AssignRoleToGroupRequest) XXX_DiscardUnknown()
func (*AssignRoleToGroupRequest) XXX_Marshal ¶
func (m *AssignRoleToGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssignRoleToGroupRequest) XXX_Merge ¶
func (dst *AssignRoleToGroupRequest) XXX_Merge(src proto.Message)
func (*AssignRoleToGroupRequest) XXX_Size ¶
func (m *AssignRoleToGroupRequest) XXX_Size() int
func (*AssignRoleToGroupRequest) XXX_Unmarshal ¶
func (m *AssignRoleToGroupRequest) XXX_Unmarshal(b []byte) error
type AssignRoleToGroupResponse ¶
type AssignRoleToGroupResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssignRoleToGroupResponse) Descriptor ¶
func (*AssignRoleToGroupResponse) Descriptor() ([]byte, []int)
func (*AssignRoleToGroupResponse) Marshal ¶
func (m *AssignRoleToGroupResponse) Marshal() (dAtA []byte, err error)
func (*AssignRoleToGroupResponse) MarshalTo ¶
func (m *AssignRoleToGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*AssignRoleToGroupResponse) ProtoMessage ¶
func (*AssignRoleToGroupResponse) ProtoMessage()
func (*AssignRoleToGroupResponse) Reset ¶
func (m *AssignRoleToGroupResponse) Reset()
func (*AssignRoleToGroupResponse) Size ¶
func (m *AssignRoleToGroupResponse) Size() (n int)
func (*AssignRoleToGroupResponse) String ¶
func (m *AssignRoleToGroupResponse) String() string
func (*AssignRoleToGroupResponse) Unmarshal ¶
func (m *AssignRoleToGroupResponse) Unmarshal(dAtA []byte) error
func (*AssignRoleToGroupResponse) XXX_DiscardUnknown ¶
func (m *AssignRoleToGroupResponse) XXX_DiscardUnknown()
func (*AssignRoleToGroupResponse) XXX_Marshal ¶
func (m *AssignRoleToGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssignRoleToGroupResponse) XXX_Merge ¶
func (dst *AssignRoleToGroupResponse) XXX_Merge(src proto.Message)
func (*AssignRoleToGroupResponse) XXX_Size ¶
func (m *AssignRoleToGroupResponse) XXX_Size() int
func (*AssignRoleToGroupResponse) XXX_Unmarshal ¶
func (m *AssignRoleToGroupResponse) XXX_Unmarshal(b []byte) error
type CreateRoleRequest ¶
type CreateRoleRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Permissions []*Permission `protobuf:"bytes,2,rep,name=permissions" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateRoleRequest) Descriptor ¶
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
func (*CreateRoleRequest) GetName ¶
func (m *CreateRoleRequest) GetName() string
func (*CreateRoleRequest) GetPermissions ¶
func (m *CreateRoleRequest) GetPermissions() []*Permission
func (*CreateRoleRequest) Marshal ¶
func (m *CreateRoleRequest) Marshal() (dAtA []byte, err error)
func (*CreateRoleRequest) MarshalTo ¶
func (m *CreateRoleRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) Reset ¶
func (m *CreateRoleRequest) Reset()
func (*CreateRoleRequest) Size ¶
func (m *CreateRoleRequest) Size() (n int)
func (*CreateRoleRequest) String ¶
func (m *CreateRoleRequest) String() string
func (*CreateRoleRequest) Unmarshal ¶
func (m *CreateRoleRequest) Unmarshal(dAtA []byte) error
func (*CreateRoleRequest) XXX_DiscardUnknown ¶
func (m *CreateRoleRequest) XXX_DiscardUnknown()
func (*CreateRoleRequest) XXX_Marshal ¶
func (m *CreateRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRoleRequest) XXX_Merge ¶
func (dst *CreateRoleRequest) XXX_Merge(src proto.Message)
func (*CreateRoleRequest) XXX_Size ¶
func (m *CreateRoleRequest) XXX_Size() int
func (*CreateRoleRequest) XXX_Unmarshal ¶
func (m *CreateRoleRequest) XXX_Unmarshal(b []byte) error
type CreateRoleResponse ¶
type CreateRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateRoleResponse) Descriptor ¶
func (*CreateRoleResponse) Descriptor() ([]byte, []int)
func (*CreateRoleResponse) GetRole ¶
func (m *CreateRoleResponse) GetRole() *Role
func (*CreateRoleResponse) Marshal ¶
func (m *CreateRoleResponse) Marshal() (dAtA []byte, err error)
func (*CreateRoleResponse) MarshalTo ¶
func (m *CreateRoleResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreateRoleResponse) ProtoMessage ¶
func (*CreateRoleResponse) ProtoMessage()
func (*CreateRoleResponse) Reset ¶
func (m *CreateRoleResponse) Reset()
func (*CreateRoleResponse) Size ¶
func (m *CreateRoleResponse) Size() (n int)
func (*CreateRoleResponse) String ¶
func (m *CreateRoleResponse) String() string
func (*CreateRoleResponse) Unmarshal ¶
func (m *CreateRoleResponse) Unmarshal(dAtA []byte) error
func (*CreateRoleResponse) XXX_DiscardUnknown ¶
func (m *CreateRoleResponse) XXX_DiscardUnknown()
func (*CreateRoleResponse) XXX_Marshal ¶
func (m *CreateRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRoleResponse) XXX_Merge ¶
func (dst *CreateRoleResponse) XXX_Merge(src proto.Message)
func (*CreateRoleResponse) XXX_Size ¶
func (m *CreateRoleResponse) XXX_Size() int
func (*CreateRoleResponse) XXX_Unmarshal ¶
func (m *CreateRoleResponse) XXX_Unmarshal(b []byte) error
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRoleRequest) Descriptor ¶
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
func (*DeleteRoleRequest) GetName ¶
func (m *DeleteRoleRequest) GetName() string
func (*DeleteRoleRequest) Marshal ¶
func (m *DeleteRoleRequest) Marshal() (dAtA []byte, err error)
func (*DeleteRoleRequest) MarshalTo ¶
func (m *DeleteRoleRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) Reset ¶
func (m *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) Size ¶
func (m *DeleteRoleRequest) Size() (n int)
func (*DeleteRoleRequest) String ¶
func (m *DeleteRoleRequest) String() string
func (*DeleteRoleRequest) Unmarshal ¶
func (m *DeleteRoleRequest) Unmarshal(dAtA []byte) error
func (*DeleteRoleRequest) XXX_DiscardUnknown ¶
func (m *DeleteRoleRequest) XXX_DiscardUnknown()
func (*DeleteRoleRequest) XXX_Marshal ¶
func (m *DeleteRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRoleRequest) XXX_Merge ¶
func (dst *DeleteRoleRequest) XXX_Merge(src proto.Message)
func (*DeleteRoleRequest) XXX_Size ¶
func (m *DeleteRoleRequest) XXX_Size() int
func (*DeleteRoleRequest) XXX_Unmarshal ¶
func (m *DeleteRoleRequest) XXX_Unmarshal(b []byte) error
type DeleteRoleResponse ¶
type DeleteRoleResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRoleResponse) Descriptor ¶
func (*DeleteRoleResponse) Descriptor() ([]byte, []int)
func (*DeleteRoleResponse) Marshal ¶
func (m *DeleteRoleResponse) Marshal() (dAtA []byte, err error)
func (*DeleteRoleResponse) MarshalTo ¶
func (m *DeleteRoleResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeleteRoleResponse) ProtoMessage ¶
func (*DeleteRoleResponse) ProtoMessage()
func (*DeleteRoleResponse) Reset ¶
func (m *DeleteRoleResponse) Reset()
func (*DeleteRoleResponse) Size ¶
func (m *DeleteRoleResponse) Size() (n int)
func (*DeleteRoleResponse) String ¶
func (m *DeleteRoleResponse) String() string
func (*DeleteRoleResponse) Unmarshal ¶
func (m *DeleteRoleResponse) Unmarshal(dAtA []byte) error
func (*DeleteRoleResponse) XXX_DiscardUnknown ¶
func (m *DeleteRoleResponse) XXX_DiscardUnknown()
func (*DeleteRoleResponse) XXX_Marshal ¶
func (m *DeleteRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRoleResponse) XXX_Merge ¶
func (dst *DeleteRoleResponse) XXX_Merge(src proto.Message)
func (*DeleteRoleResponse) XXX_Size ¶
func (m *DeleteRoleResponse) XXX_Size() int
func (*DeleteRoleResponse) XXX_Unmarshal ¶
func (m *DeleteRoleResponse) XXX_Unmarshal(b []byte) error
type Group ¶
type Group struct { ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Group) Descriptor ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) XXX_DiscardUnknown ¶
func (m *Group) XXX_DiscardUnknown()
func (*Group) XXX_Marshal ¶
func (*Group) XXX_Unmarshal ¶
type HasPermissionRequest ¶
type HasPermissionRequest struct { Actor *Actor `protobuf:"bytes,1,opt,name=actor" json:"actor,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` Groups []*Group `protobuf:"bytes,4,rep,name=groups" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasPermissionRequest) Descriptor ¶
func (*HasPermissionRequest) Descriptor() ([]byte, []int)
func (*HasPermissionRequest) GetAction ¶
func (m *HasPermissionRequest) GetAction() string
func (*HasPermissionRequest) GetActor ¶
func (m *HasPermissionRequest) GetActor() *Actor
func (*HasPermissionRequest) GetGroups ¶
func (m *HasPermissionRequest) GetGroups() []*Group
func (*HasPermissionRequest) GetResource ¶
func (m *HasPermissionRequest) GetResource() string
func (*HasPermissionRequest) Marshal ¶
func (m *HasPermissionRequest) Marshal() (dAtA []byte, err error)
func (*HasPermissionRequest) MarshalTo ¶
func (m *HasPermissionRequest) MarshalTo(dAtA []byte) (int, error)
func (*HasPermissionRequest) ProtoMessage ¶
func (*HasPermissionRequest) ProtoMessage()
func (*HasPermissionRequest) Reset ¶
func (m *HasPermissionRequest) Reset()
func (*HasPermissionRequest) Size ¶
func (m *HasPermissionRequest) Size() (n int)
func (*HasPermissionRequest) String ¶
func (m *HasPermissionRequest) String() string
func (*HasPermissionRequest) Unmarshal ¶
func (m *HasPermissionRequest) Unmarshal(dAtA []byte) error
func (*HasPermissionRequest) XXX_DiscardUnknown ¶
func (m *HasPermissionRequest) XXX_DiscardUnknown()
func (*HasPermissionRequest) XXX_Marshal ¶
func (m *HasPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasPermissionRequest) XXX_Merge ¶
func (dst *HasPermissionRequest) XXX_Merge(src proto.Message)
func (*HasPermissionRequest) XXX_Size ¶
func (m *HasPermissionRequest) XXX_Size() int
func (*HasPermissionRequest) XXX_Unmarshal ¶
func (m *HasPermissionRequest) XXX_Unmarshal(b []byte) error
type HasPermissionResponse ¶
type HasPermissionResponse struct { HasPermission bool `protobuf:"varint,1,opt,name=has_permission,json=hasPermission,proto3" json:"has_permission,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasPermissionResponse) Descriptor ¶
func (*HasPermissionResponse) Descriptor() ([]byte, []int)
func (*HasPermissionResponse) GetHasPermission ¶
func (m *HasPermissionResponse) GetHasPermission() bool
func (*HasPermissionResponse) Marshal ¶
func (m *HasPermissionResponse) Marshal() (dAtA []byte, err error)
func (*HasPermissionResponse) MarshalTo ¶
func (m *HasPermissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*HasPermissionResponse) ProtoMessage ¶
func (*HasPermissionResponse) ProtoMessage()
func (*HasPermissionResponse) Reset ¶
func (m *HasPermissionResponse) Reset()
func (*HasPermissionResponse) Size ¶
func (m *HasPermissionResponse) Size() (n int)
func (*HasPermissionResponse) String ¶
func (m *HasPermissionResponse) String() string
func (*HasPermissionResponse) Unmarshal ¶
func (m *HasPermissionResponse) Unmarshal(dAtA []byte) error
func (*HasPermissionResponse) XXX_DiscardUnknown ¶
func (m *HasPermissionResponse) XXX_DiscardUnknown()
func (*HasPermissionResponse) XXX_Marshal ¶
func (m *HasPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasPermissionResponse) XXX_Merge ¶
func (dst *HasPermissionResponse) XXX_Merge(src proto.Message)
func (*HasPermissionResponse) XXX_Size ¶
func (m *HasPermissionResponse) XXX_Size() int
func (*HasPermissionResponse) XXX_Unmarshal ¶
func (m *HasPermissionResponse) XXX_Unmarshal(b []byte) error
type HasRoleForGroupRequest ¶
type HasRoleForGroupRequest struct { Group *Group `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasRoleForGroupRequest) Descriptor ¶
func (*HasRoleForGroupRequest) Descriptor() ([]byte, []int)
func (*HasRoleForGroupRequest) GetGroup ¶
func (m *HasRoleForGroupRequest) GetGroup() *Group
func (*HasRoleForGroupRequest) GetRoleName ¶
func (m *HasRoleForGroupRequest) GetRoleName() string
func (*HasRoleForGroupRequest) Marshal ¶
func (m *HasRoleForGroupRequest) Marshal() (dAtA []byte, err error)
func (*HasRoleForGroupRequest) MarshalTo ¶
func (m *HasRoleForGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*HasRoleForGroupRequest) ProtoMessage ¶
func (*HasRoleForGroupRequest) ProtoMessage()
func (*HasRoleForGroupRequest) Reset ¶
func (m *HasRoleForGroupRequest) Reset()
func (*HasRoleForGroupRequest) Size ¶
func (m *HasRoleForGroupRequest) Size() (n int)
func (*HasRoleForGroupRequest) String ¶
func (m *HasRoleForGroupRequest) String() string
func (*HasRoleForGroupRequest) Unmarshal ¶
func (m *HasRoleForGroupRequest) Unmarshal(dAtA []byte) error
func (*HasRoleForGroupRequest) XXX_DiscardUnknown ¶
func (m *HasRoleForGroupRequest) XXX_DiscardUnknown()
func (*HasRoleForGroupRequest) XXX_Marshal ¶
func (m *HasRoleForGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasRoleForGroupRequest) XXX_Merge ¶
func (dst *HasRoleForGroupRequest) XXX_Merge(src proto.Message)
func (*HasRoleForGroupRequest) XXX_Size ¶
func (m *HasRoleForGroupRequest) XXX_Size() int
func (*HasRoleForGroupRequest) XXX_Unmarshal ¶
func (m *HasRoleForGroupRequest) XXX_Unmarshal(b []byte) error
type HasRoleForGroupResponse ¶
type HasRoleForGroupResponse struct { HasRole bool `protobuf:"varint,1,opt,name=has_role,json=hasRole,proto3" json:"has_role,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasRoleForGroupResponse) Descriptor ¶
func (*HasRoleForGroupResponse) Descriptor() ([]byte, []int)
func (*HasRoleForGroupResponse) GetHasRole ¶
func (m *HasRoleForGroupResponse) GetHasRole() bool
func (*HasRoleForGroupResponse) Marshal ¶
func (m *HasRoleForGroupResponse) Marshal() (dAtA []byte, err error)
func (*HasRoleForGroupResponse) MarshalTo ¶
func (m *HasRoleForGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*HasRoleForGroupResponse) ProtoMessage ¶
func (*HasRoleForGroupResponse) ProtoMessage()
func (*HasRoleForGroupResponse) Reset ¶
func (m *HasRoleForGroupResponse) Reset()
func (*HasRoleForGroupResponse) Size ¶
func (m *HasRoleForGroupResponse) Size() (n int)
func (*HasRoleForGroupResponse) String ¶
func (m *HasRoleForGroupResponse) String() string
func (*HasRoleForGroupResponse) Unmarshal ¶
func (m *HasRoleForGroupResponse) Unmarshal(dAtA []byte) error
func (*HasRoleForGroupResponse) XXX_DiscardUnknown ¶
func (m *HasRoleForGroupResponse) XXX_DiscardUnknown()
func (*HasRoleForGroupResponse) XXX_Marshal ¶
func (m *HasRoleForGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasRoleForGroupResponse) XXX_Merge ¶
func (dst *HasRoleForGroupResponse) XXX_Merge(src proto.Message)
func (*HasRoleForGroupResponse) XXX_Size ¶
func (m *HasRoleForGroupResponse) XXX_Size() int
func (*HasRoleForGroupResponse) XXX_Unmarshal ¶
func (m *HasRoleForGroupResponse) XXX_Unmarshal(b []byte) error
type HasRoleRequest ¶
type HasRoleRequest struct { Actor *Actor `protobuf:"bytes,1,opt,name=actor" json:"actor,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasRoleRequest) Descriptor ¶
func (*HasRoleRequest) Descriptor() ([]byte, []int)
func (*HasRoleRequest) GetActor ¶
func (m *HasRoleRequest) GetActor() *Actor
func (*HasRoleRequest) GetRoleName ¶
func (m *HasRoleRequest) GetRoleName() string
func (*HasRoleRequest) Marshal ¶
func (m *HasRoleRequest) Marshal() (dAtA []byte, err error)
func (*HasRoleRequest) ProtoMessage ¶
func (*HasRoleRequest) ProtoMessage()
func (*HasRoleRequest) Reset ¶
func (m *HasRoleRequest) Reset()
func (*HasRoleRequest) Size ¶
func (m *HasRoleRequest) Size() (n int)
func (*HasRoleRequest) String ¶
func (m *HasRoleRequest) String() string
func (*HasRoleRequest) Unmarshal ¶
func (m *HasRoleRequest) Unmarshal(dAtA []byte) error
func (*HasRoleRequest) XXX_DiscardUnknown ¶
func (m *HasRoleRequest) XXX_DiscardUnknown()
func (*HasRoleRequest) XXX_Marshal ¶
func (m *HasRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasRoleRequest) XXX_Merge ¶
func (dst *HasRoleRequest) XXX_Merge(src proto.Message)
func (*HasRoleRequest) XXX_Size ¶
func (m *HasRoleRequest) XXX_Size() int
func (*HasRoleRequest) XXX_Unmarshal ¶
func (m *HasRoleRequest) XXX_Unmarshal(b []byte) error
type HasRoleResponse ¶
type HasRoleResponse struct { HasRole bool `protobuf:"varint,1,opt,name=has_role,json=hasRole,proto3" json:"has_role,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HasRoleResponse) Descriptor ¶
func (*HasRoleResponse) Descriptor() ([]byte, []int)
func (*HasRoleResponse) GetHasRole ¶
func (m *HasRoleResponse) GetHasRole() bool
func (*HasRoleResponse) Marshal ¶
func (m *HasRoleResponse) Marshal() (dAtA []byte, err error)
func (*HasRoleResponse) ProtoMessage ¶
func (*HasRoleResponse) ProtoMessage()
func (*HasRoleResponse) Reset ¶
func (m *HasRoleResponse) Reset()
func (*HasRoleResponse) Size ¶
func (m *HasRoleResponse) Size() (n int)
func (*HasRoleResponse) String ¶
func (m *HasRoleResponse) String() string
func (*HasRoleResponse) Unmarshal ¶
func (m *HasRoleResponse) Unmarshal(dAtA []byte) error
func (*HasRoleResponse) XXX_DiscardUnknown ¶
func (m *HasRoleResponse) XXX_DiscardUnknown()
func (*HasRoleResponse) XXX_Marshal ¶
func (m *HasRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasRoleResponse) XXX_Merge ¶
func (dst *HasRoleResponse) XXX_Merge(src proto.Message)
func (*HasRoleResponse) XXX_Size ¶
func (m *HasRoleResponse) XXX_Size() int
func (*HasRoleResponse) XXX_Unmarshal ¶
func (m *HasRoleResponse) XXX_Unmarshal(b []byte) error
type ListResourcePatternsRequest ¶
type ListResourcePatternsRequest struct { Actor *Actor `protobuf:"bytes,2,opt,name=actor" json:"actor,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` Groups []*Group `protobuf:"bytes,4,rep,name=groups" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListResourcePatternsRequest) Descriptor ¶
func (*ListResourcePatternsRequest) Descriptor() ([]byte, []int)
func (*ListResourcePatternsRequest) GetAction ¶
func (m *ListResourcePatternsRequest) GetAction() string
func (*ListResourcePatternsRequest) GetActor ¶
func (m *ListResourcePatternsRequest) GetActor() *Actor
func (*ListResourcePatternsRequest) GetGroups ¶
func (m *ListResourcePatternsRequest) GetGroups() []*Group
func (*ListResourcePatternsRequest) Marshal ¶
func (m *ListResourcePatternsRequest) Marshal() (dAtA []byte, err error)
func (*ListResourcePatternsRequest) MarshalTo ¶
func (m *ListResourcePatternsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListResourcePatternsRequest) ProtoMessage ¶
func (*ListResourcePatternsRequest) ProtoMessage()
func (*ListResourcePatternsRequest) Reset ¶
func (m *ListResourcePatternsRequest) Reset()
func (*ListResourcePatternsRequest) Size ¶
func (m *ListResourcePatternsRequest) Size() (n int)
func (*ListResourcePatternsRequest) String ¶
func (m *ListResourcePatternsRequest) String() string
func (*ListResourcePatternsRequest) Unmarshal ¶
func (m *ListResourcePatternsRequest) Unmarshal(dAtA []byte) error
func (*ListResourcePatternsRequest) XXX_DiscardUnknown ¶
func (m *ListResourcePatternsRequest) XXX_DiscardUnknown()
func (*ListResourcePatternsRequest) XXX_Marshal ¶
func (m *ListResourcePatternsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResourcePatternsRequest) XXX_Merge ¶
func (dst *ListResourcePatternsRequest) XXX_Merge(src proto.Message)
func (*ListResourcePatternsRequest) XXX_Size ¶
func (m *ListResourcePatternsRequest) XXX_Size() int
func (*ListResourcePatternsRequest) XXX_Unmarshal ¶
func (m *ListResourcePatternsRequest) XXX_Unmarshal(b []byte) error
type ListResourcePatternsResponse ¶
type ListResourcePatternsResponse struct { ResourcePatterns []string `protobuf:"bytes,2,rep,name=resource_patterns,json=resourcePatterns" json:"resource_patterns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListResourcePatternsResponse) Descriptor ¶
func (*ListResourcePatternsResponse) Descriptor() ([]byte, []int)
func (*ListResourcePatternsResponse) GetResourcePatterns ¶
func (m *ListResourcePatternsResponse) GetResourcePatterns() []string
func (*ListResourcePatternsResponse) Marshal ¶
func (m *ListResourcePatternsResponse) Marshal() (dAtA []byte, err error)
func (*ListResourcePatternsResponse) MarshalTo ¶
func (m *ListResourcePatternsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListResourcePatternsResponse) ProtoMessage ¶
func (*ListResourcePatternsResponse) ProtoMessage()
func (*ListResourcePatternsResponse) Reset ¶
func (m *ListResourcePatternsResponse) Reset()
func (*ListResourcePatternsResponse) Size ¶
func (m *ListResourcePatternsResponse) Size() (n int)
func (*ListResourcePatternsResponse) String ¶
func (m *ListResourcePatternsResponse) String() string
func (*ListResourcePatternsResponse) Unmarshal ¶
func (m *ListResourcePatternsResponse) Unmarshal(dAtA []byte) error
func (*ListResourcePatternsResponse) XXX_DiscardUnknown ¶
func (m *ListResourcePatternsResponse) XXX_DiscardUnknown()
func (*ListResourcePatternsResponse) XXX_Marshal ¶
func (m *ListResourcePatternsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResourcePatternsResponse) XXX_Merge ¶
func (dst *ListResourcePatternsResponse) XXX_Merge(src proto.Message)
func (*ListResourcePatternsResponse) XXX_Size ¶
func (m *ListResourcePatternsResponse) XXX_Size() int
func (*ListResourcePatternsResponse) XXX_Unmarshal ¶
func (m *ListResourcePatternsResponse) XXX_Unmarshal(b []byte) error
type ListRolePermissionsRequest ¶
type ListRolePermissionsRequest struct { RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRolePermissionsRequest) Descriptor ¶
func (*ListRolePermissionsRequest) Descriptor() ([]byte, []int)
func (*ListRolePermissionsRequest) GetRoleName ¶
func (m *ListRolePermissionsRequest) GetRoleName() string
func (*ListRolePermissionsRequest) Marshal ¶
func (m *ListRolePermissionsRequest) Marshal() (dAtA []byte, err error)
func (*ListRolePermissionsRequest) MarshalTo ¶
func (m *ListRolePermissionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListRolePermissionsRequest) ProtoMessage ¶
func (*ListRolePermissionsRequest) ProtoMessage()
func (*ListRolePermissionsRequest) Reset ¶
func (m *ListRolePermissionsRequest) Reset()
func (*ListRolePermissionsRequest) Size ¶
func (m *ListRolePermissionsRequest) Size() (n int)
func (*ListRolePermissionsRequest) String ¶
func (m *ListRolePermissionsRequest) String() string
func (*ListRolePermissionsRequest) Unmarshal ¶
func (m *ListRolePermissionsRequest) Unmarshal(dAtA []byte) error
func (*ListRolePermissionsRequest) XXX_DiscardUnknown ¶
func (m *ListRolePermissionsRequest) XXX_DiscardUnknown()
func (*ListRolePermissionsRequest) XXX_Marshal ¶
func (m *ListRolePermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRolePermissionsRequest) XXX_Merge ¶
func (dst *ListRolePermissionsRequest) XXX_Merge(src proto.Message)
func (*ListRolePermissionsRequest) XXX_Size ¶
func (m *ListRolePermissionsRequest) XXX_Size() int
func (*ListRolePermissionsRequest) XXX_Unmarshal ¶
func (m *ListRolePermissionsRequest) XXX_Unmarshal(b []byte) error
type ListRolePermissionsResponse ¶
type ListRolePermissionsResponse struct { Permissions []*Permission `protobuf:"bytes,2,rep,name=permissions" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRolePermissionsResponse) Descriptor ¶
func (*ListRolePermissionsResponse) Descriptor() ([]byte, []int)
func (*ListRolePermissionsResponse) GetPermissions ¶
func (m *ListRolePermissionsResponse) GetPermissions() []*Permission
func (*ListRolePermissionsResponse) Marshal ¶
func (m *ListRolePermissionsResponse) Marshal() (dAtA []byte, err error)
func (*ListRolePermissionsResponse) MarshalTo ¶
func (m *ListRolePermissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListRolePermissionsResponse) ProtoMessage ¶
func (*ListRolePermissionsResponse) ProtoMessage()
func (*ListRolePermissionsResponse) Reset ¶
func (m *ListRolePermissionsResponse) Reset()
func (*ListRolePermissionsResponse) Size ¶
func (m *ListRolePermissionsResponse) Size() (n int)
func (*ListRolePermissionsResponse) String ¶
func (m *ListRolePermissionsResponse) String() string
func (*ListRolePermissionsResponse) Unmarshal ¶
func (m *ListRolePermissionsResponse) Unmarshal(dAtA []byte) error
func (*ListRolePermissionsResponse) XXX_DiscardUnknown ¶
func (m *ListRolePermissionsResponse) XXX_DiscardUnknown()
func (*ListRolePermissionsResponse) XXX_Marshal ¶
func (m *ListRolePermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRolePermissionsResponse) XXX_Merge ¶
func (dst *ListRolePermissionsResponse) XXX_Merge(src proto.Message)
func (*ListRolePermissionsResponse) XXX_Size ¶
func (m *ListRolePermissionsResponse) XXX_Size() int
func (*ListRolePermissionsResponse) XXX_Unmarshal ¶
func (m *ListRolePermissionsResponse) XXX_Unmarshal(b []byte) error
type Permission ¶
type Permission struct { Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` ResourcePattern string `protobuf:"bytes,3,opt,name=resource_pattern,json=resourcePattern,proto3" json:"resource_pattern,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Permission) Descriptor ¶
func (*Permission) Descriptor() ([]byte, []int)
func (*Permission) GetAction ¶
func (m *Permission) GetAction() string
func (*Permission) GetResourcePattern ¶
func (m *Permission) GetResourcePattern() string
func (*Permission) Marshal ¶
func (m *Permission) Marshal() (dAtA []byte, err error)
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) Reset ¶
func (m *Permission) Reset()
func (*Permission) Size ¶
func (m *Permission) Size() (n int)
func (*Permission) String ¶
func (m *Permission) String() string
func (*Permission) Unmarshal ¶
func (m *Permission) Unmarshal(dAtA []byte) error
func (*Permission) XXX_DiscardUnknown ¶
func (m *Permission) XXX_DiscardUnknown()
func (*Permission) XXX_Marshal ¶
func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Permission) XXX_Merge ¶
func (dst *Permission) XXX_Merge(src proto.Message)
func (*Permission) XXX_Size ¶
func (m *Permission) XXX_Size() int
func (*Permission) XXX_Unmarshal ¶
func (m *Permission) XXX_Unmarshal(b []byte) error
type PermissionServiceClient ¶
type PermissionServiceClient interface { HasPermission(ctx context.Context, in *HasPermissionRequest, opts ...grpc.CallOption) (*HasPermissionResponse, error) ListResourcePatterns(ctx context.Context, in *ListResourcePatternsRequest, opts ...grpc.CallOption) (*ListResourcePatternsResponse, error) }
func NewPermissionServiceClient ¶
func NewPermissionServiceClient(cc *grpc.ClientConn) PermissionServiceClient
type PermissionServiceServer ¶
type PermissionServiceServer interface { HasPermission(context.Context, *HasPermissionRequest) (*HasPermissionResponse, error) ListResourcePatterns(context.Context, *ListResourcePatternsRequest) (*ListResourcePatternsResponse, error) }
type Role ¶
type Role struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Role) Descriptor ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) XXX_DiscardUnknown ¶
func (m *Role) XXX_DiscardUnknown()
func (*Role) XXX_Unmarshal ¶
type RoleServiceClient ¶
type RoleServiceClient interface { CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error) AssignRole(ctx context.Context, in *AssignRoleRequest, opts ...grpc.CallOption) (*AssignRoleResponse, error) AssignRoleToGroup(ctx context.Context, in *AssignRoleToGroupRequest, opts ...grpc.CallOption) (*AssignRoleToGroupResponse, error) UnassignRole(ctx context.Context, in *UnassignRoleRequest, opts ...grpc.CallOption) (*UnassignRoleResponse, error) UnassignRoleFromGroup(ctx context.Context, in *UnassignRoleFromGroupRequest, opts ...grpc.CallOption) (*UnassignRoleFromGroupResponse, error) HasRole(ctx context.Context, in *HasRoleRequest, opts ...grpc.CallOption) (*HasRoleResponse, error) HasRoleForGroup(ctx context.Context, in *HasRoleForGroupRequest, opts ...grpc.CallOption) (*HasRoleForGroupResponse, error) ListRolePermissions(ctx context.Context, in *ListRolePermissionsRequest, opts ...grpc.CallOption) (*ListRolePermissionsResponse, error) }
func NewRoleServiceClient ¶
func NewRoleServiceClient(cc *grpc.ClientConn) RoleServiceClient
type RoleServiceServer ¶
type RoleServiceServer interface { CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error) AssignRole(context.Context, *AssignRoleRequest) (*AssignRoleResponse, error) AssignRoleToGroup(context.Context, *AssignRoleToGroupRequest) (*AssignRoleToGroupResponse, error) UnassignRole(context.Context, *UnassignRoleRequest) (*UnassignRoleResponse, error) UnassignRoleFromGroup(context.Context, *UnassignRoleFromGroupRequest) (*UnassignRoleFromGroupResponse, error) HasRole(context.Context, *HasRoleRequest) (*HasRoleResponse, error) HasRoleForGroup(context.Context, *HasRoleForGroupRequest) (*HasRoleForGroupResponse, error) ListRolePermissions(context.Context, *ListRolePermissionsRequest) (*ListRolePermissionsResponse, error) }
type UnassignRoleFromGroupRequest ¶
type UnassignRoleFromGroupRequest struct { Group *Group `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnassignRoleFromGroupRequest) Descriptor ¶
func (*UnassignRoleFromGroupRequest) Descriptor() ([]byte, []int)
func (*UnassignRoleFromGroupRequest) GetGroup ¶
func (m *UnassignRoleFromGroupRequest) GetGroup() *Group
func (*UnassignRoleFromGroupRequest) GetRoleName ¶
func (m *UnassignRoleFromGroupRequest) GetRoleName() string
func (*UnassignRoleFromGroupRequest) Marshal ¶
func (m *UnassignRoleFromGroupRequest) Marshal() (dAtA []byte, err error)
func (*UnassignRoleFromGroupRequest) MarshalTo ¶
func (m *UnassignRoleFromGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*UnassignRoleFromGroupRequest) ProtoMessage ¶
func (*UnassignRoleFromGroupRequest) ProtoMessage()
func (*UnassignRoleFromGroupRequest) Reset ¶
func (m *UnassignRoleFromGroupRequest) Reset()
func (*UnassignRoleFromGroupRequest) Size ¶
func (m *UnassignRoleFromGroupRequest) Size() (n int)
func (*UnassignRoleFromGroupRequest) String ¶
func (m *UnassignRoleFromGroupRequest) String() string
func (*UnassignRoleFromGroupRequest) Unmarshal ¶
func (m *UnassignRoleFromGroupRequest) Unmarshal(dAtA []byte) error
func (*UnassignRoleFromGroupRequest) XXX_DiscardUnknown ¶
func (m *UnassignRoleFromGroupRequest) XXX_DiscardUnknown()
func (*UnassignRoleFromGroupRequest) XXX_Marshal ¶
func (m *UnassignRoleFromGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnassignRoleFromGroupRequest) XXX_Merge ¶
func (dst *UnassignRoleFromGroupRequest) XXX_Merge(src proto.Message)
func (*UnassignRoleFromGroupRequest) XXX_Size ¶
func (m *UnassignRoleFromGroupRequest) XXX_Size() int
func (*UnassignRoleFromGroupRequest) XXX_Unmarshal ¶
func (m *UnassignRoleFromGroupRequest) XXX_Unmarshal(b []byte) error
type UnassignRoleFromGroupResponse ¶
type UnassignRoleFromGroupResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnassignRoleFromGroupResponse) Descriptor ¶
func (*UnassignRoleFromGroupResponse) Descriptor() ([]byte, []int)
func (*UnassignRoleFromGroupResponse) Marshal ¶
func (m *UnassignRoleFromGroupResponse) Marshal() (dAtA []byte, err error)
func (*UnassignRoleFromGroupResponse) MarshalTo ¶
func (m *UnassignRoleFromGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*UnassignRoleFromGroupResponse) ProtoMessage ¶
func (*UnassignRoleFromGroupResponse) ProtoMessage()
func (*UnassignRoleFromGroupResponse) Reset ¶
func (m *UnassignRoleFromGroupResponse) Reset()
func (*UnassignRoleFromGroupResponse) Size ¶
func (m *UnassignRoleFromGroupResponse) Size() (n int)
func (*UnassignRoleFromGroupResponse) String ¶
func (m *UnassignRoleFromGroupResponse) String() string
func (*UnassignRoleFromGroupResponse) Unmarshal ¶
func (m *UnassignRoleFromGroupResponse) Unmarshal(dAtA []byte) error
func (*UnassignRoleFromGroupResponse) XXX_DiscardUnknown ¶
func (m *UnassignRoleFromGroupResponse) XXX_DiscardUnknown()
func (*UnassignRoleFromGroupResponse) XXX_Marshal ¶
func (m *UnassignRoleFromGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnassignRoleFromGroupResponse) XXX_Merge ¶
func (dst *UnassignRoleFromGroupResponse) XXX_Merge(src proto.Message)
func (*UnassignRoleFromGroupResponse) XXX_Size ¶
func (m *UnassignRoleFromGroupResponse) XXX_Size() int
func (*UnassignRoleFromGroupResponse) XXX_Unmarshal ¶
func (m *UnassignRoleFromGroupResponse) XXX_Unmarshal(b []byte) error
type UnassignRoleRequest ¶
type UnassignRoleRequest struct { Actor *Actor `protobuf:"bytes,1,opt,name=actor" json:"actor,omitempty"` RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnassignRoleRequest) Descriptor ¶
func (*UnassignRoleRequest) Descriptor() ([]byte, []int)
func (*UnassignRoleRequest) GetActor ¶
func (m *UnassignRoleRequest) GetActor() *Actor
func (*UnassignRoleRequest) GetRoleName ¶
func (m *UnassignRoleRequest) GetRoleName() string
func (*UnassignRoleRequest) Marshal ¶
func (m *UnassignRoleRequest) Marshal() (dAtA []byte, err error)
func (*UnassignRoleRequest) MarshalTo ¶
func (m *UnassignRoleRequest) MarshalTo(dAtA []byte) (int, error)
func (*UnassignRoleRequest) ProtoMessage ¶
func (*UnassignRoleRequest) ProtoMessage()
func (*UnassignRoleRequest) Reset ¶
func (m *UnassignRoleRequest) Reset()
func (*UnassignRoleRequest) Size ¶
func (m *UnassignRoleRequest) Size() (n int)
func (*UnassignRoleRequest) String ¶
func (m *UnassignRoleRequest) String() string
func (*UnassignRoleRequest) Unmarshal ¶
func (m *UnassignRoleRequest) Unmarshal(dAtA []byte) error
func (*UnassignRoleRequest) XXX_DiscardUnknown ¶
func (m *UnassignRoleRequest) XXX_DiscardUnknown()
func (*UnassignRoleRequest) XXX_Marshal ¶
func (m *UnassignRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnassignRoleRequest) XXX_Merge ¶
func (dst *UnassignRoleRequest) XXX_Merge(src proto.Message)
func (*UnassignRoleRequest) XXX_Size ¶
func (m *UnassignRoleRequest) XXX_Size() int
func (*UnassignRoleRequest) XXX_Unmarshal ¶
func (m *UnassignRoleRequest) XXX_Unmarshal(b []byte) error
type UnassignRoleResponse ¶
type UnassignRoleResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnassignRoleResponse) Descriptor ¶
func (*UnassignRoleResponse) Descriptor() ([]byte, []int)
func (*UnassignRoleResponse) Marshal ¶
func (m *UnassignRoleResponse) Marshal() (dAtA []byte, err error)
func (*UnassignRoleResponse) MarshalTo ¶
func (m *UnassignRoleResponse) MarshalTo(dAtA []byte) (int, error)
func (*UnassignRoleResponse) ProtoMessage ¶
func (*UnassignRoleResponse) ProtoMessage()
func (*UnassignRoleResponse) Reset ¶
func (m *UnassignRoleResponse) Reset()
func (*UnassignRoleResponse) Size ¶
func (m *UnassignRoleResponse) Size() (n int)
func (*UnassignRoleResponse) String ¶
func (m *UnassignRoleResponse) String() string
func (*UnassignRoleResponse) Unmarshal ¶
func (m *UnassignRoleResponse) Unmarshal(dAtA []byte) error
func (*UnassignRoleResponse) XXX_DiscardUnknown ¶
func (m *UnassignRoleResponse) XXX_DiscardUnknown()
func (*UnassignRoleResponse) XXX_Marshal ¶
func (m *UnassignRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnassignRoleResponse) XXX_Merge ¶
func (dst *UnassignRoleResponse) XXX_Merge(src proto.Message)
func (*UnassignRoleResponse) XXX_Size ¶
func (m *UnassignRoleResponse) XXX_Size() int
func (*UnassignRoleResponse) XXX_Unmarshal ¶
func (m *UnassignRoleResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.