metathings_policyd_service

package
v1.1.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type MetathingsPolicydService

type MetathingsPolicydService struct {
	*server.Server
	// contains filtered or unexported fields
}

func (*MetathingsPolicydService) AddGroupingPolicy added in v1.1.0

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 (*MetathingsPolicydService) AddPolicy added in v1.1.0

func (*MetathingsPolicydService) AddPresetPolicy

func (*MetathingsPolicydService) Enforce added in v1.1.0

func (*MetathingsPolicydService) EnforceBucket added in v1.1.0

Custom functions

func (*MetathingsPolicydService) GetAllActions added in v1.1.0

func (*MetathingsPolicydService) GetAllNamedActions added in v1.1.0

func (*MetathingsPolicydService) GetAllNamedObjects added in v1.1.0

func (*MetathingsPolicydService) GetAllNamedRoles added in v1.1.0

func (*MetathingsPolicydService) GetAllNamedSubjects added in v1.1.0

func (*MetathingsPolicydService) GetAllObjects added in v1.1.0

func (*MetathingsPolicydService) GetAllRoles added in v1.1.0

func (*MetathingsPolicydService) GetAllSubjects added in v1.1.0

func (*MetathingsPolicydService) GetFilteredGroupingPolicy added in v1.1.0

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 (*MetathingsPolicydService) GetFilteredPolicy added in v1.1.0

func (*MetathingsPolicydService) GetGroupingPolicy added in v1.1.0

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 (*MetathingsPolicydService) GetPolicy added in v1.1.0

func (*MetathingsPolicydService) HasGroupingPolicy added in v1.1.0

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 (*MetathingsPolicydService) HasPolicy added in v1.1.0

func (*MetathingsPolicydService) Initialize

func (*MetathingsPolicydService) LoadPolicy added in v1.1.0

func (*MetathingsPolicydService) NewAdapter added in v1.1.0

func (*MetathingsPolicydService) NewEnforcer added in v1.1.0

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 (*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 (*MetathingsPolicydService) RemovePolicy added in v1.1.0

func (*MetathingsPolicydService) RemovePresetPolicy

func (*MetathingsPolicydService) SavePolicy added in v1.1.0

type MetathingsPolicydServiceOption

type MetathingsPolicydServiceOption struct {
	AdapterDriver string
	AdapterUri    string
	ModelText     string
	Policies      []Policy
}

type Policy

type Policy struct {
	Role   string
	Kind   string
	Action string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL