Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterInternalRoleServer

func RegisterInternalRoleServer(s *grpc.Server, srv InternalRoleServer)

func RegisterResourceSrvServer

func RegisterResourceSrvServer(s *grpc.Server, srv ResourceSrvServer)

func RegisterRoleBindingResourceSrvServer

func RegisterRoleBindingResourceSrvServer(s *grpc.Server, srv RoleBindingResourceSrvServer)

func RegisterRoleSrvServer

func RegisterRoleSrvServer(s *grpc.Server, srv RoleSrvServer)

func RegisterUserSrvServer

func RegisterUserSrvServer(s *grpc.Server, srv UserSrvServer)

Types

type AuthorizeRequest

type AuthorizeRequest struct {
	Subject              string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Resource             string   `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Action               string   `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthorizeRequest) Descriptor

func (*AuthorizeRequest) Descriptor() ([]byte, []int)

func (*AuthorizeRequest) GetAction

func (m *AuthorizeRequest) GetAction() string

func (*AuthorizeRequest) GetResource

func (m *AuthorizeRequest) GetResource() string

func (*AuthorizeRequest) GetSubject

func (m *AuthorizeRequest) GetSubject() string

func (*AuthorizeRequest) ProtoMessage

func (*AuthorizeRequest) ProtoMessage()

func (*AuthorizeRequest) Reset

func (m *AuthorizeRequest) Reset()

func (*AuthorizeRequest) String

func (m *AuthorizeRequest) String() string

func (*AuthorizeRequest) XXX_DiscardUnknown

func (m *AuthorizeRequest) XXX_DiscardUnknown()

func (*AuthorizeRequest) XXX_Marshal

func (m *AuthorizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthorizeRequest) XXX_Merge

func (m *AuthorizeRequest) XXX_Merge(src proto.Message)

func (*AuthorizeRequest) XXX_Size

func (m *AuthorizeRequest) XXX_Size() int

func (*AuthorizeRequest) XXX_Unmarshal

func (m *AuthorizeRequest) XXX_Unmarshal(b []byte) error

type AuthorizeResponse

