Documentation ¶
Index ¶
- Variables
- type ACLProvider
- func (s *ACLProvider) CreateRole(ctx context.Context, in *v1.CreateRoleRequest) (*common.CommonCreate, error)
- func (s *ACLProvider) DeleteRoles(ctx context.Context, in *common.CommonDeletesRequest) (*emptypb.Empty, error)
- func (s *ACLProvider) GetRole(ctx context.Context, in *v1.GetRoleRequest) (*v1.Role, error)
- func (s *ACLProvider) ListRoles(ctx context.Context, in *common.PagingRequest) (*common.PagingResponse, error)
- func (s *ACLProvider) UpdateRole(ctx context.Context, in *v1.UpdateRoleRequest) (*common.CommonUpdate, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewACLProvider)
Functions ¶
This section is empty.
Types ¶
type ACLProvider ¶
type ACLProvider struct { v1.UnimplementedACLServer // contains filtered or unexported fields }
func NewACLProvider ¶
func NewACLProvider(rc *biz.RoleUsecase) *ACLProvider
func (*ACLProvider) CreateRole ¶
func (s *ACLProvider) CreateRole(ctx context.Context, in *v1.CreateRoleRequest) (*common.CommonCreate, error)
func (*ACLProvider) DeleteRoles ¶
func (s *ACLProvider) DeleteRoles(ctx context.Context, in *common.CommonDeletesRequest) (*emptypb.Empty, error)
func (*ACLProvider) GetRole ¶
func (s *ACLProvider) GetRole(ctx context.Context, in *v1.GetRoleRequest) (*v1.Role, error)
func (*ACLProvider) ListRoles ¶
func (s *ACLProvider) ListRoles(ctx context.Context, in *common.PagingRequest) (*common.PagingResponse, error)
func (*ACLProvider) UpdateRole ¶
func (s *ACLProvider) UpdateRole(ctx context.Context, in *v1.UpdateRoleRequest) (*common.CommonUpdate, error)
Click to show internal directories.
Click to hide internal directories.