Documentation

Index

Constants

This section is empty.

Variables

var (
	ErrInvalidLengthEtcdserver = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEtcdserver   = fmt.Errorf("proto: integer overflow")
)

var (
	ErrInvalidLengthRaftInternal = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRaftInternal   = fmt.Errorf("proto: integer overflow")
)

var (
	ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRpc   = fmt.Errorf("proto: integer overflow")
)

var AlarmRequest_AlarmAction_name = map[int32]string{
	0: "GET",
	1: "ACTIVATE",
	2: "DEACTIVATE",
}

var AlarmRequest_AlarmAction_value = map[string]int32{
	"GET":        0,
	"ACTIVATE":   1,
	"DEACTIVATE": 2,
}

var AlarmType_name = map[int32]string{
	0: "NONE",
	1: "NOSPACE",
	2: "CORRUPT",
}

var AlarmType_value = map[string]int32{
	"NONE":    0,
	"NOSPACE": 1,
	"CORRUPT": 2,
}

var Compare_CompareResult_name = map[int32]string{
	0: "EQUAL",
	1: "GREATER",
	2: "LESS",
	3: "NOT_EQUAL",
}

var Compare_CompareResult_value = map[string]int32{
	"EQUAL":     0,
	"GREATER":   1,
	"LESS":      2,
	"NOT_EQUAL": 3,
}

var Compare_CompareTarget_name = map[int32]string{
	0: "VERSION",
	1: "CREATE",
	2: "MOD",
	3: "VALUE",
	4: "LEASE",
}

var Compare_CompareTarget_value = map[string]int32{
	"VERSION": 0,
	"CREATE":  1,
	"MOD":     2,
	"VALUE":   3,
	"LEASE":   4,
}

var RangeRequest_SortOrder_name = map[int32]string{
	0: "NONE",
	1: "ASCEND",
	2: "DESCEND",
}

var RangeRequest_SortOrder_value = map[string]int32{
	"NONE":    0,
	"ASCEND":  1,
	"DESCEND": 2,
}

var RangeRequest_SortTarget_name = map[int32]string{
	0: "KEY",
	1: "VERSION",
	2: "CREATE",
	3: "MOD",
	4: "VALUE",
}

var RangeRequest_SortTarget_value = map[string]int32{
	"KEY":     0,
	"VERSION": 1,
	"CREATE":  2,
	"MOD":     3,
	"VALUE":   4,
}

var WatchCreateRequest_FilterType_name = map[int32]string{
	0: "NOPUT",
	1: "NODELETE",
}

var WatchCreateRequest_FilterType_value = map[string]int32{
	"NOPUT":    0,
	"NODELETE": 1,
}

Functions

func NewLoggablePutRequest

func NewLoggablePutRequest(request *PutRequest) *loggablePutRequest

func NewLoggableTxnRequest

func NewLoggableTxnRequest(request *TxnRequest) *txnRequestStringer

func RegisterAuthServer

func RegisterAuthServer(s *grpc.Server, srv AuthServer)

func RegisterClusterServer

func RegisterClusterServer(s *grpc.Server, srv ClusterServer)

func RegisterKVServer

func RegisterKVServer(s *grpc.Server, srv KVServer)

func RegisterLeaseServer

func RegisterLeaseServer(s *grpc.Server, srv LeaseServer)

func RegisterMaintenanceServer

func RegisterMaintenanceServer(s *grpc.Server, srv MaintenanceServer)

func RegisterWatchServer

func RegisterWatchServer(s *grpc.Server, srv WatchServer)

Types

type AlarmMember