type AuthorizeResponse struct {
	Ok                   bool     `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthorizeResponse) Descriptor

func (*AuthorizeResponse) Descriptor() ([]byte, []int)

func (*AuthorizeResponse) GetOk

func (m *AuthorizeResponse) GetOk() bool

func (*AuthorizeResponse) ProtoMessage

func (*AuthorizeResponse) ProtoMessage()

func (*AuthorizeResponse) Reset

func (m *AuthorizeResponse) Reset()

func (*AuthorizeResponse) String

func (m *AuthorizeResponse) String() string

func (*AuthorizeResponse) XXX_DiscardUnknown

func (m *AuthorizeResponse) XXX_DiscardUnknown()

func (*AuthorizeResponse) XXX_Marshal

func (m *AuthorizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthorizeResponse) XXX_Merge

func (m *AuthorizeResponse) XXX_Merge(src proto.Message)

func (*AuthorizeResponse) XXX_Size

func (m *AuthorizeResponse) XXX_Size() int

func (*AuthorizeResponse) XXX_Unmarshal

func (m *AuthorizeResponse) XXX_Unmarshal(b []byte) error

type InternalRoleClient

type InternalRoleClient interface {
	Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error)
	Close() error
}

    InternalRoleClient is the client API for InternalRole service.

    For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

    func NewAnkrInternalRoleClient

    func NewAnkrInternalRoleClient(addr string) (InternalRoleClient, error)

      new client method

      func NewInternalRoleClient

      func NewInternalRoleClient(cc *grpc.ClientConn) InternalRoleClient

        origin client method

        type InternalRoleServer

        type InternalRoleServer interface {
        	Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
        }

          InternalRoleServer is the server API for InternalRole service.

          type Resource

          type Resource struct {
          	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
          	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
          	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
          	Value                string   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
          	Source               string   `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
          	Memo                 string   `protobuf:"bytes,6,opt,name=memo,proto3" json:"memo,omitempty"`
          	Status               int64    `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*Resource) Descriptor

          func (*Resource) Descriptor() ([]byte, []int)

          func (*Resource) GetId

          func (m *Resource) GetId() int64

          func (*Resource) GetMemo

          func (m *Resource) GetMemo() string

          func (*Resource) GetName

          func (m *Resource) GetName() string

          func (*Resource) GetSource

          func (m *Resource) GetSource() string

          func (*Resource) GetStatus

          func (m *Resource) GetStatus() int64

          func (*Resource) GetType

          func (m *Resource) GetType() string

          func (*Resource) GetValue

          func (m *Resource) GetValue() string

          func (*Resource) ProtoMessage

          func (*Resource) ProtoMessage()

          func (*Resource) Reset

          func (m *Resource) Reset()

          func (*Resource) String

          func (m *Resource) String() string

          func (*Resource) XXX_DiscardUnknown

          func (m *Resource) XXX_DiscardUnknown()

          func (*Resource) XXX_Marshal

          func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*Resource) XXX_Merge

          func (m *Resource) XXX_Merge(src proto.Message)

          func (*Resource) XXX_Size

          func (m *Resource) XXX_Size() int

          func (*Resource) XXX_Unmarshal

          func (m *Resource) XXX_Unmarshal(b []byte) error

          type ResourceAddRequest

          type ResourceAddRequest struct {
          	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
          	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
          	Value                string   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
          	Source               string   `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
          	Memo                 string   `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*ResourceAddRequest) Descriptor

          func (*ResourceAddRequest) Descriptor() ([]byte, []int)

          func (*ResourceAddRequest) GetMemo

          func (m *ResourceAddRequest) GetMemo() string

          func (*ResourceAddRequest) GetName

          func (m *ResourceAddRequest) GetName() string

          func (*ResourceAddRequest) GetSource

          func (m *ResourceAddRequest) GetSource() string

          func (*ResourceAddRequest) GetType

          func (m *ResourceAddRequest) GetType() string

          func (*ResourceAddRequest) GetValue

          func (m *ResourceAddRequest) GetValue() string

          func (*ResourceAddRequest) ProtoMessage

          func (*ResourceAddRequest) ProtoMessage()

          func (*ResourceAddRequest) Reset

          func (m *ResourceAddRequest) Reset()

          func (*ResourceAddRequest) String

          func (m *ResourceAddRequest) String() string

          func (*ResourceAddRequest) XXX_DiscardUnknown

          func (m *ResourceAddRequest) XXX_DiscardUnknown()

          func (*ResourceAddRequest) XXX_Marshal

          func (m *ResourceAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceAddRequest) XXX_Merge

          func (m *ResourceAddRequest) XXX_Merge(src proto.Message)

          func (*ResourceAddRequest) XXX_Size

          func (m *ResourceAddRequest) XXX_Size() int

          func (*ResourceAddRequest) XXX_Unmarshal

          func (m *ResourceAddRequest) XXX_Unmarshal(b []byte) error

          type ResourceAddResponse

          type ResourceAddResponse struct {
          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
          	XXX_unrecognized     []byte    `json:"-"`
          	XXX_sizecache        int32     `json:"-"`
          }

          func (*ResourceAddResponse) Descriptor

          func (*ResourceAddResponse) Descriptor() ([]byte, []int)

          func (*ResourceAddResponse) GetRsp

          func (m *ResourceAddResponse) GetRsp() *Response

          func (*ResourceAddResponse) ProtoMessage

          func (*ResourceAddResponse) ProtoMessage()

          func (*ResourceAddResponse) Reset

          func (m *ResourceAddResponse) Reset()

          func (*ResourceAddResponse) String

          func (m *ResourceAddResponse) String() string

          func (*ResourceAddResponse) XXX_DiscardUnknown

          func (m *ResourceAddResponse) XXX_DiscardUnknown()

          func (*ResourceAddResponse) XXX_Marshal

          func (m *ResourceAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceAddResponse) XXX_Merge

          func (m *ResourceAddResponse) XXX_Merge(src proto.Message)

          func (*ResourceAddResponse) XXX_Size

          func (m *ResourceAddResponse) XXX_Size() int

          func (*ResourceAddResponse) XXX_Unmarshal

          func (m *ResourceAddResponse) XXX_Unmarshal(b []byte) error

          type ResourceDelRequest

          type ResourceDelRequest struct {
          	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*ResourceDelRequest) Descriptor

          func (*ResourceDelRequest) Descriptor() ([]byte, []int)

          func (*ResourceDelRequest) GetId

          func (m *ResourceDelRequest) GetId() int64

          func (*ResourceDelRequest) ProtoMessage

          func (*ResourceDelRequest) ProtoMessage()

          func (*ResourceDelRequest) Reset

          func (m *ResourceDelRequest) Reset()

          func (*ResourceDelRequest) String

          func (m *ResourceDelRequest) String() string

          func (*ResourceDelRequest) XXX_DiscardUnknown

          func (m *ResourceDelRequest) XXX_DiscardUnknown()

          func (*ResourceDelRequest) XXX_Marshal

          func (m *ResourceDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceDelRequest) XXX_Merge

          func (m *ResourceDelRequest) XXX_Merge(src proto.Message)

          func (*ResourceDelRequest) XXX_Size

          func (m *ResourceDelRequest) XXX_Size() int

          func (*ResourceDelRequest) XXX_Unmarshal

          func (m *ResourceDelRequest) XXX_Unmarshal(b []byte) error

          type ResourceDelResponse

          type ResourceDelResponse struct {
          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
          	XXX_unrecognized     []byte    `json:"-"`
          	XXX_sizecache        int32     `json:"-"`
          }

          func (*ResourceDelResponse) Descriptor

          func (*ResourceDelResponse) Descriptor() ([]byte, []int)

          func (*ResourceDelResponse) GetRsp

          func (m *ResourceDelResponse) GetRsp() *Response

          func (*ResourceDelResponse) ProtoMessage

          func (*ResourceDelResponse) ProtoMessage()

          func (*ResourceDelResponse) Reset

          func (m *ResourceDelResponse) Reset()

          func (*ResourceDelResponse) String

          func (m *ResourceDelResponse) String() string

          func (*ResourceDelResponse) XXX_DiscardUnknown

          func (m *ResourceDelResponse) XXX_DiscardUnknown()

          func (*ResourceDelResponse) XXX_Marshal

          func (m *ResourceDelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceDelResponse) XXX_Merge

          func (m *ResourceDelResponse) XXX_Merge(src proto.Message)

          func (*ResourceDelResponse) XXX_Size

          func (m *ResourceDelResponse) XXX_Size() int

          func (*ResourceDelResponse) XXX_Unmarshal

          func (m *ResourceDelResponse) XXX_Unmarshal(b []byte) error

          type ResourceModRequest

          type ResourceModRequest struct {
          	Rc                   *Resource `protobuf:"bytes,1,opt,name=rc,proto3" json:"rc,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
          	XXX_unrecognized     []byte    `json:"-"`
          	XXX_sizecache        int32     `json:"-"`
          }

          func (*ResourceModRequest) Descriptor

          func (*ResourceModRequest) Descriptor() ([]byte, []int)

          func (*ResourceModRequest) GetRc

          func (m *ResourceModRequest) GetRc() *Resource

          func (*ResourceModRequest) ProtoMessage

          func (*ResourceModRequest) ProtoMessage()

          func (*ResourceModRequest) Reset

          func (m *ResourceModRequest) Reset()

          func (*ResourceModRequest) String

          func (m *ResourceModRequest) String() string

          func (*ResourceModRequest) XXX_DiscardUnknown

          func (m *ResourceModRequest) XXX_DiscardUnknown()

          func (*ResourceModRequest) XXX_Marshal

          func (m *ResourceModRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceModRequest) XXX_Merge

          func (m *ResourceModRequest) XXX_Merge(src proto.Message)

          func (*ResourceModRequest) XXX_Size

          func (m *ResourceModRequest) XXX_Size() int

          func (*ResourceModRequest) XXX_Unmarshal

          func (m *ResourceModRequest) XXX_Unmarshal(b []byte) error

          type ResourceModResponse

          type ResourceModResponse struct {
          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
          	XXX_unrecognized     []byte    `json:"-"`
          	XXX_sizecache        int32     `json:"-"`
          }

          func (*ResourceModResponse) Descriptor

          func (*ResourceModResponse) Descriptor() ([]byte, []int)

          func (*ResourceModResponse) GetRsp

          func (m *ResourceModResponse) GetRsp() *Response

          func (*ResourceModResponse) ProtoMessage

          func (*ResourceModResponse) ProtoMessage()

          func (*ResourceModResponse) Reset

          func (m *ResourceModResponse) Reset()

          func (*ResourceModResponse) String

          func (m *ResourceModResponse) String() string

          func (*ResourceModResponse) XXX_DiscardUnknown

          func (m *ResourceModResponse) XXX_DiscardUnknown()

          func (*ResourceModResponse) XXX_Marshal

          func (m *ResourceModResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceModResponse) XXX_Merge

          func (m *ResourceModResponse) XXX_Merge(src proto.Message)

          func (*ResourceModResponse) XXX_Size

          func (m *ResourceModResponse) XXX_Size() int

          func (*ResourceModResponse) XXX_Unmarshal

          func (m *ResourceModResponse) XXX_Unmarshal(b []byte) error

          type ResourceQryRequest

          type ResourceQryRequest struct {
          	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
          	Size                 int64    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
          	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
          	XXX_unrecognized     []byte   `json:"-"`
          	XXX_sizecache        int32    `json:"-"`
          }

          func (*ResourceQryRequest) Descriptor

          func (*ResourceQryRequest) Descriptor() ([]byte, []int)

          func (*ResourceQryRequest) GetPage

          func (m *ResourceQryRequest) GetPage() int64

          func (*ResourceQryRequest) GetSize

          func (m *ResourceQryRequest) GetSize() int64

          func (*ResourceQryRequest) GetType

          func (m *ResourceQryRequest) GetType() string

          func (*ResourceQryRequest) ProtoMessage

          func (*ResourceQryRequest) ProtoMessage()

          func (*ResourceQryRequest) Reset

          func (m *ResourceQryRequest) Reset()

          func (*ResourceQryRequest) String

          func (m *ResourceQryRequest) String() string

          func (*ResourceQryRequest) XXX_DiscardUnknown

          func (m *ResourceQryRequest) XXX_DiscardUnknown()

          func (*ResourceQryRequest) XXX_Marshal

          func (m *ResourceQryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceQryRequest) XXX_Merge

          func (m *ResourceQryRequest) XXX_Merge(src proto.Message)

          func (*ResourceQryRequest) XXX_Size

          func (m *ResourceQryRequest) XXX_Size() int

          func (*ResourceQryRequest) XXX_Unmarshal

          func (m *ResourceQryRequest) XXX_Unmarshal(b []byte) error

          type ResourceQryResponse

          type ResourceQryResponse struct {
          	Rsp                  *Response   `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
          	Data                 []*Resource `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
          	Total                int64       `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
          	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
          	XXX_unrecognized     []byte      `json:"-"`
          	XXX_sizecache        int32       `json:"-"`
          }

          func (*ResourceQryResponse) Descriptor

          func (*ResourceQryResponse) Descriptor() ([]byte, []int)

          func (*ResourceQryResponse) GetData

          func (m *ResourceQryResponse) GetData() []*Resource

          func (*ResourceQryResponse) GetRsp

          func (m *ResourceQryResponse) GetRsp() *Response

          func (*ResourceQryResponse) GetTotal

          func (m *ResourceQryResponse) GetTotal() int64

          func (*ResourceQryResponse) ProtoMessage

          func (*ResourceQryResponse) ProtoMessage()

          func (*ResourceQryResponse) Reset

          func (m *ResourceQryResponse) Reset()

          func (*ResourceQryResponse) String

          func (m *ResourceQryResponse) String() string

          func (*ResourceQryResponse) XXX_DiscardUnknown

          func (m *ResourceQryResponse) XXX_DiscardUnknown()

          func (*ResourceQryResponse) XXX_Marshal

          func (m *ResourceQryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

          func (*ResourceQryResponse) XXX_Merge

          func (m *ResourceQryResponse) XXX_Merge(src proto.Message)

          func (*ResourceQryResponse) XXX_Size

          func (m *ResourceQryResponse) XXX_Size() int

          func (*ResourceQryResponse) XXX_Unmarshal

          func (m *ResourceQryResponse) XXX_Unmarshal(b []byte) error

          type ResourceSrvClient

            ResourceSrvClient is the client API for ResourceSrv service.

            For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

            func NewAnkrResourceSrvClient

            func NewAnkrResourceSrvClient(addr string) (ResourceSrvClient, error)

              new client method

              func NewResourceSrvClient

              func NewResourceSrvClient(cc *grpc.ClientConn) ResourceSrvClient

                origin client method

                type ResourceSrvServer

                  ResourceSrvServer is the server API for ResourceSrv service.

                  type Response

                  type Response struct {
                  	Code                 int64    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
                  	Desc                 string   `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*Response) Descriptor

                  func (*Response) Descriptor() ([]byte, []int)

                  func (*Response) GetCode

                  func (m *Response) GetCode() int64

                  func (*Response) GetDesc

                  func (m *Response) GetDesc() string

                  func (*Response) ProtoMessage

                  func (*Response) ProtoMessage()

                  func (*Response) Reset

                  func (m *Response) Reset()

                  func (*Response) String

                  func (m *Response) String() string

                  func (*Response) XXX_DiscardUnknown

                  func (m *Response) XXX_DiscardUnknown()

                  func (*Response) XXX_Marshal

                  func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*Response) XXX_Merge

                  func (m *Response) XXX_Merge(src proto.Message)

                  func (*Response) XXX_Size

                  func (m *Response) XXX_Size() int

                  func (*Response) XXX_Unmarshal

                  func (m *Response) XXX_Unmarshal(b []byte) error

                  type Role

                  type Role struct {
                  	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
                  	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
                  	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
                  	Memo                 string   `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
                  	Status               int64    `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*Role) Descriptor

                  func (*Role) Descriptor() ([]byte, []int)

                  func (*Role) GetId

                  func (m *Role) GetId() int64

                  func (*Role) GetMemo

                  func (m *Role) GetMemo() string

                  func (*Role) GetName

                  func (m *Role) GetName() string

                  func (*Role) GetStatus

                  func (m *Role) GetStatus() int64

                  func (*Role) GetType

                  func (m *Role) GetType() string

                  func (*Role) ProtoMessage

                  func (*Role) ProtoMessage()

                  func (*Role) Reset

                  func (m *Role) Reset()

                  func (*Role) String

                  func (m *Role) String() string

                  func (*Role) XXX_DiscardUnknown

                  func (m *Role) XXX_DiscardUnknown()

                  func (*Role) XXX_Marshal

                  func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*Role) XXX_Merge

                  func (m *Role) XXX_Merge(src proto.Message)

                  func (*Role) XXX_Size

                  func (m *Role) XXX_Size() int

                  func (*Role) XXX_Unmarshal

                  func (m *Role) XXX_Unmarshal(b []byte) error

                  type RoleAddRequest

                  type RoleAddRequest struct {
                  	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
                  	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
                  	Memo                 string   `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*RoleAddRequest) Descriptor

                  func (*RoleAddRequest) Descriptor() ([]byte, []int)

                  func (*RoleAddRequest) GetMemo

                  func (m *RoleAddRequest) GetMemo() string

                  func (*RoleAddRequest) GetName

                  func (m *RoleAddRequest) GetName() string

                  func (*RoleAddRequest) GetType

                  func (m *RoleAddRequest) GetType() string

                  func (*RoleAddRequest) ProtoMessage

                  func (*RoleAddRequest) ProtoMessage()

                  func (*RoleAddRequest) Reset

                  func (m *RoleAddRequest) Reset()

                  func (*RoleAddRequest) String

                  func (m *RoleAddRequest) String() string

                  func (*RoleAddRequest) XXX_DiscardUnknown

                  func (m *RoleAddRequest) XXX_DiscardUnknown()

                  func (*RoleAddRequest) XXX_Marshal

                  func (m *RoleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleAddRequest) XXX_Merge

                  func (m *RoleAddRequest) XXX_Merge(src proto.Message)

                  func (*RoleAddRequest) XXX_Size

                  func (m *RoleAddRequest) XXX_Size() int

                  func (*RoleAddRequest) XXX_Unmarshal

                  func (m *RoleAddRequest) XXX_Unmarshal(b []byte) error

                  type RoleAddResponse

                  type RoleAddResponse struct {
                  	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                  	XXX_unrecognized     []byte    `json:"-"`
                  	XXX_sizecache        int32     `json:"-"`
                  }

                  func (*RoleAddResponse) Descriptor

                  func (*RoleAddResponse) Descriptor() ([]byte, []int)

                  func (*RoleAddResponse) GetRsp

                  func (m *RoleAddResponse) GetRsp() *Response

                  func (*RoleAddResponse) ProtoMessage

                  func (*RoleAddResponse) ProtoMessage()

                  func (*RoleAddResponse) Reset

                  func (m *RoleAddResponse) Reset()

                  func (*RoleAddResponse) String

                  func (m *RoleAddResponse) String() string

                  func (*RoleAddResponse) XXX_DiscardUnknown

                  func (m *RoleAddResponse) XXX_DiscardUnknown()

                  func (*RoleAddResponse) XXX_Marshal

                  func (m *RoleAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleAddResponse) XXX_Merge

                  func (m *RoleAddResponse) XXX_Merge(src proto.Message)

                  func (*RoleAddResponse) XXX_Size

                  func (m *RoleAddResponse) XXX_Size() int

                  func (*RoleAddResponse) XXX_Unmarshal

                  func (m *RoleAddResponse) XXX_Unmarshal(b []byte) error

                  type RoleBindingResource

                  type RoleBindingResource struct {
                  	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
                  	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
                  	Subject              string   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
                  	Resource             string   `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
                  	Action               string   `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
                  	Policy               string   `protobuf:"bytes,6,opt,name=policy,proto3" json:"policy,omitempty"`
                  	Status               int64    `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*RoleBindingResource) Descriptor

                  func (*RoleBindingResource) Descriptor() ([]byte, []int)

                  func (*RoleBindingResource) GetAction

                  func (m *RoleBindingResource) GetAction() string

                  func (*RoleBindingResource) GetId

                  func (m *RoleBindingResource) GetId() int64

                  func (*RoleBindingResource) GetPolicy

                  func (m *RoleBindingResource) GetPolicy() string

                  func (*RoleBindingResource) GetResource

                  func (m *RoleBindingResource) GetResource() string

                  func (*RoleBindingResource) GetStatus

                  func (m *RoleBindingResource) GetStatus() int64

                  func (*RoleBindingResource) GetSubject

                  func (m *RoleBindingResource) GetSubject() string

                  func (*RoleBindingResource) GetType

                  func (m *RoleBindingResource) GetType() string

                  func (*RoleBindingResource) ProtoMessage

                  func (*RoleBindingResource) ProtoMessage()

                  func (*RoleBindingResource) Reset

                  func (m *RoleBindingResource) Reset()

                  func (*RoleBindingResource) String

                  func (m *RoleBindingResource) String() string

                  func (*RoleBindingResource) XXX_DiscardUnknown

                  func (m *RoleBindingResource) XXX_DiscardUnknown()

                  func (*RoleBindingResource) XXX_Marshal

                  func (m *RoleBindingResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResource) XXX_Merge

                  func (m *RoleBindingResource) XXX_Merge(src proto.Message)

                  func (*RoleBindingResource) XXX_Size

                  func (m *RoleBindingResource) XXX_Size() int

                  func (*RoleBindingResource) XXX_Unmarshal

                  func (m *RoleBindingResource) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceAddRequest

                  type RoleBindingResourceAddRequest struct {
                  	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
                  	Subject              string   `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
                  	Resource             string   `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
                  	Action               string   `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
                  	Policy               string   `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*RoleBindingResourceAddRequest) Descriptor

                  func (*RoleBindingResourceAddRequest) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceAddRequest) GetAction

                  func (m *RoleBindingResourceAddRequest) GetAction() string

                  func (*RoleBindingResourceAddRequest) GetPolicy

                  func (m *RoleBindingResourceAddRequest) GetPolicy() string

                  func (*RoleBindingResourceAddRequest) GetResource

                  func (m *RoleBindingResourceAddRequest) GetResource() string

                  func (*RoleBindingResourceAddRequest) GetSubject

                  func (m *RoleBindingResourceAddRequest) GetSubject() string

                  func (*RoleBindingResourceAddRequest) GetType

                  func (*RoleBindingResourceAddRequest) ProtoMessage

                  func (*RoleBindingResourceAddRequest) ProtoMessage()

                  func (*RoleBindingResourceAddRequest) Reset

                  func (m *RoleBindingResourceAddRequest) Reset()

                  func (*RoleBindingResourceAddRequest) String

                  func (*RoleBindingResourceAddRequest) XXX_DiscardUnknown

                  func (m *RoleBindingResourceAddRequest) XXX_DiscardUnknown()

                  func (*RoleBindingResourceAddRequest) XXX_Marshal

                  func (m *RoleBindingResourceAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceAddRequest) XXX_Merge

                  func (m *RoleBindingResourceAddRequest) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceAddRequest) XXX_Size

                  func (m *RoleBindingResourceAddRequest) XXX_Size() int

                  func (*RoleBindingResourceAddRequest) XXX_Unmarshal

                  func (m *RoleBindingResourceAddRequest) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceAddResponse

                  type RoleBindingResourceAddResponse struct {
                  	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                  	XXX_unrecognized     []byte    `json:"-"`
                  	XXX_sizecache        int32     `json:"-"`
                  }

                  func (*RoleBindingResourceAddResponse) Descriptor

                  func (*RoleBindingResourceAddResponse) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceAddResponse) GetRsp

                  func (*RoleBindingResourceAddResponse) ProtoMessage

                  func (*RoleBindingResourceAddResponse) ProtoMessage()

                  func (*RoleBindingResourceAddResponse) Reset

                  func (m *RoleBindingResourceAddResponse) Reset()

                  func (*RoleBindingResourceAddResponse) String

                  func (*RoleBindingResourceAddResponse) XXX_DiscardUnknown

                  func (m *RoleBindingResourceAddResponse) XXX_DiscardUnknown()

                  func (*RoleBindingResourceAddResponse) XXX_Marshal

                  func (m *RoleBindingResourceAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceAddResponse) XXX_Merge

                  func (m *RoleBindingResourceAddResponse) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceAddResponse) XXX_Size

                  func (m *RoleBindingResourceAddResponse) XXX_Size() int

                  func (*RoleBindingResourceAddResponse) XXX_Unmarshal

                  func (m *RoleBindingResourceAddResponse) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceDelRequest

                  type RoleBindingResourceDelRequest struct {
                  	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*RoleBindingResourceDelRequest) Descriptor

                  func (*RoleBindingResourceDelRequest) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceDelRequest) GetId

                  func (*RoleBindingResourceDelRequest) ProtoMessage

                  func (*RoleBindingResourceDelRequest) ProtoMessage()

                  func (*RoleBindingResourceDelRequest) Reset

                  func (m *RoleBindingResourceDelRequest) Reset()

                  func (*RoleBindingResourceDelRequest) String

                  func (*RoleBindingResourceDelRequest) XXX_DiscardUnknown

                  func (m *RoleBindingResourceDelRequest) XXX_DiscardUnknown()

                  func (*RoleBindingResourceDelRequest) XXX_Marshal

                  func (m *RoleBindingResourceDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceDelRequest) XXX_Merge

                  func (m *RoleBindingResourceDelRequest) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceDelRequest) XXX_Size

                  func (m *RoleBindingResourceDelRequest) XXX_Size() int

                  func (*RoleBindingResourceDelRequest) XXX_Unmarshal

                  func (m *RoleBindingResourceDelRequest) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceDelResponse

                  type RoleBindingResourceDelResponse struct {
                  	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                  	XXX_unrecognized     []byte    `json:"-"`
                  	XXX_sizecache        int32     `json:"-"`
                  }

                  func (*RoleBindingResourceDelResponse) Descriptor

                  func (*RoleBindingResourceDelResponse) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceDelResponse) GetRsp

                  func (*RoleBindingResourceDelResponse) ProtoMessage

                  func (*RoleBindingResourceDelResponse) ProtoMessage()

                  func (*RoleBindingResourceDelResponse) Reset

                  func (m *RoleBindingResourceDelResponse) Reset()

                  func (*RoleBindingResourceDelResponse) String

                  func (*RoleBindingResourceDelResponse) XXX_DiscardUnknown

                  func (m *RoleBindingResourceDelResponse) XXX_DiscardUnknown()

                  func (*RoleBindingResourceDelResponse) XXX_Marshal

                  func (m *RoleBindingResourceDelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceDelResponse) XXX_Merge

                  func (m *RoleBindingResourceDelResponse) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceDelResponse) XXX_Size

                  func (m *RoleBindingResourceDelResponse) XXX_Size() int

                  func (*RoleBindingResourceDelResponse) XXX_Unmarshal

                  func (m *RoleBindingResourceDelResponse) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceListRequest

                  type RoleBindingResourceListRequest struct {
                  	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*RoleBindingResourceListRequest) Descriptor

                  func (*RoleBindingResourceListRequest) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceListRequest) GetType

                  func (*RoleBindingResourceListRequest) ProtoMessage

                  func (*RoleBindingResourceListRequest) ProtoMessage()

                  func (*RoleBindingResourceListRequest) Reset

                  func (m *RoleBindingResourceListRequest) Reset()

                  func (*RoleBindingResourceListRequest) String

                  func (*RoleBindingResourceListRequest) XXX_DiscardUnknown

                  func (m *RoleBindingResourceListRequest) XXX_DiscardUnknown()

                  func (*RoleBindingResourceListRequest) XXX_Marshal

                  func (m *RoleBindingResourceListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceListRequest) XXX_Merge

                  func (m *RoleBindingResourceListRequest) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceListRequest) XXX_Size

                  func (m *RoleBindingResourceListRequest) XXX_Size() int

                  func (*RoleBindingResourceListRequest) XXX_Unmarshal

                  func (m *RoleBindingResourceListRequest) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceListResponse

                  type RoleBindingResourceListResponse struct {
                  	Rsp                  *Response              `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                  	Data                 []*RoleBindingResource `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
                  	XXX_unrecognized     []byte                 `json:"-"`
                  	XXX_sizecache        int32                  `json:"-"`
                  }

                  func (*RoleBindingResourceListResponse) Descriptor

                  func (*RoleBindingResourceListResponse) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceListResponse) GetData

                  func (*RoleBindingResourceListResponse) GetRsp

                  func (*RoleBindingResourceListResponse) ProtoMessage

                  func (*RoleBindingResourceListResponse) ProtoMessage()

                  func (*RoleBindingResourceListResponse) Reset

                  func (*RoleBindingResourceListResponse) String

                  func (*RoleBindingResourceListResponse) XXX_DiscardUnknown

                  func (m *RoleBindingResourceListResponse) XXX_DiscardUnknown()

                  func (*RoleBindingResourceListResponse) XXX_Marshal

                  func (m *RoleBindingResourceListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceListResponse) XXX_Merge

                  func (m *RoleBindingResourceListResponse) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceListResponse) XXX_Size

                  func (m *RoleBindingResourceListResponse) XXX_Size() int

                  func (*RoleBindingResourceListResponse) XXX_Unmarshal

                  func (m *RoleBindingResourceListResponse) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceModRequest

                  type RoleBindingResourceModRequest struct {
                  	Role                 *RoleBindingResource `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
                  	XXX_unrecognized     []byte               `json:"-"`
                  	XXX_sizecache        int32                `json:"-"`
                  }

                  func (*RoleBindingResourceModRequest) Descriptor

                  func (*RoleBindingResourceModRequest) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceModRequest) GetRole

                  func (*RoleBindingResourceModRequest) ProtoMessage

                  func (*RoleBindingResourceModRequest) ProtoMessage()

                  func (*RoleBindingResourceModRequest) Reset

                  func (m *RoleBindingResourceModRequest) Reset()

                  func (*RoleBindingResourceModRequest) String

                  func (*RoleBindingResourceModRequest) XXX_DiscardUnknown

                  func (m *RoleBindingResourceModRequest) XXX_DiscardUnknown()

                  func (*RoleBindingResourceModRequest) XXX_Marshal

                  func (m *RoleBindingResourceModRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceModRequest) XXX_Merge

                  func (m *RoleBindingResourceModRequest) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceModRequest) XXX_Size

                  func (m *RoleBindingResourceModRequest) XXX_Size() int

                  func (*RoleBindingResourceModRequest) XXX_Unmarshal

                  func (m *RoleBindingResourceModRequest) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceModResponse

                  type RoleBindingResourceModResponse struct {
                  	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                  	XXX_unrecognized     []byte    `json:"-"`
                  	XXX_sizecache        int32     `json:"-"`
                  }

                  func (*RoleBindingResourceModResponse) Descriptor

                  func (*RoleBindingResourceModResponse) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceModResponse) GetRsp

                  func (*RoleBindingResourceModResponse) ProtoMessage

                  func (*RoleBindingResourceModResponse) ProtoMessage()

                  func (*RoleBindingResourceModResponse) Reset

                  func (m *RoleBindingResourceModResponse) Reset()

                  func (*RoleBindingResourceModResponse) String

                  func (*RoleBindingResourceModResponse) XXX_DiscardUnknown

                  func (m *RoleBindingResourceModResponse) XXX_DiscardUnknown()

                  func (*RoleBindingResourceModResponse) XXX_Marshal

                  func (m *RoleBindingResourceModResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceModResponse) XXX_Merge

                  func (m *RoleBindingResourceModResponse) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceModResponse) XXX_Size

                  func (m *RoleBindingResourceModResponse) XXX_Size() int

                  func (*RoleBindingResourceModResponse) XXX_Unmarshal

                  func (m *RoleBindingResourceModResponse) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceQryRequest

                  type RoleBindingResourceQryRequest struct {
                  	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
                  	Num                  int64    `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
                  	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                  	XXX_unrecognized     []byte   `json:"-"`
                  	XXX_sizecache        int32    `json:"-"`
                  }

                  func (*RoleBindingResourceQryRequest) Descriptor

                  func (*RoleBindingResourceQryRequest) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceQryRequest) GetNum

                  func (*RoleBindingResourceQryRequest) GetPage

                  func (m *RoleBindingResourceQryRequest) GetPage() int64

                  func (*RoleBindingResourceQryRequest) GetType

                  func (*RoleBindingResourceQryRequest) ProtoMessage

                  func (*RoleBindingResourceQryRequest) ProtoMessage()

                  func (*RoleBindingResourceQryRequest) Reset

                  func (m *RoleBindingResourceQryRequest) Reset()

                  func (*RoleBindingResourceQryRequest) String

                  func (*RoleBindingResourceQryRequest) XXX_DiscardUnknown

                  func (m *RoleBindingResourceQryRequest) XXX_DiscardUnknown()

                  func (*RoleBindingResourceQryRequest) XXX_Marshal

                  func (m *RoleBindingResourceQryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceQryRequest) XXX_Merge

                  func (m *RoleBindingResourceQryRequest) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceQryRequest) XXX_Size

                  func (m *RoleBindingResourceQryRequest) XXX_Size() int

                  func (*RoleBindingResourceQryRequest) XXX_Unmarshal

                  func (m *RoleBindingResourceQryRequest) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceQryResponse

                  type RoleBindingResourceQryResponse struct {
                  	Rsp                  *Response              `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                  	Data                 []*RoleBindingResource `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
                  	Total                int64                  `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
                  	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
                  	XXX_unrecognized     []byte                 `json:"-"`
                  	XXX_sizecache        int32                  `json:"-"`
                  }

                  func (*RoleBindingResourceQryResponse) Descriptor

                  func (*RoleBindingResourceQryResponse) Descriptor() ([]byte, []int)

                  func (*RoleBindingResourceQryResponse) GetData

                  func (*RoleBindingResourceQryResponse) GetRsp

                  func (*RoleBindingResourceQryResponse) GetTotal

                  func (m *RoleBindingResourceQryResponse) GetTotal() int64

                  func (*RoleBindingResourceQryResponse) ProtoMessage

                  func (*RoleBindingResourceQryResponse) ProtoMessage()

                  func (*RoleBindingResourceQryResponse) Reset

                  func (m *RoleBindingResourceQryResponse) Reset()

                  func (*RoleBindingResourceQryResponse) String

                  func (*RoleBindingResourceQryResponse) XXX_DiscardUnknown

                  func (m *RoleBindingResourceQryResponse) XXX_DiscardUnknown()

                  func (*RoleBindingResourceQryResponse) XXX_Marshal

                  func (m *RoleBindingResourceQryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                  func (*RoleBindingResourceQryResponse) XXX_Merge

                  func (m *RoleBindingResourceQryResponse) XXX_Merge(src proto.Message)

                  func (*RoleBindingResourceQryResponse) XXX_Size

                  func (m *RoleBindingResourceQryResponse) XXX_Size() int

                  func (*RoleBindingResourceQryResponse) XXX_Unmarshal

                  func (m *RoleBindingResourceQryResponse) XXX_Unmarshal(b []byte) error

                  type RoleBindingResourceSrvClient

                    RoleBindingResourceSrvClient is the client API for RoleBindingResourceSrv service.

                    For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

                    func NewAnkrRoleBindingResourceSrvClient

                    func NewAnkrRoleBindingResourceSrvClient(addr string) (RoleBindingResourceSrvClient, error)

                      new client method

                      func NewRoleBindingResourceSrvClient

                      func NewRoleBindingResourceSrvClient(cc *grpc.ClientConn) RoleBindingResourceSrvClient

                        origin client method

                        type RoleDelRequest

                        type RoleDelRequest struct {
                        	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
                        	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                        	XXX_unrecognized     []byte   `json:"-"`
                        	XXX_sizecache        int32    `json:"-"`
                        }

                        func (*RoleDelRequest) Descriptor

                        func (*RoleDelRequest) Descriptor() ([]byte, []int)

                        func (*RoleDelRequest) GetId

                        func (m *RoleDelRequest) GetId() int64

                        func (*RoleDelRequest) ProtoMessage

                        func (*RoleDelRequest) ProtoMessage()

                        func (*RoleDelRequest) Reset

                        func (m *RoleDelRequest) Reset()

                        func (*RoleDelRequest) String

                        func (m *RoleDelRequest) String() string

                        func (*RoleDelRequest) XXX_DiscardUnknown

                        func (m *RoleDelRequest) XXX_DiscardUnknown()

                        func (*RoleDelRequest) XXX_Marshal

                        func (m *RoleDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                        func (*RoleDelRequest) XXX_Merge

                        func (m *RoleDelRequest) XXX_Merge(src proto.Message)

                        func (*RoleDelRequest) XXX_Size

                        func (m *RoleDelRequest) XXX_Size() int

                        func (*RoleDelRequest) XXX_Unmarshal

                        func (m *RoleDelRequest) XXX_Unmarshal(b []byte) error

                        type RoleDelResponse

                        type RoleDelResponse struct {
                        	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                        	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                        	XXX_unrecognized     []byte    `json:"-"`
                        	XXX_sizecache        int32     `json:"-"`
                        }

                        func (*RoleDelResponse) Descriptor

                        func (*RoleDelResponse) Descriptor() ([]byte, []int)

                        func (*RoleDelResponse) GetRsp

                        func (m *RoleDelResponse) GetRsp() *Response

                        func (*RoleDelResponse) ProtoMessage

                        func (*RoleDelResponse) ProtoMessage()

                        func (*RoleDelResponse) Reset

                        func (m *RoleDelResponse) Reset()

                        func (*RoleDelResponse) String

                        func (m *RoleDelResponse) String() string

                        func (*RoleDelResponse) XXX_DiscardUnknown

                        func (m *RoleDelResponse) XXX_DiscardUnknown()

                        func (*RoleDelResponse) XXX_Marshal

                        func (m *RoleDelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                        func (*RoleDelResponse) XXX_Merge

                        func (m *RoleDelResponse) XXX_Merge(src proto.Message)

                        func (*RoleDelResponse) XXX_Size

                        func (m *RoleDelResponse) XXX_Size() int

                        func (*RoleDelResponse) XXX_Unmarshal

                        func (m *RoleDelResponse) XXX_Unmarshal(b []byte) error

                        type RoleModRequest

                        type RoleModRequest struct {
                        	Role                 *Role    `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
                        	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                        	XXX_unrecognized     []byte   `json:"-"`
                        	XXX_sizecache        int32    `json:"-"`
                        }

                        func (*RoleModRequest) Descriptor

                        func (*RoleModRequest) Descriptor() ([]byte, []int)

                        func (*RoleModRequest) GetRole

                        func (m *RoleModRequest) GetRole() *Role

                        func (*RoleModRequest) ProtoMessage

                        func (*RoleModRequest) ProtoMessage()

                        func (*RoleModRequest) Reset

                        func (m *RoleModRequest) Reset()

                        func (*RoleModRequest) String

                        func (m *RoleModRequest) String() string

                        func (*RoleModRequest) XXX_DiscardUnknown

                        func (m *RoleModRequest) XXX_DiscardUnknown()

                        func (*RoleModRequest) XXX_Marshal

                        func (m *RoleModRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                        func (*RoleModRequest) XXX_Merge

                        func (m *RoleModRequest) XXX_Merge(src proto.Message)

                        func (*RoleModRequest) XXX_Size

                        func (m *RoleModRequest) XXX_Size() int

                        func (*RoleModRequest) XXX_Unmarshal

                        func (m *RoleModRequest) XXX_Unmarshal(b []byte) error

                        type RoleModResponse

                        type RoleModResponse struct {
                        	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                        	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                        	XXX_unrecognized     []byte    `json:"-"`
                        	XXX_sizecache        int32     `json:"-"`
                        }

                        func (*RoleModResponse) Descriptor

                        func (*RoleModResponse) Descriptor() ([]byte, []int)

                        func (*RoleModResponse) GetRsp

                        func (m *RoleModResponse) GetRsp() *Response

                        func (*RoleModResponse) ProtoMessage

                        func (*RoleModResponse) ProtoMessage()

                        func (*RoleModResponse) Reset

                        func (m *RoleModResponse) Reset()

                        func (*RoleModResponse) String

                        func (m *RoleModResponse) String() string

                        func (*RoleModResponse) XXX_DiscardUnknown

                        func (m *RoleModResponse) XXX_DiscardUnknown()

                        func (*RoleModResponse) XXX_Marshal

                        func (m *RoleModResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                        func (*RoleModResponse) XXX_Merge

                        func (m *RoleModResponse) XXX_Merge(src proto.Message)

                        func (*RoleModResponse) XXX_Size

                        func (m *RoleModResponse) XXX_Size() int

                        func (*RoleModResponse) XXX_Unmarshal

                        func (m *RoleModResponse) XXX_Unmarshal(b []byte) error

                        type RoleQryRequest

                        type RoleQryRequest struct {
                        	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
                        	Size                 int64    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
                        	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
                        	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                        	XXX_unrecognized     []byte   `json:"-"`
                        	XXX_sizecache        int32    `json:"-"`
                        }

                        func (*RoleQryRequest) Descriptor

                        func (*RoleQryRequest) Descriptor() ([]byte, []int)

                        func (*RoleQryRequest) GetPage

                        func (m *RoleQryRequest) GetPage() int64

                        func (*RoleQryRequest) GetSize

                        func (m *RoleQryRequest) GetSize() int64

                        func (*RoleQryRequest) GetType

                        func (m *RoleQryRequest) GetType() string

                        func (*RoleQryRequest) ProtoMessage

                        func (*RoleQryRequest) ProtoMessage()

                        func (*RoleQryRequest) Reset

                        func (m *RoleQryRequest) Reset()

                        func (*RoleQryRequest) String

                        func (m *RoleQryRequest) String() string

                        func (*RoleQryRequest) XXX_DiscardUnknown

                        func (m *RoleQryRequest) XXX_DiscardUnknown()

                        func (*RoleQryRequest) XXX_Marshal

                        func (m *RoleQryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                        func (*RoleQryRequest) XXX_Merge

                        func (m *RoleQryRequest) XXX_Merge(src proto.Message)

                        func (*RoleQryRequest) XXX_Size

                        func (m *RoleQryRequest) XXX_Size() int

                        func (*RoleQryRequest) XXX_Unmarshal

                        func (m *RoleQryRequest) XXX_Unmarshal(b []byte) error

                        type RoleQryResponse

                        type RoleQryResponse struct {
                        	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                        	Data                 []*Role   `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
                        	Total                int64     `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
                        	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                        	XXX_unrecognized     []byte    `json:"-"`
                        	XXX_sizecache        int32     `json:"-"`
                        }

                        func (*RoleQryResponse) Descriptor

                        func (*RoleQryResponse) Descriptor() ([]byte, []int)

                        func (*RoleQryResponse) GetData

                        func (m *RoleQryResponse) GetData() []*Role

                        func (*RoleQryResponse) GetRsp

                        func (m *RoleQryResponse) GetRsp() *Response

                        func (*RoleQryResponse) GetTotal

                        func (m *RoleQryResponse) GetTotal() int64

                        func (*RoleQryResponse) ProtoMessage

                        func (*RoleQryResponse) ProtoMessage()

                        func (*RoleQryResponse) Reset

                        func (m *RoleQryResponse) Reset()

                        func (*RoleQryResponse) String

                        func (m *RoleQryResponse) String() string

                        func (*RoleQryResponse) XXX_DiscardUnknown

                        func (m *RoleQryResponse) XXX_DiscardUnknown()

                        func (*RoleQryResponse) XXX_Marshal

                        func (m *RoleQryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                        func (*RoleQryResponse) XXX_Merge

                        func (m *RoleQryResponse) XXX_Merge(src proto.Message)

                        func (*RoleQryResponse) XXX_Size

                        func (m *RoleQryResponse) XXX_Size() int

                        func (*RoleQryResponse) XXX_Unmarshal

                        func (m *RoleQryResponse) XXX_Unmarshal(b []byte) error

                        type RoleSrvClient

                        type RoleSrvClient interface {
                        	Add(ctx context.Context, in *RoleAddRequest, opts ...grpc.CallOption) (*RoleAddResponse, error)
                        	Del(ctx context.Context, in *RoleDelRequest, opts ...grpc.CallOption) (*RoleDelResponse, error)
                        	Mod(ctx context.Context, in *RoleModRequest, opts ...grpc.CallOption) (*RoleModResponse, error)
                        	Qry(ctx context.Context, in *RoleQryRequest, opts ...grpc.CallOption) (*RoleQryResponse, error)
                        	Close() error
                        }

                          RoleSrvClient is the client API for RoleSrv service.

                          For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

                          func NewAnkrRoleSrvClient

                          func NewAnkrRoleSrvClient(addr string) (RoleSrvClient, error)

                            new client method

                            func NewRoleSrvClient

                            func NewRoleSrvClient(cc *grpc.ClientConn) RoleSrvClient

                              origin client method

                              type RoleSrvServer

                                RoleSrvServer is the server API for RoleSrv service.

                                type UnimplementedInternalRoleServer

                                type UnimplementedInternalRoleServer struct {
                                }

                                  UnimplementedInternalRoleServer can be embedded to have forward compatible implementations.

                                  func (*UnimplementedInternalRoleServer) Authorize

                                  type UnimplementedResourceSrvServer

                                  type UnimplementedResourceSrvServer struct {
                                  }

                                    UnimplementedResourceSrvServer can be embedded to have forward compatible implementations.

                                    func (*UnimplementedResourceSrvServer) Add

                                    func (*UnimplementedResourceSrvServer) Del

                                    func (*UnimplementedResourceSrvServer) Mod

                                    func (*UnimplementedResourceSrvServer) Qry

                                    type UnimplementedRoleBindingResourceSrvServer

                                    type UnimplementedRoleBindingResourceSrvServer struct {
                                    }

                                      UnimplementedRoleBindingResourceSrvServer can be embedded to have forward compatible implementations.

                                      func (*UnimplementedRoleBindingResourceSrvServer) Add

                                      func (*UnimplementedRoleBindingResourceSrvServer) Del

                                      func (*UnimplementedRoleBindingResourceSrvServer) List

                                      func (*UnimplementedRoleBindingResourceSrvServer) Mod

                                      func (*UnimplementedRoleBindingResourceSrvServer) Qry

                                      type UnimplementedRoleSrvServer

                                      type UnimplementedRoleSrvServer struct {
                                      }

                                        UnimplementedRoleSrvServer can be embedded to have forward compatible implementations.

                                        func (*UnimplementedRoleSrvServer) Add

                                        func (*UnimplementedRoleSrvServer) Del

                                        func (*UnimplementedRoleSrvServer) Mod

                                        func (*UnimplementedRoleSrvServer) Qry

                                        type UnimplementedUserSrvServer

                                        type UnimplementedUserSrvServer struct {
                                        }

                                          UnimplementedUserSrvServer can be embedded to have forward compatible implementations.

                                          func (*UnimplementedUserSrvServer) Add

                                          func (*UnimplementedUserSrvServer) Del

                                          func (*UnimplementedUserSrvServer) List

                                          func (*UnimplementedUserSrvServer) Mod

                                          func (*UnimplementedUserSrvServer) Qry

                                          type User

                                          type User struct {
                                          	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
                                          	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
                                          	User                 string   `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
                                          	Role                 string   `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
                                          	Status               int64    `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                          func (*User) Descriptor

                                          func (*User) Descriptor() ([]byte, []int)

                                          func (*User) GetId

                                          func (m *User) GetId() int64

                                          func (*User) GetRole

                                          func (m *User) GetRole() string

                                          func (*User) GetStatus

                                          func (m *User) GetStatus() int64

                                          func (*User) GetType

                                          func (m *User) GetType() string

                                          func (*User) GetUser

                                          func (m *User) GetUser() string

                                          func (*User) ProtoMessage

                                          func (*User) ProtoMessage()

                                          func (*User) Reset

                                          func (m *User) Reset()

                                          func (*User) String

                                          func (m *User) String() string

                                          func (*User) XXX_DiscardUnknown

                                          func (m *User) XXX_DiscardUnknown()

                                          func (*User) XXX_Marshal

                                          func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*User) XXX_Merge

                                          func (m *User) XXX_Merge(src proto.Message)

                                          func (*User) XXX_Size

                                          func (m *User) XXX_Size() int

                                          func (*User) XXX_Unmarshal

                                          func (m *User) XXX_Unmarshal(b []byte) error

                                          type UserAddRequest

                                          type UserAddRequest struct {
                                          	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
                                          	User                 string   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
                                          	Role                 string   `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                          func (*UserAddRequest) Descriptor

                                          func (*UserAddRequest) Descriptor() ([]byte, []int)

                                          func (*UserAddRequest) GetRole

                                          func (m *UserAddRequest) GetRole() string

                                          func (*UserAddRequest) GetType

                                          func (m *UserAddRequest) GetType() string

                                          func (*UserAddRequest) GetUser

                                          func (m *UserAddRequest) GetUser() string

                                          func (*UserAddRequest) ProtoMessage

                                          func (*UserAddRequest) ProtoMessage()

                                          func (*UserAddRequest) Reset

                                          func (m *UserAddRequest) Reset()

                                          func (*UserAddRequest) String

                                          func (m *UserAddRequest) String() string

                                          func (*UserAddRequest) XXX_DiscardUnknown

                                          func (m *UserAddRequest) XXX_DiscardUnknown()

                                          func (*UserAddRequest) XXX_Marshal

                                          func (m *UserAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserAddRequest) XXX_Merge

                                          func (m *UserAddRequest) XXX_Merge(src proto.Message)

                                          func (*UserAddRequest) XXX_Size

                                          func (m *UserAddRequest) XXX_Size() int

                                          func (*UserAddRequest) XXX_Unmarshal

                                          func (m *UserAddRequest) XXX_Unmarshal(b []byte) error

                                          type UserAddResponse

                                          type UserAddResponse struct {
                                          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                                          	XXX_unrecognized     []byte    `json:"-"`
                                          	XXX_sizecache        int32     `json:"-"`
                                          }

                                          func (*UserAddResponse) Descriptor

                                          func (*UserAddResponse) Descriptor() ([]byte, []int)

                                          func (*UserAddResponse) GetRsp

                                          func (m *UserAddResponse) GetRsp() *Response

                                          func (*UserAddResponse) ProtoMessage

                                          func (*UserAddResponse) ProtoMessage()

                                          func (*UserAddResponse) Reset

                                          func (m *UserAddResponse) Reset()

                                          func (*UserAddResponse) String

                                          func (m *UserAddResponse) String() string

                                          func (*UserAddResponse) XXX_DiscardUnknown

                                          func (m *UserAddResponse) XXX_DiscardUnknown()

                                          func (*UserAddResponse) XXX_Marshal

                                          func (m *UserAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserAddResponse) XXX_Merge

                                          func (m *UserAddResponse) XXX_Merge(src proto.Message)

                                          func (*UserAddResponse) XXX_Size

                                          func (m *UserAddResponse) XXX_Size() int

                                          func (*UserAddResponse) XXX_Unmarshal

                                          func (m *UserAddResponse) XXX_Unmarshal(b []byte) error

                                          type UserDelRequest

                                          type UserDelRequest struct {
                                          	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                          func (*UserDelRequest) Descriptor

                                          func (*UserDelRequest) Descriptor() ([]byte, []int)

                                          func (*UserDelRequest) GetId

                                          func (m *UserDelRequest) GetId() int64

                                          func (*UserDelRequest) ProtoMessage

                                          func (*UserDelRequest) ProtoMessage()

                                          func (*UserDelRequest) Reset

                                          func (m *UserDelRequest) Reset()

                                          func (*UserDelRequest) String

                                          func (m *UserDelRequest) String() string

                                          func (*UserDelRequest) XXX_DiscardUnknown

                                          func (m *UserDelRequest) XXX_DiscardUnknown()

                                          func (*UserDelRequest) XXX_Marshal

                                          func (m *UserDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserDelRequest) XXX_Merge

                                          func (m *UserDelRequest) XXX_Merge(src proto.Message)

                                          func (*UserDelRequest) XXX_Size

                                          func (m *UserDelRequest) XXX_Size() int

                                          func (*UserDelRequest) XXX_Unmarshal

                                          func (m *UserDelRequest) XXX_Unmarshal(b []byte) error

                                          type UserDelResponse

                                          type UserDelResponse struct {
                                          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                                          	XXX_unrecognized     []byte    `json:"-"`
                                          	XXX_sizecache        int32     `json:"-"`
                                          }

                                          func (*UserDelResponse) Descriptor

                                          func (*UserDelResponse) Descriptor() ([]byte, []int)

                                          func (*UserDelResponse) GetRsp

                                          func (m *UserDelResponse) GetRsp() *Response

                                          func (*UserDelResponse) ProtoMessage

                                          func (*UserDelResponse) ProtoMessage()

                                          func (*UserDelResponse) Reset

                                          func (m *UserDelResponse) Reset()

                                          func (*UserDelResponse) String

                                          func (m *UserDelResponse) String() string

                                          func (*UserDelResponse) XXX_DiscardUnknown

                                          func (m *UserDelResponse) XXX_DiscardUnknown()

                                          func (*UserDelResponse) XXX_Marshal

                                          func (m *UserDelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserDelResponse) XXX_Merge

                                          func (m *UserDelResponse) XXX_Merge(src proto.Message)

                                          func (*UserDelResponse) XXX_Size

                                          func (m *UserDelResponse) XXX_Size() int

                                          func (*UserDelResponse) XXX_Unmarshal

                                          func (m *UserDelResponse) XXX_Unmarshal(b []byte) error

                                          type UserListRequest

                                          type UserListRequest struct {
                                          	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                          func (*UserListRequest) Descriptor

                                          func (*UserListRequest) Descriptor() ([]byte, []int)

                                          func (*UserListRequest) GetType

                                          func (m *UserListRequest) GetType() string

                                          func (*UserListRequest) ProtoMessage

                                          func (*UserListRequest) ProtoMessage()

                                          func (*UserListRequest) Reset

                                          func (m *UserListRequest) Reset()

                                          func (*UserListRequest) String

                                          func (m *UserListRequest) String() string

                                          func (*UserListRequest) XXX_DiscardUnknown

                                          func (m *UserListRequest) XXX_DiscardUnknown()

                                          func (*UserListRequest) XXX_Marshal

                                          func (m *UserListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserListRequest) XXX_Merge

                                          func (m *UserListRequest) XXX_Merge(src proto.Message)

                                          func (*UserListRequest) XXX_Size

                                          func (m *UserListRequest) XXX_Size() int

                                          func (*UserListRequest) XXX_Unmarshal

                                          func (m *UserListRequest) XXX_Unmarshal(b []byte) error

                                          type UserListResponse

                                          type UserListResponse struct {
                                          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                                          	Data                 []*User   `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                                          	XXX_unrecognized     []byte    `json:"-"`
                                          	XXX_sizecache        int32     `json:"-"`
                                          }

                                          func (*UserListResponse) Descriptor

                                          func (*UserListResponse) Descriptor() ([]byte, []int)

                                          func (*UserListResponse) GetData

                                          func (m *UserListResponse) GetData() []*User

                                          func (*UserListResponse) GetRsp

                                          func (m *UserListResponse) GetRsp() *Response

                                          func (*UserListResponse) ProtoMessage

                                          func (*UserListResponse) ProtoMessage()

                                          func (*UserListResponse) Reset

                                          func (m *UserListResponse) Reset()

                                          func (*UserListResponse) String

                                          func (m *UserListResponse) String() string

                                          func (*UserListResponse) XXX_DiscardUnknown

                                          func (m *UserListResponse) XXX_DiscardUnknown()

                                          func (*UserListResponse) XXX_Marshal

                                          func (m *UserListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserListResponse) XXX_Merge

                                          func (m *UserListResponse) XXX_Merge(src proto.Message)

                                          func (*UserListResponse) XXX_Size

                                          func (m *UserListResponse) XXX_Size() int

                                          func (*UserListResponse) XXX_Unmarshal

                                          func (m *UserListResponse) XXX_Unmarshal(b []byte) error

                                          type UserModRequest

                                          type UserModRequest struct {
                                          	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                          func (*UserModRequest) Descriptor

                                          func (*UserModRequest) Descriptor() ([]byte, []int)

                                          func (*UserModRequest) GetUser

                                          func (m *UserModRequest) GetUser() *User

                                          func (*UserModRequest) ProtoMessage

                                          func (*UserModRequest) ProtoMessage()

                                          func (*UserModRequest) Reset

                                          func (m *UserModRequest) Reset()

                                          func (*UserModRequest) String

                                          func (m *UserModRequest) String() string

                                          func (*UserModRequest) XXX_DiscardUnknown

                                          func (m *UserModRequest) XXX_DiscardUnknown()

                                          func (*UserModRequest) XXX_Marshal

                                          func (m *UserModRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserModRequest) XXX_Merge

                                          func (m *UserModRequest) XXX_Merge(src proto.Message)

                                          func (*UserModRequest) XXX_Size

                                          func (m *UserModRequest) XXX_Size() int

                                          func (*UserModRequest) XXX_Unmarshal

                                          func (m *UserModRequest) XXX_Unmarshal(b []byte) error

                                          type UserModResponse

                                          type UserModResponse struct {
                                          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                                          	XXX_unrecognized     []byte    `json:"-"`
                                          	XXX_sizecache        int32     `json:"-"`
                                          }

                                          func (*UserModResponse) Descriptor

                                          func (*UserModResponse) Descriptor() ([]byte, []int)

                                          func (*UserModResponse) GetRsp

                                          func (m *UserModResponse) GetRsp() *Response

                                          func (*UserModResponse) ProtoMessage

                                          func (*UserModResponse) ProtoMessage()

                                          func (*UserModResponse) Reset

                                          func (m *UserModResponse) Reset()

                                          func (*UserModResponse) String

                                          func (m *UserModResponse) String() string

                                          func (*UserModResponse) XXX_DiscardUnknown

                                          func (m *UserModResponse) XXX_DiscardUnknown()

                                          func (*UserModResponse) XXX_Marshal

                                          func (m *UserModResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserModResponse) XXX_Merge

                                          func (m *UserModResponse) XXX_Merge(src proto.Message)

                                          func (*UserModResponse) XXX_Size

                                          func (m *UserModResponse) XXX_Size() int

                                          func (*UserModResponse) XXX_Unmarshal

                                          func (m *UserModResponse) XXX_Unmarshal(b []byte) error

                                          type UserQryRequest

                                          type UserQryRequest struct {
                                          	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
                                          	Num                  int64    `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
                                          	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{} `json:"-"`
                                          	XXX_unrecognized     []byte   `json:"-"`
                                          	XXX_sizecache        int32    `json:"-"`
                                          }

                                          func (*UserQryRequest) Descriptor

                                          func (*UserQryRequest) Descriptor() ([]byte, []int)

                                          func (*UserQryRequest) GetNum

                                          func (m *UserQryRequest) GetNum() int64

                                          func (*UserQryRequest) GetPage

                                          func (m *UserQryRequest) GetPage() int64

                                          func (*UserQryRequest) GetType

                                          func (m *UserQryRequest) GetType() string

                                          func (*UserQryRequest) ProtoMessage

                                          func (*UserQryRequest) ProtoMessage()

                                          func (*UserQryRequest) Reset

                                          func (m *UserQryRequest) Reset()

                                          func (*UserQryRequest) String

                                          func (m *UserQryRequest) String() string

                                          func (*UserQryRequest) XXX_DiscardUnknown

                                          func (m *UserQryRequest) XXX_DiscardUnknown()

                                          func (*UserQryRequest) XXX_Marshal

                                          func (m *UserQryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserQryRequest) XXX_Merge

                                          func (m *UserQryRequest) XXX_Merge(src proto.Message)

                                          func (*UserQryRequest) XXX_Size

                                          func (m *UserQryRequest) XXX_Size() int

                                          func (*UserQryRequest) XXX_Unmarshal

                                          func (m *UserQryRequest) XXX_Unmarshal(b []byte) error

                                          type UserQryResponse

                                          type UserQryResponse struct {
                                          	Rsp                  *Response `protobuf:"bytes,1,opt,name=rsp,proto3" json:"rsp,omitempty"`
                                          	Data                 []*User   `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
                                          	Total                int64     `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
                                          	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
                                          	XXX_unrecognized     []byte    `json:"-"`
                                          	XXX_sizecache        int32     `json:"-"`
                                          }

                                          func (*UserQryResponse) Descriptor

                                          func (*UserQryResponse) Descriptor() ([]byte, []int)

                                          func (*UserQryResponse) GetData

                                          func (m *UserQryResponse) GetData() []*User

                                          func (*UserQryResponse) GetRsp

                                          func (m *UserQryResponse) GetRsp() *Response

                                          func (*UserQryResponse) GetTotal

                                          func (m *UserQryResponse) GetTotal() int64

                                          func (*UserQryResponse) ProtoMessage

                                          func (*UserQryResponse) ProtoMessage()

                                          func (*UserQryResponse) Reset

                                          func (m *UserQryResponse) Reset()

                                          func (*UserQryResponse) String

                                          func (m *UserQryResponse) String() string

                                          func (*UserQryResponse) XXX_DiscardUnknown

                                          func (m *UserQryResponse) XXX_DiscardUnknown()

                                          func (*UserQryResponse) XXX_Marshal

                                          func (m *UserQryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

                                          func (*UserQryResponse) XXX_Merge

                                          func (m *UserQryResponse) XXX_Merge(src proto.Message)

                                          func (*UserQryResponse) XXX_Size

                                          func (m *UserQryResponse) XXX_Size() int

                                          func (*UserQryResponse) XXX_Unmarshal

                                          func (m *UserQryResponse) XXX_Unmarshal(b []byte) error

                                          type UserSrvClient

                                          type UserSrvClient interface {
                                          	Add(ctx context.Context, in *UserAddRequest, opts ...grpc.CallOption) (*UserAddResponse, error)
                                          	Del(ctx context.Context, in *UserDelRequest, opts ...grpc.CallOption) (*UserDelResponse, error)
                                          	Mod(ctx context.Context, in *UserModRequest, opts ...grpc.CallOption) (*UserModResponse, error)
                                          	Qry(ctx context.Context, in *UserQryRequest, opts ...grpc.CallOption) (*UserQryResponse, error)
                                          	List(ctx context.Context, in *UserListRequest, opts ...grpc.CallOption) (*UserListResponse, error)
                                          	Close() error
                                          }

                                            UserSrvClient is the client API for UserSrv service.

                                            For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

                                            func NewAnkrUserSrvClient

                                            func NewAnkrUserSrvClient(addr string) (UserSrvClient, error)

                                              new client method

                                              func NewUserSrvClient

                                              func NewUserSrvClient(cc *grpc.ClientConn) UserSrvClient

                                                origin client method

                                                type UserSrvServer

                                                  UserSrvServer is the server API for UserSrv service.