Documentation ¶
Index ¶
- Constants
- func NewMetathingsTagdService(logger log.FieldLogger, stor storage.Storage, ...) (pb.TagdServiceServer, error)
- type MetathingsTagdService
- func (ts *MetathingsTagdService) AuthorizeGet(ctx context.Context, in interface{}) error
- func (ts *MetathingsTagdService) AuthorizeRemove(ctx context.Context, in interface{}) error
- func (ts *MetathingsTagdService) AuthorizeTag(ctx context.Context, in interface{}) error
- func (ts *MetathingsTagdService) AuthorizeUntag(ctx context.Context, in interface{}) error
- func (ts *MetathingsTagdService) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
- func (ts *MetathingsTagdService) IsIgnoreMethod(md *grpc_helper.MethodDescription) bool
- func (ts *MetathingsTagdService) Query(ctx context.Context, req *pb.QueryRequest) (*pb.QueryResponse, error)
- func (ts *MetathingsTagdService) Remove(ctx context.Context, req *pb.RemoveRequest) (*empty.Empty, error)
- func (ts *MetathingsTagdService) Tag(ctx context.Context, req *pb.TagRequest) (*empty.Empty, error)
- func (ts *MetathingsTagdService) Untag(ctx context.Context, req *pb.UntagRequest) (*empty.Empty, error)
Constants ¶
View Source
const ( TAGD_GET = "tagd:get" TAGD_REMOVE = "tagd:remove" TAGD_TAG = "tagd:tag" TAGD_UNTAG = "tagd:untag" TAGD_QUERY = "tagd:query" )
View Source
const (
KIND_TAG = "tagd:tag"
)
Variables ¶
This section is empty.
Functions ¶
func NewMetathingsTagdService ¶
func NewMetathingsTagdService( logger log.FieldLogger, stor storage.Storage, authorizer identityd_authorizer.Authorizer, validator identityd_validator.Validator, tkvdr token_helper.TokenValidator, ) (pb.TagdServiceServer, error)
Types ¶
type MetathingsTagdService ¶
type MetathingsTagdService struct { grpc_auth.ServiceAuthFuncOverride *log_helper.GetLoggerer // contains filtered or unexported fields }
func (*MetathingsTagdService) AuthorizeGet ¶
func (ts *MetathingsTagdService) AuthorizeGet(ctx context.Context, in interface{}) error
func (*MetathingsTagdService) AuthorizeRemove ¶
func (ts *MetathingsTagdService) AuthorizeRemove(ctx context.Context, in interface{}) error
func (*MetathingsTagdService) AuthorizeTag ¶ added in v1.1.0
func (ts *MetathingsTagdService) AuthorizeTag(ctx context.Context, in interface{}) error
func (*MetathingsTagdService) AuthorizeUntag ¶
func (ts *MetathingsTagdService) AuthorizeUntag(ctx context.Context, in interface{}) error
func (*MetathingsTagdService) Get ¶
func (ts *MetathingsTagdService) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
func (*MetathingsTagdService) IsIgnoreMethod ¶
func (ts *MetathingsTagdService) IsIgnoreMethod(md *grpc_helper.MethodDescription) bool
func (*MetathingsTagdService) Query ¶
func (ts *MetathingsTagdService) Query(ctx context.Context, req *pb.QueryRequest) (*pb.QueryResponse, error)
func (*MetathingsTagdService) Remove ¶
func (ts *MetathingsTagdService) Remove(ctx context.Context, req *pb.RemoveRequest) (*empty.Empty, error)
func (*MetathingsTagdService) Tag ¶
func (ts *MetathingsTagdService) Tag(ctx context.Context, req *pb.TagRequest) (*empty.Empty, error)
func (*MetathingsTagdService) Untag ¶
func (ts *MetathingsTagdService) Untag(ctx context.Context, req *pb.UntagRequest) (*empty.Empty, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.