type AlarmMember struct {
	// memberID is the ID of the member associated with the raised alarm.
	MemberID uint64 `protobuf:"varint,1,opt,name=memberID,proto3" json:"memberID,omitempty"`
	// alarm is the type of alarm which has been raised.
	Alarm                AlarmType `protobuf:"varint,2,opt,name=alarm,proto3,enum=etcdserverpb.AlarmType" json:"alarm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*AlarmMember) Descriptor

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

func (*AlarmMember) GetAlarm

func (m *AlarmMember) GetAlarm() AlarmType

func (*AlarmMember) GetMemberID

func (m *AlarmMember) GetMemberID() uint64

func (*AlarmMember) Marshal

func (m *AlarmMember) Marshal() (dAtA []byte, err error)

func (*AlarmMember) MarshalTo

func (m *AlarmMember) MarshalTo(dAtA []byte) (int, error)

func (*AlarmMember) MarshalToSizedBuffer

func (m *AlarmMember) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AlarmMember) ProtoMessage

func (*AlarmMember) ProtoMessage()

func (*AlarmMember) Reset

func (m *AlarmMember) Reset()

func (*AlarmMember) Size

func (m *AlarmMember) Size() (n int)

func (*AlarmMember) String

func (m *AlarmMember) String() string

func (*AlarmMember) Unmarshal

func (m *AlarmMember) Unmarshal(dAtA []byte) error

func (*AlarmMember) XXX_DiscardUnknown

func (m *AlarmMember) XXX_DiscardUnknown()

func (*AlarmMember) XXX_Marshal

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

func (*AlarmMember) XXX_Merge

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

func (*AlarmMember) XXX_Size

func (m *AlarmMember) XXX_Size() int

func (*AlarmMember) XXX_Unmarshal

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

type AlarmRequest

type AlarmRequest struct {
	// action is the kind of alarm request to issue. The action
	// may GET alarm statuses, ACTIVATE an alarm, or DEACTIVATE a
	// raised alarm.
	Action AlarmRequest_AlarmAction `protobuf:"varint,1,opt,name=action,proto3,enum=etcdserverpb.AlarmRequest_AlarmAction" json:"action,omitempty"`
	// memberID is the ID of the member associated with the alarm. If memberID is 0, the
	// alarm request covers all members.
	MemberID uint64 `protobuf:"varint,2,opt,name=memberID,proto3" json:"memberID,omitempty"`
	// alarm is the type of alarm to consider for this request.
	Alarm                AlarmType `protobuf:"varint,3,opt,name=alarm,proto3,enum=etcdserverpb.AlarmType" json:"alarm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*AlarmRequest) Descriptor

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

func (*AlarmRequest) GetAction

func (m *AlarmRequest) GetAction() AlarmRequest_AlarmAction

func (*AlarmRequest) GetAlarm

func (m *AlarmRequest) GetAlarm() AlarmType

func (*AlarmRequest) GetMemberID

func (m *AlarmRequest) GetMemberID() uint64

func (*AlarmRequest) Marshal

func (m *AlarmRequest) Marshal() (dAtA []byte, err error)

func (*AlarmRequest) MarshalTo

func (m *AlarmRequest) MarshalTo(dAtA []byte) (int, error)

func (*AlarmRequest) MarshalToSizedBuffer

func (m *AlarmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AlarmRequest) ProtoMessage

func (*AlarmRequest) ProtoMessage()

func (*AlarmRequest) Reset

func (m *AlarmRequest) Reset()

func (*AlarmRequest) Size

func (m *AlarmRequest) Size() (n int)

func (*AlarmRequest) String

func (m *AlarmRequest) String() string

func (*AlarmRequest) Unmarshal

func (m *AlarmRequest) Unmarshal(dAtA []byte) error

func (*AlarmRequest) XXX_DiscardUnknown

func (m *AlarmRequest) XXX_DiscardUnknown()

func (*AlarmRequest) XXX_Marshal

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

func (*AlarmRequest) XXX_Merge

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

func (*AlarmRequest) XXX_Size

func (m *AlarmRequest) XXX_Size() int

func (*AlarmRequest) XXX_Unmarshal

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

type AlarmRequest_AlarmAction

type AlarmRequest_AlarmAction int32
const (
	AlarmRequest_GET        AlarmRequest_AlarmAction = 0
	AlarmRequest_ACTIVATE   AlarmRequest_AlarmAction = 1
	AlarmRequest_DEACTIVATE AlarmRequest_AlarmAction = 2
)

func (AlarmRequest_AlarmAction) EnumDescriptor

func (AlarmRequest_AlarmAction) EnumDescriptor() ([]byte, []int)

func (AlarmRequest_AlarmAction) String

func (x AlarmRequest_AlarmAction) String() string

type AlarmResponse

type AlarmResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// alarms is a list of alarms associated with the alarm request.
	Alarms               []*AlarmMember `protobuf:"bytes,2,rep,name=alarms,proto3" json:"alarms,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AlarmResponse) Descriptor

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

func (*AlarmResponse) GetAlarms

func (m *AlarmResponse) GetAlarms() []*AlarmMember

func (*AlarmResponse) GetHeader

func (m *AlarmResponse) GetHeader() *ResponseHeader

func (*AlarmResponse) Marshal

func (m *AlarmResponse) Marshal() (dAtA []byte, err error)

func (*AlarmResponse) MarshalTo

func (m *AlarmResponse) MarshalTo(dAtA []byte) (int, error)

func (*AlarmResponse) MarshalToSizedBuffer

func (m *AlarmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AlarmResponse) ProtoMessage

func (*AlarmResponse) ProtoMessage()

func (*AlarmResponse) Reset

func (m *AlarmResponse) Reset()

func (*AlarmResponse) Size

func (m *AlarmResponse) Size() (n int)

func (*AlarmResponse) String

func (m *AlarmResponse) String() string

func (*AlarmResponse) Unmarshal

func (m *AlarmResponse) Unmarshal(dAtA []byte) error

func (*AlarmResponse) XXX_DiscardUnknown

func (m *AlarmResponse) XXX_DiscardUnknown()

func (*AlarmResponse) XXX_Marshal

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

func (*AlarmResponse) XXX_Merge

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

func (*AlarmResponse) XXX_Size

func (m *AlarmResponse) XXX_Size() int

func (*AlarmResponse) XXX_Unmarshal

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

type AlarmType

type AlarmType int32
const (
	AlarmType_NONE    AlarmType = 0
	AlarmType_NOSPACE AlarmType = 1
	AlarmType_CORRUPT AlarmType = 2
)

func (AlarmType) EnumDescriptor

func (AlarmType) EnumDescriptor() ([]byte, []int)

func (AlarmType) String

func (x AlarmType) String() string

type AuthClient

type AuthClient interface {
	// AuthEnable enables authentication.
	AuthEnable(ctx context.Context, in *AuthEnableRequest, opts ...grpc.CallOption) (*AuthEnableResponse, error)
	// AuthDisable disables authentication.
	AuthDisable(ctx context.Context, in *AuthDisableRequest, opts ...grpc.CallOption) (*AuthDisableResponse, error)
	// Authenticate processes an authenticate request.
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	// UserAdd adds a new user.
	UserAdd(ctx context.Context, in *AuthUserAddRequest, opts ...grpc.CallOption) (*AuthUserAddResponse, error)
	// UserGet gets detailed user information.
	UserGet(ctx context.Context, in *AuthUserGetRequest, opts ...grpc.CallOption) (*AuthUserGetResponse, error)
	// UserList gets a list of all users.
	UserList(ctx context.Context, in *AuthUserListRequest, opts ...grpc.CallOption) (*AuthUserListResponse, error)
	// UserDelete deletes a specified user.
	UserDelete(ctx context.Context, in *AuthUserDeleteRequest, opts ...grpc.CallOption) (*AuthUserDeleteResponse, error)
	// UserChangePassword changes the password of a specified user.
	UserChangePassword(ctx context.Context, in *AuthUserChangePasswordRequest, opts ...grpc.CallOption) (*AuthUserChangePasswordResponse, error)
	// UserGrant grants a role to a specified user.
	UserGrantRole(ctx context.Context, in *AuthUserGrantRoleRequest, opts ...grpc.CallOption) (*AuthUserGrantRoleResponse, error)
	// UserRevokeRole revokes a role of specified user.
	UserRevokeRole(ctx context.Context, in *AuthUserRevokeRoleRequest, opts ...grpc.CallOption) (*AuthUserRevokeRoleResponse, error)
	// RoleAdd adds a new role.
	RoleAdd(ctx context.Context, in *AuthRoleAddRequest, opts ...grpc.CallOption) (*AuthRoleAddResponse, error)
	// RoleGet gets detailed role information.
	RoleGet(ctx context.Context, in *AuthRoleGetRequest, opts ...grpc.CallOption) (*AuthRoleGetResponse, error)
	// RoleList gets lists of all roles.
	RoleList(ctx context.Context, in *AuthRoleListRequest, opts ...grpc.CallOption) (*AuthRoleListResponse, error)
	// RoleDelete deletes a specified role.
	RoleDelete(ctx context.Context, in *AuthRoleDeleteRequest, opts ...grpc.CallOption) (*AuthRoleDeleteResponse, error)
	// RoleGrantPermission grants a permission of a specified key or range to a specified role.
	RoleGrantPermission(ctx context.Context, in *AuthRoleGrantPermissionRequest, opts ...grpc.CallOption) (*AuthRoleGrantPermissionResponse, error)
	// RoleRevokePermission revokes a key or range permission of a specified role.
	RoleRevokePermission(ctx context.Context, in *AuthRoleRevokePermissionRequest, opts ...grpc.CallOption) (*AuthRoleRevokePermissionResponse, error)
}

AuthClient is the client API for Auth service.

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

func NewAuthClient

func NewAuthClient(cc *grpc.ClientConn) AuthClient

type AuthDisableRequest

type AuthDisableRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthDisableRequest) Descriptor

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

func (*AuthDisableRequest) Marshal

func (m *AuthDisableRequest) Marshal() (dAtA []byte, err error)

func (*AuthDisableRequest) MarshalTo

func (m *AuthDisableRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthDisableRequest) MarshalToSizedBuffer

func (m *AuthDisableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthDisableRequest) ProtoMessage

func (*AuthDisableRequest) ProtoMessage()

func (*AuthDisableRequest) Reset

func (m *AuthDisableRequest) Reset()

func (*AuthDisableRequest) Size

func (m *AuthDisableRequest) Size() (n int)

func (*AuthDisableRequest) String

func (m *AuthDisableRequest) String() string

func (*AuthDisableRequest) Unmarshal

func (m *AuthDisableRequest) Unmarshal(dAtA []byte) error

func (*AuthDisableRequest) XXX_DiscardUnknown

func (m *AuthDisableRequest) XXX_DiscardUnknown()

func (*AuthDisableRequest) XXX_Marshal

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

func (*AuthDisableRequest) XXX_Merge

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

func (*AuthDisableRequest) XXX_Size

func (m *AuthDisableRequest) XXX_Size() int

func (*AuthDisableRequest) XXX_Unmarshal

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

type AuthDisableResponse

type AuthDisableResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthDisableResponse) Descriptor

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

func (*AuthDisableResponse) GetHeader

func (m *AuthDisableResponse) GetHeader() *ResponseHeader

func (*AuthDisableResponse) Marshal

func (m *AuthDisableResponse) Marshal() (dAtA []byte, err error)

func (*AuthDisableResponse) MarshalTo

func (m *AuthDisableResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthDisableResponse) MarshalToSizedBuffer

func (m *AuthDisableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthDisableResponse) ProtoMessage

func (*AuthDisableResponse) ProtoMessage()

func (*AuthDisableResponse) Reset

func (m *AuthDisableResponse) Reset()

func (*AuthDisableResponse) Size

func (m *AuthDisableResponse) Size() (n int)

func (*AuthDisableResponse) String

func (m *AuthDisableResponse) String() string

func (*AuthDisableResponse) Unmarshal

func (m *AuthDisableResponse) Unmarshal(dAtA []byte) error

func (*AuthDisableResponse) XXX_DiscardUnknown

func (m *AuthDisableResponse) XXX_DiscardUnknown()

func (*AuthDisableResponse) XXX_Marshal

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

func (*AuthDisableResponse) XXX_Merge

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

func (*AuthDisableResponse) XXX_Size

func (m *AuthDisableResponse) XXX_Size() int

func (*AuthDisableResponse) XXX_Unmarshal

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

type AuthEnableRequest

type AuthEnableRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthEnableRequest) Descriptor

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

func (*AuthEnableRequest) Marshal

func (m *AuthEnableRequest) Marshal() (dAtA []byte, err error)

func (*AuthEnableRequest) MarshalTo

func (m *AuthEnableRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthEnableRequest) MarshalToSizedBuffer

func (m *AuthEnableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthEnableRequest) ProtoMessage

func (*AuthEnableRequest) ProtoMessage()

func (*AuthEnableRequest) Reset

func (m *AuthEnableRequest) Reset()

func (*AuthEnableRequest) Size

func (m *AuthEnableRequest) Size() (n int)

func (*AuthEnableRequest) String

func (m *AuthEnableRequest) String() string

func (*AuthEnableRequest) Unmarshal

func (m *AuthEnableRequest) Unmarshal(dAtA []byte) error

func (*AuthEnableRequest) XXX_DiscardUnknown

func (m *AuthEnableRequest) XXX_DiscardUnknown()

func (*AuthEnableRequest) XXX_Marshal

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

func (*AuthEnableRequest) XXX_Merge

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

func (*AuthEnableRequest) XXX_Size

func (m *AuthEnableRequest) XXX_Size() int

func (*AuthEnableRequest) XXX_Unmarshal

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

type AuthEnableResponse

type AuthEnableResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthEnableResponse) Descriptor

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

func (*AuthEnableResponse) GetHeader

func (m *AuthEnableResponse) GetHeader() *ResponseHeader

func (*AuthEnableResponse) Marshal

func (m *AuthEnableResponse) Marshal() (dAtA []byte, err error)

func (*AuthEnableResponse) MarshalTo

func (m *AuthEnableResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthEnableResponse) MarshalToSizedBuffer

func (m *AuthEnableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthEnableResponse) ProtoMessage

func (*AuthEnableResponse) ProtoMessage()

func (*AuthEnableResponse) Reset

func (m *AuthEnableResponse) Reset()

func (*AuthEnableResponse) Size

func (m *AuthEnableResponse) Size() (n int)

func (*AuthEnableResponse) String

func (m *AuthEnableResponse) String() string

func (*AuthEnableResponse) Unmarshal

func (m *AuthEnableResponse) Unmarshal(dAtA []byte) error

func (*AuthEnableResponse) XXX_DiscardUnknown

func (m *AuthEnableResponse) XXX_DiscardUnknown()

func (*AuthEnableResponse) XXX_Marshal

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

func (*AuthEnableResponse) XXX_Merge

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

func (*AuthEnableResponse) XXX_Size

func (m *AuthEnableResponse) XXX_Size() int

func (*AuthEnableResponse) XXX_Unmarshal

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

type AuthRoleAddRequest

type AuthRoleAddRequest struct {
	// name is the name of the role to add to the authentication system.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthRoleAddRequest) Descriptor

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

func (*AuthRoleAddRequest) GetName

func (m *AuthRoleAddRequest) GetName() string

func (*AuthRoleAddRequest) Marshal

func (m *AuthRoleAddRequest) Marshal() (dAtA []byte, err error)

func (*AuthRoleAddRequest) MarshalTo

func (m *AuthRoleAddRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleAddRequest) MarshalToSizedBuffer

func (m *AuthRoleAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleAddRequest) ProtoMessage

func (*AuthRoleAddRequest) ProtoMessage()

func (*AuthRoleAddRequest) Reset

func (m *AuthRoleAddRequest) Reset()

func (*AuthRoleAddRequest) Size

func (m *AuthRoleAddRequest) Size() (n int)

func (*AuthRoleAddRequest) String

func (m *AuthRoleAddRequest) String() string

func (*AuthRoleAddRequest) Unmarshal

func (m *AuthRoleAddRequest) Unmarshal(dAtA []byte) error

func (*AuthRoleAddRequest) XXX_DiscardUnknown

func (m *AuthRoleAddRequest) XXX_DiscardUnknown()

func (*AuthRoleAddRequest) XXX_Marshal

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

func (*AuthRoleAddRequest) XXX_Merge

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

func (*AuthRoleAddRequest) XXX_Size

func (m *AuthRoleAddRequest) XXX_Size() int

func (*AuthRoleAddRequest) XXX_Unmarshal

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

type AuthRoleAddResponse

type AuthRoleAddResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthRoleAddResponse) Descriptor

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

func (*AuthRoleAddResponse) GetHeader

func (m *AuthRoleAddResponse) GetHeader() *ResponseHeader

func (*AuthRoleAddResponse) Marshal

func (m *AuthRoleAddResponse) Marshal() (dAtA []byte, err error)

func (*AuthRoleAddResponse) MarshalTo

func (m *AuthRoleAddResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleAddResponse) MarshalToSizedBuffer

func (m *AuthRoleAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleAddResponse) ProtoMessage

func (*AuthRoleAddResponse) ProtoMessage()

func (*AuthRoleAddResponse) Reset

func (m *AuthRoleAddResponse) Reset()

func (*AuthRoleAddResponse) Size

func (m *AuthRoleAddResponse) Size() (n int)

func (*AuthRoleAddResponse) String

func (m *AuthRoleAddResponse) String() string

func (*AuthRoleAddResponse) Unmarshal

func (m *AuthRoleAddResponse) Unmarshal(dAtA []byte) error

func (*AuthRoleAddResponse) XXX_DiscardUnknown

func (m *AuthRoleAddResponse) XXX_DiscardUnknown()

func (*AuthRoleAddResponse) XXX_Marshal

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

func (*AuthRoleAddResponse) XXX_Merge

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

func (*AuthRoleAddResponse) XXX_Size

func (m *AuthRoleAddResponse) XXX_Size() int

func (*AuthRoleAddResponse) XXX_Unmarshal

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

type AuthRoleDeleteRequest

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

func (*AuthRoleDeleteRequest) Descriptor

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

func (*AuthRoleDeleteRequest) GetRole

func (m *AuthRoleDeleteRequest) GetRole() string

func (*AuthRoleDeleteRequest) Marshal

func (m *AuthRoleDeleteRequest) Marshal() (dAtA []byte, err error)

func (*AuthRoleDeleteRequest) MarshalTo

func (m *AuthRoleDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleDeleteRequest) MarshalToSizedBuffer

func (m *AuthRoleDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleDeleteRequest) ProtoMessage

func (*AuthRoleDeleteRequest) ProtoMessage()

func (*AuthRoleDeleteRequest) Reset

func (m *AuthRoleDeleteRequest) Reset()

func (*AuthRoleDeleteRequest) Size

func (m *AuthRoleDeleteRequest) Size() (n int)

func (*AuthRoleDeleteRequest) String

func (m *AuthRoleDeleteRequest) String() string

func (*AuthRoleDeleteRequest) Unmarshal

func (m *AuthRoleDeleteRequest) Unmarshal(dAtA []byte) error

func (*AuthRoleDeleteRequest) XXX_DiscardUnknown

func (m *AuthRoleDeleteRequest) XXX_DiscardUnknown()

func (*AuthRoleDeleteRequest) XXX_Marshal

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

func (*AuthRoleDeleteRequest) XXX_Merge

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

func (*AuthRoleDeleteRequest) XXX_Size

func (m *AuthRoleDeleteRequest) XXX_Size() int

func (*AuthRoleDeleteRequest) XXX_Unmarshal

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

type AuthRoleDeleteResponse

type AuthRoleDeleteResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthRoleDeleteResponse) Descriptor

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

func (*AuthRoleDeleteResponse) GetHeader

func (m *AuthRoleDeleteResponse) GetHeader() *ResponseHeader

func (*AuthRoleDeleteResponse) Marshal

func (m *AuthRoleDeleteResponse) Marshal() (dAtA []byte, err error)

func (*AuthRoleDeleteResponse) MarshalTo

func (m *AuthRoleDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleDeleteResponse) MarshalToSizedBuffer

func (m *AuthRoleDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleDeleteResponse) ProtoMessage

func (*AuthRoleDeleteResponse) ProtoMessage()

func (*AuthRoleDeleteResponse) Reset

func (m *AuthRoleDeleteResponse) Reset()

func (*AuthRoleDeleteResponse) Size

func (m *AuthRoleDeleteResponse) Size() (n int)

func (*AuthRoleDeleteResponse) String

func (m *AuthRoleDeleteResponse) String() string

func (*AuthRoleDeleteResponse) Unmarshal

func (m *AuthRoleDeleteResponse) Unmarshal(dAtA []byte) error

func (*AuthRoleDeleteResponse) XXX_DiscardUnknown

func (m *AuthRoleDeleteResponse) XXX_DiscardUnknown()

func (*AuthRoleDeleteResponse) XXX_Marshal

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

func (*AuthRoleDeleteResponse) XXX_Merge

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

func (*AuthRoleDeleteResponse) XXX_Size

func (m *AuthRoleDeleteResponse) XXX_Size() int

func (*AuthRoleDeleteResponse) XXX_Unmarshal

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

type AuthRoleGetRequest

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

func (*AuthRoleGetRequest) Descriptor

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

func (*AuthRoleGetRequest) GetRole

func (m *AuthRoleGetRequest) GetRole() string

func (*AuthRoleGetRequest) Marshal

func (m *AuthRoleGetRequest) Marshal() (dAtA []byte, err error)

func (*AuthRoleGetRequest) MarshalTo

func (m *AuthRoleGetRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleGetRequest) MarshalToSizedBuffer

func (m *AuthRoleGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleGetRequest) ProtoMessage

func (*AuthRoleGetRequest) ProtoMessage()

func (*AuthRoleGetRequest) Reset

func (m *AuthRoleGetRequest) Reset()

func (*AuthRoleGetRequest) Size

func (m *AuthRoleGetRequest) Size() (n int)

func (*AuthRoleGetRequest) String

func (m *AuthRoleGetRequest) String() string

func (*AuthRoleGetRequest) Unmarshal

func (m *AuthRoleGetRequest) Unmarshal(dAtA []byte) error

func (*AuthRoleGetRequest) XXX_DiscardUnknown

func (m *AuthRoleGetRequest) XXX_DiscardUnknown()

func (*AuthRoleGetRequest) XXX_Marshal

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

func (*AuthRoleGetRequest) XXX_Merge

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

func (*AuthRoleGetRequest) XXX_Size

func (m *AuthRoleGetRequest) XXX_Size() int

func (*AuthRoleGetRequest) XXX_Unmarshal

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

type AuthRoleGetResponse

type AuthRoleGetResponse struct {
	Header               *ResponseHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Perm                 []*authpb.Permission `protobuf:"bytes,2,rep,name=perm,proto3" json:"perm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AuthRoleGetResponse) Descriptor

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

func (*AuthRoleGetResponse) GetHeader

func (m *AuthRoleGetResponse) GetHeader() *ResponseHeader

func (*AuthRoleGetResponse) GetPerm

func (m *AuthRoleGetResponse) GetPerm() []*authpb.Permission

func (*AuthRoleGetResponse) Marshal

func (m *AuthRoleGetResponse) Marshal() (dAtA []byte, err error)

func (*AuthRoleGetResponse) MarshalTo

func (m *AuthRoleGetResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleGetResponse) MarshalToSizedBuffer

func (m *AuthRoleGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleGetResponse) ProtoMessage

func (*AuthRoleGetResponse) ProtoMessage()

func (*AuthRoleGetResponse) Reset

func (m *AuthRoleGetResponse) Reset()

func (*AuthRoleGetResponse) Size

func (m *AuthRoleGetResponse) Size() (n int)

func (*AuthRoleGetResponse) String

func (m *AuthRoleGetResponse) String() string

func (*AuthRoleGetResponse) Unmarshal

func (m *AuthRoleGetResponse) Unmarshal(dAtA []byte) error

func (*AuthRoleGetResponse) XXX_DiscardUnknown

func (m *AuthRoleGetResponse) XXX_DiscardUnknown()

func (*AuthRoleGetResponse) XXX_Marshal

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

func (*AuthRoleGetResponse) XXX_Merge

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

func (*AuthRoleGetResponse) XXX_Size

func (m *AuthRoleGetResponse) XXX_Size() int

func (*AuthRoleGetResponse) XXX_Unmarshal

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

type AuthRoleGrantPermissionRequest

type AuthRoleGrantPermissionRequest struct {
	// name is the name of the role which will be granted the permission.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// perm is the permission to grant to the role.
	Perm                 *authpb.Permission `protobuf:"bytes,2,opt,name=perm,proto3" json:"perm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*AuthRoleGrantPermissionRequest) Descriptor

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

func (*AuthRoleGrantPermissionRequest) GetName

func (m *AuthRoleGrantPermissionRequest) GetName() string

func (*AuthRoleGrantPermissionRequest) GetPerm

func (m *AuthRoleGrantPermissionRequest) GetPerm() *authpb.Permission

func (*AuthRoleGrantPermissionRequest) Marshal

func (m *AuthRoleGrantPermissionRequest) Marshal() (dAtA []byte, err error)

func (*AuthRoleGrantPermissionRequest) MarshalTo

func (m *AuthRoleGrantPermissionRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleGrantPermissionRequest) MarshalToSizedBuffer

func (m *AuthRoleGrantPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleGrantPermissionRequest) ProtoMessage

func (*AuthRoleGrantPermissionRequest) ProtoMessage()

func (*AuthRoleGrantPermissionRequest) Reset

func (m *AuthRoleGrantPermissionRequest) Reset()

func (*AuthRoleGrantPermissionRequest) Size

func (m *AuthRoleGrantPermissionRequest) Size() (n int)

func (*AuthRoleGrantPermissionRequest) String

func (m *AuthRoleGrantPermissionRequest) String() string

func (*AuthRoleGrantPermissionRequest) Unmarshal

func (m *AuthRoleGrantPermissionRequest) Unmarshal(dAtA []byte) error

func (*AuthRoleGrantPermissionRequest) XXX_DiscardUnknown

func (m *AuthRoleGrantPermissionRequest) XXX_DiscardUnknown()

func (*AuthRoleGrantPermissionRequest) XXX_Marshal

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

func (*AuthRoleGrantPermissionRequest) XXX_Merge

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

func (*AuthRoleGrantPermissionRequest) XXX_Size

func (m *AuthRoleGrantPermissionRequest) XXX_Size() int

func (*AuthRoleGrantPermissionRequest) XXX_Unmarshal

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

type AuthRoleGrantPermissionResponse

type AuthRoleGrantPermissionResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthRoleGrantPermissionResponse) Descriptor

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

func (*AuthRoleGrantPermissionResponse) GetHeader

func (m *AuthRoleGrantPermissionResponse) GetHeader() *ResponseHeader

func (*AuthRoleGrantPermissionResponse) Marshal

func (m *AuthRoleGrantPermissionResponse) Marshal() (dAtA []byte, err error)

func (*AuthRoleGrantPermissionResponse) MarshalTo

func (m *AuthRoleGrantPermissionResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleGrantPermissionResponse) MarshalToSizedBuffer

func (m *AuthRoleGrantPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleGrantPermissionResponse) ProtoMessage

func (*AuthRoleGrantPermissionResponse) ProtoMessage()

func (*AuthRoleGrantPermissionResponse) Reset

func (m *AuthRoleGrantPermissionResponse) Reset()

func (*AuthRoleGrantPermissionResponse) Size

func (m *AuthRoleGrantPermissionResponse) Size() (n int)

func (*AuthRoleGrantPermissionResponse) String

func (m *AuthRoleGrantPermissionResponse) String() string

func (*AuthRoleGrantPermissionResponse) Unmarshal

func (m *AuthRoleGrantPermissionResponse) Unmarshal(dAtA []byte) error

func (*AuthRoleGrantPermissionResponse) XXX_DiscardUnknown

func (m *AuthRoleGrantPermissionResponse) XXX_DiscardUnknown()

func (*AuthRoleGrantPermissionResponse) XXX_Marshal

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

func (*AuthRoleGrantPermissionResponse) XXX_Merge

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

func (*AuthRoleGrantPermissionResponse) XXX_Size

func (m *AuthRoleGrantPermissionResponse) XXX_Size() int

func (*AuthRoleGrantPermissionResponse) XXX_Unmarshal

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

type AuthRoleListRequest

type AuthRoleListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthRoleListRequest) Descriptor

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

func (*AuthRoleListRequest) Marshal

func (m *AuthRoleListRequest) Marshal() (dAtA []byte, err error)

func (*AuthRoleListRequest) MarshalTo

func (m *AuthRoleListRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleListRequest) MarshalToSizedBuffer

func (m *AuthRoleListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleListRequest) ProtoMessage

func (*AuthRoleListRequest) ProtoMessage()

func (*AuthRoleListRequest) Reset

func (m *AuthRoleListRequest) Reset()

func (*AuthRoleListRequest) Size

func (m *AuthRoleListRequest) Size() (n int)

func (*AuthRoleListRequest) String

func (m *AuthRoleListRequest) String() string

func (*AuthRoleListRequest) Unmarshal

func (m *AuthRoleListRequest) Unmarshal(dAtA []byte) error

func (*AuthRoleListRequest) XXX_DiscardUnknown

func (m *AuthRoleListRequest) XXX_DiscardUnknown()

func (*AuthRoleListRequest) XXX_Marshal

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

func (*AuthRoleListRequest) XXX_Merge

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

func (*AuthRoleListRequest) XXX_Size

func (m *AuthRoleListRequest) XXX_Size() int

func (*AuthRoleListRequest) XXX_Unmarshal

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

type AuthRoleListResponse

type AuthRoleListResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Roles                []string        `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthRoleListResponse) Descriptor

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

func (*AuthRoleListResponse) GetHeader

func (m *AuthRoleListResponse) GetHeader() *ResponseHeader

func (*AuthRoleListResponse) GetRoles

func (m *AuthRoleListResponse) GetRoles() []string

func (*AuthRoleListResponse) Marshal

func (m *AuthRoleListResponse) Marshal() (dAtA []byte, err error)

func (*AuthRoleListResponse) MarshalTo

func (m *AuthRoleListResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleListResponse) MarshalToSizedBuffer

func (m *AuthRoleListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleListResponse) ProtoMessage

func (*AuthRoleListResponse) ProtoMessage()

func (*AuthRoleListResponse) Reset

func (m *AuthRoleListResponse) Reset()

func (*AuthRoleListResponse) Size

func (m *AuthRoleListResponse) Size() (n int)

func (*AuthRoleListResponse) String

func (m *AuthRoleListResponse) String() string

func (*AuthRoleListResponse) Unmarshal

func (m *AuthRoleListResponse) Unmarshal(dAtA []byte) error

func (*AuthRoleListResponse) XXX_DiscardUnknown

func (m *AuthRoleListResponse) XXX_DiscardUnknown()

func (*AuthRoleListResponse) XXX_Marshal

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

func (*AuthRoleListResponse) XXX_Merge

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

func (*AuthRoleListResponse) XXX_Size

func (m *AuthRoleListResponse) XXX_Size() int

func (*AuthRoleListResponse) XXX_Unmarshal

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

type AuthRoleRevokePermissionRequest

type AuthRoleRevokePermissionRequest struct {
	Role                 string   `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Key                  string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	RangeEnd             string   `protobuf:"bytes,3,opt,name=range_end,json=rangeEnd,proto3" json:"range_end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthRoleRevokePermissionRequest) Descriptor

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

func (*AuthRoleRevokePermissionRequest) GetKey

func (m *AuthRoleRevokePermissionRequest) GetKey() string

func (*AuthRoleRevokePermissionRequest) GetRangeEnd

func (m *AuthRoleRevokePermissionRequest) GetRangeEnd() string

func (*AuthRoleRevokePermissionRequest) GetRole

func (m *AuthRoleRevokePermissionRequest) GetRole() string

func (*AuthRoleRevokePermissionRequest) Marshal

func (m *AuthRoleRevokePermissionRequest) Marshal() (dAtA []byte, err error)

func (*AuthRoleRevokePermissionRequest) MarshalTo

func (m *AuthRoleRevokePermissionRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleRevokePermissionRequest) MarshalToSizedBuffer

func (m *AuthRoleRevokePermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleRevokePermissionRequest) ProtoMessage

func (*AuthRoleRevokePermissionRequest) ProtoMessage()

func (*AuthRoleRevokePermissionRequest) Reset

func (m *AuthRoleRevokePermissionRequest) Reset()

func (*AuthRoleRevokePermissionRequest) Size

func (m *AuthRoleRevokePermissionRequest) Size() (n int)

func (*AuthRoleRevokePermissionRequest) String

func (m *AuthRoleRevokePermissionRequest) String() string

func (*AuthRoleRevokePermissionRequest) Unmarshal

func (m *AuthRoleRevokePermissionRequest) Unmarshal(dAtA []byte) error

func (*AuthRoleRevokePermissionRequest) XXX_DiscardUnknown

func (m *AuthRoleRevokePermissionRequest) XXX_DiscardUnknown()

func (*AuthRoleRevokePermissionRequest) XXX_Marshal

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

func (*AuthRoleRevokePermissionRequest) XXX_Merge

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

func (*AuthRoleRevokePermissionRequest) XXX_Size

func (m *AuthRoleRevokePermissionRequest) XXX_Size() int

func (*AuthRoleRevokePermissionRequest) XXX_Unmarshal

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

type AuthRoleRevokePermissionResponse

type AuthRoleRevokePermissionResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthRoleRevokePermissionResponse) Descriptor

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

func (*AuthRoleRevokePermissionResponse) GetHeader

func (m *AuthRoleRevokePermissionResponse) GetHeader() *ResponseHeader

func (*AuthRoleRevokePermissionResponse) Marshal

func (m *AuthRoleRevokePermissionResponse) Marshal() (dAtA []byte, err error)

func (*AuthRoleRevokePermissionResponse) MarshalTo

func (m *AuthRoleRevokePermissionResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthRoleRevokePermissionResponse) MarshalToSizedBuffer

func (m *AuthRoleRevokePermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthRoleRevokePermissionResponse) ProtoMessage

func (*AuthRoleRevokePermissionResponse) ProtoMessage()

func (*AuthRoleRevokePermissionResponse) Reset

func (m *AuthRoleRevokePermissionResponse) Reset()

func (*AuthRoleRevokePermissionResponse) Size

func (m *AuthRoleRevokePermissionResponse) Size() (n int)

func (*AuthRoleRevokePermissionResponse) String

func (m *AuthRoleRevokePermissionResponse) String() string

func (*AuthRoleRevokePermissionResponse) Unmarshal

func (m *AuthRoleRevokePermissionResponse) Unmarshal(dAtA []byte) error

func (*AuthRoleRevokePermissionResponse) XXX_DiscardUnknown

func (m *AuthRoleRevokePermissionResponse) XXX_DiscardUnknown()

func (*AuthRoleRevokePermissionResponse) XXX_Marshal

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

func (*AuthRoleRevokePermissionResponse) XXX_Merge

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

func (*AuthRoleRevokePermissionResponse) XXX_Size

func (m *AuthRoleRevokePermissionResponse) XXX_Size() int

func (*AuthRoleRevokePermissionResponse) XXX_Unmarshal

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

type AuthServer

type AuthServer interface {
	// AuthEnable enables authentication.
	AuthEnable(context.Context, *AuthEnableRequest) (*AuthEnableResponse, error)
	// AuthDisable disables authentication.
	AuthDisable(context.Context, *AuthDisableRequest) (*AuthDisableResponse, error)
	// Authenticate processes an authenticate request.
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	// UserAdd adds a new user.
	UserAdd(context.Context, *AuthUserAddRequest) (*AuthUserAddResponse, error)
	// UserGet gets detailed user information.
	UserGet(context.Context, *AuthUserGetRequest) (*AuthUserGetResponse, error)
	// UserList gets a list of all users.
	UserList(context.Context, *AuthUserListRequest) (*AuthUserListResponse, error)
	// UserDelete deletes a specified user.
	UserDelete(context.Context, *AuthUserDeleteRequest) (*AuthUserDeleteResponse, error)
	// UserChangePassword changes the password of a specified user.
	UserChangePassword(context.Context, *AuthUserChangePasswordRequest) (*AuthUserChangePasswordResponse, error)
	// UserGrant grants a role to a specified user.
	UserGrantRole(context.Context, *AuthUserGrantRoleRequest) (*AuthUserGrantRoleResponse, error)
	// UserRevokeRole revokes a role of specified user.
	UserRevokeRole(context.Context, *AuthUserRevokeRoleRequest) (*AuthUserRevokeRoleResponse, error)
	// RoleAdd adds a new role.
	RoleAdd(context.Context, *AuthRoleAddRequest) (*AuthRoleAddResponse, error)
	// RoleGet gets detailed role information.
	RoleGet(context.Context, *AuthRoleGetRequest) (*AuthRoleGetResponse, error)
	// RoleList gets lists of all roles.
	RoleList(context.Context, *AuthRoleListRequest) (*AuthRoleListResponse, error)
	// RoleDelete deletes a specified role.
	RoleDelete(context.Context, *AuthRoleDeleteRequest) (*AuthRoleDeleteResponse, error)
	// RoleGrantPermission grants a permission of a specified key or range to a specified role.
	RoleGrantPermission(context.Context, *AuthRoleGrantPermissionRequest) (*AuthRoleGrantPermissionResponse, error)
	// RoleRevokePermission revokes a key or range permission of a specified role.
	RoleRevokePermission(context.Context, *AuthRoleRevokePermissionRequest) (*AuthRoleRevokePermissionResponse, error)
}

AuthServer is the server API for Auth service.

type AuthUserAddRequest

type AuthUserAddRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthUserAddRequest) Descriptor

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

