Documentation ¶
Overview ¶
Package provides a gateway to the underlying grpc service
Index ¶
- Constants
- type UserMetaHandler
- func (s *UserMetaHandler) DeleteUserMetaTags(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) Filter() func(string) string
- func (s *UserMetaHandler) ListAllNamespaces(ctx context.Context, client idm.UserMetaServiceClient) (map[string]*idm.UserMetaNamespace, error)
- func (s *UserMetaHandler) ListUserMetaNamespace(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) ListUserMetaTags(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) PerformSearchMetaRequest(ctx context.Context, request *idm.SearchUserMetaRequest) (*rest.UserMetaCollection, error)
- func (s *UserMetaHandler) PoliciesForMeta(ctx context.Context, resourceId string, resourceClient interface{}) (policies []*serviceproto.ResourcePolicy, e error)
- func (s *UserMetaHandler) PutUserMetaTag(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) SearchUserMeta(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) SwaggerTags() []string
- func (s *UserMetaHandler) UpdateUserMeta(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) UpdateUserMetaNamespace(req *restful.Request, rsp *restful.Response)
- func (s *UserMetaHandler) UserBookmarks(req *restful.Request, rsp *restful.Response)
Constants ¶
View Source
const MetaTagsDocStoreId = "user_meta_tags"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserMetaHandler ¶
type UserMetaHandler struct {
resources.ResourceProviderHandler
}
func NewUserMetaHandler ¶
func NewUserMetaHandler() *UserMetaHandler
func (*UserMetaHandler) DeleteUserMetaTags ¶ added in v1.2.0
func (s *UserMetaHandler) DeleteUserMetaTags(req *restful.Request, rsp *restful.Response)
func (*UserMetaHandler) Filter ¶
func (s *UserMetaHandler) Filter() func(string) string
Filter returns a function to filter the swagger path
func (*UserMetaHandler) ListAllNamespaces ¶
func (s *UserMetaHandler) ListAllNamespaces(ctx context.Context, client idm.UserMetaServiceClient) (map[string]*idm.UserMetaNamespace, error)
func (*UserMetaHandler) ListUserMetaNamespace ¶
func (s *UserMetaHandler) ListUserMetaNamespace(req *restful.Request, rsp *restful.Response)
func (*UserMetaHandler) ListUserMetaTags ¶ added in v1.2.0
func (s *UserMetaHandler) ListUserMetaTags(req *restful.Request, rsp *restful.Response)
func (*UserMetaHandler) PerformSearchMetaRequest ¶
func (s *UserMetaHandler) PerformSearchMetaRequest(ctx context.Context, request *idm.SearchUserMetaRequest) (*rest.UserMetaCollection, error)
func (*UserMetaHandler) PoliciesForMeta ¶
func (s *UserMetaHandler) PoliciesForMeta(ctx context.Context, resourceId string, resourceClient interface{}) (policies []*serviceproto.ResourcePolicy, e error)
func (*UserMetaHandler) PutUserMetaTag ¶ added in v1.2.0
func (s *UserMetaHandler) PutUserMetaTag(req *restful.Request, rsp *restful.Response)
func (*UserMetaHandler) SearchUserMeta ¶
func (s *UserMetaHandler) SearchUserMeta(req *restful.Request, rsp *restful.Response)
SearchUserMeta performs a search on user metadata
func (*UserMetaHandler) SwaggerTags ¶
func (s *UserMetaHandler) SwaggerTags() []string
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
func (*UserMetaHandler) UpdateUserMeta ¶
func (s *UserMetaHandler) UpdateUserMeta(req *restful.Request, rsp *restful.Response)
UpdateUserMeta will check for namespace policies before updating / deleting
func (*UserMetaHandler) UpdateUserMetaNamespace ¶
func (s *UserMetaHandler) UpdateUserMetaNamespace(req *restful.Request, rsp *restful.Response)
func (*UserMetaHandler) UserBookmarks ¶
func (s *UserMetaHandler) UserBookmarks(req *restful.Request, rsp *restful.Response)
UserBookmarks searches meta with bookmark namespace and feeds a list of nodes with the results
Click to show internal directories.
Click to hide internal directories.