Documentation ¶
Index ¶
- func NewMetathingsPolicydService(opt *MetathingsPolicydServiceOption) (pb.PolicydServiceServer, error)
- type MetathingsPolicydService
- func (self *MetathingsPolicydService) AddGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) AddNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) AddNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) AddPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) AddPresetPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) Enforce(ctx context.Context, in *casbin_pb.EnforceRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) EnforceBucket(ctx context.Context, in *pb.EnforceBucketRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) GetAllActions(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllNamedActions(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllNamedObjects(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllNamedRoles(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllNamedSubjects(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllObjects(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllRoles(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetAllSubjects(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
- func (self *MetathingsPolicydService) GetFilteredGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetFilteredNamedGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetFilteredNamedPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetFilteredPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetGroupingPolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) GetPolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.Array2DReply, error)
- func (self *MetathingsPolicydService) HasGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) HasNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) HasNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) HasPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) Initialize(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.EmptyReply, error)
- func (self *MetathingsPolicydService) LoadPolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.EmptyReply, error)
- func (self *MetathingsPolicydService) NewAdapter(ctx context.Context, in *casbin_pb.NewAdapterRequest) (*casbin_pb.NewAdapterReply, error)
- func (self *MetathingsPolicydService) NewEnforcer(ctx context.Context, in *casbin_pb.NewEnforcerRequest) (*casbin_pb.NewEnforcerReply, error)
- func (self *MetathingsPolicydService) RemoveFilteredGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemoveFilteredNamedGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemoveFilteredNamedPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemoveFilteredPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemoveGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemoveNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemoveNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemovePolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) RemovePresetPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
- func (self *MetathingsPolicydService) SavePolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.EmptyReply, error)
- type MetathingsPolicydServiceOption
- type Policy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetathingsPolicydService ¶
func NewMetathingsPolicydService( opt *MetathingsPolicydServiceOption, ) (pb.PolicydServiceServer, error)
Types ¶
type MetathingsPolicydService ¶
func (*MetathingsPolicydService) AddGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) AddGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) AddNamedGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) AddNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) AddNamedPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) AddNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) AddPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) AddPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) AddPresetPolicy ¶
func (self *MetathingsPolicydService) AddPresetPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) Enforce ¶ added in v1.1.0
func (self *MetathingsPolicydService) Enforce(ctx context.Context, in *casbin_pb.EnforceRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) EnforceBucket ¶ added in v1.1.0
func (self *MetathingsPolicydService) EnforceBucket(ctx context.Context, in *pb.EnforceBucketRequest) (*casbin_pb.BoolReply, error)
Custom functions
func (*MetathingsPolicydService) GetAllActions ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllActions(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllNamedActions ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllNamedActions(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllNamedObjects ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllNamedObjects(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllNamedRoles ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllNamedRoles(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllNamedSubjects ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllNamedSubjects(ctx context.Context, in *casbin_pb.SimpleGetRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllObjects ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllObjects(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllRoles ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllRoles(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetAllSubjects ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetAllSubjects(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.ArrayReply, error)
func (*MetathingsPolicydService) GetFilteredGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetFilteredGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetFilteredNamedGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetFilteredNamedGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetFilteredNamedPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetFilteredNamedPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetFilteredPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetFilteredPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetGroupingPolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetNamedGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetNamedPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) GetPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) GetPolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.Array2DReply, error)
func (*MetathingsPolicydService) HasGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) HasGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) HasNamedGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) HasNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) HasNamedPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) HasNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) HasPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) HasPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) Initialize ¶
func (self *MetathingsPolicydService) Initialize(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.EmptyReply, error)
func (*MetathingsPolicydService) LoadPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) LoadPolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.EmptyReply, error)
func (*MetathingsPolicydService) NewAdapter ¶ added in v1.1.0
func (self *MetathingsPolicydService) NewAdapter(ctx context.Context, in *casbin_pb.NewAdapterRequest) (*casbin_pb.NewAdapterReply, error)
func (*MetathingsPolicydService) NewEnforcer ¶ added in v1.1.0
func (self *MetathingsPolicydService) NewEnforcer(ctx context.Context, in *casbin_pb.NewEnforcerRequest) (*casbin_pb.NewEnforcerReply, error)
Casbin server functions
func (*MetathingsPolicydService) RemoveFilteredGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveFilteredGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemoveFilteredNamedGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveFilteredNamedGroupingPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemoveFilteredNamedPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveFilteredNamedPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemoveFilteredPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveFilteredPolicy(ctx context.Context, in *casbin_pb.FilteredPolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemoveGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemoveNamedGroupingPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveNamedGroupingPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemoveNamedPolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemoveNamedPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemovePolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) RemovePolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) RemovePresetPolicy ¶
func (self *MetathingsPolicydService) RemovePresetPolicy(ctx context.Context, in *casbin_pb.PolicyRequest) (*casbin_pb.BoolReply, error)
func (*MetathingsPolicydService) SavePolicy ¶ added in v1.1.0
func (self *MetathingsPolicydService) SavePolicy(ctx context.Context, in *casbin_pb.EmptyRequest) (*casbin_pb.EmptyReply, error)
Click to show internal directories.
Click to hide internal directories.