func (*AuthUserAddRequest) GetName

func (m *AuthUserAddRequest) GetName() string

func (*AuthUserAddRequest) GetPassword

func (m *AuthUserAddRequest) GetPassword() string

func (*AuthUserAddRequest) Marshal

func (m *AuthUserAddRequest) Marshal() (dAtA []byte, err error)

func (*AuthUserAddRequest) MarshalTo

func (m *AuthUserAddRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserAddRequest) MarshalToSizedBuffer

func (m *AuthUserAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserAddRequest) ProtoMessage

func (*AuthUserAddRequest) ProtoMessage()

func (*AuthUserAddRequest) Reset

func (m *AuthUserAddRequest) Reset()

func (*AuthUserAddRequest) Size

func (m *AuthUserAddRequest) Size() (n int)

func (*AuthUserAddRequest) String

func (m *AuthUserAddRequest) String() string

func (*AuthUserAddRequest) Unmarshal

func (m *AuthUserAddRequest) Unmarshal(dAtA []byte) error

func (*AuthUserAddRequest) XXX_DiscardUnknown

func (m *AuthUserAddRequest) XXX_DiscardUnknown()

func (*AuthUserAddRequest) XXX_Marshal

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

func (*AuthUserAddRequest) XXX_Merge

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

func (*AuthUserAddRequest) XXX_Size

