Documentation ¶
Index ¶
- type Rules
- func (r *Rules) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
- func (r *Rules) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
- func (r *Rules) Init(opts ...auth.Option)
- func (r *Rules) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rules ¶
Rules processes RPC calls
func (*Rules) Create ¶
func (r *Rules) Create(ctx context.Context, req *pb.CreateRequest, rsp *pb.CreateResponse) error
Create a rule giving a scope access to a resource
func (*Rules) Delete ¶
func (r *Rules) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
Delete a scope access to a resource
func (*Rules) List ¶
func (r *Rules) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error
List returns all the rules
Click to show internal directories.
Click to hide internal directories.