Documentation ¶
Index ¶
- func NewMetathingsPolicydService(opt *MetathingsPolicydServiceOption) (pb.PolicydServiceServer, error)
- type MetathingsPolicydService
- func (self *MetathingsPolicydService) AddPresetPolicy(ctx context.Context, in *pb.PolicyRequest) (*pb.BoolReply, error)
- func (self *MetathingsPolicydService) Initialize(ctx context.Context, in *pb.EmptyRequest) (*pb.EmptyReply, error)
- func (self *MetathingsPolicydService) RemovePresetPolicy(ctx context.Context, in *pb.PolicyRequest) (*pb.BoolReply, 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) AddPresetPolicy ¶
func (self *MetathingsPolicydService) AddPresetPolicy(ctx context.Context, in *pb.PolicyRequest) (*pb.BoolReply, error)
func (*MetathingsPolicydService) Initialize ¶
func (self *MetathingsPolicydService) Initialize(ctx context.Context, in *pb.EmptyRequest) (*pb.EmptyReply, error)
func (*MetathingsPolicydService) RemovePresetPolicy ¶
func (self *MetathingsPolicydService) RemovePresetPolicy(ctx context.Context, in *pb.PolicyRequest) (*pb.BoolReply, error)
Click to show internal directories.
Click to hide internal directories.