func (m *AuthUserAddRequest) XXX_Size() int

func (*AuthUserAddRequest) XXX_Unmarshal

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

type AuthUserAddResponse

type AuthUserAddResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthUserAddResponse) Descriptor

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

func (*AuthUserAddResponse) GetHeader

func (m *AuthUserAddResponse) GetHeader() *ResponseHeader

func (*AuthUserAddResponse) Marshal

func (m *AuthUserAddResponse) Marshal() (dAtA []byte, err error)

func (*AuthUserAddResponse) MarshalTo

func (m *AuthUserAddResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserAddResponse) MarshalToSizedBuffer

func (m *AuthUserAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserAddResponse) ProtoMessage

func (*AuthUserAddResponse) ProtoMessage()

func (*AuthUserAddResponse) Reset

func (m *AuthUserAddResponse) Reset()

func (*AuthUserAddResponse) Size

func (m *AuthUserAddResponse) Size() (n int)

func (*AuthUserAddResponse) String

func (m *AuthUserAddResponse) String() string

func (*AuthUserAddResponse) Unmarshal

func (m *AuthUserAddResponse) Unmarshal(dAtA []byte) error

func (*AuthUserAddResponse) XXX_DiscardUnknown

func (m *AuthUserAddResponse) XXX_DiscardUnknown()

func (*AuthUserAddResponse) XXX_Marshal

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

func (*AuthUserAddResponse) XXX_Merge

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

func (*AuthUserAddResponse) XXX_Size

func (m *AuthUserAddResponse) XXX_Size() int

func (*AuthUserAddResponse) XXX_Unmarshal

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

type AuthUserChangePasswordRequest

type AuthUserChangePasswordRequest struct {
	// name is the name of the user whose password is being changed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// password is the new password for the user.
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthUserChangePasswordRequest) Descriptor

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

func (*AuthUserChangePasswordRequest) GetName

func (m *AuthUserChangePasswordRequest) GetName() string

func (*AuthUserChangePasswordRequest) GetPassword

func (m *AuthUserChangePasswordRequest) GetPassword() string

func (*AuthUserChangePasswordRequest) Marshal

func (m *AuthUserChangePasswordRequest) Marshal() (dAtA []byte, err error)

func (*AuthUserChangePasswordRequest) MarshalTo

func (m *AuthUserChangePasswordRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserChangePasswordRequest) MarshalToSizedBuffer

func (m *AuthUserChangePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserChangePasswordRequest) ProtoMessage

func (*AuthUserChangePasswordRequest) ProtoMessage()

func (*AuthUserChangePasswordRequest) Reset

