Documentation ¶
Index ¶
- Variables
- func MemberServiceClientType() reflect.Type
- func MemberServiceHandlerType() reflect.Type
- func MemberServiceServerType() reflect.Type
- func RegisterMemberServiceHandler(r http.Router, srv MemberServiceHandler, opts ...http.HandleOption)
- func RegisterMemberServiceImp(regester transport.Register, srv MemberServiceServer, ...)
- func RegisterMemberServiceServer(s grpc1.ServiceRegistrar, srv MemberServiceServer, opts ...grpc1.HandleOption)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type CreateOrUpdateMemberRequest
- func (*CreateOrUpdateMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateMemberRequest) GetLabels() []string
- func (x *CreateOrUpdateMemberRequest) GetOptions() *MemberAddOptions
- func (x *CreateOrUpdateMemberRequest) GetRoles() []string
- func (x *CreateOrUpdateMemberRequest) GetScope() *Scope
- func (x *CreateOrUpdateMemberRequest) GetTargetScopeIds() []int64
- func (x *CreateOrUpdateMemberRequest) GetTargetScopeType() string
- func (x *CreateOrUpdateMemberRequest) GetUserIds() []string
- func (x *CreateOrUpdateMemberRequest) GetVerifyCode() string
- func (m *CreateOrUpdateMemberRequest) MarshalJSON() ([]byte, error)
- func (*CreateOrUpdateMemberRequest) ProtoMessage()
- func (x *CreateOrUpdateMemberRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateMemberRequest) Reset()
- func (x *CreateOrUpdateMemberRequest) String() string
- func (m *CreateOrUpdateMemberRequest) UnmarshalJSON(b []byte) error
- func (m *CreateOrUpdateMemberRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateOrUpdateMemberRequest) Validate() error
- type CreateOrUpdateMemberResponse
- func (*CreateOrUpdateMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CreateOrUpdateMemberResponse) MarshalJSON() ([]byte, error)
- func (*CreateOrUpdateMemberResponse) ProtoMessage()
- func (x *CreateOrUpdateMemberResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateMemberResponse) Reset()
- func (x *CreateOrUpdateMemberResponse) String() string
- func (m *CreateOrUpdateMemberResponse) UnmarshalJSON(b []byte) error
- func (m *CreateOrUpdateMemberResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *CreateOrUpdateMemberResponse) Validate() error
- type DeleteMemberRequest
- func (*DeleteMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMemberRequest) GetInternalClient() string
- func (x *DeleteMemberRequest) GetScope() *Scope
- func (x *DeleteMemberRequest) GetUserID() string
- func (x *DeleteMemberRequest) GetUserIds() []string
- func (m *DeleteMemberRequest) MarshalJSON() ([]byte, error)
- func (*DeleteMemberRequest) ProtoMessage()
- func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMemberRequest) Reset()
- func (x *DeleteMemberRequest) String() string
- func (m *DeleteMemberRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteMemberRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteMemberRequest) Validate() error
- type DeleteMemberResponse
- func (*DeleteMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DeleteMemberResponse) MarshalJSON() ([]byte, error)
- func (*DeleteMemberResponse) ProtoMessage()
- func (x *DeleteMemberResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMemberResponse) Reset()
- func (x *DeleteMemberResponse) String() string
- func (m *DeleteMemberResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteMemberResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *DeleteMemberResponse) Validate() error
- type ListMemberRequest
- func (*ListMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemberRequest) GetLabel() []string
- func (x *ListMemberRequest) GetPageNo() int64
- func (x *ListMemberRequest) GetPageSize() int64
- func (x *ListMemberRequest) GetQ() string
- func (x *ListMemberRequest) GetRoles() []string
- func (x *ListMemberRequest) GetScopeId() string
- func (x *ListMemberRequest) GetScopeType() string
- func (m *ListMemberRequest) MarshalJSON() ([]byte, error)
- func (*ListMemberRequest) ProtoMessage()
- func (x *ListMemberRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemberRequest) Reset()
- func (x *ListMemberRequest) String() string
- func (m *ListMemberRequest) UnmarshalJSON(b []byte) error
- func (m *ListMemberRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMemberRequest) Validate() error
- type ListMemberResponse
- func (*ListMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemberResponse) GetData() *MemberList
- func (m *ListMemberResponse) MarshalJSON() ([]byte, error)
- func (*ListMemberResponse) ProtoMessage()
- func (x *ListMemberResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemberResponse) Reset()
- func (x *ListMemberResponse) String() string
- func (m *ListMemberResponse) UnmarshalJSON(b []byte) error
- func (m *ListMemberResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMemberResponse) Validate() error
- type ListMemberRolesRequest
- func (*ListMemberRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemberRolesRequest) GetScopeId() string
- func (x *ListMemberRolesRequest) GetScopeType() string
- func (m *ListMemberRolesRequest) MarshalJSON() ([]byte, error)
- func (*ListMemberRolesRequest) ProtoMessage()
- func (x *ListMemberRolesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMemberRolesRequest) Reset()
- func (x *ListMemberRolesRequest) String() string
- func (m *ListMemberRolesRequest) UnmarshalJSON(b []byte) error
- func (m *ListMemberRolesRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMemberRolesRequest) Validate() error
- type ListMemberRolesResponse
- func (*ListMemberRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemberRolesResponse) GetData() *RoleList
- func (m *ListMemberRolesResponse) MarshalJSON() ([]byte, error)
- func (*ListMemberRolesResponse) ProtoMessage()
- func (x *ListMemberRolesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemberRolesResponse) Reset()
- func (x *ListMemberRolesResponse) String() string
- func (m *ListMemberRolesResponse) UnmarshalJSON(b []byte) error
- func (m *ListMemberRolesResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMemberRolesResponse) Validate() error
- type Member
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetAvatar() string
- func (x *Member) GetDeleted() bool
- func (x *Member) GetEmail() string
- func (x *Member) GetLabels() []string
- func (x *Member) GetMobile() string
- func (x *Member) GetName() string
- func (x *Member) GetNick() string
- func (x *Member) GetRemoved() bool
- func (x *Member) GetRoles() []string
- func (x *Member) GetScope() *Scope
- func (x *Member) GetStatus() string
- func (x *Member) GetUserId() string
- func (m *Member) MarshalJSON() ([]byte, error)
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (x *Member) String() string
- func (m *Member) UnmarshalJSON(b []byte) error
- func (m *Member) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Member) Validate() error
- type MemberAddOptions
- func (*MemberAddOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MemberAddOptions) GetRewrite() bool
- func (m *MemberAddOptions) MarshalJSON() ([]byte, error)
- func (*MemberAddOptions) ProtoMessage()
- func (x *MemberAddOptions) ProtoReflect() protoreflect.Message
- func (x *MemberAddOptions) Reset()
- func (x *MemberAddOptions) String() string
- func (m *MemberAddOptions) UnmarshalJSON(b []byte) error
- func (m *MemberAddOptions) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *MemberAddOptions) Validate() error
- type MemberList
- func (*MemberList) Descriptor() ([]byte, []int)deprecated
- func (x *MemberList) GetList() []*Member
- func (x *MemberList) GetTotal() int64
- func (m *MemberList) MarshalJSON() ([]byte, error)
- func (*MemberList) ProtoMessage()
- func (x *MemberList) ProtoReflect() protoreflect.Message
- func (x *MemberList) Reset()
- func (x *MemberList) String() string
- func (m *MemberList) UnmarshalJSON(b []byte) error
- func (m *MemberList) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *MemberList) Validate() error
- type MemberServiceClient
- type MemberServiceHandler
- type MemberServiceServer
- type RoleInfo
- func (*RoleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RoleInfo) GetName() string
- func (x *RoleInfo) GetRole() string
- func (m *RoleInfo) MarshalJSON() ([]byte, error)
- func (*RoleInfo) ProtoMessage()
- func (x *RoleInfo) ProtoReflect() protoreflect.Message
- func (x *RoleInfo) Reset()
- func (x *RoleInfo) String() string
- func (m *RoleInfo) UnmarshalJSON(b []byte) error
- func (m *RoleInfo) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *RoleInfo) Validate() error
- type RoleList
- func (*RoleList) Descriptor() ([]byte, []int)deprecated
- func (x *RoleList) GetList() []*RoleInfo
- func (x *RoleList) GetTotal() int64
- func (m *RoleList) MarshalJSON() ([]byte, error)
- func (*RoleList) ProtoMessage()
- func (x *RoleList) ProtoReflect() protoreflect.Message
- func (x *RoleList) Reset()
- func (x *RoleList) String() string
- func (m *RoleList) UnmarshalJSON(b []byte) error
- func (m *RoleList) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *RoleList) Validate() error
- type Scope
- func (*Scope) Descriptor() ([]byte, []int)deprecated
- func (x *Scope) GetId() string
- func (x *Scope) GetType() string
- func (m *Scope) MarshalJSON() ([]byte, error)
- func (*Scope) ProtoMessage()
- func (x *Scope) ProtoReflect() protoreflect.Message
- func (x *Scope) Reset()
- func (x *Scope) String() string
- func (m *Scope) UnmarshalJSON(b []byte) error
- func (m *Scope) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Scope) Validate() error
- type ScopeResource
- func (*ScopeResource) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeResource) GetAction() string
- func (x *ScopeResource) GetResource() string
- func (x *ScopeResource) GetResourceRole() string
- func (m *ScopeResource) MarshalJSON() ([]byte, error)
- func (*ScopeResource) ProtoMessage()
- func (x *ScopeResource) ProtoReflect() protoreflect.Message
- func (x *ScopeResource) Reset()
- func (x *ScopeResource) String() string
- func (m *ScopeResource) UnmarshalJSON(b []byte) error
- func (m *ScopeResource) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ScopeResource) Validate() error
- type ScopeRoleAccessRequest
- func (*ScopeRoleAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeRoleAccessRequest) GetScope() *Scope
- func (m *ScopeRoleAccessRequest) MarshalJSON() ([]byte, error)
- func (*ScopeRoleAccessRequest) ProtoMessage()
- func (x *ScopeRoleAccessRequest) ProtoReflect() protoreflect.Message
- func (x *ScopeRoleAccessRequest) Reset()
- func (x *ScopeRoleAccessRequest) String() string
- func (m *ScopeRoleAccessRequest) UnmarshalJSON(b []byte) error
- func (m *ScopeRoleAccessRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ScopeRoleAccessRequest) Validate() error
- type ScopeRoleAccessResponse
- func (*ScopeRoleAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeRoleAccessResponse) GetData() *ScopeRoleData
- func (x *ScopeRoleAccessResponse) GetUserIDs() []string
- func (m *ScopeRoleAccessResponse) MarshalJSON() ([]byte, error)
- func (*ScopeRoleAccessResponse) ProtoMessage()
- func (x *ScopeRoleAccessResponse) ProtoReflect() protoreflect.Message
- func (x *ScopeRoleAccessResponse) Reset()
- func (x *ScopeRoleAccessResponse) String() string
- func (m *ScopeRoleAccessResponse) UnmarshalJSON(b []byte) error
- func (m *ScopeRoleAccessResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ScopeRoleAccessResponse) Validate() error
- type ScopeRoleData
- func (*ScopeRoleData) Descriptor() ([]byte, []int)deprecated
- func (x *ScopeRoleData) GetAccess() bool
- func (x *ScopeRoleData) GetContactsWhenNoPermission() []string
- func (x *ScopeRoleData) GetExist() bool
- func (x *ScopeRoleData) GetPermissionList() []*ScopeResource
- func (x *ScopeRoleData) GetResourceRoleList() []*ScopeResource
- func (x *ScopeRoleData) GetRoles() []string
- func (m *ScopeRoleData) MarshalJSON() ([]byte, error)
- func (*ScopeRoleData) ProtoMessage()
- func (x *ScopeRoleData) ProtoReflect() protoreflect.Message
- func (x *ScopeRoleData) Reset()
- func (x *ScopeRoleData) String() string
- func (m *ScopeRoleData) UnmarshalJSON(b []byte) error
- func (m *ScopeRoleData) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ScopeRoleData) Validate() error
- type UnimplementedMemberServiceServer
- func (*UnimplementedMemberServiceServer) CreateOrUpdateMember(context.Context, *CreateOrUpdateMemberRequest) (*CreateOrUpdateMemberResponse, error)
- func (*UnimplementedMemberServiceServer) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error)
- func (*UnimplementedMemberServiceServer) ListMember(context.Context, *ListMemberRequest) (*ListMemberResponse, error)
- func (*UnimplementedMemberServiceServer) ListMemberRoles(context.Context, *ListMemberRolesRequest) (*ListMemberRolesResponse, error)
- func (*UnimplementedMemberServiceServer) ScopeRoleAccess(context.Context, *ScopeRoleAccessRequest) (*ScopeRoleAccessResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_member_proto protoreflect.FileDescriptor
Functions ¶
func MemberServiceClientType ¶
MemberServiceClientType .
func MemberServiceHandlerType ¶
MemberServiceHandlerType .
func MemberServiceServerType ¶
MemberServiceServerType .
func RegisterMemberServiceHandler ¶
func RegisterMemberServiceHandler(r http.Router, srv MemberServiceHandler, opts ...http.HandleOption)
RegisterMemberServiceHandler register MemberServiceHandler to http.Router.
func RegisterMemberServiceImp ¶
func RegisterMemberServiceImp(regester transport.Register, srv MemberServiceServer, opts ...transport.ServiceOption)
RegisterMemberServiceImp member.proto
func RegisterMemberServiceServer ¶
func RegisterMemberServiceServer(s grpc1.ServiceRegistrar, srv MemberServiceServer, opts ...grpc1.HandleOption)
Types ¶
type CreateOrUpdateMemberRequest ¶
type CreateOrUpdateMemberRequest struct { Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` TargetScopeType string `protobuf:"bytes,2,opt,name=targetScopeType,proto3" json:"targetScopeType,omitempty"` TargetScopeIds []int64 `protobuf:"varint,3,rep,packed,name=targetScopeIds,proto3" json:"targetScopeIds,omitempty"` Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` UserIds []string `protobuf:"bytes,5,rep,name=userIds,proto3" json:"userIds,omitempty"` Options *MemberAddOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` Labels []string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"` VerifyCode string `protobuf:"bytes,8,opt,name=verifyCode,proto3" json:"verifyCode,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateMemberRequest) Descriptor
deprecated
func (*CreateOrUpdateMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateMemberRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateMemberRequest) GetLabels ¶
func (x *CreateOrUpdateMemberRequest) GetLabels() []string
func (*CreateOrUpdateMemberRequest) GetOptions ¶
func (x *CreateOrUpdateMemberRequest) GetOptions() *MemberAddOptions
func (*CreateOrUpdateMemberRequest) GetRoles ¶
func (x *CreateOrUpdateMemberRequest) GetRoles() []string
func (*CreateOrUpdateMemberRequest) GetScope ¶
func (x *CreateOrUpdateMemberRequest) GetScope() *Scope
func (*CreateOrUpdateMemberRequest) GetTargetScopeIds ¶
func (x *CreateOrUpdateMemberRequest) GetTargetScopeIds() []int64
func (*CreateOrUpdateMemberRequest) GetTargetScopeType ¶
func (x *CreateOrUpdateMemberRequest) GetTargetScopeType() string
func (*CreateOrUpdateMemberRequest) GetUserIds ¶
func (x *CreateOrUpdateMemberRequest) GetUserIds() []string
func (*CreateOrUpdateMemberRequest) GetVerifyCode ¶
func (x *CreateOrUpdateMemberRequest) GetVerifyCode() string
func (*CreateOrUpdateMemberRequest) MarshalJSON ¶
func (m *CreateOrUpdateMemberRequest) MarshalJSON() ([]byte, error)
CreateOrUpdateMemberRequest implement json.Marshaler.
func (*CreateOrUpdateMemberRequest) ProtoMessage ¶
func (*CreateOrUpdateMemberRequest) ProtoMessage()
func (*CreateOrUpdateMemberRequest) ProtoReflect ¶
func (x *CreateOrUpdateMemberRequest) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateMemberRequest) Reset ¶
func (x *CreateOrUpdateMemberRequest) Reset()
func (*CreateOrUpdateMemberRequest) String ¶
func (x *CreateOrUpdateMemberRequest) String() string
func (*CreateOrUpdateMemberRequest) UnmarshalJSON ¶
func (m *CreateOrUpdateMemberRequest) UnmarshalJSON(b []byte) error
CreateOrUpdateMemberRequest implement json.Marshaler.
func (*CreateOrUpdateMemberRequest) UnmarshalURLValues ¶
func (m *CreateOrUpdateMemberRequest) UnmarshalURLValues(prefix string, values url.Values) error
CreateOrUpdateMemberRequest implement urlenc.URLValuesUnmarshaler.
func (*CreateOrUpdateMemberRequest) Validate ¶
func (this *CreateOrUpdateMemberRequest) Validate() error
type CreateOrUpdateMemberResponse ¶
type CreateOrUpdateMemberResponse struct {
// contains filtered or unexported fields
}
func (*CreateOrUpdateMemberResponse) Descriptor
deprecated
func (*CreateOrUpdateMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateMemberResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateMemberResponse) MarshalJSON ¶
func (m *CreateOrUpdateMemberResponse) MarshalJSON() ([]byte, error)
CreateOrUpdateMemberResponse implement json.Marshaler.
func (*CreateOrUpdateMemberResponse) ProtoMessage ¶
func (*CreateOrUpdateMemberResponse) ProtoMessage()
func (*CreateOrUpdateMemberResponse) ProtoReflect ¶
func (x *CreateOrUpdateMemberResponse) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateMemberResponse) Reset ¶
func (x *CreateOrUpdateMemberResponse) Reset()
func (*CreateOrUpdateMemberResponse) String ¶
func (x *CreateOrUpdateMemberResponse) String() string
func (*CreateOrUpdateMemberResponse) UnmarshalJSON ¶
func (m *CreateOrUpdateMemberResponse) UnmarshalJSON(b []byte) error
CreateOrUpdateMemberResponse implement json.Marshaler.
func (*CreateOrUpdateMemberResponse) UnmarshalURLValues ¶
func (m *CreateOrUpdateMemberResponse) UnmarshalURLValues(prefix string, values url.Values) error
CreateOrUpdateMemberResponse implement urlenc.URLValuesUnmarshaler.
func (*CreateOrUpdateMemberResponse) Validate ¶
func (this *CreateOrUpdateMemberResponse) Validate() error
type DeleteMemberRequest ¶
type DeleteMemberRequest struct { Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` UserIds []string `protobuf:"bytes,2,rep,name=userIds,proto3" json:"userIds,omitempty"` UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"` InternalClient string `protobuf:"bytes,4,opt,name=internalClient,json=-,proto3" json:"internalClient,omitempty"` // contains filtered or unexported fields }
func (*DeleteMemberRequest) Descriptor
deprecated
func (*DeleteMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemberRequest) GetInternalClient ¶
func (x *DeleteMemberRequest) GetInternalClient() string
func (*DeleteMemberRequest) GetScope ¶
func (x *DeleteMemberRequest) GetScope() *Scope
func (*DeleteMemberRequest) GetUserID ¶
func (x *DeleteMemberRequest) GetUserID() string
func (*DeleteMemberRequest) GetUserIds ¶
func (x *DeleteMemberRequest) GetUserIds() []string
func (*DeleteMemberRequest) MarshalJSON ¶
func (m *DeleteMemberRequest) MarshalJSON() ([]byte, error)
DeleteMemberRequest implement json.Marshaler.
func (*DeleteMemberRequest) ProtoMessage ¶
func (*DeleteMemberRequest) ProtoMessage()
func (*DeleteMemberRequest) ProtoReflect ¶
func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemberRequest) Reset ¶
func (x *DeleteMemberRequest) Reset()
func (*DeleteMemberRequest) String ¶
func (x *DeleteMemberRequest) String() string
func (*DeleteMemberRequest) UnmarshalJSON ¶
func (m *DeleteMemberRequest) UnmarshalJSON(b []byte) error
DeleteMemberRequest implement json.Marshaler.
func (*DeleteMemberRequest) UnmarshalURLValues ¶
func (m *DeleteMemberRequest) UnmarshalURLValues(prefix string, values url.Values) error
DeleteMemberRequest implement urlenc.URLValuesUnmarshaler.
func (*DeleteMemberRequest) Validate ¶
func (this *DeleteMemberRequest) Validate() error
type DeleteMemberResponse ¶
type DeleteMemberResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMemberResponse) Descriptor
deprecated
func (*DeleteMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberResponse.ProtoReflect.Descriptor instead.
func (*DeleteMemberResponse) MarshalJSON ¶
func (m *DeleteMemberResponse) MarshalJSON() ([]byte, error)
DeleteMemberResponse implement json.Marshaler.
func (*DeleteMemberResponse) ProtoMessage ¶
func (*DeleteMemberResponse) ProtoMessage()
func (*DeleteMemberResponse) ProtoReflect ¶
func (x *DeleteMemberResponse) ProtoReflect() protoreflect.Message
func (*DeleteMemberResponse) Reset ¶
func (x *DeleteMemberResponse) Reset()
func (*DeleteMemberResponse) String ¶
func (x *DeleteMemberResponse) String() string
func (*DeleteMemberResponse) UnmarshalJSON ¶
func (m *DeleteMemberResponse) UnmarshalJSON(b []byte) error
DeleteMemberResponse implement json.Marshaler.
func (*DeleteMemberResponse) UnmarshalURLValues ¶
func (m *DeleteMemberResponse) UnmarshalURLValues(prefix string, values url.Values) error
DeleteMemberResponse implement urlenc.URLValuesUnmarshaler.
func (*DeleteMemberResponse) Validate ¶
func (this *DeleteMemberResponse) Validate() error
type ListMemberRequest ¶
type ListMemberRequest struct { ScopeType string `protobuf:"bytes,1,opt,name=scopeType,proto3" json:"scopeType,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"` PageNo int64 `protobuf:"varint,3,opt,name=pageNo,proto3" json:"pageNo,omitempty"` PageSize int64 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Q string `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"` Roles []string `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"` Label []string `protobuf:"bytes,7,rep,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*ListMemberRequest) Descriptor
deprecated
func (*ListMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemberRequest.ProtoReflect.Descriptor instead.
func (*ListMemberRequest) GetLabel ¶
func (x *ListMemberRequest) GetLabel() []string
func (*ListMemberRequest) GetPageNo ¶
func (x *ListMemberRequest) GetPageNo() int64
func (*ListMemberRequest) GetPageSize ¶
func (x *ListMemberRequest) GetPageSize() int64
func (*ListMemberRequest) GetQ ¶
func (x *ListMemberRequest) GetQ() string
func (*ListMemberRequest) GetRoles ¶
func (x *ListMemberRequest) GetRoles() []string
func (*ListMemberRequest) GetScopeId ¶
func (x *ListMemberRequest) GetScopeId() string
func (*ListMemberRequest) GetScopeType ¶
func (x *ListMemberRequest) GetScopeType() string
func (*ListMemberRequest) MarshalJSON ¶
func (m *ListMemberRequest) MarshalJSON() ([]byte, error)
ListMemberRequest implement json.Marshaler.
func (*ListMemberRequest) ProtoMessage ¶
func (*ListMemberRequest) ProtoMessage()
func (*ListMemberRequest) ProtoReflect ¶
func (x *ListMemberRequest) ProtoReflect() protoreflect.Message
func (*ListMemberRequest) Reset ¶
func (x *ListMemberRequest) Reset()
func (*ListMemberRequest) String ¶
func (x *ListMemberRequest) String() string
func (*ListMemberRequest) UnmarshalJSON ¶
func (m *ListMemberRequest) UnmarshalJSON(b []byte) error
ListMemberRequest implement json.Marshaler.
func (*ListMemberRequest) UnmarshalURLValues ¶
func (m *ListMemberRequest) UnmarshalURLValues(prefix string, values url.Values) error
ListMemberRequest implement urlenc.URLValuesUnmarshaler.
func (*ListMemberRequest) Validate ¶
func (this *ListMemberRequest) Validate() error
type ListMemberResponse ¶
type ListMemberResponse struct { Data *MemberList `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListMemberResponse) Descriptor
deprecated
func (*ListMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemberResponse.ProtoReflect.Descriptor instead.
func (*ListMemberResponse) GetData ¶
func (x *ListMemberResponse) GetData() *MemberList
func (*ListMemberResponse) MarshalJSON ¶
func (m *ListMemberResponse) MarshalJSON() ([]byte, error)
ListMemberResponse implement json.Marshaler.
func (*ListMemberResponse) ProtoMessage ¶
func (*ListMemberResponse) ProtoMessage()
func (*ListMemberResponse) ProtoReflect ¶
func (x *ListMemberResponse) ProtoReflect() protoreflect.Message
func (*ListMemberResponse) Reset ¶
func (x *ListMemberResponse) Reset()
func (*ListMemberResponse) String ¶
func (x *ListMemberResponse) String() string
func (*ListMemberResponse) UnmarshalJSON ¶
func (m *ListMemberResponse) UnmarshalJSON(b []byte) error
ListMemberResponse implement json.Marshaler.
func (*ListMemberResponse) UnmarshalURLValues ¶
func (m *ListMemberResponse) UnmarshalURLValues(prefix string, values url.Values) error
ListMemberResponse implement urlenc.URLValuesUnmarshaler.
func (*ListMemberResponse) Validate ¶
func (this *ListMemberResponse) Validate() error
type ListMemberRolesRequest ¶
type ListMemberRolesRequest struct { ScopeType string `protobuf:"bytes,1,opt,name=scopeType,proto3" json:"scopeType,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scopeId,proto3" json:"scopeId,omitempty"` // contains filtered or unexported fields }
func (*ListMemberRolesRequest) Descriptor
deprecated
func (*ListMemberRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemberRolesRequest.ProtoReflect.Descriptor instead.
func (*ListMemberRolesRequest) GetScopeId ¶
func (x *ListMemberRolesRequest) GetScopeId() string
func (*ListMemberRolesRequest) GetScopeType ¶
func (x *ListMemberRolesRequest) GetScopeType() string
func (*ListMemberRolesRequest) MarshalJSON ¶
func (m *ListMemberRolesRequest) MarshalJSON() ([]byte, error)
ListMemberRolesRequest implement json.Marshaler.
func (*ListMemberRolesRequest) ProtoMessage ¶
func (*ListMemberRolesRequest) ProtoMessage()
func (*ListMemberRolesRequest) ProtoReflect ¶
func (x *ListMemberRolesRequest) ProtoReflect() protoreflect.Message
func (*ListMemberRolesRequest) Reset ¶
func (x *ListMemberRolesRequest) Reset()
func (*ListMemberRolesRequest) String ¶
func (x *ListMemberRolesRequest) String() string
func (*ListMemberRolesRequest) UnmarshalJSON ¶
func (m *ListMemberRolesRequest) UnmarshalJSON(b []byte) error
ListMemberRolesRequest implement json.Marshaler.
func (*ListMemberRolesRequest) UnmarshalURLValues ¶
func (m *ListMemberRolesRequest) UnmarshalURLValues(prefix string, values url.Values) error
ListMemberRolesRequest implement urlenc.URLValuesUnmarshaler.
func (*ListMemberRolesRequest) Validate ¶
func (this *ListMemberRolesRequest) Validate() error
type ListMemberRolesResponse ¶
type ListMemberRolesResponse struct { Data *RoleList `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListMemberRolesResponse) Descriptor
deprecated
func (*ListMemberRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemberRolesResponse.ProtoReflect.Descriptor instead.
func (*ListMemberRolesResponse) GetData ¶
func (x *ListMemberRolesResponse) GetData() *RoleList
func (*ListMemberRolesResponse) MarshalJSON ¶
func (m *ListMemberRolesResponse) MarshalJSON() ([]byte, error)
ListMemberRolesResponse implement json.Marshaler.
func (*ListMemberRolesResponse) ProtoMessage ¶
func (*ListMemberRolesResponse) ProtoMessage()
func (*ListMemberRolesResponse) ProtoReflect ¶
func (x *ListMemberRolesResponse) ProtoReflect() protoreflect.Message
func (*ListMemberRolesResponse) Reset ¶
func (x *ListMemberRolesResponse) Reset()
func (*ListMemberRolesResponse) String ¶
func (x *ListMemberRolesResponse) String() string
func (*ListMemberRolesResponse) UnmarshalJSON ¶
func (m *ListMemberRolesResponse) UnmarshalJSON(b []byte) error
ListMemberRolesResponse implement json.Marshaler.
func (*ListMemberRolesResponse) UnmarshalURLValues ¶
func (m *ListMemberRolesResponse) UnmarshalURLValues(prefix string, values url.Values) error
ListMemberRolesResponse implement urlenc.URLValuesUnmarshaler.
func (*ListMemberRolesResponse) Validate ¶
func (this *ListMemberRolesResponse) Validate() error
type Member ¶
type Member struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Nick string `protobuf:"bytes,5,opt,name=nick,proto3" json:"nick,omitempty"` Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` Scope *Scope `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"` Roles []string `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"` Labels []string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"` Removed bool `protobuf:"varint,11,opt,name=removed,proto3" json:"removed,omitempty"` Deleted bool `protobuf:"varint,12,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*Member) Descriptor
deprecated
func (*Member) GetDeleted ¶
func (*Member) GetRemoved ¶
func (*Member) MarshalJSON ¶
Member implement json.Marshaler.
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
func (*Member) UnmarshalJSON ¶
Member implement json.Marshaler.
func (*Member) UnmarshalURLValues ¶
Member implement urlenc.URLValuesUnmarshaler.
type MemberAddOptions ¶
type MemberAddOptions struct { Rewrite bool `protobuf:"varint,1,opt,name=rewrite,proto3" json:"rewrite,omitempty"` // contains filtered or unexported fields }
func (*MemberAddOptions) Descriptor
deprecated
func (*MemberAddOptions) Descriptor() ([]byte, []int)
Deprecated: Use MemberAddOptions.ProtoReflect.Descriptor instead.
func (*MemberAddOptions) GetRewrite ¶
func (x *MemberAddOptions) GetRewrite() bool
func (*MemberAddOptions) MarshalJSON ¶
func (m *MemberAddOptions) MarshalJSON() ([]byte, error)
MemberAddOptions implement json.Marshaler.
func (*MemberAddOptions) ProtoMessage ¶
func (*MemberAddOptions) ProtoMessage()
func (*MemberAddOptions) ProtoReflect ¶
func (x *MemberAddOptions) ProtoReflect() protoreflect.Message
func (*MemberAddOptions) Reset ¶
func (x *MemberAddOptions) Reset()
func (*MemberAddOptions) String ¶
func (x *MemberAddOptions) String() string
func (*MemberAddOptions) UnmarshalJSON ¶
func (m *MemberAddOptions) UnmarshalJSON(b []byte) error
MemberAddOptions implement json.Marshaler.
func (*MemberAddOptions) UnmarshalURLValues ¶
func (m *MemberAddOptions) UnmarshalURLValues(prefix string, values url.Values) error
MemberAddOptions implement urlenc.URLValuesUnmarshaler.
func (*MemberAddOptions) Validate ¶
func (this *MemberAddOptions) Validate() error
type MemberList ¶
type MemberList struct { List []*Member `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*MemberList) Descriptor
deprecated
func (*MemberList) Descriptor() ([]byte, []int)
Deprecated: Use MemberList.ProtoReflect.Descriptor instead.
func (*MemberList) GetList ¶
func (x *MemberList) GetList() []*Member
func (*MemberList) GetTotal ¶
func (x *MemberList) GetTotal() int64
func (*MemberList) MarshalJSON ¶
func (m *MemberList) MarshalJSON() ([]byte, error)
MemberList implement json.Marshaler.
func (*MemberList) ProtoMessage ¶
func (*MemberList) ProtoMessage()
func (*MemberList) ProtoReflect ¶
func (x *MemberList) ProtoReflect() protoreflect.Message
func (*MemberList) Reset ¶
func (x *MemberList) Reset()
func (*MemberList) String ¶
func (x *MemberList) String() string
func (*MemberList) UnmarshalJSON ¶
func (m *MemberList) UnmarshalJSON(b []byte) error
MemberList implement json.Marshaler.
func (*MemberList) UnmarshalURLValues ¶
func (m *MemberList) UnmarshalURLValues(prefix string, values url.Values) error
MemberList implement urlenc.URLValuesUnmarshaler.
func (*MemberList) Validate ¶
func (this *MemberList) Validate() error
type MemberServiceClient ¶
type MemberServiceClient interface { ScopeRoleAccess(ctx context.Context, in *ScopeRoleAccessRequest, opts ...grpc.CallOption) (*ScopeRoleAccessResponse, error) ListMember(ctx context.Context, in *ListMemberRequest, opts ...grpc.CallOption) (*ListMemberResponse, error) CreateOrUpdateMember(ctx context.Context, in *CreateOrUpdateMemberRequest, opts ...grpc.CallOption) (*CreateOrUpdateMemberResponse, error) DeleteMember(ctx context.Context, in *DeleteMemberRequest, opts ...grpc.CallOption) (*DeleteMemberResponse, error) ListMemberRoles(ctx context.Context, in *ListMemberRolesRequest, opts ...grpc.CallOption) (*ListMemberRolesResponse, error) }
MemberServiceClient is the client API for MemberService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMemberServiceClient ¶
func NewMemberServiceClient(cc grpc1.ClientConnInterface) MemberServiceClient
type MemberServiceHandler ¶
type MemberServiceHandler interface { // POST /api/msp/permission/access ScopeRoleAccess(context.Context, *ScopeRoleAccessRequest) (*ScopeRoleAccessResponse, error) // GET /api/msp/members ListMember(context.Context, *ListMemberRequest) (*ListMemberResponse, error) // POST /api/msp/members CreateOrUpdateMember(context.Context, *CreateOrUpdateMemberRequest) (*CreateOrUpdateMemberResponse, error) // POST /api/msp/members/action/remove DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error) // GET /api/msp/members/action/list-roles ListMemberRoles(context.Context, *ListMemberRolesRequest) (*ListMemberRolesResponse, error) }
MemberServiceHandler is the server API for MemberService service.
type MemberServiceServer ¶
type MemberServiceServer interface { ScopeRoleAccess(context.Context, *ScopeRoleAccessRequest) (*ScopeRoleAccessResponse, error) ListMember(context.Context, *ListMemberRequest) (*ListMemberResponse, error) CreateOrUpdateMember(context.Context, *CreateOrUpdateMemberRequest) (*CreateOrUpdateMemberResponse, error) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error) ListMemberRoles(context.Context, *ListMemberRolesRequest) (*ListMemberRolesResponse, error) }
MemberServiceServer is the server API for MemberService service. All implementations should embed UnimplementedMemberServiceServer for forward compatibility
type RoleInfo ¶
type RoleInfo struct { Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RoleInfo) Descriptor
deprecated
func (*RoleInfo) MarshalJSON ¶
RoleInfo implement json.Marshaler.
func (*RoleInfo) ProtoMessage ¶
func (*RoleInfo) ProtoMessage()
func (*RoleInfo) ProtoReflect ¶
func (x *RoleInfo) ProtoReflect() protoreflect.Message
func (*RoleInfo) UnmarshalJSON ¶
RoleInfo implement json.Marshaler.
func (*RoleInfo) UnmarshalURLValues ¶
RoleInfo implement urlenc.URLValuesUnmarshaler.
type RoleList ¶
type RoleList struct { List []*RoleInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*RoleList) Descriptor
deprecated
func (*RoleList) MarshalJSON ¶
RoleList implement json.Marshaler.
func (*RoleList) ProtoMessage ¶
func (*RoleList) ProtoMessage()
func (*RoleList) ProtoReflect ¶
func (x *RoleList) ProtoReflect() protoreflect.Message
func (*RoleList) UnmarshalJSON ¶
RoleList implement json.Marshaler.
func (*RoleList) UnmarshalURLValues ¶
RoleList implement urlenc.URLValuesUnmarshaler.
type Scope ¶
type Scope struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Scope) Descriptor
deprecated
func (*Scope) MarshalJSON ¶
Scope implement json.Marshaler.
func (*Scope) ProtoMessage ¶
func (*Scope) ProtoMessage()
func (*Scope) ProtoReflect ¶
func (x *Scope) ProtoReflect() protoreflect.Message
func (*Scope) UnmarshalJSON ¶
Scope implement json.Marshaler.
func (*Scope) UnmarshalURLValues ¶
Scope implement urlenc.URLValuesUnmarshaler.
type ScopeResource ¶
type ScopeResource struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` ResourceRole string `protobuf:"bytes,3,opt,name=resourceRole,proto3" json:"resourceRole,omitempty"` // contains filtered or unexported fields }
func (*ScopeResource) Descriptor
deprecated
func (*ScopeResource) Descriptor() ([]byte, []int)
Deprecated: Use ScopeResource.ProtoReflect.Descriptor instead.
func (*ScopeResource) GetAction ¶
func (x *ScopeResource) GetAction() string
func (*ScopeResource) GetResource ¶
func (x *ScopeResource) GetResource() string
func (*ScopeResource) GetResourceRole ¶
func (x *ScopeResource) GetResourceRole() string
func (*ScopeResource) MarshalJSON ¶
func (m *ScopeResource) MarshalJSON() ([]byte, error)
ScopeResource implement json.Marshaler.
func (*ScopeResource) ProtoMessage ¶
func (*ScopeResource) ProtoMessage()
func (*ScopeResource) ProtoReflect ¶
func (x *ScopeResource) ProtoReflect() protoreflect.Message
func (*ScopeResource) Reset ¶
func (x *ScopeResource) Reset()
func (*ScopeResource) String ¶
func (x *ScopeResource) String() string
func (*ScopeResource) UnmarshalJSON ¶
func (m *ScopeResource) UnmarshalJSON(b []byte) error
ScopeResource implement json.Marshaler.
func (*ScopeResource) UnmarshalURLValues ¶
func (m *ScopeResource) UnmarshalURLValues(prefix string, values url.Values) error
ScopeResource implement urlenc.URLValuesUnmarshaler.
func (*ScopeResource) Validate ¶
func (this *ScopeResource) Validate() error
type ScopeRoleAccessRequest ¶
type ScopeRoleAccessRequest struct { Scope *Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*ScopeRoleAccessRequest) Descriptor
deprecated
func (*ScopeRoleAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScopeRoleAccessRequest.ProtoReflect.Descriptor instead.
func (*ScopeRoleAccessRequest) GetScope ¶
func (x *ScopeRoleAccessRequest) GetScope() *Scope
func (*ScopeRoleAccessRequest) MarshalJSON ¶
func (m *ScopeRoleAccessRequest) MarshalJSON() ([]byte, error)
ScopeRoleAccessRequest implement json.Marshaler.
func (*ScopeRoleAccessRequest) ProtoMessage ¶
func (*ScopeRoleAccessRequest) ProtoMessage()
func (*ScopeRoleAccessRequest) ProtoReflect ¶
func (x *ScopeRoleAccessRequest) ProtoReflect() protoreflect.Message
func (*ScopeRoleAccessRequest) Reset ¶
func (x *ScopeRoleAccessRequest) Reset()
func (*ScopeRoleAccessRequest) String ¶
func (x *ScopeRoleAccessRequest) String() string
func (*ScopeRoleAccessRequest) UnmarshalJSON ¶
func (m *ScopeRoleAccessRequest) UnmarshalJSON(b []byte) error
ScopeRoleAccessRequest implement json.Marshaler.
func (*ScopeRoleAccessRequest) UnmarshalURLValues ¶
func (m *ScopeRoleAccessRequest) UnmarshalURLValues(prefix string, values url.Values) error
ScopeRoleAccessRequest implement urlenc.URLValuesUnmarshaler.
func (*ScopeRoleAccessRequest) Validate ¶
func (this *ScopeRoleAccessRequest) Validate() error
type ScopeRoleAccessResponse ¶
type ScopeRoleAccessResponse struct { Data *ScopeRoleData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs,omitempty"` // contains filtered or unexported fields }
func (*ScopeRoleAccessResponse) Descriptor
deprecated
func (*ScopeRoleAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScopeRoleAccessResponse.ProtoReflect.Descriptor instead.
func (*ScopeRoleAccessResponse) GetData ¶
func (x *ScopeRoleAccessResponse) GetData() *ScopeRoleData
func (*ScopeRoleAccessResponse) GetUserIDs ¶
func (x *ScopeRoleAccessResponse) GetUserIDs() []string
func (*ScopeRoleAccessResponse) MarshalJSON ¶
func (m *ScopeRoleAccessResponse) MarshalJSON() ([]byte, error)
ScopeRoleAccessResponse implement json.Marshaler.
func (*ScopeRoleAccessResponse) ProtoMessage ¶
func (*ScopeRoleAccessResponse) ProtoMessage()
func (*ScopeRoleAccessResponse) ProtoReflect ¶
func (x *ScopeRoleAccessResponse) ProtoReflect() protoreflect.Message
func (*ScopeRoleAccessResponse) Reset ¶
func (x *ScopeRoleAccessResponse) Reset()
func (*ScopeRoleAccessResponse) String ¶
func (x *ScopeRoleAccessResponse) String() string
func (*ScopeRoleAccessResponse) UnmarshalJSON ¶
func (m *ScopeRoleAccessResponse) UnmarshalJSON(b []byte) error
ScopeRoleAccessResponse implement json.Marshaler.
func (*ScopeRoleAccessResponse) UnmarshalURLValues ¶
func (m *ScopeRoleAccessResponse) UnmarshalURLValues(prefix string, values url.Values) error
ScopeRoleAccessResponse implement urlenc.URLValuesUnmarshaler.
func (*ScopeRoleAccessResponse) Validate ¶
func (this *ScopeRoleAccessResponse) Validate() error
type ScopeRoleData ¶
type ScopeRoleData struct { Access bool `protobuf:"varint,1,opt,name=access,proto3" json:"access,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` PermissionList []*ScopeResource `protobuf:"bytes,3,rep,name=permissionList,proto3" json:"permissionList,omitempty"` ResourceRoleList []*ScopeResource `protobuf:"bytes,4,rep,name=resourceRoleList,proto3" json:"resourceRoleList,omitempty"` Exist bool `protobuf:"varint,5,opt,name=exist,proto3" json:"exist,omitempty"` ContactsWhenNoPermission []string `protobuf:"bytes,6,rep,name=contactsWhenNoPermission,proto3" json:"contactsWhenNoPermission,omitempty"` // contains filtered or unexported fields }
func (*ScopeRoleData) Descriptor
deprecated
func (*ScopeRoleData) Descriptor() ([]byte, []int)
Deprecated: Use ScopeRoleData.ProtoReflect.Descriptor instead.
func (*ScopeRoleData) GetAccess ¶
func (x *ScopeRoleData) GetAccess() bool
func (*ScopeRoleData) GetContactsWhenNoPermission ¶
func (x *ScopeRoleData) GetContactsWhenNoPermission() []string
func (*ScopeRoleData) GetExist ¶
func (x *ScopeRoleData) GetExist() bool
func (*ScopeRoleData) GetPermissionList ¶
func (x *ScopeRoleData) GetPermissionList() []*ScopeResource
func (*ScopeRoleData) GetResourceRoleList ¶
func (x *ScopeRoleData) GetResourceRoleList() []*ScopeResource
func (*ScopeRoleData) GetRoles ¶
func (x *ScopeRoleData) GetRoles() []string
func (*ScopeRoleData) MarshalJSON ¶
func (m *ScopeRoleData) MarshalJSON() ([]byte, error)
ScopeRoleData implement json.Marshaler.
func (*ScopeRoleData) ProtoMessage ¶
func (*ScopeRoleData) ProtoMessage()
func (*ScopeRoleData) ProtoReflect ¶
func (x *ScopeRoleData) ProtoReflect() protoreflect.Message
func (*ScopeRoleData) Reset ¶
func (x *ScopeRoleData) Reset()
func (*ScopeRoleData) String ¶
func (x *ScopeRoleData) String() string
func (*ScopeRoleData) UnmarshalJSON ¶
func (m *ScopeRoleData) UnmarshalJSON(b []byte) error
ScopeRoleData implement json.Marshaler.
func (*ScopeRoleData) UnmarshalURLValues ¶
func (m *ScopeRoleData) UnmarshalURLValues(prefix string, values url.Values) error
ScopeRoleData implement urlenc.URLValuesUnmarshaler.
func (*ScopeRoleData) Validate ¶
func (this *ScopeRoleData) Validate() error
type UnimplementedMemberServiceServer ¶
type UnimplementedMemberServiceServer struct { }
UnimplementedMemberServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedMemberServiceServer) CreateOrUpdateMember ¶
func (*UnimplementedMemberServiceServer) CreateOrUpdateMember(context.Context, *CreateOrUpdateMemberRequest) (*CreateOrUpdateMemberResponse, error)
func (*UnimplementedMemberServiceServer) DeleteMember ¶
func (*UnimplementedMemberServiceServer) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error)
func (*UnimplementedMemberServiceServer) ListMember ¶
func (*UnimplementedMemberServiceServer) ListMember(context.Context, *ListMemberRequest) (*ListMemberResponse, error)
func (*UnimplementedMemberServiceServer) ListMemberRoles ¶
func (*UnimplementedMemberServiceServer) ListMemberRoles(context.Context, *ListMemberRolesRequest) (*ListMemberRolesResponse, error)
func (*UnimplementedMemberServiceServer) ScopeRoleAccess ¶
func (*UnimplementedMemberServiceServer) ScopeRoleAccess(context.Context, *ScopeRoleAccessRequest) (*ScopeRoleAccessResponse, error)