func (m *AuthUserChangePasswordRequest) Reset()

func (*AuthUserChangePasswordRequest) Size

func (m *AuthUserChangePasswordRequest) Size() (n int)

func (*AuthUserChangePasswordRequest) String

func (m *AuthUserChangePasswordRequest) String() string

func (*AuthUserChangePasswordRequest) Unmarshal

func (m *AuthUserChangePasswordRequest) Unmarshal(dAtA []byte) error

func (*AuthUserChangePasswordRequest) XXX_DiscardUnknown

func (m *AuthUserChangePasswordRequest) XXX_DiscardUnknown()

func (*AuthUserChangePasswordRequest) XXX_Marshal

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

func (*AuthUserChangePasswordRequest) XXX_Merge

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

func (*AuthUserChangePasswordRequest) XXX_Size

func (m *AuthUserChangePasswordRequest) XXX_Size() int

func (*AuthUserChangePasswordRequest) XXX_Unmarshal

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

type AuthUserChangePasswordResponse

type AuthUserChangePasswordResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthUserChangePasswordResponse) Descriptor

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

func (*AuthUserChangePasswordResponse) GetHeader

func (m *AuthUserChangePasswordResponse) GetHeader() *ResponseHeader

func (*AuthUserChangePasswordResponse) Marshal

func (m *AuthUserChangePasswordResponse) Marshal() (dAtA []byte, err error)

func (*AuthUserChangePasswordResponse) MarshalTo

func (m *AuthUserChangePasswordResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserChangePasswordResponse) MarshalToSizedBuffer

func (m *AuthUserChangePasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserChangePasswordResponse) ProtoMessage

func (*AuthUserChangePasswordResponse) ProtoMessage()

func (*AuthUserChangePasswordResponse) Reset

func (m *AuthUserChangePasswordResponse) Reset()

func (*AuthUserChangePasswordResponse) Size

func (m *AuthUserChangePasswordResponse) Size() (n int)

func (*AuthUserChangePasswordResponse) String

func (m *AuthUserChangePasswordResponse) String() string

func (*AuthUserChangePasswordResponse) Unmarshal

func (m *AuthUserChangePasswordResponse) Unmarshal(dAtA []byte) error

func (*AuthUserChangePasswordResponse) XXX_DiscardUnknown

func (m *AuthUserChangePasswordResponse) XXX_DiscardUnknown()

func (*AuthUserChangePasswordResponse) XXX_Marshal

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

func (*AuthUserChangePasswordResponse) XXX_Merge

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

func (*AuthUserChangePasswordResponse) XXX_Size

func (m *AuthUserChangePasswordResponse) XXX_Size() int

func (*AuthUserChangePasswordResponse) XXX_Unmarshal

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

type AuthUserDeleteRequest

type AuthUserDeleteRequest struct {
	// name is the name of the user to delete.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthUserDeleteRequest) Descriptor

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

func (*AuthUserDeleteRequest) GetName

func (m *AuthUserDeleteRequest) GetName() string

func (*AuthUserDeleteRequest) Marshal

func (m *AuthUserDeleteRequest) Marshal() (dAtA []byte, err error)

func (*AuthUserDeleteRequest) MarshalTo

func (m *AuthUserDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserDeleteRequest) MarshalToSizedBuffer

func (m *AuthUserDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserDeleteRequest) ProtoMessage

func (*AuthUserDeleteRequest) ProtoMessage()

func (*AuthUserDeleteRequest) Reset

func (m *AuthUserDeleteRequest) Reset()

func (*AuthUserDeleteRequest) Size

func (m *AuthUserDeleteRequest) Size() (n int)

func (*AuthUserDeleteRequest) String

func (m *AuthUserDeleteRequest) String() string

func (*AuthUserDeleteRequest) Unmarshal

func (m *AuthUserDeleteRequest) Unmarshal(dAtA []byte) error

func (*AuthUserDeleteRequest) XXX_DiscardUnknown

func (m *AuthUserDeleteRequest) XXX_DiscardUnknown()

func (*AuthUserDeleteRequest) XXX_Marshal

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

func (*AuthUserDeleteRequest) XXX_Merge

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

func (*AuthUserDeleteRequest) XXX_Size

func (m *AuthUserDeleteRequest) XXX_Size() int

func (*AuthUserDeleteRequest) XXX_Unmarshal

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

type AuthUserDeleteResponse

type AuthUserDeleteResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthUserDeleteResponse) Descriptor

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

func (*AuthUserDeleteResponse) GetHeader

func (m *AuthUserDeleteResponse) GetHeader() *ResponseHeader

func (*AuthUserDeleteResponse) Marshal

func (m *AuthUserDeleteResponse) Marshal() (dAtA []byte, err error)

func (*AuthUserDeleteResponse) MarshalTo

func (m *AuthUserDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserDeleteResponse) MarshalToSizedBuffer

func (m *AuthUserDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserDeleteResponse) ProtoMessage

func (*AuthUserDeleteResponse) ProtoMessage()

func (*AuthUserDeleteResponse) Reset

func (m *AuthUserDeleteResponse) Reset()

func (*AuthUserDeleteResponse) Size

func (m *AuthUserDeleteResponse) Size() (n int)

func (*AuthUserDeleteResponse) String

func (m *AuthUserDeleteResponse) String() string

func (*AuthUserDeleteResponse) Unmarshal

func (m *AuthUserDeleteResponse) Unmarshal(dAtA []byte) error

func (*AuthUserDeleteResponse) XXX_DiscardUnknown

func (m *AuthUserDeleteResponse) XXX_DiscardUnknown()

func (*AuthUserDeleteResponse) XXX_Marshal

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

func (*AuthUserDeleteResponse) XXX_Merge

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

func (*AuthUserDeleteResponse) XXX_Size

func (m *AuthUserDeleteResponse) XXX_Size() int

func (*AuthUserDeleteResponse) XXX_Unmarshal

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

type AuthUserGetRequest

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

func (*AuthUserGetRequest) Descriptor

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

func (*AuthUserGetRequest) GetName

func (m *AuthUserGetRequest) GetName() string

func (*AuthUserGetRequest) Marshal

func (m *AuthUserGetRequest) Marshal() (dAtA []byte, err error)

func (*AuthUserGetRequest) MarshalTo

func (m *AuthUserGetRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserGetRequest) MarshalToSizedBuffer

func (m *AuthUserGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserGetRequest) ProtoMessage

func (*AuthUserGetRequest) ProtoMessage()

func (*AuthUserGetRequest) Reset

func (m *AuthUserGetRequest) Reset()

func (*AuthUserGetRequest) Size

func (m *AuthUserGetRequest) Size() (n int)

func (*AuthUserGetRequest) String

func (m *AuthUserGetRequest) String() string

func (*AuthUserGetRequest) Unmarshal

func (m *AuthUserGetRequest) Unmarshal(dAtA []byte) error

func (*AuthUserGetRequest) XXX_DiscardUnknown

func (m *AuthUserGetRequest) XXX_DiscardUnknown()

func (*AuthUserGetRequest) XXX_Marshal

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

func (*AuthUserGetRequest) XXX_Merge

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

func (*AuthUserGetRequest) XXX_Size

func (m *AuthUserGetRequest) XXX_Size() int

func (*AuthUserGetRequest) XXX_Unmarshal

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

type AuthUserGetResponse

type AuthUserGetResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Roles                []string        `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthUserGetResponse) Descriptor

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

func (*AuthUserGetResponse) GetHeader

func (m *AuthUserGetResponse) GetHeader() *ResponseHeader

func (*AuthUserGetResponse) GetRoles

func (m *AuthUserGetResponse) GetRoles() []string

func (*AuthUserGetResponse) Marshal

func (m *AuthUserGetResponse) Marshal() (dAtA []byte, err error)

func (*AuthUserGetResponse) MarshalTo

func (m *AuthUserGetResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserGetResponse) MarshalToSizedBuffer

func (m *AuthUserGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserGetResponse) ProtoMessage

func (*AuthUserGetResponse) ProtoMessage()

func (*AuthUserGetResponse) Reset

func (m *AuthUserGetResponse) Reset()

func (*AuthUserGetResponse) Size

func (m *AuthUserGetResponse) Size() (n int)

func (*AuthUserGetResponse) String

func (m *AuthUserGetResponse) String() string

func (*AuthUserGetResponse) Unmarshal

func (m *AuthUserGetResponse) Unmarshal(dAtA []byte) error

func (*AuthUserGetResponse) XXX_DiscardUnknown

func (m *AuthUserGetResponse) XXX_DiscardUnknown()

func (*AuthUserGetResponse) XXX_Marshal

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

func (*AuthUserGetResponse) XXX_Merge

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

func (*AuthUserGetResponse) XXX_Size

func (m *AuthUserGetResponse) XXX_Size() int

func (*AuthUserGetResponse) XXX_Unmarshal

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

type AuthUserGrantRoleRequest

type AuthUserGrantRoleRequest struct {
	// user is the name of the user which should be granted a given role.
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// role is the name of the role to grant to the user.
	Role                 string   `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthUserGrantRoleRequest) Descriptor

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

func (*AuthUserGrantRoleRequest) GetRole

func (m *AuthUserGrantRoleRequest) GetRole() string

func (*AuthUserGrantRoleRequest) GetUser

func (m *AuthUserGrantRoleRequest) GetUser() string

func (*AuthUserGrantRoleRequest) Marshal

func (m *AuthUserGrantRoleRequest) Marshal() (dAtA []byte, err error)

func (*AuthUserGrantRoleRequest) MarshalTo

func (m *AuthUserGrantRoleRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthUserGrantRoleRequest) MarshalToSizedBuffer

func (m *AuthUserGrantRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUserGrantRoleRequest) ProtoMessage

func (*AuthUserGrantRoleRequest) ProtoMessage()

func (*AuthUserGrantRoleRequest) Reset

func (m *AuthUserGrantRoleRequest) Reset()

func (*AuthUserGrantRoleRequest) Size

func (m *AuthUserGrantRoleRequest) Size() (n int)

func (*AuthUserGrantRoleRequest) String

func (m *AuthUserGrantRoleRequest) String() string

func (*AuthUserGrantRoleRequest) Unmarshal

func (m *AuthUserGrantRoleRequest) Unmarshal(dAtA []byte) error

func (*AuthUserGrantRoleRequest) XXX_DiscardUnknown

func (m *AuthUserGrantRoleRequest) XXX_DiscardUnknown()

func (*AuthUserGrantRoleRequest) XXX_Marshal

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

func (*AuthUserGrantRoleRequest) XXX_Merge

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

func (*AuthUserGrantRoleRequest) XXX_Size

func (m *AuthUserGrantRoleRequest) XXX_Size() int

func (*AuthUserGrantRoleRequest) XXX_Unmarshal

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

type AuthUserGrantRoleResponse

type AuthUserGrantRoleResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AuthUserGrantRoleResponse) Descriptor

func (*