SYMBOL INDEX (12098 symbols across 998 files) FILE: api/authpb/auth.pb.go constant _ (line 24) | _ = proto.ProtoPackageIsVersion3 type Permission_Type (line 26) | type Permission_Type method String (line 46) | func (x Permission_Type) String() string { method EnumDescriptor (line 50) | func (Permission_Type) EnumDescriptor() ([]byte, []int) { constant Permission_READ (line 29) | Permission_READ Permission_Type = 0 constant Permission_WRITE (line 30) | Permission_WRITE Permission_Type = 1 constant Permission_READWRITE (line 31) | Permission_READWRITE Permission_Type = 2 type UserAddOptions (line 54) | type UserAddOptions struct method Reset (line 61) | func (m *UserAddOptions) Reset() { *m = UserAddOptions{} } method String (line 62) | func (m *UserAddOptions) String() string { return proto.CompactTextStr... method ProtoMessage (line 63) | func (*UserAddOptions) ProtoMessage() {} method Descriptor (line 64) | func (*UserAddOptions) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 67) | func (m *UserAddOptions) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 70) | func (m *UserAddOptions) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 82) | func (m *UserAddOptions) XXX_Merge(src proto.Message) { method XXX_Size (line 85) | func (m *UserAddOptions) XXX_Size() int { method XXX_DiscardUnknown (line 88) | func (m *UserAddOptions) XXX_DiscardUnknown() { method GetNoPassword (line 94) | func (m *UserAddOptions) GetNoPassword() bool { method Marshal (line 329) | func (m *UserAddOptions) Marshal() (dAtA []byte, err error) { method MarshalTo (line 339) | func (m *UserAddOptions) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 344) | func (m *UserAddOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 533) | func (m *UserAddOptions) Size() (n int) { method Unmarshal (line 629) | func (m *UserAddOptions) Unmarshal(dAtA []byte) error { type User (line 102) | type User struct method Reset (line 112) | func (m *User) Reset() { *m = User{} } method String (line 113) | func (m *User) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 114) | func (*User) ProtoMessage() {} method Descriptor (line 115) | func (*User) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 118) | func (m *User) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 121) | func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro... method XXX_Merge (line 133) | func (m *User) XXX_Merge(src proto.Message) { method XXX_Size (line 136) | func (m *User) XXX_Size() int { method XXX_DiscardUnknown (line 139) | func (m *User) XXX_DiscardUnknown() { method GetName (line 145) | func (m *User) GetName() []byte { method GetPassword (line 152) | func (m *User) GetPassword() []byte { method GetRoles (line 159) | func (m *User) GetRoles() []string { method GetOptions (line 166) | func (m *User) GetOptions() *UserAddOptions { method Marshal (line 366) | func (m *User) Marshal() (dAtA []byte, err error) { method MarshalTo (line 376) | func (m *User) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 381) | func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 548) | func (m *User) Size() (n int) { method Unmarshal (line 700) | func (m *User) Unmarshal(dAtA []byte) error { type Permission (line 174) | type Permission struct method Reset (line 183) | func (m *Permission) Reset() { *m = Permission{} } method String (line 184) | func (m *Permission) String() string { return proto.CompactTextString(... method ProtoMessage (line 185) | func (*Permission) ProtoMessage() {} method Descriptor (line 186) | func (*Permission) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 189) | func (m *Permission) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 192) | func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte... method XXX_Merge (line 204) | func (m *Permission) XXX_Merge(src proto.Message) { method XXX_Size (line 207) | func (m *Permission) XXX_Size() int { method XXX_DiscardUnknown (line 210) | func (m *Permission) XXX_DiscardUnknown() { method GetPermType (line 216) | func (m *Permission) GetPermType() Permission_Type { method GetKey (line 223) | func (m *Permission) GetKey() []byte { method GetRangeEnd (line 230) | func (m *Permission) GetRangeEnd() []byte { method Marshal (line 428) | func (m *Permission) Marshal() (dAtA []byte, err error) { method MarshalTo (line 438) | func (m *Permission) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 443) | func (m *Permission) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 578) | func (m *Permission) Size() (n int) { method Unmarshal (line 887) | func (m *Permission) Unmarshal(dAtA []byte) error { type Role (line 238) | type Role struct method Reset (line 246) | func (m *Role) Reset() { *m = Role{} } method String (line 247) | func (m *Role) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 248) | func (*Role) ProtoMessage() {} method Descriptor (line 249) | func (*Role) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 252) | func (m *Role) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 255) | func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro... method XXX_Merge (line 267) | func (m *Role) XXX_Merge(src proto.Message) { method XXX_Size (line 270) | func (m *Role) XXX_Size() int { method XXX_DiscardUnknown (line 273) | func (m *Role) XXX_DiscardUnknown() { method GetName (line 279) | func (m *Role) GetName() []byte { method GetKeyPermission (line 286) | func (m *Role) GetKeyPermission() []*Permission { method Marshal (line 474) | func (m *Role) Marshal() (dAtA []byte, err error) { method MarshalTo (line 484) | func (m *Role) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 489) | func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 601) | func (m *Role) Size() (n int) { method Unmarshal (line 1025) | func (m *Role) Unmarshal(dAtA []byte) error { function init (line 293) | func init() { function init (line 301) | func init() { proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875... function encodeVarintAuth (line 522) | func encodeVarintAuth(dAtA []byte, offset int, v uint64) int { function sovAuth (line 623) | func sovAuth(x uint64) (n int) { function sozAuth (line 626) | func sozAuth(x uint64) (n int) { function skipAuth (line 1144) | func skipAuth(dAtA []byte) (n int, err error) { FILE: api/authpb/deprecated.go constant READ (line 20) | READ = Permission_READ constant WRITE (line 23) | WRITE = Permission_WRITE constant READWRITE (line 26) | READWRITE = Permission_READWRITE FILE: api/etcdserverpb/etcdserver.pb.go constant _ (line 24) | _ = proto.ProtoPackageIsVersion3 type Metadata (line 26) | type Metadata struct method Reset (line 34) | func (m *Metadata) Reset() { *m = Metadata{} } method String (line 35) | func (m *Metadata) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 36) | func (*Metadata) ProtoMessage() {} method Descriptor (line 37) | func (*Metadata) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 40) | func (m *Metadata) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 43) | func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, ... method XXX_Merge (line 55) | func (m *Metadata) XXX_Merge(src proto.Message) { method XXX_Size (line 58) | func (m *Metadata) XXX_Size() int { method XXX_DiscardUnknown (line 61) | func (m *Metadata) XXX_DiscardUnknown() { method GetNodeID (line 67) | func (m *Metadata) GetNodeID() uint64 { method GetClusterID (line 74) | func (m *Metadata) GetClusterID() uint64 { method Marshal (line 100) | func (m *Metadata) Marshal() (dAtA []byte, err error) { method MarshalTo (line 110) | func (m *Metadata) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 115) | func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 148) | func (m *Metadata) Size() (n int) { method Unmarshal (line 172) | func (m *Metadata) Unmarshal(dAtA []byte) error { function init (line 81) | func init() { function init (line 85) | func init() { proto.RegisterFile("etcdserver.proto", fileDescriptor_09ff... function encodeVarintEtcdserver (line 137) | func encodeVarintEtcdserver(dAtA []byte, offset int, v uint64) int { function sovEtcdserver (line 166) | func sovEtcdserver(x uint64) (n int) { function sozEtcdserver (line 169) | func sozEtcdserver(x uint64) (n int) { function skipEtcdserver (line 263) | func skipEtcdserver(dAtA []byte) (n int, err error) { FILE: api/etcdserverpb/gw/rpc.pb.gw.go function request_KV_Range_0 (line 41) | func request_KV_Range_0(ctx context.Context, marshaler runtime.Marshaler... function local_request_KV_Range_0 (line 56) | func local_request_KV_Range_0(ctx context.Context, marshaler runtime.Mar... function request_KV_Put_0 (line 68) | func request_KV_Put_0(ctx context.Context, marshaler runtime.Marshaler, ... function local_request_KV_Put_0 (line 83) | func local_request_KV_Put_0(ctx context.Context, marshaler runtime.Marsh... function request_KV_DeleteRange_0 (line 95) | func request_KV_DeleteRange_0(ctx context.Context, marshaler runtime.Mar... function local_request_KV_DeleteRange_0 (line 110) | func local_request_KV_DeleteRange_0(ctx context.Context, marshaler runti... function request_KV_Txn_0 (line 122) | func request_KV_Txn_0(ctx context.Context, marshaler runtime.Marshaler, ... function local_request_KV_Txn_0 (line 137) | func local_request_KV_Txn_0(ctx context.Context, marshaler runtime.Marsh... function request_KV_Compact_0 (line 149) | func request_KV_Compact_0(ctx context.Context, marshaler runtime.Marshal... function local_request_KV_Compact_0 (line 164) | func local_request_KV_Compact_0(ctx context.Context, marshaler runtime.M... function request_Watch_Watch_0 (line 176) | func request_Watch_Watch_0(ctx context.Context, marshaler runtime.Marsha... function request_Lease_LeaseGrant_0 (line 219) | func request_Lease_LeaseGrant_0(ctx context.Context, marshaler runtime.M... function local_request_Lease_LeaseGrant_0 (line 234) | func local_request_Lease_LeaseGrant_0(ctx context.Context, marshaler run... function request_Lease_LeaseRevoke_0 (line 246) | func request_Lease_LeaseRevoke_0(ctx context.Context, marshaler runtime.... function local_request_Lease_LeaseRevoke_0 (line 261) | func local_request_Lease_LeaseRevoke_0(ctx context.Context, marshaler ru... function request_Lease_LeaseRevoke_1 (line 273) | func request_Lease_LeaseRevoke_1(ctx context.Context, marshaler runtime.... function local_request_Lease_LeaseRevoke_1 (line 288) | func local_request_Lease_LeaseRevoke_1(ctx context.Context, marshaler ru... function request_Lease_LeaseKeepAlive_0 (line 300) | func request_Lease_LeaseKeepAlive_0(ctx context.Context, marshaler runti... function request_Lease_LeaseTimeToLive_0 (line 343) | func request_Lease_LeaseTimeToLive_0(ctx context.Context, marshaler runt... function local_request_Lease_LeaseTimeToLive_0 (line 358) | func local_request_Lease_LeaseTimeToLive_0(ctx context.Context, marshale... function request_Lease_LeaseTimeToLive_1 (line 370) | func request_Lease_LeaseTimeToLive_1(ctx context.Context, marshaler runt... function local_request_Lease_LeaseTimeToLive_1 (line 385) | func local_request_Lease_LeaseTimeToLive_1(ctx context.Context, marshale... function request_Lease_LeaseLeases_0 (line 397) | func request_Lease_LeaseLeases_0(ctx context.Context, marshaler runtime.... function local_request_Lease_LeaseLeases_0 (line 412) | func local_request_Lease_LeaseLeases_0(ctx context.Context, marshaler ru... function request_Lease_LeaseLeases_1 (line 424) | func request_Lease_LeaseLeases_1(ctx context.Context, marshaler runtime.... function local_request_Lease_LeaseLeases_1 (line 439) | func local_request_Lease_LeaseLeases_1(ctx context.Context, marshaler ru... function request_Cluster_MemberAdd_0 (line 451) | func request_Cluster_MemberAdd_0(ctx context.Context, marshaler runtime.... function local_request_Cluster_MemberAdd_0 (line 466) | func local_request_Cluster_MemberAdd_0(ctx context.Context, marshaler ru... function request_Cluster_MemberRemove_0 (line 478) | func request_Cluster_MemberRemove_0(ctx context.Context, marshaler runti... function local_request_Cluster_MemberRemove_0 (line 493) | func local_request_Cluster_MemberRemove_0(ctx context.Context, marshaler... function request_Cluster_MemberUpdate_0 (line 505) | func request_Cluster_MemberUpdate_0(ctx context.Context, marshaler runti... function local_request_Cluster_MemberUpdate_0 (line 520) | func local_request_Cluster_MemberUpdate_0(ctx context.Context, marshaler... function request_Cluster_MemberList_0 (line 532) | func request_Cluster_MemberList_0(ctx context.Context, marshaler runtime... function local_request_Cluster_MemberList_0 (line 547) | func local_request_Cluster_MemberList_0(ctx context.Context, marshaler r... function request_Cluster_MemberPromote_0 (line 559) | func request_Cluster_MemberPromote_0(ctx context.Context, marshaler runt... function local_request_Cluster_MemberPromote_0 (line 574) | func local_request_Cluster_MemberPromote_0(ctx context.Context, marshale... function request_Maintenance_Alarm_0 (line 586) | func request_Maintenance_Alarm_0(ctx context.Context, marshaler runtime.... function local_request_Maintenance_Alarm_0 (line 601) | func local_request_Maintenance_Alarm_0(ctx context.Context, marshaler ru... function request_Maintenance_Status_0 (line 613) | func request_Maintenance_Status_0(ctx context.Context, marshaler runtime... function local_request_Maintenance_Status_0 (line 628) | func local_request_Maintenance_Status_0(ctx context.Context, marshaler r... function request_Maintenance_Defragment_0 (line 640) | func request_Maintenance_Defragment_0(ctx context.Context, marshaler run... function local_request_Maintenance_Defragment_0 (line 655) | func local_request_Maintenance_Defragment_0(ctx context.Context, marshal... function request_Maintenance_Hash_0 (line 667) | func request_Maintenance_Hash_0(ctx context.Context, marshaler runtime.M... function local_request_Maintenance_Hash_0 (line 682) | func local_request_Maintenance_Hash_0(ctx context.Context, marshaler run... function request_Maintenance_HashKV_0 (line 694) | func request_Maintenance_HashKV_0(ctx context.Context, marshaler runtime... function local_request_Maintenance_HashKV_0 (line 709) | func local_request_Maintenance_HashKV_0(ctx context.Context, marshaler r... function request_Maintenance_Snapshot_0 (line 721) | func request_Maintenance_Snapshot_0(ctx context.Context, marshaler runti... function request_Maintenance_MoveLeader_0 (line 744) | func request_Maintenance_MoveLeader_0(ctx context.Context, marshaler run... function local_request_Maintenance_MoveLeader_0 (line 759) | func local_request_Maintenance_MoveLeader_0(ctx context.Context, marshal... function request_Maintenance_Downgrade_0 (line 771) | func request_Maintenance_Downgrade_0(ctx context.Context, marshaler runt... function local_request_Maintenance_Downgrade_0 (line 786) | func local_request_Maintenance_Downgrade_0(ctx context.Context, marshale... function request_Auth_AuthEnable_0 (line 798) | func request_Auth_AuthEnable_0(ctx context.Context, marshaler runtime.Ma... function local_request_Auth_AuthEnable_0 (line 813) | func local_request_Auth_AuthEnable_0(ctx context.Context, marshaler runt... function request_Auth_AuthDisable_0 (line 825) | func request_Auth_AuthDisable_0(ctx context.Context, marshaler runtime.M... function local_request_Auth_AuthDisable_0 (line 840) | func local_request_Auth_AuthDisable_0(ctx context.Context, marshaler run... function request_Auth_AuthStatus_0 (line 852) | func request_Auth_AuthStatus_0(ctx context.Context, marshaler runtime.Ma... function local_request_Auth_AuthStatus_0 (line 867) | func local_request_Auth_AuthStatus_0(ctx context.Context, marshaler runt... function request_Auth_Authenticate_0 (line 879) | func request_Auth_Authenticate_0(ctx context.Context, marshaler runtime.... function local_request_Auth_Authenticate_0 (line 894) | func local_request_Auth_Authenticate_0(ctx context.Context, marshaler ru... function request_Auth_UserAdd_0 (line 906) | func request_Auth_UserAdd_0(ctx context.Context, marshaler runtime.Marsh... function local_request_Auth_UserAdd_0 (line 921) | func local_request_Auth_UserAdd_0(ctx context.Context, marshaler runtime... function request_Auth_UserGet_0 (line 933) | func request_Auth_UserGet_0(ctx context.Context, marshaler runtime.Marsh... function local_request_Auth_UserGet_0 (line 948) | func local_request_Auth_UserGet_0(ctx context.Context, marshaler runtime... function request_Auth_UserList_0 (line 960) | func request_Auth_UserList_0(ctx context.Context, marshaler runtime.Mars... function local_request_Auth_UserList_0 (line 975) | func local_request_Auth_UserList_0(ctx context.Context, marshaler runtim... function request_Auth_UserDelete_0 (line 987) | func request_Auth_UserDelete_0(ctx context.Context, marshaler runtime.Ma... function local_request_Auth_UserDelete_0 (line 1002) | func local_request_Auth_UserDelete_0(ctx context.Context, marshaler runt... function request_Auth_UserChangePassword_0 (line 1014) | func request_Auth_UserChangePassword_0(ctx context.Context, marshaler ru... function local_request_Auth_UserChangePassword_0 (line 1029) | func local_request_Auth_UserChangePassword_0(ctx context.Context, marsha... function request_Auth_UserGrantRole_0 (line 1041) | func request_Auth_UserGrantRole_0(ctx context.Context, marshaler runtime... function local_request_Auth_UserGrantRole_0 (line 1056) | func local_request_Auth_UserGrantRole_0(ctx context.Context, marshaler r... function request_Auth_UserRevokeRole_0 (line 1068) | func request_Auth_UserRevokeRole_0(ctx context.Context, marshaler runtim... function local_request_Auth_UserRevokeRole_0 (line 1083) | func local_request_Auth_UserRevokeRole_0(ctx context.Context, marshaler ... function request_Auth_RoleAdd_0 (line 1095) | func request_Auth_RoleAdd_0(ctx context.Context, marshaler runtime.Marsh... function local_request_Auth_RoleAdd_0 (line 1110) | func local_request_Auth_RoleAdd_0(ctx context.Context, marshaler runtime... function request_Auth_RoleGet_0 (line 1122) | func request_Auth_RoleGet_0(ctx context.Context, marshaler runtime.Marsh... function local_request_Auth_RoleGet_0 (line 1137) | func local_request_Auth_RoleGet_0(ctx context.Context, marshaler runtime... function request_Auth_RoleList_0 (line 1149) | func request_Auth_RoleList_0(ctx context.Context, marshaler runtime.Mars... function local_request_Auth_RoleList_0 (line 1164) | func local_request_Auth_RoleList_0(ctx context.Context, marshaler runtim... function request_Auth_RoleDelete_0 (line 1176) | func request_Auth_RoleDelete_0(ctx context.Context, marshaler runtime.Ma... function local_request_Auth_RoleDelete_0 (line 1191) | func local_request_Auth_RoleDelete_0(ctx context.Context, marshaler runt... function request_Auth_RoleGrantPermission_0 (line 1203) | func request_Auth_RoleGrantPermission_0(ctx context.Context, marshaler r... function local_request_Auth_RoleGrantPermission_0 (line 1218) | func local_request_Auth_RoleGrantPermission_0(ctx context.Context, marsh... function request_Auth_RoleRevokePermission_0 (line 1230) | func request_Auth_RoleRevokePermission_0(ctx context.Context, marshaler ... function local_request_Auth_RoleRevokePermission_0 (line 1245) | func local_request_Auth_RoleRevokePermission_0(ctx context.Context, mars... function RegisterKVHandlerServer (line 1262) | func RegisterKVHandlerServer(ctx context.Context, mux *runtime.ServeMux,... function RegisterWatchHandlerServer (line 1372) | func RegisterWatchHandlerServer(ctx context.Context, mux *runtime.ServeM... function RegisterLeaseHandlerServer (line 1388) | func RegisterLeaseHandlerServer(ctx context.Context, mux *runtime.ServeM... function RegisterClusterHandlerServer (line 1545) | func RegisterClusterHandlerServer(ctx context.Context, mux *runtime.Serv... function RegisterMaintenanceHandlerServer (line 1655) | func RegisterMaintenanceHandlerServer(ctx context.Context, mux *runtime.... function RegisterAuthHandlerServer (line 1812) | func RegisterAuthHandlerServer(ctx context.Context, mux *runtime.ServeMu... function RegisterKVHandlerFromEndpoint (line 2159) | func RegisterKVHandlerFromEndpoint(ctx context.Context, mux *runtime.Ser... function RegisterKVHandler (line 2183) | func RegisterKVHandler(ctx context.Context, mux *runtime.ServeMux, conn ... function RegisterKVHandlerClient (line 2192) | func RegisterKVHandlerClient(ctx context.Context, mux *runtime.ServeMux,... function RegisterWatchHandlerFromEndpoint (line 2299) | func RegisterWatchHandlerFromEndpoint(ctx context.Context, mux *runtime.... function RegisterWatchHandler (line 2323) | func RegisterWatchHandler(ctx context.Context, mux *runtime.ServeMux, co... function RegisterWatchHandlerClient (line 2332) | func RegisterWatchHandlerClient(ctx context.Context, mux *runtime.ServeM... function RegisterLeaseHandlerFromEndpoint (line 2366) | func RegisterLeaseHandlerFromEndpoint(ctx context.Context, mux *runtime.... function RegisterLeaseHandler (line 2390) | func RegisterLeaseHandler(ctx context.Context, mux *runtime.ServeMux, co... function RegisterLeaseHandlerClient (line 2399) | func RegisterLeaseHandlerClient(ctx context.Context, mux *runtime.ServeM... function RegisterClusterHandlerFromEndpoint (line 2566) | func RegisterClusterHandlerFromEndpoint(ctx context.Context, mux *runtim... function RegisterClusterHandler (line 2590) | func RegisterClusterHandler(ctx context.Context, mux *runtime.ServeMux, ... function RegisterClusterHandlerClient (line 2599) | func RegisterClusterHandlerClient(ctx context.Context, mux *runtime.Serv... function RegisterMaintenanceHandlerFromEndpoint (line 2706) | func RegisterMaintenanceHandlerFromEndpoint(ctx context.Context, mux *ru... function RegisterMaintenanceHandler (line 2730) | func RegisterMaintenanceHandler(ctx context.Context, mux *runtime.ServeM... function RegisterMaintenanceHandlerClient (line 2739) | func RegisterMaintenanceHandlerClient(ctx context.Context, mux *runtime.... function RegisterAuthHandlerFromEndpoint (line 2906) | func RegisterAuthHandlerFromEndpoint(ctx context.Context, mux *runtime.S... function RegisterAuthHandler (line 2930) | func RegisterAuthHandler(ctx context.Context, mux *runtime.ServeMux, con... function RegisterAuthHandlerClient (line 2939) | func RegisterAuthHandlerClient(ctx context.Context, mux *runtime.ServeMu... FILE: api/etcdserverpb/raft_internal.pb.go constant _ (line 26) | _ = proto.ProtoPackageIsVersion3 type RequestHeader (line 28) | type RequestHeader struct method Reset (line 39) | func (m *RequestHeader) Reset() { *m = RequestHeader{} } method String (line 40) | func (m *RequestHeader) String() string { return proto.CompactTextStri... method ProtoMessage (line 41) | func (*RequestHeader) ProtoMessage() {} method Descriptor (line 42) | func (*RequestHeader) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 45) | func (m *RequestHeader) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 48) | func (m *RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 60) | func (m *RequestHeader) XXX_Merge(src proto.Message) { method XXX_Size (line 63) | func (m *RequestHeader) XXX_Size() int { method XXX_DiscardUnknown (line 66) | func (m *RequestHeader) XXX_DiscardUnknown() { method GetID (line 72) | func (m *RequestHeader) GetID() uint64 { method GetUsername (line 79) | func (m *RequestHeader) GetUsername() string { method GetAuthRevision (line 86) | func (m *RequestHeader) GetAuthRevision() uint64 { method Marshal (line 577) | func (m *RequestHeader) Marshal() (dAtA []byte, err error) { method MarshalTo (line 587) | func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 592) | func (m *RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1157) | func (m *RequestHeader) Size() (n int) { method Unmarshal (line 1360) | func (m *RequestHeader) Unmarshal(dAtA []byte) error { type InternalRaftRequest (line 95) | type InternalRaftRequest struct method Reset (line 133) | func (m *InternalRaftRequest) Reset() { *m = InternalRaftReque... method String (line 134) | func (m *InternalRaftRequest) String() string { return proto.CompactTe... method ProtoMessage (line 135) | func (*InternalRaftRequest) ProtoMessage() {} method Descriptor (line 136) | func (*InternalRaftRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 139) | func (m *InternalRaftRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 142) | func (m *InternalRaftRequest) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 154) | func (m *InternalRaftRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 157) | func (m *InternalRaftRequest) XXX_Size() int { method XXX_DiscardUnknown (line 160) | func (m *InternalRaftRequest) XXX_DiscardUnknown() { method GetHeader (line 166) | func (m *InternalRaftRequest) GetHeader() *RequestHeader { method GetID (line 173) | func (m *InternalRaftRequest) GetID() uint64 { method GetRange (line 180) | func (m *InternalRaftRequest) GetRange() *RangeRequest { method GetPut (line 187) | func (m *InternalRaftRequest) GetPut() *PutRequest { method GetDeleteRange (line 194) | func (m *InternalRaftRequest) GetDeleteRange() *DeleteRangeRequest { method GetTxn (line 201) | func (m *InternalRaftRequest) GetTxn() *TxnRequest { method GetCompaction (line 208) | func (m *InternalRaftRequest) GetCompaction() *CompactionRequest { method GetLeaseGrant (line 215) | func (m *InternalRaftRequest) GetLeaseGrant() *LeaseGrantRequest { method GetLeaseRevoke (line 222) | func (m *InternalRaftRequest) GetLeaseRevoke() *LeaseRevokeRequest { method GetAlarm (line 229) | func (m *InternalRaftRequest) GetAlarm() *AlarmRequest { method GetLeaseCheckpoint (line 236) | func (m *InternalRaftRequest) GetLeaseCheckpoint() *LeaseCheckpointReq... method GetAuthEnable (line 243) | func (m *InternalRaftRequest) GetAuthEnable() *AuthEnableRequest { method GetAuthDisable (line 250) | func (m *InternalRaftRequest) GetAuthDisable() *AuthDisableRequest { method GetAuthStatus (line 257) | func (m *InternalRaftRequest) GetAuthStatus() *AuthStatusRequest { method GetAuthenticate (line 264) | func (m *InternalRaftRequest) GetAuthenticate() *InternalAuthenticateR... method GetAuthUserAdd (line 271) | func (m *InternalRaftRequest) GetAuthUserAdd() *AuthUserAddRequest { method GetAuthUserDelete (line 278) | func (m *InternalRaftRequest) GetAuthUserDelete() *AuthUserDeleteReque... method GetAuthUserGet (line 285) | func (m *InternalRaftRequest) GetAuthUserGet() *AuthUserGetRequest { method GetAuthUserChangePassword (line 292) | func (m *InternalRaftRequest) GetAuthUserChangePassword() *AuthUserCha... method GetAuthUserGrantRole (line 299) | func (m *InternalRaftRequest) GetAuthUserGrantRole() *AuthUserGrantRol... method GetAuthUserRevokeRole (line 306) | func (m *InternalRaftRequest) GetAuthUserRevokeRole() *AuthUserRevokeR... method GetAuthUserList (line 313) | func (m *InternalRaftRequest) GetAuthUserList() *AuthUserListRequest { method GetAuthRoleList (line 320) | func (m *InternalRaftRequest) GetAuthRoleList() *AuthRoleListRequest { method GetAuthRoleAdd (line 327) | func (m *InternalRaftRequest) GetAuthRoleAdd() *AuthRoleAddRequest { method GetAuthRoleDelete (line 334) | func (m *InternalRaftRequest) GetAuthRoleDelete() *AuthRoleDeleteReque... method GetAuthRoleGet (line 341) | func (m *InternalRaftRequest) GetAuthRoleGet() *AuthRoleGetRequest { method GetAuthRoleGrantPermission (line 348) | func (m *InternalRaftRequest) GetAuthRoleGrantPermission() *AuthRoleGr... method GetAuthRoleRevokePermission (line 355) | func (m *InternalRaftRequest) GetAuthRoleRevokePermission() *AuthRoleR... method GetClusterVersionSet (line 362) | func (m *InternalRaftRequest) GetClusterVersionSet() *membershippb.Clu... method GetClusterMemberAttrSet (line 369) | func (m *InternalRaftRequest) GetClusterMemberAttrSet() *membershippb.... method GetDowngradeInfoSet (line 376) | func (m *InternalRaftRequest) GetDowngradeInfoSet() *membershippb.Down... method GetDowngradeVersionTest (line 383) | func (m *InternalRaftRequest) GetDowngradeVersionTest() *DowngradeVers... method Marshal (line 621) | func (m *InternalRaftRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 631) | func (m *InternalRaftRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 636) | func (m *InternalRaftRequest) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 1179) | func (m *InternalRaftRequest) Size() (n int) { method Unmarshal (line 1481) | func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { type EmptyResponse (line 390) | type EmptyResponse struct method Reset (line 396) | func (m *EmptyResponse) Reset() { *m = EmptyResponse{} } method String (line 397) | func (m *EmptyResponse) String() string { return proto.CompactTextStri... method ProtoMessage (line 398) | func (*EmptyResponse) ProtoMessage() {} method Descriptor (line 399) | func (*EmptyResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 402) | func (m *EmptyResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 405) | func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 417) | func (m *EmptyResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 420) | func (m *EmptyResponse) XXX_Size() int { method XXX_DiscardUnknown (line 423) | func (m *EmptyResponse) XXX_DiscardUnknown() { method Marshal (line 1071) | func (m *EmptyResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 1081) | func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 1086) | func (m *EmptyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1318) | func (m *EmptyResponse) Size() (n int) { method Unmarshal (line 2667) | func (m *EmptyResponse) Unmarshal(dAtA []byte) error { type InternalAuthenticateRequest (line 432) | type InternalAuthenticateRequest struct method Reset (line 442) | func (m *InternalAuthenticateRequest) Reset() { *m = InternalA... method String (line 443) | func (m *InternalAuthenticateRequest) String() string { return proto.C... method ProtoMessage (line 444) | func (*InternalAuthenticateRequest) ProtoMessage() {} method Descriptor (line 445) | func (*InternalAuthenticateRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 448) | func (m *InternalAuthenticateRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 451) | func (m *InternalAuthenticateRequest) XXX_Marshal(b []byte, determinis... method XXX_Merge (line 463) | func (m *InternalAuthenticateRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 466) | func (m *InternalAuthenticateRequest) XXX_Size() int { method XXX_DiscardUnknown (line 469) | func (m *InternalAuthenticateRequest) XXX_DiscardUnknown() { method GetName (line 475) | func (m *InternalAuthenticateRequest) GetName() string { method GetPassword (line 482) | func (m *InternalAuthenticateRequest) GetPassword() string { method GetSimpleToken (line 489) | func (m *InternalAuthenticateRequest) GetSimpleToken() string { method Marshal (line 1098) | func (m *InternalAuthenticateRequest) Marshal() (dAtA []byte, err erro... method MarshalTo (line 1108) | func (m *InternalAuthenticateRequest) MarshalTo(dAtA []byte) (int, err... method MarshalToSizedBuffer (line 1113) | func (m *InternalAuthenticateRequest) MarshalToSizedBuffer(dAtA []byte... method Size (line 1330) | func (m *InternalAuthenticateRequest) Size() (n int) { method Unmarshal (line 2718) | func (m *InternalAuthenticateRequest) Unmarshal(dAtA []byte) error { function init (line 496) | func init() { function init (line 503) | func init() { proto.RegisterFile("raft_internal.proto", fileDescriptor_b... function encodeVarintRaftInternal (line 1146) | func encodeVarintRaftInternal(dAtA []byte, offset int, v uint64) int { function sovRaftInternal (line 1354) | func sovRaftInternal(x uint64) (n int) { function sozRaftInternal (line 1357) | func sozRaftInternal(x uint64) (n int) { function skipRaftInternal (line 2865) | func skipRaftInternal(dAtA []byte) (n int, err error) { FILE: api/etcdserverpb/raft_internal_stringer.go type InternalRaftStringer (line 26) | type InternalRaftStringer struct method String (line 30) | func (as *InternalRaftStringer) String() string { type txnRequestStringer (line 77) | type txnRequestStringer struct method String (line 85) | func (as *txnRequestStringer) String() string { function NewLoggableTxnRequest (line 81) | func NewLoggableTxnRequest(request *TxnRequest) fmt.Stringer { type requestOpStringer (line 113) | type requestOpStringer struct method String (line 121) | func (as *requestOpStringer) String() string { function newLoggableRequestOp (line 117) | func newLoggableRequestOp(op *RequestOp) *requestOpStringer { type loggableValueCompare (line 136) | type loggableValueCompare struct method Reset (line 154) | func (m *loggableValueCompare) Reset() { *m = loggableValueCom... method String (line 155) | func (m *loggableValueCompare) String() string { return proto.CompactT... method ProtoMessage (line 156) | func (*loggableValueCompare) ProtoMessage() {} function newLoggableValueCompare (line 144) | func newLoggableValueCompare(c *Compare, cv *Compare_Value) *loggableVal... type loggablePutRequest (line 161) | type loggablePutRequest struct method Reset (line 181) | func (m *loggablePutRequest) Reset() { *m = loggablePutRequest... method String (line 182) | func (m *loggablePutRequest) String() string { return proto.CompactTex... method ProtoMessage (line 183) | func (*loggablePutRequest) ProtoMessage() {} function NewLoggablePutRequest (line 170) | func NewLoggablePutRequest(request *PutRequest) proto.Message { FILE: api/etcdserverpb/raft_internal_stringer_test.go function TestInvalidGoTypeIntPanic (line 28) | func TestInvalidGoTypeIntPanic(t *testing.T) { FILE: api/etcdserverpb/rpc.pb.go constant _ (line 29) | _ = proto.ProtoPackageIsVersion3 type AlarmType (line 31) | type AlarmType method String (line 51) | func (x AlarmType) String() string { method EnumDescriptor (line 55) | func (AlarmType) EnumDescriptor() ([]byte, []int) { constant AlarmType_NONE (line 34) | AlarmType_NONE AlarmType = 0 constant AlarmType_NOSPACE (line 35) | AlarmType_NOSPACE AlarmType = 1 constant AlarmType_CORRUPT (line 36) | AlarmType_CORRUPT AlarmType = 2 type RangeRequest_SortOrder (line 59) | type RangeRequest_SortOrder method String (line 79) | func (x RangeRequest_SortOrder) String() string { method EnumDescriptor (line 83) | func (RangeRequest_SortOrder) EnumDescriptor() ([]byte, []int) { constant RangeRequest_NONE (line 62) | RangeRequest_NONE RangeRequest_SortOrder = 0 constant RangeRequest_ASCEND (line 63) | RangeRequest_ASCEND RangeRequest_SortOrder = 1 constant RangeRequest_DESCEND (line 64) | RangeRequest_DESCEND RangeRequest_SortOrder = 2 type RangeRequest_SortTarget (line 87) | type RangeRequest_SortTarget method String (line 113) | func (x RangeRequest_SortTarget) String() string { method EnumDescriptor (line 117) | func (RangeRequest_SortTarget) EnumDescriptor() ([]byte, []int) { constant RangeRequest_KEY (line 90) | RangeRequest_KEY RangeRequest_SortTarget = 0 constant RangeRequest_VERSION (line 91) | RangeRequest_VERSION RangeRequest_SortTarget = 1 constant RangeRequest_CREATE (line 92) | RangeRequest_CREATE RangeRequest_SortTarget = 2 constant RangeRequest_MOD (line 93) | RangeRequest_MOD RangeRequest_SortTarget = 3 constant RangeRequest_VALUE (line 94) | RangeRequest_VALUE RangeRequest_SortTarget = 4 type Compare_CompareResult (line 121) | type Compare_CompareResult method String (line 144) | func (x Compare_CompareResult) String() string { method EnumDescriptor (line 148) | func (Compare_CompareResult) EnumDescriptor() ([]byte, []int) { constant Compare_EQUAL (line 124) | Compare_EQUAL Compare_CompareResult = 0 constant Compare_GREATER (line 125) | Compare_GREATER Compare_CompareResult = 1 constant Compare_LESS (line 126) | Compare_LESS Compare_CompareResult = 2 constant Compare_NOT_EQUAL (line 127) | Compare_NOT_EQUAL Compare_CompareResult = 3 type Compare_CompareTarget (line 152) | type Compare_CompareTarget method String (line 178) | func (x Compare_CompareTarget) String() string { method EnumDescriptor (line 182) | func (Compare_CompareTarget) EnumDescriptor() ([]byte, []int) { constant Compare_VERSION (line 155) | Compare_VERSION Compare_CompareTarget = 0 constant Compare_CREATE (line 156) | Compare_CREATE Compare_CompareTarget = 1 constant Compare_MOD (line 157) | Compare_MOD Compare_CompareTarget = 2 constant Compare_VALUE (line 158) | Compare_VALUE Compare_CompareTarget = 3 constant Compare_LEASE (line 159) | Compare_LEASE Compare_CompareTarget = 4 type WatchCreateRequest_FilterType (line 186) | type WatchCreateRequest_FilterType method String (line 205) | func (x WatchCreateRequest_FilterType) String() string { method EnumDescriptor (line 209) | func (WatchCreateRequest_FilterType) EnumDescriptor() ([]byte, []int) { constant WatchCreateRequest_NOPUT (line 190) | WatchCreateRequest_NOPUT WatchCreateRequest_FilterType = 0 constant WatchCreateRequest_NODELETE (line 192) | WatchCreateRequest_NODELETE WatchCreateRequest_FilterType = 1 type AlarmRequest_AlarmAction (line 213) | type AlarmRequest_AlarmAction method String (line 233) | func (x AlarmRequest_AlarmAction) String() string { method EnumDescriptor (line 237) | func (AlarmRequest_AlarmAction) EnumDescriptor() ([]byte, []int) { constant AlarmRequest_GET (line 216) | AlarmRequest_GET AlarmRequest_AlarmAction = 0 constant AlarmRequest_ACTIVATE (line 217) | AlarmRequest_ACTIVATE AlarmRequest_AlarmAction = 1 constant AlarmRequest_DEACTIVATE (line 218) | AlarmRequest_DEACTIVATE AlarmRequest_AlarmAction = 2 type DowngradeRequest_DowngradeAction (line 241) | type DowngradeRequest_DowngradeAction method String (line 261) | func (x DowngradeRequest_DowngradeAction) String() string { method EnumDescriptor (line 265) | func (DowngradeRequest_DowngradeAction) EnumDescriptor() ([]byte, []in... constant DowngradeRequest_VALIDATE (line 244) | DowngradeRequest_VALIDATE DowngradeRequest_DowngradeAction = 0 constant DowngradeRequest_ENABLE (line 245) | DowngradeRequest_ENABLE DowngradeRequest_DowngradeAction = 1 constant DowngradeRequest_CANCEL (line 246) | DowngradeRequest_CANCEL DowngradeRequest_DowngradeAction = 2 type ResponseHeader (line 269) | type ResponseHeader struct method Reset (line 287) | func (m *ResponseHeader) Reset() { *m = ResponseHeader{} } method String (line 288) | func (m *ResponseHeader) String() string { return proto.CompactTextStr... method ProtoMessage (line 289) | func (*ResponseHeader) ProtoMessage() {} method Descriptor (line 290) | func (*ResponseHeader) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 293) | func (m *ResponseHeader) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 296) | func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 308) | func (m *ResponseHeader) XXX_Merge(src proto.Message) { method XXX_Size (line 311) | func (m *ResponseHeader) XXX_Size() int { method XXX_DiscardUnknown (line 314) | func (m *ResponseHeader) XXX_DiscardUnknown() { method GetClusterId (line 320) | func (m *ResponseHeader) GetClusterId() uint64 { method GetMemberId (line 327) | func (m *ResponseHeader) GetMemberId() uint64 { method GetRevision (line 334) | func (m *ResponseHeader) GetRevision() int64 { method GetRaftTerm (line 341) | func (m *ResponseHeader) GetRaftTerm() uint64 { method Marshal (line 6604) | func (m *ResponseHeader) Marshal() (dAtA []byte, err error) { method MarshalTo (line 6614) | func (m *ResponseHeader) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 6619) | func (m *ResponseHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11300) | func (m *ResponseHeader) Size() (n int) { method Unmarshal (line 13437) | func (m *ResponseHeader) Unmarshal(dAtA []byte) error { type RangeRequest (line 348) | type RangeRequest struct method Reset (line 396) | func (m *RangeRequest) Reset() { *m = RangeRequest{} } method String (line 397) | func (m *RangeRequest) String() string { return proto.CompactTextStrin... method ProtoMessage (line 398) | func (*RangeRequest) ProtoMessage() {} method Descriptor (line 399) | func (*RangeRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 402) | func (m *RangeRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 405) | func (m *RangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]by... method XXX_Merge (line 417) | func (m *RangeRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 420) | func (m *RangeRequest) XXX_Size() int { method XXX_DiscardUnknown (line 423) | func (m *RangeRequest) XXX_DiscardUnknown() { method GetKey (line 429) | func (m *RangeRequest) GetKey() []byte { method GetRangeEnd (line 436) | func (m *RangeRequest) GetRangeEnd() []byte { method GetLimit (line 443) | func (m *RangeRequest) GetLimit() int64 { method GetRevision (line 450) | func (m *RangeRequest) GetRevision() int64 { method GetSortOrder (line 457) | func (m *RangeRequest) GetSortOrder() RangeRequest_SortOrder { method GetSortTarget (line 464) | func (m *RangeRequest) GetSortTarget() RangeRequest_SortTarget { method GetSerializable (line 471) | func (m *RangeRequest) GetSerializable() bool { method GetKeysOnly (line 478) | func (m *RangeRequest) GetKeysOnly() bool { method GetCountOnly (line 485) | func (m *RangeRequest) GetCountOnly() bool { method GetMinModRevision (line 492) | func (m *RangeRequest) GetMinModRevision() int64 { method GetMaxModRevision (line 499) | func (m *RangeRequest) GetMaxModRevision() int64 { method GetMinCreateRevision (line 506) | func (m *RangeRequest) GetMinCreateRevision() int64 { method GetMaxCreateRevision (line 513) | func (m *RangeRequest) GetMaxCreateRevision() int64 { method Marshal (line 6651) | func (m *RangeRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 6661) | func (m *RangeRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 6666) | func (m *RangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11324) | func (m *RangeRequest) Size() (n int) { method Unmarshal (line 13564) | func (m *RangeRequest) Unmarshal(dAtA []byte) error { type RangeResponse (line 520) | type RangeResponse struct method Reset (line 536) | func (m *RangeResponse) Reset() { *m = RangeResponse{} } method String (line 537) | func (m *RangeResponse) String() string { return proto.CompactTextStri... method ProtoMessage (line 538) | func (*RangeResponse) ProtoMessage() {} method Descriptor (line 539) | func (*RangeResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 542) | func (m *RangeResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 545) | func (m *RangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 557) | func (m *RangeResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 560) | func (m *RangeResponse) XXX_Size() int { method XXX_DiscardUnknown (line 563) | func (m *RangeResponse) XXX_DiscardUnknown() { method GetHeader (line 569) | func (m *RangeResponse) GetHeader() *ResponseHeader { method GetKvs (line 576) | func (m *RangeResponse) GetKvs() []*mvccpb.KeyValue { method GetMore (line 583) | func (m *RangeResponse) GetMore() bool { method GetCount (line 590) | func (m *RangeResponse) GetCount() int64 { method Marshal (line 6762) | func (m *RangeResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 6772) | func (m *RangeResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 6777) | func (m *RangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11377) | func (m *RangeResponse) Size() (n int) { method Unmarshal (line 13895) | func (m *RangeResponse) Unmarshal(dAtA []byte) error { type PutRequest (line 597) | type PutRequest struct method Reset (line 619) | func (m *PutRequest) Reset() { *m = PutRequest{} } method String (line 620) | func (m *PutRequest) String() string { return proto.CompactTextString(... method ProtoMessage (line 621) | func (*PutRequest) ProtoMessage() {} method Descriptor (line 622) | func (*PutRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 625) | func (m *PutRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 628) | func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte... method XXX_Merge (line 640) | func (m *PutRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 643) | func (m *PutRequest) XXX_Size() int { method XXX_DiscardUnknown (line 646) | func (m *PutRequest) XXX_DiscardUnknown() { method GetKey (line 652) | func (m *PutRequest) GetKey() []byte { method GetValue (line 659) | func (m *PutRequest) GetValue() []byte { method GetLease (line 666) | func (m *PutRequest) GetLease() int64 { method GetPrevKv (line 673) | func (m *PutRequest) GetPrevKv() bool { method GetIgnoreValue (line 680) | func (m *PutRequest) GetIgnoreValue() bool { method GetIgnoreLease (line 687) | func (m *PutRequest) GetIgnoreLease() bool { method Marshal (line 6830) | func (m *PutRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 6840) | func (m *PutRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 6845) | func (m *PutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11405) | func (m *PutRequest) Size() (n int) { method Unmarshal (line 14055) | func (m *PutRequest) Unmarshal(dAtA []byte) error { type PutResponse (line 694) | type PutResponse struct method Reset (line 703) | func (m *PutResponse) Reset() { *m = PutResponse{} } method String (line 704) | func (m *PutResponse) String() string { return proto.CompactTextString... method ProtoMessage (line 705) | func (*PutResponse) ProtoMessage() {} method Descriptor (line 706) | func (*PutResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 709) | func (m *PutResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 712) | func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt... method XXX_Merge (line 724) | func (m *PutResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 727) | func (m *PutResponse) XXX_Size() int { method XXX_DiscardUnknown (line 730) | func (m *PutResponse) XXX_DiscardUnknown() { method GetHeader (line 736) | func (m *PutResponse) GetHeader() *ResponseHeader { method GetPrevKv (line 743) | func (m *PutResponse) GetPrevKv() *mvccpb.KeyValue { method Marshal (line 6906) | func (m *PutResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 6916) | func (m *PutResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 6921) | func (m *PutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11437) | func (m *PutResponse) Size() (n int) { method Unmarshal (line 14253) | func (m *PutResponse) Unmarshal(dAtA []byte) error { type DeleteRangeRequest (line 750) | type DeleteRangeRequest struct method Reset (line 767) | func (m *DeleteRangeRequest) Reset() { *m = DeleteRangeRequest... method String (line 768) | func (m *DeleteRangeRequest) String() string { return proto.CompactTex... method ProtoMessage (line 769) | func (*DeleteRangeRequest) ProtoMessage() {} method Descriptor (line 770) | func (*DeleteRangeRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 773) | func (m *DeleteRangeRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 776) | func (m *DeleteRangeRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 788) | func (m *DeleteRangeRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 791) | func (m *DeleteRangeRequest) XXX_Size() int { method XXX_DiscardUnknown (line 794) | func (m *DeleteRangeRequest) XXX_DiscardUnknown() { method GetKey (line 800) | func (m *DeleteRangeRequest) GetKey() []byte { method GetRangeEnd (line 807) | func (m *DeleteRangeRequest) GetRangeEnd() []byte { method GetPrevKv (line 814) | func (m *DeleteRangeRequest) GetPrevKv() bool { method Marshal (line 6957) | func (m *DeleteRangeRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 6967) | func (m *DeleteRangeRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 6972) | func (m *DeleteRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 11457) | func (m *DeleteRangeRequest) Size() (n int) { method Unmarshal (line 14376) | func (m *DeleteRangeRequest) Unmarshal(dAtA []byte) error { type DeleteRangeResponse (line 821) | type DeleteRangeResponse struct method Reset (line 832) | func (m *DeleteRangeResponse) Reset() { *m = DeleteRangeRespon... method String (line 833) | func (m *DeleteRangeResponse) String() string { return proto.CompactTe... method ProtoMessage (line 834) | func (*DeleteRangeResponse) ProtoMessage() {} method Descriptor (line 835) | func (*DeleteRangeResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 838) | func (m *DeleteRangeResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 841) | func (m *DeleteRangeResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 853) | func (m *DeleteRangeResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 856) | func (m *DeleteRangeResponse) XXX_Size() int { method XXX_DiscardUnknown (line 859) | func (m *DeleteRangeResponse) XXX_DiscardUnknown() { method GetHeader (line 865) | func (m *DeleteRangeResponse) GetHeader() *ResponseHeader { method GetDeleted (line 872) | func (m *DeleteRangeResponse) GetDeleted() int64 { method GetPrevKvs (line 879) | func (m *DeleteRangeResponse) GetPrevKvs() []*mvccpb.KeyValue { method Marshal (line 7008) | func (m *DeleteRangeResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7018) | func (m *DeleteRangeResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7023) | func (m *DeleteRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 11480) | func (m *DeleteRangeResponse) Size() (n int) { method Unmarshal (line 14515) | func (m *DeleteRangeResponse) Unmarshal(dAtA []byte) error { type RequestOp (line 886) | type RequestOp struct method Reset (line 900) | func (m *RequestOp) Reset() { *m = RequestOp{} } method String (line 901) | func (m *RequestOp) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 902) | func (*RequestOp) ProtoMessage() {} method Descriptor (line 903) | func (*RequestOp) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 906) | func (m *RequestOp) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 909) | func (m *RequestOp) XXX_Marshal(b []byte, deterministic bool) ([]byte,... method XXX_Merge (line 921) | func (m *RequestOp) XXX_Merge(src proto.Message) { method XXX_Size (line 924) | func (m *RequestOp) XXX_Size() int { method XXX_DiscardUnknown (line 927) | func (m *RequestOp) XXX_DiscardUnknown() { method GetRequest (line 957) | func (m *RequestOp) GetRequest() isRequestOp_Request { method GetRequestRange (line 964) | func (m *RequestOp) GetRequestRange() *RangeRequest { method GetRequestPut (line 971) | func (m *RequestOp) GetRequestPut() *PutRequest { method GetRequestDeleteRange (line 978) | func (m *RequestOp) GetRequestDeleteRange() *DeleteRangeRequest { method GetRequestTxn (line 985) | func (m *RequestOp) GetRequestTxn() *TxnRequest { method XXX_OneofWrappers (line 993) | func (*RequestOp) XXX_OneofWrappers() []interface{} { method Marshal (line 7066) | func (m *RequestOp) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7076) | func (m *RequestOp) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7081) | func (m *RequestOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11505) | func (m *RequestOp) Size() (n int) { method Unmarshal (line 14655) | func (m *RequestOp) Unmarshal(dAtA []byte) error { type isRequestOp_Request (line 933) | type isRequestOp_Request interface type RequestOp_RequestRange (line 939) | type RequestOp_RequestRange struct method isRequestOp_Request (line 952) | func (*RequestOp_RequestRange) isRequestOp_Request() {} method MarshalTo (line 7102) | func (m *RequestOp_RequestRange) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7107) | func (m *RequestOp_RequestRange) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 11520) | func (m *RequestOp_RequestRange) Size() (n int) { type RequestOp_RequestPut (line 942) | type RequestOp_RequestPut struct method isRequestOp_Request (line 953) | func (*RequestOp_RequestPut) isRequestOp_Request() {} method MarshalTo (line 7123) | func (m *RequestOp_RequestPut) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7128) | func (m *RequestOp_RequestPut) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 11532) | func (m *RequestOp_RequestPut) Size() (n int) { type RequestOp_RequestDeleteRange (line 945) | type RequestOp_RequestDeleteRange struct method isRequestOp_Request (line 954) | func (*RequestOp_RequestDeleteRange) isRequestOp_Request() {} method MarshalTo (line 7144) | func (m *RequestOp_RequestDeleteRange) MarshalTo(dAtA []byte) (int, er... method MarshalToSizedBuffer (line 7149) | func (m *RequestOp_RequestDeleteRange) MarshalToSizedBuffer(dAtA []byt... method Size (line 11544) | func (m *RequestOp_RequestDeleteRange) Size() (n int) { type RequestOp_RequestTxn (line 948) | type RequestOp_RequestTxn struct method isRequestOp_Request (line 955) | func (*RequestOp_RequestTxn) isRequestOp_Request() {} method MarshalTo (line 7165) | func (m *RequestOp_RequestTxn) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7170) | func (m *RequestOp_RequestTxn) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 11556) | func (m *RequestOp_RequestTxn) Size() (n int) { type ResponseOp (line 1002) | type ResponseOp struct method Reset (line 1016) | func (m *ResponseOp) Reset() { *m = ResponseOp{} } method String (line 1017) | func (m *ResponseOp) String() string { return proto.CompactTextString(... method ProtoMessage (line 1018) | func (*ResponseOp) ProtoMessage() {} method Descriptor (line 1019) | func (*ResponseOp) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1022) | func (m *ResponseOp) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1025) | func (m *ResponseOp) XXX_Marshal(b []byte, deterministic bool) ([]byte... method XXX_Merge (line 1037) | func (m *ResponseOp) XXX_Merge(src proto.Message) { method XXX_Size (line 1040) | func (m *ResponseOp) XXX_Size() int { method XXX_DiscardUnknown (line 1043) | func (m *ResponseOp) XXX_DiscardUnknown() { method GetResponse (line 1073) | func (m *ResponseOp) GetResponse() isResponseOp_Response { method GetResponseRange (line 1080) | func (m *ResponseOp) GetResponseRange() *RangeResponse { method GetResponsePut (line 1087) | func (m *ResponseOp) GetResponsePut() *PutResponse { method GetResponseDeleteRange (line 1094) | func (m *ResponseOp) GetResponseDeleteRange() *DeleteRangeResponse { method GetResponseTxn (line 1101) | func (m *ResponseOp) GetResponseTxn() *TxnResponse { method XXX_OneofWrappers (line 1109) | func (*ResponseOp) XXX_OneofWrappers() []interface{} { method Marshal (line 7186) | func (m *ResponseOp) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7196) | func (m *ResponseOp) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7201) | func (m *ResponseOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11568) | func (m *ResponseOp) Size() (n int) { method Unmarshal (line 14846) | func (m *ResponseOp) Unmarshal(dAtA []byte) error { type isResponseOp_Response (line 1049) | type isResponseOp_Response interface type ResponseOp_ResponseRange (line 1055) | type ResponseOp_ResponseRange struct method isResponseOp_Response (line 1068) | func (*ResponseOp_ResponseRange) isResponseOp_Response() {} method MarshalTo (line 7222) | func (m *ResponseOp_ResponseRange) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7227) | func (m *ResponseOp_ResponseRange) MarshalToSizedBuffer(dAtA []byte) (... method Size (line 11583) | func (m *ResponseOp_ResponseRange) Size() (n int) { type ResponseOp_ResponsePut (line 1058) | type ResponseOp_ResponsePut struct method isResponseOp_Response (line 1069) | func (*ResponseOp_ResponsePut) isResponseOp_Response() {} method MarshalTo (line 7243) | func (m *ResponseOp_ResponsePut) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7248) | func (m *ResponseOp_ResponsePut) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 11595) | func (m *ResponseOp_ResponsePut) Size() (n int) { type ResponseOp_ResponseDeleteRange (line 1061) | type ResponseOp_ResponseDeleteRange struct method isResponseOp_Response (line 1070) | func (*ResponseOp_ResponseDeleteRange) isResponseOp_Response() {} method MarshalTo (line 7264) | func (m *ResponseOp_ResponseDeleteRange) MarshalTo(dAtA []byte) (int, ... method MarshalToSizedBuffer (line 7269) | func (m *ResponseOp_ResponseDeleteRange) MarshalToSizedBuffer(dAtA []b... method Size (line 11607) | func (m *ResponseOp_ResponseDeleteRange) Size() (n int) { type ResponseOp_ResponseTxn (line 1064) | type ResponseOp_ResponseTxn struct method isResponseOp_Response (line 1071) | func (*ResponseOp_ResponseTxn) isResponseOp_Response() {} method MarshalTo (line 7285) | func (m *ResponseOp_ResponseTxn) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7290) | func (m *ResponseOp_ResponseTxn) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 11619) | func (m *ResponseOp_ResponseTxn) Size() (n int) { type Compare (line 1118) | type Compare struct method Reset (line 1140) | func (m *Compare) Reset() { *m = Compare{} } method String (line 1141) | func (m *Compare) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 1142) | func (*Compare) ProtoMessage() {} method Descriptor (line 1143) | func (*Compare) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1146) | func (m *Compare) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1149) | func (m *Compare) XXX_Marshal(b []byte, deterministic bool) ([]byte, e... method XXX_Merge (line 1161) | func (m *Compare) XXX_Merge(src proto.Message) { method XXX_Size (line 1164) | func (m *Compare) XXX_Size() int { method XXX_DiscardUnknown (line 1167) | func (m *Compare) XXX_DiscardUnknown() { method GetTargetUnion (line 1201) | func (m *Compare) GetTargetUnion() isCompare_TargetUnion { method GetResult (line 1208) | func (m *Compare) GetResult() Compare_CompareResult { method GetTarget (line 1215) | func (m *Compare) GetTarget() Compare_CompareTarget { method GetKey (line 1222) | func (m *Compare) GetKey() []byte { method GetVersion (line 1229) | func (m *Compare) GetVersion() int64 { method GetCreateRevision (line 1236) | func (m *Compare) GetCreateRevision() int64 { method GetModRevision (line 1243) | func (m *Compare) GetModRevision() int64 { method GetValue (line 1250) | func (m *Compare) GetValue() []byte { method GetLease (line 1257) | func (m *Compare) GetLease() int64 { method GetRangeEnd (line 1264) | func (m *Compare) GetRangeEnd() []byte { method XXX_OneofWrappers (line 1272) | func (*Compare) XXX_OneofWrappers() []interface{} { method Marshal (line 7306) | func (m *Compare) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7316) | func (m *Compare) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7321) | func (m *Compare) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11631) | func (m *Compare) Size() (n int) { method Unmarshal (line 15037) | func (m *Compare) Unmarshal(dAtA []byte) error { type isCompare_TargetUnion (line 1173) | type isCompare_TargetUnion interface type Compare_Version (line 1179) | type Compare_Version struct method isCompare_TargetUnion (line 1195) | func (*Compare_Version) isCompare_TargetUnion() {} method MarshalTo (line 7368) | func (m *Compare_Version) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7373) | func (m *Compare_Version) MarshalToSizedBuffer(dAtA []byte) (int, erro... method Size (line 11660) | func (m *Compare_Version) Size() (n int) { type Compare_CreateRevision (line 1182) | type Compare_CreateRevision struct method isCompare_TargetUnion (line 1196) | func (*Compare_CreateRevision) isCompare_TargetUnion() {} method MarshalTo (line 7380) | func (m *Compare_CreateRevision) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7385) | func (m *Compare_CreateRevision) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 11669) | func (m *Compare_CreateRevision) Size() (n int) { type Compare_ModRevision (line 1185) | type Compare_ModRevision struct method isCompare_TargetUnion (line 1197) | func (*Compare_ModRevision) isCompare_TargetUnion() {} method MarshalTo (line 7392) | func (m *Compare_ModRevision) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7397) | func (m *Compare_ModRevision) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 11678) | func (m *Compare_ModRevision) Size() (n int) { type Compare_Value (line 1188) | type Compare_Value struct method isCompare_TargetUnion (line 1198) | func (*Compare_Value) isCompare_TargetUnion() {} method MarshalTo (line 7404) | func (m *Compare_Value) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7409) | func (m *Compare_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11687) | func (m *Compare_Value) Size() (n int) { type Compare_Lease (line 1191) | type Compare_Lease struct method isCompare_TargetUnion (line 1199) | func (*Compare_Lease) isCompare_TargetUnion() {} method MarshalTo (line 7420) | func (m *Compare_Lease) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7425) | func (m *Compare_Lease) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11699) | func (m *Compare_Lease) Size() (n int) { type TxnRequest (line 1297) | type TxnRequest struct method Reset (line 1313) | func (m *TxnRequest) Reset() { *m = TxnRequest{} } method String (line 1314) | func (m *TxnRequest) String() string { return proto.CompactTextString(... method ProtoMessage (line 1315) | func (*TxnRequest) ProtoMessage() {} method Descriptor (line 1316) | func (*TxnRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1319) | func (m *TxnRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1322) | func (m *TxnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte... method XXX_Merge (line 1334) | func (m *TxnRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 1337) | func (m *TxnRequest) XXX_Size() int { method XXX_DiscardUnknown (line 1340) | func (m *TxnRequest) XXX_DiscardUnknown() { method GetCompare (line 1346) | func (m *TxnRequest) GetCompare() []*Compare { method GetSuccess (line 1353) | func (m *TxnRequest) GetSuccess() []*RequestOp { method GetFailure (line 1360) | func (m *TxnRequest) GetFailure() []*RequestOp { method Marshal (line 7432) | func (m *TxnRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7442) | func (m *TxnRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7447) | func (m *TxnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11708) | func (m *TxnRequest) Size() (n int) { method Unmarshal (line 15307) | func (m *TxnRequest) Unmarshal(dAtA []byte) error { type TxnResponse (line 1367) | type TxnResponse struct method Reset (line 1379) | func (m *TxnResponse) Reset() { *m = TxnResponse{} } method String (line 1380) | func (m *TxnResponse) String() string { return proto.CompactTextString... method ProtoMessage (line 1381) | func (*TxnResponse) ProtoMessage() {} method Descriptor (line 1382) | func (*TxnResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1385) | func (m *TxnResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1388) | func (m *TxnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt... method XXX_Merge (line 1400) | func (m *TxnResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 1403) | func (m *TxnResponse) XXX_Size() int { method XXX_DiscardUnknown (line 1406) | func (m *TxnResponse) XXX_DiscardUnknown() { method GetHeader (line 1412) | func (m *TxnResponse) GetHeader() *ResponseHeader { method GetSucceeded (line 1419) | func (m *TxnResponse) GetSucceeded() bool { method GetResponses (line 1426) | func (m *TxnResponse) GetResponses() []*ResponseOp { method Marshal (line 7501) | func (m *TxnResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7511) | func (m *TxnResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7516) | func (m *TxnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11738) | func (m *TxnResponse) Size() (n int) { method Unmarshal (line 15460) | func (m *TxnResponse) Unmarshal(dAtA []byte) error { type CompactionRequest (line 1435) | type CompactionRequest struct method Reset (line 1447) | func (m *CompactionRequest) Reset() { *m = CompactionRequest{} } method String (line 1448) | func (m *CompactionRequest) String() string { return proto.CompactText... method ProtoMessage (line 1449) | func (*CompactionRequest) ProtoMessage() {} method Descriptor (line 1450) | func (*CompactionRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1453) | func (m *CompactionRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1456) | func (m *CompactionRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 1468) | func (m *CompactionRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 1471) | func (m *CompactionRequest) XXX_Size() int { method XXX_DiscardUnknown (line 1474) | func (m *CompactionRequest) XXX_DiscardUnknown() { method GetRevision (line 1480) | func (m *CompactionRequest) GetRevision() int64 { method GetPhysical (line 1487) | func (m *CompactionRequest) GetPhysical() bool { method Marshal (line 7564) | func (m *CompactionRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7574) | func (m *CompactionRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7579) | func (m *CompactionRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 11763) | func (m *CompactionRequest) Size() (n int) { method Unmarshal (line 15601) | func (m *CompactionRequest) Unmarshal(dAtA []byte) error { type CompactionResponse (line 1494) | type CompactionResponse struct method Reset (line 1501) | func (m *CompactionResponse) Reset() { *m = CompactionResponse... method String (line 1502) | func (m *CompactionResponse) String() string { return proto.CompactTex... method ProtoMessage (line 1503) | func (*CompactionResponse) ProtoMessage() {} method Descriptor (line 1504) | func (*CompactionResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1507) | func (m *CompactionResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1510) | func (m *CompactionResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 1522) | func (m *CompactionResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 1525) | func (m *CompactionResponse) XXX_Size() int { method XXX_DiscardUnknown (line 1528) | func (m *CompactionResponse) XXX_DiscardUnknown() { method GetHeader (line 1534) | func (m *CompactionResponse) GetHeader() *ResponseHeader { method Marshal (line 7606) | func (m *CompactionResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7616) | func (m *CompactionResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7621) | func (m *CompactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 11781) | func (m *CompactionResponse) Size() (n int) { method Unmarshal (line 15691) | func (m *CompactionResponse) Unmarshal(dAtA []byte) error { type HashRequest (line 1541) | type HashRequest struct method Reset (line 1547) | func (m *HashRequest) Reset() { *m = HashRequest{} } method String (line 1548) | func (m *HashRequest) String() string { return proto.CompactTextString... method ProtoMessage (line 1549) | func (*HashRequest) ProtoMessage() {} method Descriptor (line 1550) | func (*HashRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1553) | func (m *HashRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1556) | func (m *HashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt... method XXX_Merge (line 1568) | func (m *HashRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 1571) | func (m *HashRequest) XXX_Size() int { method XXX_DiscardUnknown (line 1574) | func (m *HashRequest) XXX_DiscardUnknown() { method Marshal (line 7645) | func (m *HashRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7655) | func (m *HashRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7660) | func (m *HashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11797) | func (m *HashRequest) Size() (n int) { method Unmarshal (line 15778) | func (m *HashRequest) Unmarshal(dAtA []byte) error { type HashKVRequest (line 1580) | type HashKVRequest struct method Reset (line 1588) | func (m *HashKVRequest) Reset() { *m = HashKVRequest{} } method String (line 1589) | func (m *HashKVRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 1590) | func (*HashKVRequest) ProtoMessage() {} method Descriptor (line 1591) | func (*HashKVRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1594) | func (m *HashKVRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1597) | func (m *HashKVRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 1609) | func (m *HashKVRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 1612) | func (m *HashKVRequest) XXX_Size() int { method XXX_DiscardUnknown (line 1615) | func (m *HashKVRequest) XXX_DiscardUnknown() { method GetRevision (line 1621) | func (m *HashKVRequest) GetRevision() int64 { method Marshal (line 7672) | func (m *HashKVRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7682) | func (m *HashKVRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7687) | func (m *HashKVRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11809) | func (m *HashKVRequest) Size() (n int) { method Unmarshal (line 15829) | func (m *HashKVRequest) Unmarshal(dAtA []byte) error { type HashKVResponse (line 1628) | type HashKVResponse struct method Reset (line 1641) | func (m *HashKVResponse) Reset() { *m = HashKVResponse{} } method String (line 1642) | func (m *HashKVResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 1643) | func (*HashKVResponse) ProtoMessage() {} method Descriptor (line 1644) | func (*HashKVResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1647) | func (m *HashKVResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1650) | func (m *HashKVResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 1662) | func (m *HashKVResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 1665) | func (m *HashKVResponse) XXX_Size() int { method XXX_DiscardUnknown (line 1668) | func (m *HashKVResponse) XXX_DiscardUnknown() { method GetHeader (line 1674) | func (m *HashKVResponse) GetHeader() *ResponseHeader { method GetHash (line 1681) | func (m *HashKVResponse) GetHash() uint32 { method GetCompactRevision (line 1688) | func (m *HashKVResponse) GetCompactRevision() int64 { method GetHashRevision (line 1695) | func (m *HashKVResponse) GetHashRevision() int64 { method Marshal (line 7704) | func (m *HashKVResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7714) | func (m *HashKVResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7719) | func (m *HashKVResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11824) | func (m *HashKVResponse) Size() (n int) { method Unmarshal (line 15899) | func (m *HashKVResponse) Unmarshal(dAtA []byte) error { type HashResponse (line 1702) | type HashResponse struct method Reset (line 1711) | func (m *HashResponse) Reset() { *m = HashResponse{} } method String (line 1712) | func (m *HashResponse) String() string { return proto.CompactTextStrin... method ProtoMessage (line 1713) | func (*HashResponse) ProtoMessage() {} method Descriptor (line 1714) | func (*HashResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1717) | func (m *HashResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1720) | func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]by... method XXX_Merge (line 1732) | func (m *HashResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 1735) | func (m *HashResponse) XXX_Size() int { method XXX_DiscardUnknown (line 1738) | func (m *HashResponse) XXX_DiscardUnknown() { method GetHeader (line 1744) | func (m *HashResponse) GetHeader() *ResponseHeader { method GetHash (line 1751) | func (m *HashResponse) GetHash() uint32 { method Marshal (line 7758) | func (m *HashResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7768) | func (m *HashResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7773) | func (m *HashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11849) | func (m *HashResponse) Size() (n int) { method Unmarshal (line 16043) | func (m *HashResponse) Unmarshal(dAtA []byte) error { type SnapshotRequest (line 1758) | type SnapshotRequest struct method Reset (line 1764) | func (m *SnapshotRequest) Reset() { *m = SnapshotRequest{} } method String (line 1765) | func (m *SnapshotRequest) String() string { return proto.CompactTextSt... method ProtoMessage (line 1766) | func (*SnapshotRequest) ProtoMessage() {} method Descriptor (line 1767) | func (*SnapshotRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1770) | func (m *SnapshotRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1773) | func (m *SnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([... method XXX_Merge (line 1785) | func (m *SnapshotRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 1788) | func (m *SnapshotRequest) XXX_Size() int { method XXX_DiscardUnknown (line 1791) | func (m *SnapshotRequest) XXX_DiscardUnknown() { method Marshal (line 7802) | func (m *SnapshotRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7812) | func (m *SnapshotRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7817) | func (m *SnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro... method Size (line 11868) | func (m *SnapshotRequest) Size() (n int) { method Unmarshal (line 16149) | func (m *SnapshotRequest) Unmarshal(dAtA []byte) error { type SnapshotResponse (line 1797) | type SnapshotResponse struct method Reset (line 1814) | func (m *SnapshotResponse) Reset() { *m = SnapshotResponse{} } method String (line 1815) | func (m *SnapshotResponse) String() string { return proto.CompactTextS... method ProtoMessage (line 1816) | func (*SnapshotResponse) ProtoMessage() {} method Descriptor (line 1817) | func (*SnapshotResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1820) | func (m *SnapshotResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1823) | func (m *SnapshotResponse) XXX_Marshal(b []byte, deterministic bool) (... method XXX_Merge (line 1835) | func (m *SnapshotResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 1838) | func (m *SnapshotResponse) XXX_Size() int { method XXX_DiscardUnknown (line 1841) | func (m *SnapshotResponse) XXX_DiscardUnknown() { method GetHeader (line 1847) | func (m *SnapshotResponse) GetHeader() *ResponseHeader { method GetRemainingBytes (line 1854) | func (m *SnapshotResponse) GetRemainingBytes() uint64 { method GetBlob (line 1861) | func (m *SnapshotResponse) GetBlob() []byte { method GetVersion (line 1868) | func (m *SnapshotResponse) GetVersion() string { method Marshal (line 7829) | func (m *SnapshotResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7839) | func (m *SnapshotResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7844) | func (m *SnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, err... method Size (line 11880) | func (m *SnapshotResponse) Size() (n int) { method Unmarshal (line 16200) | func (m *SnapshotResponse) Unmarshal(dAtA []byte) error { type WatchRequest (line 1875) | type WatchRequest struct method Reset (line 1888) | func (m *WatchRequest) Reset() { *m = WatchRequest{} } method String (line 1889) | func (m *WatchRequest) String() string { return proto.CompactTextStrin... method ProtoMessage (line 1890) | func (*WatchRequest) ProtoMessage() {} method Descriptor (line 1891) | func (*WatchRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 1894) | func (m *WatchRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 1897) | func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]by... method XXX_Merge (line 1909) | func (m *WatchRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 1912) | func (m *WatchRequest) XXX_Size() int { method XXX_DiscardUnknown (line 1915) | func (m *WatchRequest) XXX_DiscardUnknown() { method GetRequestUnion (line 1941) | func (m *WatchRequest) GetRequestUnion() isWatchRequest_RequestUnion { method GetCreateRequest (line 1948) | func (m *WatchRequest) GetCreateRequest() *WatchCreateRequest { method GetCancelRequest (line 1955) | func (m *WatchRequest) GetCancelRequest() *WatchCancelRequest { method GetProgressRequest (line 1962) | func (m *WatchRequest) GetProgressRequest() *WatchProgressRequest { method XXX_OneofWrappers (line 1970) | func (*WatchRequest) XXX_OneofWrappers() []interface{} { method Marshal (line 7887) | func (m *WatchRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7897) | func (m *WatchRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 7902) | func (m *WatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 11907) | func (m *WatchRequest) Size() (n int) { method Unmarshal (line 16372) | func (m *WatchRequest) Unmarshal(dAtA []byte) error { type isWatchRequest_RequestUnion (line 1921) | type isWatchRequest_RequestUnion interface type WatchRequest_CreateRequest (line 1927) | type WatchRequest_CreateRequest struct method isWatchRequest_RequestUnion (line 1937) | func (*WatchRequest_CreateRequest) isWatchRequest_RequestUnion() {} method MarshalTo (line 7923) | func (m *WatchRequest_CreateRequest) MarshalTo(dAtA []byte) (int, erro... method MarshalToSizedBuffer (line 7928) | func (m *WatchRequest_CreateRequest) MarshalToSizedBuffer(dAtA []byte)... method Size (line 11922) | func (m *WatchRequest_CreateRequest) Size() (n int) { type WatchRequest_CancelRequest (line 1930) | type WatchRequest_CancelRequest struct method isWatchRequest_RequestUnion (line 1938) | func (*WatchRequest_CancelRequest) isWatchRequest_RequestUnion() {} method MarshalTo (line 7944) | func (m *WatchRequest_CancelRequest) MarshalTo(dAtA []byte) (int, erro... method MarshalToSizedBuffer (line 7949) | func (m *WatchRequest_CancelRequest) MarshalToSizedBuffer(dAtA []byte)... method Size (line 11934) | func (m *WatchRequest_CancelRequest) Size() (n int) { type WatchRequest_ProgressRequest (line 1933) | type WatchRequest_ProgressRequest struct method isWatchRequest_RequestUnion (line 1939) | func (*WatchRequest_ProgressRequest) isWatchRequest_RequestUnion() {} method MarshalTo (line 7965) | func (m *WatchRequest_ProgressRequest) MarshalTo(dAtA []byte) (int, er... method MarshalToSizedBuffer (line 7970) | func (m *WatchRequest_ProgressRequest) MarshalToSizedBuffer(dAtA []byt... method Size (line 11946) | func (m *WatchRequest_ProgressRequest) Size() (n int) { type WatchCreateRequest (line 1978) | type WatchCreateRequest struct method Reset (line 2012) | func (m *WatchCreateRequest) Reset() { *m = WatchCreateRequest... method String (line 2013) | func (m *WatchCreateRequest) String() string { return proto.CompactTex... method ProtoMessage (line 2014) | func (*WatchCreateRequest) ProtoMessage() {} method Descriptor (line 2015) | func (*WatchCreateRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2018) | func (m *WatchCreateRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2021) | func (m *WatchCreateRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 2033) | func (m *WatchCreateRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2036) | func (m *WatchCreateRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2039) | func (m *WatchCreateRequest) XXX_DiscardUnknown() { method GetKey (line 2045) | func (m *WatchCreateRequest) GetKey() []byte { method GetRangeEnd (line 2052) | func (m *WatchCreateRequest) GetRangeEnd() []byte { method GetStartRevision (line 2059) | func (m *WatchCreateRequest) GetStartRevision() int64 { method GetProgressNotify (line 2066) | func (m *WatchCreateRequest) GetProgressNotify() bool { method GetFilters (line 2073) | func (m *WatchCreateRequest) GetFilters() []WatchCreateRequest_FilterT... method GetPrevKv (line 2080) | func (m *WatchCreateRequest) GetPrevKv() bool { method GetWatchId (line 2087) | func (m *WatchCreateRequest) GetWatchId() int64 { method GetFragment (line 2094) | func (m *WatchCreateRequest) GetFragment() bool { method Marshal (line 7986) | func (m *WatchCreateRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 7996) | func (m *WatchCreateRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8001) | func (m *WatchCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 11958) | func (m *WatchCreateRequest) Size() (n int) { method Unmarshal (line 16528) | func (m *WatchCreateRequest) Unmarshal(dAtA []byte) error { type WatchCancelRequest (line 2101) | type WatchCancelRequest struct method Reset (line 2109) | func (m *WatchCancelRequest) Reset() { *m = WatchCancelRequest... method String (line 2110) | func (m *WatchCancelRequest) String() string { return proto.CompactTex... method ProtoMessage (line 2111) | func (*WatchCancelRequest) ProtoMessage() {} method Descriptor (line 2112) | func (*WatchCancelRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2115) | func (m *WatchCancelRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2118) | func (m *WatchCancelRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 2130) | func (m *WatchCancelRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2133) | func (m *WatchCancelRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2136) | func (m *WatchCancelRequest) XXX_DiscardUnknown() { method GetWatchId (line 2142) | func (m *WatchCancelRequest) GetWatchId() int64 { method Marshal (line 8085) | func (m *WatchCancelRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8095) | func (m *WatchCancelRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8100) | func (m *WatchCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12000) | func (m *WatchCancelRequest) Size() (n int) { method Unmarshal (line 16814) | func (m *WatchCancelRequest) Unmarshal(dAtA []byte) error { type WatchProgressRequest (line 2151) | type WatchProgressRequest struct method Reset (line 2157) | func (m *WatchProgressRequest) Reset() { *m = WatchProgressReq... method String (line 2158) | func (m *WatchProgressRequest) String() string { return proto.CompactT... method ProtoMessage (line 2159) | func (*WatchProgressRequest) ProtoMessage() {} method Descriptor (line 2160) | func (*WatchProgressRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2163) | func (m *WatchProgressRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2166) | func (m *WatchProgressRequest) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 2178) | func (m *WatchProgressRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2181) | func (m *WatchProgressRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2184) | func (m *WatchProgressRequest) XXX_DiscardUnknown() { method Marshal (line 8117) | func (m *WatchProgressRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8127) | func (m *WatchProgressRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8132) | func (m *WatchProgressRequest) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 12015) | func (m *WatchProgressRequest) Size() (n int) { method Unmarshal (line 16884) | func (m *WatchProgressRequest) Unmarshal(dAtA []byte) error { type WatchResponse (line 2190) | type WatchResponse struct method Reset (line 2222) | func (m *WatchResponse) Reset() { *m = WatchResponse{} } method String (line 2223) | func (m *WatchResponse) String() string { return proto.CompactTextStri... method ProtoMessage (line 2224) | func (*WatchResponse) ProtoMessage() {} method Descriptor (line 2225) | func (*WatchResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2228) | func (m *WatchResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2231) | func (m *WatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 2243) | func (m *WatchResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 2246) | func (m *WatchResponse) XXX_Size() int { method XXX_DiscardUnknown (line 2249) | func (m *WatchResponse) XXX_DiscardUnknown() { method GetHeader (line 2255) | func (m *WatchResponse) GetHeader() *ResponseHeader { method GetWatchId (line 2262) | func (m *WatchResponse) GetWatchId() int64 { method GetCreated (line 2269) | func (m *WatchResponse) GetCreated() bool { method GetCanceled (line 2276) | func (m *WatchResponse) GetCanceled() bool { method GetCompactRevision (line 2283) | func (m *WatchResponse) GetCompactRevision() int64 { method GetCancelReason (line 2290) | func (m *WatchResponse) GetCancelReason() string { method GetFragment (line 2297) | func (m *WatchResponse) GetFragment() bool { method GetEvents (line 2304) | func (m *WatchResponse) GetEvents() []*mvccpb.Event { method Marshal (line 8144) | func (m *WatchResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8154) | func (m *WatchResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8159) | func (m *WatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12027) | func (m *WatchResponse) Size() (n int) { method Unmarshal (line 16935) | func (m *WatchResponse) Unmarshal(dAtA []byte) error { type LeaseGrantRequest (line 2311) | type LeaseGrantRequest struct method Reset (line 2321) | func (m *LeaseGrantRequest) Reset() { *m = LeaseGrantRequest{} } method String (line 2322) | func (m *LeaseGrantRequest) String() string { return proto.CompactText... method ProtoMessage (line 2323) | func (*LeaseGrantRequest) ProtoMessage() {} method Descriptor (line 2324) | func (*LeaseGrantRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2327) | func (m *LeaseGrantRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2330) | func (m *LeaseGrantRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 2342) | func (m *LeaseGrantRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2345) | func (m *LeaseGrantRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2348) | func (m *LeaseGrantRequest) XXX_DiscardUnknown() { method GetTTL (line 2354) | func (m *LeaseGrantRequest) GetTTL() int64 { method GetID (line 2361) | func (m *LeaseGrantRequest) GetID() int64 { method Marshal (line 8244) | func (m *LeaseGrantRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8254) | func (m *LeaseGrantRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8259) | func (m *LeaseGrantRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12068) | func (m *LeaseGrantRequest) Size() (n int) { method Unmarshal (line 17186) | func (m *LeaseGrantRequest) Unmarshal(dAtA []byte) error { type LeaseGrantResponse (line 2368) | type LeaseGrantResponse struct method Reset (line 2380) | func (m *LeaseGrantResponse) Reset() { *m = LeaseGrantResponse... method String (line 2381) | func (m *LeaseGrantResponse) String() string { return proto.CompactTex... method ProtoMessage (line 2382) | func (*LeaseGrantResponse) ProtoMessage() {} method Descriptor (line 2383) | func (*LeaseGrantResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2386) | func (m *LeaseGrantResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2389) | func (m *LeaseGrantResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 2401) | func (m *LeaseGrantResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 2404) | func (m *LeaseGrantResponse) XXX_Size() int { method XXX_DiscardUnknown (line 2407) | func (m *LeaseGrantResponse) XXX_DiscardUnknown() { method GetHeader (line 2413) | func (m *LeaseGrantResponse) GetHeader() *ResponseHeader { method GetID (line 2420) | func (m *LeaseGrantResponse) GetID() int64 { method GetTTL (line 2427) | func (m *LeaseGrantResponse) GetTTL() int64 { method GetError (line 2434) | func (m *LeaseGrantResponse) GetError() string { method Marshal (line 8281) | func (m *LeaseGrantResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8291) | func (m *LeaseGrantResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8296) | func (m *LeaseGrantResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12086) | func (m *LeaseGrantResponse) Size() (n int) { method Unmarshal (line 17275) | func (m *LeaseGrantResponse) Unmarshal(dAtA []byte) error { type LeaseRevokeRequest (line 2441) | type LeaseRevokeRequest struct method Reset (line 2449) | func (m *LeaseRevokeRequest) Reset() { *m = LeaseRevokeRequest... method String (line 2450) | func (m *LeaseRevokeRequest) String() string { return proto.CompactTex... method ProtoMessage (line 2451) | func (*LeaseRevokeRequest) ProtoMessage() {} method Descriptor (line 2452) | func (*LeaseRevokeRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2455) | func (m *LeaseRevokeRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2458) | func (m *LeaseRevokeRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 2470) | func (m *LeaseRevokeRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2473) | func (m *LeaseRevokeRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2476) | func (m *LeaseRevokeRequest) XXX_DiscardUnknown() { method GetID (line 2482) | func (m *LeaseRevokeRequest) GetID() int64 { method Marshal (line 8337) | func (m *LeaseRevokeRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8347) | func (m *LeaseRevokeRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8352) | func (m *LeaseRevokeRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12112) | func (m *LeaseRevokeRequest) Size() (n int) { method Unmarshal (line 17432) | func (m *LeaseRevokeRequest) Unmarshal(dAtA []byte) error { type LeaseRevokeResponse (line 2489) | type LeaseRevokeResponse struct method Reset (line 2496) | func (m *LeaseRevokeResponse) Reset() { *m = LeaseRevokeRespon... method String (line 2497) | func (m *LeaseRevokeResponse) String() string { return proto.CompactTe... method ProtoMessage (line 2498) | func (*LeaseRevokeResponse) ProtoMessage() {} method Descriptor (line 2499) | func (*LeaseRevokeResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2502) | func (m *LeaseRevokeResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2505) | func (m *LeaseRevokeResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 2517) | func (m *LeaseRevokeResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 2520) | func (m *LeaseRevokeResponse) XXX_Size() int { method XXX_DiscardUnknown (line 2523) | func (m *LeaseRevokeResponse) XXX_DiscardUnknown() { method GetHeader (line 2529) | func (m *LeaseRevokeResponse) GetHeader() *ResponseHeader { method Marshal (line 8369) | func (m *LeaseRevokeResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8379) | func (m *LeaseRevokeResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8384) | func (m *LeaseRevokeResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 12127) | func (m *LeaseRevokeResponse) Size() (n int) { method Unmarshal (line 17502) | func (m *LeaseRevokeResponse) Unmarshal(dAtA []byte) error { type LeaseCheckpoint (line 2536) | type LeaseCheckpoint struct method Reset (line 2546) | func (m *LeaseCheckpoint) Reset() { *m = LeaseCheckpoint{} } method String (line 2547) | func (m *LeaseCheckpoint) String() string { return proto.CompactTextSt... method ProtoMessage (line 2548) | func (*LeaseCheckpoint) ProtoMessage() {} method Descriptor (line 2549) | func (*LeaseCheckpoint) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2552) | func (m *LeaseCheckpoint) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2555) | func (m *LeaseCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([... method XXX_Merge (line 2567) | func (m *LeaseCheckpoint) XXX_Merge(src proto.Message) { method XXX_Size (line 2570) | func (m *LeaseCheckpoint) XXX_Size() int { method XXX_DiscardUnknown (line 2573) | func (m *LeaseCheckpoint) XXX_DiscardUnknown() { method GetID (line 2579) | func (m *LeaseCheckpoint) GetID() int64 { method GetRemaining_TTL (line 2586) | func (m *LeaseCheckpoint) GetRemaining_TTL() int64 { method Marshal (line 8408) | func (m *LeaseCheckpoint) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8418) | func (m *LeaseCheckpoint) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8423) | func (m *LeaseCheckpoint) MarshalToSizedBuffer(dAtA []byte) (int, erro... method Size (line 12143) | func (m *LeaseCheckpoint) Size() (n int) { method Unmarshal (line 17589) | func (m *LeaseCheckpoint) Unmarshal(dAtA []byte) error { type LeaseCheckpointRequest (line 2593) | type LeaseCheckpointRequest struct method Reset (line 2600) | func (m *LeaseCheckpointRequest) Reset() { *m = LeaseCheckpoin... method String (line 2601) | func (m *LeaseCheckpointRequest) String() string { return proto.Compac... method ProtoMessage (line 2602) | func (*LeaseCheckpointRequest) ProtoMessage() {} method Descriptor (line 2603) | func (*LeaseCheckpointRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2606) | func (m *LeaseCheckpointRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2609) | func (m *LeaseCheckpointRequest) XXX_Marshal(b []byte, deterministic b... method XXX_Merge (line 2621) | func (m *LeaseCheckpointRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2624) | func (m *LeaseCheckpointRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2627) | func (m *LeaseCheckpointRequest) XXX_DiscardUnknown() { method GetCheckpoints (line 2633) | func (m *LeaseCheckpointRequest) GetCheckpoints() []*LeaseCheckpoint { method Marshal (line 8445) | func (m *LeaseCheckpointRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8455) | func (m *LeaseCheckpointRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8460) | func (m *LeaseCheckpointRequest) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 12161) | func (m *LeaseCheckpointRequest) Size() (n int) { method Unmarshal (line 17678) | func (m *LeaseCheckpointRequest) Unmarshal(dAtA []byte) error { type LeaseCheckpointResponse (line 2640) | type LeaseCheckpointResponse struct method Reset (line 2647) | func (m *LeaseCheckpointResponse) Reset() { *m = LeaseCheckpoi... method String (line 2648) | func (m *LeaseCheckpointResponse) String() string { return proto.Compa... method ProtoMessage (line 2649) | func (*LeaseCheckpointResponse) ProtoMessage() {} method Descriptor (line 2650) | func (*LeaseCheckpointResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2653) | func (m *LeaseCheckpointResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2656) | func (m *LeaseCheckpointResponse) XXX_Marshal(b []byte, deterministic ... method XXX_Merge (line 2668) | func (m *LeaseCheckpointResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 2671) | func (m *LeaseCheckpointResponse) XXX_Size() int { method XXX_DiscardUnknown (line 2674) | func (m *LeaseCheckpointResponse) XXX_DiscardUnknown() { method GetHeader (line 2680) | func (m *LeaseCheckpointResponse) GetHeader() *ResponseHeader { method Marshal (line 8486) | func (m *LeaseCheckpointResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8496) | func (m *LeaseCheckpointResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8501) | func (m *LeaseCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (i... method Size (line 12179) | func (m *LeaseCheckpointResponse) Size() (n int) { method Unmarshal (line 17763) | func (m *LeaseCheckpointResponse) Unmarshal(dAtA []byte) error { type LeaseKeepAliveRequest (line 2687) | type LeaseKeepAliveRequest struct method Reset (line 2695) | func (m *LeaseKeepAliveRequest) Reset() { *m = LeaseKeepAliveR... method String (line 2696) | func (m *LeaseKeepAliveRequest) String() string { return proto.Compact... method ProtoMessage (line 2697) | func (*LeaseKeepAliveRequest) ProtoMessage() {} method Descriptor (line 2698) | func (*LeaseKeepAliveRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2701) | func (m *LeaseKeepAliveRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2704) | func (m *LeaseKeepAliveRequest) XXX_Marshal(b []byte, deterministic bo... method XXX_Merge (line 2716) | func (m *LeaseKeepAliveRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2719) | func (m *LeaseKeepAliveRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2722) | func (m *LeaseKeepAliveRequest) XXX_DiscardUnknown() { method GetID (line 2728) | func (m *LeaseKeepAliveRequest) GetID() int64 { method Marshal (line 8525) | func (m *LeaseKeepAliveRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8535) | func (m *LeaseKeepAliveRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8540) | func (m *LeaseKeepAliveRequest) MarshalToSizedBuffer(dAtA []byte) (int... method Size (line 12195) | func (m *LeaseKeepAliveRequest) Size() (n int) { method Unmarshal (line 17850) | func (m *LeaseKeepAliveRequest) Unmarshal(dAtA []byte) error { type LeaseKeepAliveResponse (line 2735) | type LeaseKeepAliveResponse struct method Reset (line 2746) | func (m *LeaseKeepAliveResponse) Reset() { *m = LeaseKeepAlive... method String (line 2747) | func (m *LeaseKeepAliveResponse) String() string { return proto.Compac... method ProtoMessage (line 2748) | func (*LeaseKeepAliveResponse) ProtoMessage() {} method Descriptor (line 2749) | func (*LeaseKeepAliveResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2752) | func (m *LeaseKeepAliveResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2755) | func (m *LeaseKeepAliveResponse) XXX_Marshal(b []byte, deterministic b... method XXX_Merge (line 2767) | func (m *LeaseKeepAliveResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 2770) | func (m *LeaseKeepAliveResponse) XXX_Size() int { method XXX_DiscardUnknown (line 2773) | func (m *LeaseKeepAliveResponse) XXX_DiscardUnknown() { method GetHeader (line 2779) | func (m *LeaseKeepAliveResponse) GetHeader() *ResponseHeader { method GetID (line 2786) | func (m *LeaseKeepAliveResponse) GetID() int64 { method GetTTL (line 2793) | func (m *LeaseKeepAliveResponse) GetTTL() int64 { method Marshal (line 8557) | func (m *LeaseKeepAliveResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8567) | func (m *LeaseKeepAliveResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8572) | func (m *LeaseKeepAliveResponse) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 12210) | func (m *LeaseKeepAliveResponse) Size() (n int) { method Unmarshal (line 17920) | func (m *LeaseKeepAliveResponse) Unmarshal(dAtA []byte) error { type LeaseTimeToLiveRequest (line 2800) | type LeaseTimeToLiveRequest struct method Reset (line 2810) | func (m *LeaseTimeToLiveRequest) Reset() { *m = LeaseTimeToLiv... method String (line 2811) | func (m *LeaseTimeToLiveRequest) String() string { return proto.Compac... method ProtoMessage (line 2812) | func (*LeaseTimeToLiveRequest) ProtoMessage() {} method Descriptor (line 2813) | func (*LeaseTimeToLiveRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2816) | func (m *LeaseTimeToLiveRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2819) | func (m *LeaseTimeToLiveRequest) XXX_Marshal(b []byte, deterministic b... method XXX_Merge (line 2831) | func (m *LeaseTimeToLiveRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2834) | func (m *LeaseTimeToLiveRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2837) | func (m *LeaseTimeToLiveRequest) XXX_DiscardUnknown() { method GetID (line 2843) | func (m *LeaseTimeToLiveRequest) GetID() int64 { method GetKeys (line 2850) | func (m *LeaseTimeToLiveRequest) GetKeys() bool { method Marshal (line 8606) | func (m *LeaseTimeToLiveRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8616) | func (m *LeaseTimeToLiveRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8621) | func (m *LeaseTimeToLiveRequest) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 12232) | func (m *LeaseTimeToLiveRequest) Size() (n int) { method Unmarshal (line 18045) | func (m *LeaseTimeToLiveRequest) Unmarshal(dAtA []byte) error { type LeaseTimeToLiveResponse (line 2857) | type LeaseTimeToLiveResponse struct method Reset (line 2872) | func (m *LeaseTimeToLiveResponse) Reset() { *m = LeaseTimeToLi... method String (line 2873) | func (m *LeaseTimeToLiveResponse) String() string { return proto.Compa... method ProtoMessage (line 2874) | func (*LeaseTimeToLiveResponse) ProtoMessage() {} method Descriptor (line 2875) | func (*LeaseTimeToLiveResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2878) | func (m *LeaseTimeToLiveResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2881) | func (m *LeaseTimeToLiveResponse) XXX_Marshal(b []byte, deterministic ... method XXX_Merge (line 2893) | func (m *LeaseTimeToLiveResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 2896) | func (m *LeaseTimeToLiveResponse) XXX_Size() int { method XXX_DiscardUnknown (line 2899) | func (m *LeaseTimeToLiveResponse) XXX_DiscardUnknown() { method GetHeader (line 2905) | func (m *LeaseTimeToLiveResponse) GetHeader() *ResponseHeader { method GetID (line 2912) | func (m *LeaseTimeToLiveResponse) GetID() int64 { method GetTTL (line 2919) | func (m *LeaseTimeToLiveResponse) GetTTL() int64 { method GetGrantedTTL (line 2926) | func (m *LeaseTimeToLiveResponse) GetGrantedTTL() int64 { method GetKeys (line 2933) | func (m *LeaseTimeToLiveResponse) GetKeys() [][]byte { method Marshal (line 8648) | func (m *LeaseTimeToLiveResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8658) | func (m *LeaseTimeToLiveResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8663) | func (m *LeaseTimeToLiveResponse) MarshalToSizedBuffer(dAtA []byte) (i... method Size (line 12250) | func (m *LeaseTimeToLiveResponse) Size() (n int) { method Unmarshal (line 18135) | func (m *LeaseTimeToLiveResponse) Unmarshal(dAtA []byte) error { type LeaseLeasesRequest (line 2940) | type LeaseLeasesRequest struct method Reset (line 2946) | func (m *LeaseLeasesRequest) Reset() { *m = LeaseLeasesRequest... method String (line 2947) | func (m *LeaseLeasesRequest) String() string { return proto.CompactTex... method ProtoMessage (line 2948) | func (*LeaseLeasesRequest) ProtoMessage() {} method Descriptor (line 2949) | func (*LeaseLeasesRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2952) | func (m *LeaseLeasesRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2955) | func (m *LeaseLeasesRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 2967) | func (m *LeaseLeasesRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 2970) | func (m *LeaseLeasesRequest) XXX_Size() int { method XXX_DiscardUnknown (line 2973) | func (m *LeaseLeasesRequest) XXX_DiscardUnknown() { method Marshal (line 8711) | func (m *LeaseLeasesRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8721) | func (m *LeaseLeasesRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8726) | func (m *LeaseLeasesRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12281) | func (m *LeaseLeasesRequest) Size() (n int) { method Unmarshal (line 18311) | func (m *LeaseLeasesRequest) Unmarshal(dAtA []byte) error { type LeaseStatus (line 2979) | type LeaseStatus struct method Reset (line 2986) | func (m *LeaseStatus) Reset() { *m = LeaseStatus{} } method String (line 2987) | func (m *LeaseStatus) String() string { return proto.CompactTextString... method ProtoMessage (line 2988) | func (*LeaseStatus) ProtoMessage() {} method Descriptor (line 2989) | func (*LeaseStatus) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 2992) | func (m *LeaseStatus) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 2995) | func (m *LeaseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byt... method XXX_Merge (line 3007) | func (m *LeaseStatus) XXX_Merge(src proto.Message) { method XXX_Size (line 3010) | func (m *LeaseStatus) XXX_Size() int { method XXX_DiscardUnknown (line 3013) | func (m *LeaseStatus) XXX_DiscardUnknown() { method GetID (line 3019) | func (m *LeaseStatus) GetID() int64 { method Marshal (line 8738) | func (m *LeaseStatus) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8748) | func (m *LeaseStatus) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8753) | func (m *LeaseStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12293) | func (m *LeaseStatus) Size() (n int) { method Unmarshal (line 18362) | func (m *LeaseStatus) Unmarshal(dAtA []byte) error { type LeaseLeasesResponse (line 3026) | type LeaseLeasesResponse struct method Reset (line 3034) | func (m *LeaseLeasesResponse) Reset() { *m = LeaseLeasesRespon... method String (line 3035) | func (m *LeaseLeasesResponse) String() string { return proto.CompactTe... method ProtoMessage (line 3036) | func (*LeaseLeasesResponse) ProtoMessage() {} method Descriptor (line 3037) | func (*LeaseLeasesResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3040) | func (m *LeaseLeasesResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3043) | func (m *LeaseLeasesResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 3055) | func (m *LeaseLeasesResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3058) | func (m *LeaseLeasesResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3061) | func (m *LeaseLeasesResponse) XXX_DiscardUnknown() { method GetHeader (line 3067) | func (m *LeaseLeasesResponse) GetHeader() *ResponseHeader { method GetLeases (line 3074) | func (m *LeaseLeasesResponse) GetLeases() []*LeaseStatus { method Marshal (line 8770) | func (m *LeaseLeasesResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8780) | func (m *LeaseLeasesResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8785) | func (m *LeaseLeasesResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 12308) | func (m *LeaseLeasesResponse) Size() (n int) { method Unmarshal (line 18432) | func (m *LeaseLeasesResponse) Unmarshal(dAtA []byte) error { type Member (line 3081) | type Member struct method Reset (line 3097) | func (m *Member) Reset() { *m = Member{} } method String (line 3098) | func (m *Member) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 3099) | func (*Member) ProtoMessage() {} method Descriptor (line 3100) | func (*Member) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3103) | func (m *Member) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3106) | func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, er... method XXX_Merge (line 3118) | func (m *Member) XXX_Merge(src proto.Message) { method XXX_Size (line 3121) | func (m *Member) XXX_Size() int { method XXX_DiscardUnknown (line 3124) | func (m *Member) XXX_DiscardUnknown() { method GetID (line 3130) | func (m *Member) GetID() uint64 { method GetName (line 3137) | func (m *Member) GetName() string { method GetPeerURLs (line 3144) | func (m *Member) GetPeerURLs() []string { method GetClientURLs (line 3151) | func (m *Member) GetClientURLs() []string { method GetIsLearner (line 3158) | func (m *Member) GetIsLearner() bool { method Marshal (line 8823) | func (m *Member) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8833) | func (m *Member) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8838) | func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12330) | func (m *Member) Size() (n int) { method Unmarshal (line 18553) | func (m *Member) Unmarshal(dAtA []byte) error { type MemberAddRequest (line 3165) | type MemberAddRequest struct method Reset (line 3175) | func (m *MemberAddRequest) Reset() { *m = MemberAddRequest{} } method String (line 3176) | func (m *MemberAddRequest) String() string { return proto.CompactTextS... method ProtoMessage (line 3177) | func (*MemberAddRequest) ProtoMessage() {} method Descriptor (line 3178) | func (*MemberAddRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3181) | func (m *MemberAddRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3184) | func (m *MemberAddRequest) XXX_Marshal(b []byte, deterministic bool) (... method XXX_Merge (line 3196) | func (m *MemberAddRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3199) | func (m *MemberAddRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3202) | func (m *MemberAddRequest) XXX_DiscardUnknown() { method GetPeerURLs (line 3208) | func (m *MemberAddRequest) GetPeerURLs() []string { method GetIsLearner (line 3215) | func (m *MemberAddRequest) GetIsLearner() bool { method Marshal (line 8890) | func (m *MemberAddRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8900) | func (m *MemberAddRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8905) | func (m *MemberAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, err... method Size (line 12364) | func (m *MemberAddRequest) Size() (n int) { method Unmarshal (line 18739) | func (m *MemberAddRequest) Unmarshal(dAtA []byte) error { type MemberAddResponse (line 3222) | type MemberAddResponse struct method Reset (line 3233) | func (m *MemberAddResponse) Reset() { *m = MemberAddResponse{} } method String (line 3234) | func (m *MemberAddResponse) String() string { return proto.CompactText... method ProtoMessage (line 3235) | func (*MemberAddResponse) ProtoMessage() {} method Descriptor (line 3236) | func (*MemberAddResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3239) | func (m *MemberAddResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3242) | func (m *MemberAddResponse) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 3254) | func (m *MemberAddResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3257) | func (m *MemberAddResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3260) | func (m *MemberAddResponse) XXX_DiscardUnknown() { method GetHeader (line 3266) | func (m *MemberAddResponse) GetHeader() *ResponseHeader { method GetMember (line 3273) | func (m *MemberAddResponse) GetMember() *Member { method GetMembers (line 3280) | func (m *MemberAddResponse) GetMembers() []*Member { method Marshal (line 8936) | func (m *MemberAddResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 8946) | func (m *MemberAddResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 8951) | func (m *MemberAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12385) | func (m *MemberAddResponse) Size() (n int) { method Unmarshal (line 18842) | func (m *MemberAddResponse) Unmarshal(dAtA []byte) error { type MemberRemoveRequest (line 3287) | type MemberRemoveRequest struct method Reset (line 3295) | func (m *MemberRemoveRequest) Reset() { *m = MemberRemoveReque... method String (line 3296) | func (m *MemberRemoveRequest) String() string { return proto.CompactTe... method ProtoMessage (line 3297) | func (*MemberRemoveRequest) ProtoMessage() {} method Descriptor (line 3298) | func (*MemberRemoveRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3301) | func (m *MemberRemoveRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3304) | func (m *MemberRemoveRequest) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 3316) | func (m *MemberRemoveRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3319) | func (m *MemberRemoveRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3322) | func (m *MemberRemoveRequest) XXX_DiscardUnknown() { method GetID (line 3328) | func (m *MemberRemoveRequest) GetID() uint64 { method Marshal (line 9001) | func (m *MemberRemoveRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9011) | func (m *MemberRemoveRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9016) | func (m *MemberRemoveRequest) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 12411) | func (m *MemberRemoveRequest) Size() (n int) { method Unmarshal (line 18999) | func (m *MemberRemoveRequest) Unmarshal(dAtA []byte) error { type MemberRemoveResponse (line 3335) | type MemberRemoveResponse struct method Reset (line 3344) | func (m *MemberRemoveResponse) Reset() { *m = MemberRemoveResp... method String (line 3345) | func (m *MemberRemoveResponse) String() string { return proto.CompactT... method ProtoMessage (line 3346) | func (*MemberRemoveResponse) ProtoMessage() {} method Descriptor (line 3347) | func (*MemberRemoveResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3350) | func (m *MemberRemoveResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3353) | func (m *MemberRemoveResponse) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 3365) | func (m *MemberRemoveResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3368) | func (m *MemberRemoveResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3371) | func (m *MemberRemoveResponse) XXX_DiscardUnknown() { method GetHeader (line 3377) | func (m *MemberRemoveResponse) GetHeader() *ResponseHeader { method GetMembers (line 3384) | func (m *MemberRemoveResponse) GetMembers() []*Member { method Marshal (line 9033) | func (m *MemberRemoveResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9043) | func (m *MemberRemoveResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9048) | func (m *MemberRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 12426) | func (m *MemberRemoveResponse) Size() (n int) { method Unmarshal (line 19069) | func (m *MemberRemoveResponse) Unmarshal(dAtA []byte) error { type MemberUpdateRequest (line 3391) | type MemberUpdateRequest struct method Reset (line 3401) | func (m *MemberUpdateRequest) Reset() { *m = MemberUpdateReque... method String (line 3402) | func (m *MemberUpdateRequest) String() string { return proto.CompactTe... method ProtoMessage (line 3403) | func (*MemberUpdateRequest) ProtoMessage() {} method Descriptor (line 3404) | func (*MemberUpdateRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3407) | func (m *MemberUpdateRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3410) | func (m *MemberUpdateRequest) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 3422) | func (m *MemberUpdateRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3425) | func (m *MemberUpdateRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3428) | func (m *MemberUpdateRequest) XXX_DiscardUnknown() { method GetID (line 3434) | func (m *MemberUpdateRequest) GetID() uint64 { method GetPeerURLs (line 3441) | func (m *MemberUpdateRequest) GetPeerURLs() []string { method Marshal (line 9086) | func (m *MemberUpdateRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9096) | func (m *MemberUpdateRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9101) | func (m *MemberUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 12448) | func (m *MemberUpdateRequest) Size() (n int) { method Unmarshal (line 19190) | func (m *MemberUpdateRequest) Unmarshal(dAtA []byte) error { type MemberUpdateResponse (line 3448) | type MemberUpdateResponse struct method Reset (line 3457) | func (m *MemberUpdateResponse) Reset() { *m = MemberUpdateResp... method String (line 3458) | func (m *MemberUpdateResponse) String() string { return proto.CompactT... method ProtoMessage (line 3459) | func (*MemberUpdateResponse) ProtoMessage() {} method Descriptor (line 3460) | func (*MemberUpdateResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3463) | func (m *MemberUpdateResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3466) | func (m *MemberUpdateResponse) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 3478) | func (m *MemberUpdateResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3481) | func (m *MemberUpdateResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3484) | func (m *MemberUpdateResponse) XXX_DiscardUnknown() { method GetHeader (line 3490) | func (m *MemberUpdateResponse) GetHeader() *ResponseHeader { method GetMembers (line 3497) | func (m *MemberUpdateResponse) GetMembers() []*Member { method Marshal (line 9127) | func (m *MemberUpdateResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9137) | func (m *MemberUpdateResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9142) | func (m *MemberUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 12469) | func (m *MemberUpdateResponse) Size() (n int) { method Unmarshal (line 19292) | func (m *MemberUpdateResponse) Unmarshal(dAtA []byte) error { type MemberListRequest (line 3504) | type MemberListRequest struct method Reset (line 3511) | func (m *MemberListRequest) Reset() { *m = MemberListRequest{} } method String (line 3512) | func (m *MemberListRequest) String() string { return proto.CompactText... method ProtoMessage (line 3513) | func (*MemberListRequest) ProtoMessage() {} method Descriptor (line 3514) | func (*MemberListRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3517) | func (m *MemberListRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3520) | func (m *MemberListRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 3532) | func (m *MemberListRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3535) | func (m *MemberListRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3538) | func (m *MemberListRequest) XXX_DiscardUnknown() { method GetLinearizable (line 3544) | func (m *MemberListRequest) GetLinearizable() bool { method Marshal (line 9180) | func (m *MemberListRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9190) | func (m *MemberListRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9195) | func (m *MemberListRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12491) | func (m *MemberListRequest) Size() (n int) { method Unmarshal (line 19413) | func (m *MemberListRequest) Unmarshal(dAtA []byte) error { type MemberListResponse (line 3551) | type MemberListResponse struct method Reset (line 3560) | func (m *MemberListResponse) Reset() { *m = MemberListResponse... method String (line 3561) | func (m *MemberListResponse) String() string { return proto.CompactTex... method ProtoMessage (line 3562) | func (*MemberListResponse) ProtoMessage() {} method Descriptor (line 3563) | func (*MemberListResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3566) | func (m *MemberListResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3569) | func (m *MemberListResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 3581) | func (m *MemberListResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3584) | func (m *MemberListResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3587) | func (m *MemberListResponse) XXX_DiscardUnknown() { method GetHeader (line 3593) | func (m *MemberListResponse) GetHeader() *ResponseHeader { method GetMembers (line 3600) | func (m *MemberListResponse) GetMembers() []*Member { method Marshal (line 9217) | func (m *MemberListResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9227) | func (m *MemberListResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9232) | func (m *MemberListResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12506) | func (m *MemberListResponse) Size() (n int) { method Unmarshal (line 19484) | func (m *MemberListResponse) Unmarshal(dAtA []byte) error { type MemberPromoteRequest (line 3607) | type MemberPromoteRequest struct method Reset (line 3615) | func (m *MemberPromoteRequest) Reset() { *m = MemberPromoteReq... method String (line 3616) | func (m *MemberPromoteRequest) String() string { return proto.CompactT... method ProtoMessage (line 3617) | func (*MemberPromoteRequest) ProtoMessage() {} method Descriptor (line 3618) | func (*MemberPromoteRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3621) | func (m *MemberPromoteRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3624) | func (m *MemberPromoteRequest) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 3636) | func (m *MemberPromoteRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3639) | func (m *MemberPromoteRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3642) | func (m *MemberPromoteRequest) XXX_DiscardUnknown() { method GetID (line 3648) | func (m *MemberPromoteRequest) GetID() uint64 { method Marshal (line 9270) | func (m *MemberPromoteRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9280) | func (m *MemberPromoteRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9285) | func (m *MemberPromoteRequest) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 12528) | func (m *MemberPromoteRequest) Size() (n int) { method Unmarshal (line 19605) | func (m *MemberPromoteRequest) Unmarshal(dAtA []byte) error { type MemberPromoteResponse (line 3655) | type MemberPromoteResponse struct method Reset (line 3664) | func (m *MemberPromoteResponse) Reset() { *m = MemberPromoteRe... method String (line 3665) | func (m *MemberPromoteResponse) String() string { return proto.Compact... method ProtoMessage (line 3666) | func (*MemberPromoteResponse) ProtoMessage() {} method Descriptor (line 3667) | func (*MemberPromoteResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3670) | func (m *MemberPromoteResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3673) | func (m *MemberPromoteResponse) XXX_Marshal(b []byte, deterministic bo... method XXX_Merge (line 3685) | func (m *MemberPromoteResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3688) | func (m *MemberPromoteResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3691) | func (m *MemberPromoteResponse) XXX_DiscardUnknown() { method GetHeader (line 3697) | func (m *MemberPromoteResponse) GetHeader() *ResponseHeader { method GetMembers (line 3704) | func (m *MemberPromoteResponse) GetMembers() []*Member { method Marshal (line 9302) | func (m *MemberPromoteResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9312) | func (m *MemberPromoteResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9317) | func (m *MemberPromoteResponse) MarshalToSizedBuffer(dAtA []byte) (int... method Size (line 12543) | func (m *MemberPromoteResponse) Size() (n int) { method Unmarshal (line 19675) | func (m *MemberPromoteResponse) Unmarshal(dAtA []byte) error { type DefragmentRequest (line 3711) | type DefragmentRequest struct method Reset (line 3717) | func (m *DefragmentRequest) Reset() { *m = DefragmentRequest{} } method String (line 3718) | func (m *DefragmentRequest) String() string { return proto.CompactText... method ProtoMessage (line 3719) | func (*DefragmentRequest) ProtoMessage() {} method Descriptor (line 3720) | func (*DefragmentRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3723) | func (m *DefragmentRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3726) | func (m *DefragmentRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 3738) | func (m *DefragmentRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3741) | func (m *DefragmentRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3744) | func (m *DefragmentRequest) XXX_DiscardUnknown() { method Marshal (line 9355) | func (m *DefragmentRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9365) | func (m *DefragmentRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9370) | func (m *DefragmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12565) | func (m *DefragmentRequest) Size() (n int) { method Unmarshal (line 19796) | func (m *DefragmentRequest) Unmarshal(dAtA []byte) error { type DefragmentResponse (line 3750) | type DefragmentResponse struct method Reset (line 3757) | func (m *DefragmentResponse) Reset() { *m = DefragmentResponse... method String (line 3758) | func (m *DefragmentResponse) String() string { return proto.CompactTex... method ProtoMessage (line 3759) | func (*DefragmentResponse) ProtoMessage() {} method Descriptor (line 3760) | func (*DefragmentResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3763) | func (m *DefragmentResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3766) | func (m *DefragmentResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 3778) | func (m *DefragmentResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3781) | func (m *DefragmentResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3784) | func (m *DefragmentResponse) XXX_DiscardUnknown() { method GetHeader (line 3790) | func (m *DefragmentResponse) GetHeader() *ResponseHeader { method Marshal (line 9382) | func (m *DefragmentResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9392) | func (m *DefragmentResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9397) | func (m *DefragmentResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12577) | func (m *DefragmentResponse) Size() (n int) { method Unmarshal (line 19847) | func (m *DefragmentResponse) Unmarshal(dAtA []byte) error { type MoveLeaderRequest (line 3797) | type MoveLeaderRequest struct method Reset (line 3805) | func (m *MoveLeaderRequest) Reset() { *m = MoveLeaderRequest{} } method String (line 3806) | func (m *MoveLeaderRequest) String() string { return proto.CompactText... method ProtoMessage (line 3807) | func (*MoveLeaderRequest) ProtoMessage() {} method Descriptor (line 3808) | func (*MoveLeaderRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3811) | func (m *MoveLeaderRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3814) | func (m *MoveLeaderRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 3826) | func (m *MoveLeaderRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3829) | func (m *MoveLeaderRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3832) | func (m *MoveLeaderRequest) XXX_DiscardUnknown() { method GetTargetID (line 3838) | func (m *MoveLeaderRequest) GetTargetID() uint64 { method Marshal (line 9421) | func (m *MoveLeaderRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9431) | func (m *MoveLeaderRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9436) | func (m *MoveLeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12593) | func (m *MoveLeaderRequest) Size() (n int) { method Unmarshal (line 19934) | func (m *MoveLeaderRequest) Unmarshal(dAtA []byte) error { type MoveLeaderResponse (line 3845) | type MoveLeaderResponse struct method Reset (line 3852) | func (m *MoveLeaderResponse) Reset() { *m = MoveLeaderResponse... method String (line 3853) | func (m *MoveLeaderResponse) String() string { return proto.CompactTex... method ProtoMessage (line 3854) | func (*MoveLeaderResponse) ProtoMessage() {} method Descriptor (line 3855) | func (*MoveLeaderResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3858) | func (m *MoveLeaderResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3861) | func (m *MoveLeaderResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 3873) | func (m *MoveLeaderResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 3876) | func (m *MoveLeaderResponse) XXX_Size() int { method XXX_DiscardUnknown (line 3879) | func (m *MoveLeaderResponse) XXX_DiscardUnknown() { method GetHeader (line 3885) | func (m *MoveLeaderResponse) GetHeader() *ResponseHeader { method Marshal (line 9453) | func (m *MoveLeaderResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9463) | func (m *MoveLeaderResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9468) | func (m *MoveLeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12608) | func (m *MoveLeaderResponse) Size() (n int) { method Unmarshal (line 20004) | func (m *MoveLeaderResponse) Unmarshal(dAtA []byte) error { type AlarmRequest (line 3892) | type AlarmRequest struct method Reset (line 3907) | func (m *AlarmRequest) Reset() { *m = AlarmRequest{} } method String (line 3908) | func (m *AlarmRequest) String() string { return proto.CompactTextStrin... method ProtoMessage (line 3909) | func (*AlarmRequest) ProtoMessage() {} method Descriptor (line 3910) | func (*AlarmRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3913) | func (m *AlarmRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3916) | func (m *AlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]by... method XXX_Merge (line 3928) | func (m *AlarmRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 3931) | func (m *AlarmRequest) XXX_Size() int { method XXX_DiscardUnknown (line 3934) | func (m *AlarmRequest) XXX_DiscardUnknown() { method GetAction (line 3940) | func (m *AlarmRequest) GetAction() AlarmRequest_AlarmAction { method GetMemberID (line 3947) | func (m *AlarmRequest) GetMemberID() uint64 { method GetAlarm (line 3954) | func (m *AlarmRequest) GetAlarm() AlarmType { method Marshal (line 9492) | func (m *AlarmRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9502) | func (m *AlarmRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9507) | func (m *AlarmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12624) | func (m *AlarmRequest) Size() (n int) { method Unmarshal (line 20091) | func (m *AlarmRequest) Unmarshal(dAtA []byte) error { type AlarmMember (line 3961) | type AlarmMember struct method Reset (line 3971) | func (m *AlarmMember) Reset() { *m = AlarmMember{} } method String (line 3972) | func (m *AlarmMember) String() string { return proto.CompactTextString... method ProtoMessage (line 3973) | func (*AlarmMember) ProtoMessage() {} method Descriptor (line 3974) | func (*AlarmMember) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 3977) | func (m *AlarmMember) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 3980) | func (m *AlarmMember) XXX_Marshal(b []byte, deterministic bool) ([]byt... method XXX_Merge (line 3992) | func (m *AlarmMember) XXX_Merge(src proto.Message) { method XXX_Size (line 3995) | func (m *AlarmMember) XXX_Size() int { method XXX_DiscardUnknown (line 3998) | func (m *AlarmMember) XXX_DiscardUnknown() { method GetMemberID (line 4004) | func (m *AlarmMember) GetMemberID() uint64 { method GetAlarm (line 4011) | func (m *AlarmMember) GetAlarm() AlarmType { method Marshal (line 9534) | func (m *AlarmMember) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9544) | func (m *AlarmMember) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9549) | func (m *AlarmMember) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12645) | func (m *AlarmMember) Size() (n int) { method Unmarshal (line 20199) | func (m *AlarmMember) Unmarshal(dAtA []byte) error { type AlarmResponse (line 4018) | type AlarmResponse struct method Reset (line 4027) | func (m *AlarmResponse) Reset() { *m = AlarmResponse{} } method String (line 4028) | func (m *AlarmResponse) String() string { return proto.CompactTextStri... method ProtoMessage (line 4029) | func (*AlarmResponse) ProtoMessage() {} method Descriptor (line 4030) | func (*AlarmResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4033) | func (m *AlarmResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4036) | func (m *AlarmResponse) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 4048) | func (m *AlarmResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 4051) | func (m *AlarmResponse) XXX_Size() int { method XXX_DiscardUnknown (line 4054) | func (m *AlarmResponse) XXX_DiscardUnknown() { method GetHeader (line 4060) | func (m *AlarmResponse) GetHeader() *ResponseHeader { method GetAlarms (line 4067) | func (m *AlarmResponse) GetAlarms() []*AlarmMember { method Marshal (line 9571) | func (m *AlarmResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9581) | func (m *AlarmResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9586) | func (m *AlarmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12663) | func (m *AlarmResponse) Size() (n int) { method Unmarshal (line 20288) | func (m *AlarmResponse) Unmarshal(dAtA []byte) error { type DowngradeRequest (line 4074) | type DowngradeRequest struct method Reset (line 4086) | func (m *DowngradeRequest) Reset() { *m = DowngradeRequest{} } method String (line 4087) | func (m *DowngradeRequest) String() string { return proto.CompactTextS... method ProtoMessage (line 4088) | func (*DowngradeRequest) ProtoMessage() {} method Descriptor (line 4089) | func (*DowngradeRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4092) | func (m *DowngradeRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4095) | func (m *DowngradeRequest) XXX_Marshal(b []byte, deterministic bool) (... method XXX_Merge (line 4107) | func (m *DowngradeRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4110) | func (m *DowngradeRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4113) | func (m *DowngradeRequest) XXX_DiscardUnknown() { method GetAction (line 4119) | func (m *DowngradeRequest) GetAction() DowngradeRequest_DowngradeAction { method GetVersion (line 4126) | func (m *DowngradeRequest) GetVersion() string { method Marshal (line 9624) | func (m *DowngradeRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9634) | func (m *DowngradeRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9639) | func (m *DowngradeRequest) MarshalToSizedBuffer(dAtA []byte) (int, err... method Size (line 12685) | func (m *DowngradeRequest) Size() (n int) { method Unmarshal (line 20409) | func (m *DowngradeRequest) Unmarshal(dAtA []byte) error { type DowngradeResponse (line 4133) | type DowngradeResponse struct method Reset (line 4142) | func (m *DowngradeResponse) Reset() { *m = DowngradeResponse{} } method String (line 4143) | func (m *DowngradeResponse) String() string { return proto.CompactText... method ProtoMessage (line 4144) | func (*DowngradeResponse) ProtoMessage() {} method Descriptor (line 4145) | func (*DowngradeResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4148) | func (m *DowngradeResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4151) | func (m *DowngradeResponse) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 4163) | func (m *DowngradeResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 4166) | func (m *DowngradeResponse) XXX_Size() int { method XXX_DiscardUnknown (line 4169) | func (m *DowngradeResponse) XXX_DiscardUnknown() { method GetHeader (line 4175) | func (m *DowngradeResponse) GetHeader() *ResponseHeader { method GetVersion (line 4182) | func (m *DowngradeResponse) GetVersion() string { method Marshal (line 9663) | func (m *DowngradeResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9673) | func (m *DowngradeResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9678) | func (m *DowngradeResponse) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12704) | func (m *DowngradeResponse) Size() (n int) { method Unmarshal (line 20511) | func (m *DowngradeResponse) Unmarshal(dAtA []byte) error { type DowngradeVersionTestRequest (line 4193) | type DowngradeVersionTestRequest struct method Reset (line 4200) | func (m *DowngradeVersionTestRequest) Reset() { *m = Downgrade... method String (line 4201) | func (m *DowngradeVersionTestRequest) String() string { return proto.C... method ProtoMessage (line 4202) | func (*DowngradeVersionTestRequest) ProtoMessage() {} method Descriptor (line 4203) | func (*DowngradeVersionTestRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4206) | func (m *DowngradeVersionTestRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4209) | func (m *DowngradeVersionTestRequest) XXX_Marshal(b []byte, determinis... method XXX_Merge (line 4221) | func (m *DowngradeVersionTestRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4224) | func (m *DowngradeVersionTestRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4227) | func (m *DowngradeVersionTestRequest) XXX_DiscardUnknown() { method GetVer (line 4233) | func (m *DowngradeVersionTestRequest) GetVer() string { method Marshal (line 9709) | func (m *DowngradeVersionTestRequest) Marshal() (dAtA []byte, err erro... method MarshalTo (line 9719) | func (m *DowngradeVersionTestRequest) MarshalTo(dAtA []byte) (int, err... method MarshalToSizedBuffer (line 9724) | func (m *DowngradeVersionTestRequest) MarshalToSizedBuffer(dAtA []byte... method Size (line 12724) | func (m *DowngradeVersionTestRequest) Size() (n int) { method Unmarshal (line 20630) | func (m *DowngradeVersionTestRequest) Unmarshal(dAtA []byte) error { type StatusRequest (line 4240) | type StatusRequest struct method Reset (line 4246) | func (m *StatusRequest) Reset() { *m = StatusRequest{} } method String (line 4247) | func (m *StatusRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 4248) | func (*StatusRequest) ProtoMessage() {} method Descriptor (line 4249) | func (*StatusRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4252) | func (m *StatusRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4255) | func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 4267) | func (m *StatusRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4270) | func (m *StatusRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4273) | func (m *StatusRequest) XXX_DiscardUnknown() { method Marshal (line 9743) | func (m *StatusRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9753) | func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9758) | func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12740) | func (m *StatusRequest) Size() (n int) { method Unmarshal (line 20713) | func (m *StatusRequest) Unmarshal(dAtA []byte) error { type StatusResponse (line 4279) | type StatusResponse struct method Reset (line 4310) | func (m *StatusResponse) Reset() { *m = StatusResponse{} } method String (line 4311) | func (m *StatusResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 4312) | func (*StatusResponse) ProtoMessage() {} method Descriptor (line 4313) | func (*StatusResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4316) | func (m *StatusResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4319) | func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 4331) | func (m *StatusResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 4334) | func (m *StatusResponse) XXX_Size() int { method XXX_DiscardUnknown (line 4337) | func (m *StatusResponse) XXX_DiscardUnknown() { method GetHeader (line 4343) | func (m *StatusResponse) GetHeader() *ResponseHeader { method GetVersion (line 4350) | func (m *StatusResponse) GetVersion() string { method GetDbSize (line 4357) | func (m *StatusResponse) GetDbSize() int64 { method GetLeader (line 4364) | func (m *StatusResponse) GetLeader() uint64 { method GetRaftIndex (line 4371) | func (m *StatusResponse) GetRaftIndex() uint64 { method GetRaftTerm (line 4378) | func (m *StatusResponse) GetRaftTerm() uint64 { method GetRaftAppliedIndex (line 4385) | func (m *StatusResponse) GetRaftAppliedIndex() uint64 { method GetErrors (line 4392) | func (m *StatusResponse) GetErrors() []string { method GetDbSizeInUse (line 4399) | func (m *StatusResponse) GetDbSizeInUse() int64 { method GetIsLearner (line 4406) | func (m *StatusResponse) GetIsLearner() bool { method GetStorageVersion (line 4413) | func (m *StatusResponse) GetStorageVersion() string { method GetDbSizeQuota (line 4420) | func (m *StatusResponse) GetDbSizeQuota() int64 { method GetDowngradeInfo (line 4427) | func (m *StatusResponse) GetDowngradeInfo() *DowngradeInfo { method Marshal (line 9770) | func (m *StatusResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9780) | func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9785) | func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12752) | func (m *StatusResponse) Size() (n int) { method Unmarshal (line 20764) | func (m *StatusResponse) Unmarshal(dAtA []byte) error { type DowngradeInfo (line 4434) | type DowngradeInfo struct method Reset (line 4444) | func (m *DowngradeInfo) Reset() { *m = DowngradeInfo{} } method String (line 4445) | func (m *DowngradeInfo) String() string { return proto.CompactTextStri... method ProtoMessage (line 4446) | func (*DowngradeInfo) ProtoMessage() {} method Descriptor (line 4447) | func (*DowngradeInfo) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4450) | func (m *DowngradeInfo) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4453) | func (m *DowngradeInfo) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 4465) | func (m *DowngradeInfo) XXX_Merge(src proto.Message) { method XXX_Size (line 4468) | func (m *DowngradeInfo) XXX_Size() int { method XXX_DiscardUnknown (line 4471) | func (m *DowngradeInfo) XXX_DiscardUnknown() { method GetEnabled (line 4477) | func (m *DowngradeInfo) GetEnabled() bool { method GetTargetVersion (line 4484) | func (m *DowngradeInfo) GetTargetVersion() string { method Marshal (line 9889) | func (m *DowngradeInfo) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9899) | func (m *DowngradeInfo) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9904) | func (m *DowngradeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 12810) | func (m *DowngradeInfo) Size() (n int) { method Unmarshal (line 21136) | func (m *DowngradeInfo) Unmarshal(dAtA []byte) error { type AuthEnableRequest (line 4491) | type AuthEnableRequest struct method Reset (line 4497) | func (m *AuthEnableRequest) Reset() { *m = AuthEnableRequest{} } method String (line 4498) | func (m *AuthEnableRequest) String() string { return proto.CompactText... method ProtoMessage (line 4499) | func (*AuthEnableRequest) ProtoMessage() {} method Descriptor (line 4500) | func (*AuthEnableRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4503) | func (m *AuthEnableRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4506) | func (m *AuthEnableRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 4518) | func (m *AuthEnableRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4521) | func (m *AuthEnableRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4524) | func (m *AuthEnableRequest) XXX_DiscardUnknown() { method Marshal (line 9933) | func (m *AuthEnableRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9943) | func (m *AuthEnableRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9948) | func (m *AuthEnableRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12829) | func (m *AuthEnableRequest) Size() (n int) { method Unmarshal (line 21239) | func (m *AuthEnableRequest) Unmarshal(dAtA []byte) error { type AuthDisableRequest (line 4530) | type AuthDisableRequest struct method Reset (line 4536) | func (m *AuthDisableRequest) Reset() { *m = AuthDisableRequest... method String (line 4537) | func (m *AuthDisableRequest) String() string { return proto.CompactTex... method ProtoMessage (line 4538) | func (*AuthDisableRequest) ProtoMessage() {} method Descriptor (line 4539) | func (*AuthDisableRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4542) | func (m *AuthDisableRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4545) | func (m *AuthDisableRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 4557) | func (m *AuthDisableRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4560) | func (m *AuthDisableRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4563) | func (m *AuthDisableRequest) XXX_DiscardUnknown() { method Marshal (line 9960) | func (m *AuthDisableRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9970) | func (m *AuthDisableRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 9975) | func (m *AuthDisableRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12841) | func (m *AuthDisableRequest) Size() (n int) { method Unmarshal (line 21290) | func (m *AuthDisableRequest) Unmarshal(dAtA []byte) error { type AuthStatusRequest (line 4569) | type AuthStatusRequest struct method Reset (line 4575) | func (m *AuthStatusRequest) Reset() { *m = AuthStatusRequest{} } method String (line 4576) | func (m *AuthStatusRequest) String() string { return proto.CompactText... method ProtoMessage (line 4577) | func (*AuthStatusRequest) ProtoMessage() {} method Descriptor (line 4578) | func (*AuthStatusRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4581) | func (m *AuthStatusRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4584) | func (m *AuthStatusRequest) XXX_Marshal(b []byte, deterministic bool) ... method XXX_Merge (line 4596) | func (m *AuthStatusRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4599) | func (m *AuthStatusRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4602) | func (m *AuthStatusRequest) XXX_DiscardUnknown() { method Marshal (line 9987) | func (m *AuthStatusRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 9997) | func (m *AuthStatusRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10002) | func (m *AuthStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, er... method Size (line 12853) | func (m *AuthStatusRequest) Size() (n int) { method Unmarshal (line 21341) | func (m *AuthStatusRequest) Unmarshal(dAtA []byte) error { type AuthenticateRequest (line 4608) | type AuthenticateRequest struct method Reset (line 4616) | func (m *AuthenticateRequest) Reset() { *m = AuthenticateReque... method String (line 4617) | func (m *AuthenticateRequest) String() string { return proto.CompactTe... method ProtoMessage (line 4618) | func (*AuthenticateRequest) ProtoMessage() {} method Descriptor (line 4619) | func (*AuthenticateRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4622) | func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4625) | func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 4637) | func (m *AuthenticateRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4640) | func (m *AuthenticateRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4643) | func (m *AuthenticateRequest) XXX_DiscardUnknown() { method GetName (line 4649) | func (m *AuthenticateRequest) GetName() string { method GetPassword (line 4656) | func (m *AuthenticateRequest) GetPassword() string { method Marshal (line 10014) | func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10024) | func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10029) | func (m *AuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 12865) | func (m *AuthenticateRequest) Size() (n int) { method Unmarshal (line 21392) | func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error { type AuthUserAddRequest (line 4663) | type AuthUserAddRequest struct method Reset (line 4673) | func (m *AuthUserAddRequest) Reset() { *m = AuthUserAddRequest... method String (line 4674) | func (m *AuthUserAddRequest) String() string { return proto.CompactTex... method ProtoMessage (line 4675) | func (*AuthUserAddRequest) ProtoMessage() {} method Descriptor (line 4676) | func (*AuthUserAddRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4679) | func (m *AuthUserAddRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4682) | func (m *AuthUserAddRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 4694) | func (m *AuthUserAddRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4697) | func (m *AuthUserAddRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4700) | func (m *AuthUserAddRequest) XXX_DiscardUnknown() { method GetName (line 4706) | func (m *AuthUserAddRequest) GetName() string { method GetPassword (line 4713) | func (m *AuthUserAddRequest) GetPassword() string { method GetOptions (line 4720) | func (m *AuthUserAddRequest) GetOptions() *authpb.UserAddOptions { method GetHashedPassword (line 4727) | func (m *AuthUserAddRequest) GetHashedPassword() string { method Marshal (line 10055) | func (m *AuthUserAddRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10065) | func (m *AuthUserAddRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10070) | func (m *AuthUserAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12885) | func (m *AuthUserAddRequest) Size() (n int) { method Unmarshal (line 21507) | func (m *AuthUserAddRequest) Unmarshal(dAtA []byte) error { type AuthUserGetRequest (line 4734) | type AuthUserGetRequest struct method Reset (line 4741) | func (m *AuthUserGetRequest) Reset() { *m = AuthUserGetRequest... method String (line 4742) | func (m *AuthUserGetRequest) String() string { return proto.CompactTex... method ProtoMessage (line 4743) | func (*AuthUserGetRequest) ProtoMessage() {} method Descriptor (line 4744) | func (*AuthUserGetRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4747) | func (m *AuthUserGetRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4750) | func (m *AuthUserGetRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 4762) | func (m *AuthUserGetRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4765) | func (m *AuthUserGetRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4768) | func (m *AuthUserGetRequest) XXX_DiscardUnknown() { method GetName (line 4774) | func (m *AuthUserGetRequest) GetName() string { method Marshal (line 10115) | func (m *AuthUserGetRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10125) | func (m *AuthUserGetRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10130) | func (m *AuthUserGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 12913) | func (m *AuthUserGetRequest) Size() (n int) { method Unmarshal (line 21690) | func (m *AuthUserGetRequest) Unmarshal(dAtA []byte) error { type AuthUserDeleteRequest (line 4781) | type AuthUserDeleteRequest struct method Reset (line 4789) | func (m *AuthUserDeleteRequest) Reset() { *m = AuthUserDeleteR... method String (line 4790) | func (m *AuthUserDeleteRequest) String() string { return proto.Compact... method ProtoMessage (line 4791) | func (*AuthUserDeleteRequest) ProtoMessage() {} method Descriptor (line 4792) | func (*AuthUserDeleteRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4795) | func (m *AuthUserDeleteRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4798) | func (m *AuthUserDeleteRequest) XXX_Marshal(b []byte, deterministic bo... method XXX_Merge (line 4810) | func (m *AuthUserDeleteRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4813) | func (m *AuthUserDeleteRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4816) | func (m *AuthUserDeleteRequest) XXX_DiscardUnknown() { method GetName (line 4822) | func (m *AuthUserDeleteRequest) GetName() string { method Marshal (line 10149) | func (m *AuthUserDeleteRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10159) | func (m *AuthUserDeleteRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10164) | func (m *AuthUserDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int... method Size (line 12929) | func (m *AuthUserDeleteRequest) Size() (n int) { method Unmarshal (line 21773) | func (m *AuthUserDeleteRequest) Unmarshal(dAtA []byte) error { type AuthUserChangePasswordRequest (line 4829) | type AuthUserChangePasswordRequest struct method Reset (line 4841) | func (m *AuthUserChangePasswordRequest) Reset() { *m = AuthUse... method String (line 4842) | func (m *AuthUserChangePasswordRequest) String() string { return proto... method ProtoMessage (line 4843) | func (*AuthUserChangePasswordRequest) ProtoMessage() {} method Descriptor (line 4844) | func (*AuthUserChangePasswordRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4847) | func (m *AuthUserChangePasswordRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4850) | func (m *AuthUserChangePasswordRequest) XXX_Marshal(b []byte, determin... method XXX_Merge (line 4862) | func (m *AuthUserChangePasswordRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4865) | func (m *AuthUserChangePasswordRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4868) | func (m *AuthUserChangePasswordRequest) XXX_DiscardUnknown() { method GetName (line 4874) | func (m *AuthUserChangePasswordRequest) GetName() string { method GetPassword (line 4881) | func (m *AuthUserChangePasswordRequest) GetPassword() string { method GetHashedPassword (line 4888) | func (m *AuthUserChangePasswordRequest) GetHashedPassword() string { method Marshal (line 10183) | func (m *AuthUserChangePasswordRequest) Marshal() (dAtA []byte, err er... method MarshalTo (line 10193) | func (m *AuthUserChangePasswordRequest) MarshalTo(dAtA []byte) (int, e... method MarshalToSizedBuffer (line 10198) | func (m *AuthUserChangePasswordRequest) MarshalToSizedBuffer(dAtA []by... method Size (line 12945) | func (m *AuthUserChangePasswordRequest) Size() (n int) { method Unmarshal (line 21856) | func (m *AuthUserChangePasswordRequest) Unmarshal(dAtA []byte) error { type AuthUserGrantRoleRequest (line 4895) | type AuthUserGrantRoleRequest struct method Reset (line 4905) | func (m *AuthUserGrantRoleRequest) Reset() { *m = AuthUserGran... method String (line 4906) | func (m *AuthUserGrantRoleRequest) String() string { return proto.Comp... method ProtoMessage (line 4907) | func (*AuthUserGrantRoleRequest) ProtoMessage() {} method Descriptor (line 4908) | func (*AuthUserGrantRoleRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4911) | func (m *AuthUserGrantRoleRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4914) | func (m *AuthUserGrantRoleRequest) XXX_Marshal(b []byte, deterministic... method XXX_Merge (line 4926) | func (m *AuthUserGrantRoleRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4929) | func (m *AuthUserGrantRoleRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4932) | func (m *AuthUserGrantRoleRequest) XXX_DiscardUnknown() { method GetUser (line 4938) | func (m *AuthUserGrantRoleRequest) GetUser() string { method GetRole (line 4945) | func (m *AuthUserGrantRoleRequest) GetRole() string { method Marshal (line 10231) | func (m *AuthUserGrantRoleRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10241) | func (m *AuthUserGrantRoleRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10246) | func (m *AuthUserGrantRoleRequest) MarshalToSizedBuffer(dAtA []byte) (... method Size (line 12969) | func (m *AuthUserGrantRoleRequest) Size() (n int) { method Unmarshal (line 22003) | func (m *AuthUserGrantRoleRequest) Unmarshal(dAtA []byte) error { type AuthUserRevokeRoleRequest (line 4952) | type AuthUserRevokeRoleRequest struct method Reset (line 4960) | func (m *AuthUserRevokeRoleRequest) Reset() { *m = AuthUserRev... method String (line 4961) | func (m *AuthUserRevokeRoleRequest) String() string { return proto.Com... method ProtoMessage (line 4962) | func (*AuthUserRevokeRoleRequest) ProtoMessage() {} method Descriptor (line 4963) | func (*AuthUserRevokeRoleRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 4966) | func (m *AuthUserRevokeRoleRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 4969) | func (m *AuthUserRevokeRoleRequest) XXX_Marshal(b []byte, deterministi... method XXX_Merge (line 4981) | func (m *AuthUserRevokeRoleRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 4984) | func (m *AuthUserRevokeRoleRequest) XXX_Size() int { method XXX_DiscardUnknown (line 4987) | func (m *AuthUserRevokeRoleRequest) XXX_DiscardUnknown() { method GetName (line 4993) | func (m *AuthUserRevokeRoleRequest) GetName() string { method GetRole (line 5000) | func (m *AuthUserRevokeRoleRequest) GetRole() string { method Marshal (line 10272) | func (m *AuthUserRevokeRoleRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10282) | func (m *AuthUserRevokeRoleRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10287) | func (m *AuthUserRevokeRoleRequest) MarshalToSizedBuffer(dAtA []byte) ... method Size (line 12989) | func (m *AuthUserRevokeRoleRequest) Size() (n int) { method Unmarshal (line 22118) | func (m *AuthUserRevokeRoleRequest) Unmarshal(dAtA []byte) error { type AuthRoleAddRequest (line 5007) | type AuthRoleAddRequest struct method Reset (line 5015) | func (m *AuthRoleAddRequest) Reset() { *m = AuthRoleAddRequest... method String (line 5016) | func (m *AuthRoleAddRequest) String() string { return proto.CompactTex... method ProtoMessage (line 5017) | func (*AuthRoleAddRequest) ProtoMessage() {} method Descriptor (line 5018) | func (*AuthRoleAddRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5021) | func (m *AuthRoleAddRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5024) | func (m *AuthRoleAddRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 5036) | func (m *AuthRoleAddRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5039) | func (m *AuthRoleAddRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5042) | func (m *AuthRoleAddRequest) XXX_DiscardUnknown() { method GetName (line 5048) | func (m *AuthRoleAddRequest) GetName() string { method Marshal (line 10313) | func (m *AuthRoleAddRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10323) | func (m *AuthRoleAddRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10328) | func (m *AuthRoleAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 13009) | func (m *AuthRoleAddRequest) Size() (n int) { method Unmarshal (line 22233) | func (m *AuthRoleAddRequest) Unmarshal(dAtA []byte) error { type AuthRoleGetRequest (line 5055) | type AuthRoleGetRequest struct method Reset (line 5062) | func (m *AuthRoleGetRequest) Reset() { *m = AuthRoleGetRequest... method String (line 5063) | func (m *AuthRoleGetRequest) String() string { return proto.CompactTex... method ProtoMessage (line 5064) | func (*AuthRoleGetRequest) ProtoMessage() {} method Descriptor (line 5065) | func (*AuthRoleGetRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5068) | func (m *AuthRoleGetRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5071) | func (m *AuthRoleGetRequest) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 5083) | func (m *AuthRoleGetRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5086) | func (m *AuthRoleGetRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5089) | func (m *AuthRoleGetRequest) XXX_DiscardUnknown() { method GetRole (line 5095) | func (m *AuthRoleGetRequest) GetRole() string { method Marshal (line 10347) | func (m *AuthRoleGetRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10357) | func (m *AuthRoleGetRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10362) | func (m *AuthRoleGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 13025) | func (m *AuthRoleGetRequest) Size() (n int) { method Unmarshal (line 22316) | func (m *AuthRoleGetRequest) Unmarshal(dAtA []byte) error { type AuthUserListRequest (line 5102) | type AuthUserListRequest struct method Reset (line 5108) | func (m *AuthUserListRequest) Reset() { *m = AuthUserListReque... method String (line 5109) | func (m *AuthUserListRequest) String() string { return proto.CompactTe... method ProtoMessage (line 5110) | func (*AuthUserListRequest) ProtoMessage() {} method Descriptor (line 5111) | func (*AuthUserListRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5114) | func (m *AuthUserListRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5117) | func (m *AuthUserListRequest) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5129) | func (m *AuthUserListRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5132) | func (m *AuthUserListRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5135) | func (m *AuthUserListRequest) XXX_DiscardUnknown() { method Marshal (line 10381) | func (m *AuthUserListRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10391) | func (m *AuthUserListRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10396) | func (m *AuthUserListRequest) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13041) | func (m *AuthUserListRequest) Size() (n int) { method Unmarshal (line 22399) | func (m *AuthUserListRequest) Unmarshal(dAtA []byte) error { type AuthRoleListRequest (line 5141) | type AuthRoleListRequest struct method Reset (line 5147) | func (m *AuthRoleListRequest) Reset() { *m = AuthRoleListReque... method String (line 5148) | func (m *AuthRoleListRequest) String() string { return proto.CompactTe... method ProtoMessage (line 5149) | func (*AuthRoleListRequest) ProtoMessage() {} method Descriptor (line 5150) | func (*AuthRoleListRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5153) | func (m *AuthRoleListRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5156) | func (m *AuthRoleListRequest) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5168) | func (m *AuthRoleListRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5171) | func (m *AuthRoleListRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5174) | func (m *AuthRoleListRequest) XXX_DiscardUnknown() { method Marshal (line 10408) | func (m *AuthRoleListRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10418) | func (m *AuthRoleListRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10423) | func (m *AuthRoleListRequest) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13053) | func (m *AuthRoleListRequest) Size() (n int) { method Unmarshal (line 22450) | func (m *AuthRoleListRequest) Unmarshal(dAtA []byte) error { type AuthRoleDeleteRequest (line 5180) | type AuthRoleDeleteRequest struct method Reset (line 5187) | func (m *AuthRoleDeleteRequest) Reset() { *m = AuthRoleDeleteR... method String (line 5188) | func (m *AuthRoleDeleteRequest) String() string { return proto.Compact... method ProtoMessage (line 5189) | func (*AuthRoleDeleteRequest) ProtoMessage() {} method Descriptor (line 5190) | func (*AuthRoleDeleteRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5193) | func (m *AuthRoleDeleteRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5196) | func (m *AuthRoleDeleteRequest) XXX_Marshal(b []byte, deterministic bo... method XXX_Merge (line 5208) | func (m *AuthRoleDeleteRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5211) | func (m *AuthRoleDeleteRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5214) | func (m *AuthRoleDeleteRequest) XXX_DiscardUnknown() { method GetRole (line 5220) | func (m *AuthRoleDeleteRequest) GetRole() string { method Marshal (line 10435) | func (m *AuthRoleDeleteRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10445) | func (m *AuthRoleDeleteRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10450) | func (m *AuthRoleDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int... method Size (line 13065) | func (m *AuthRoleDeleteRequest) Size() (n int) { method Unmarshal (line 22501) | func (m *AuthRoleDeleteRequest) Unmarshal(dAtA []byte) error { type AuthRoleGrantPermissionRequest (line 5227) | type AuthRoleGrantPermissionRequest struct method Reset (line 5237) | func (m *AuthRoleGrantPermissionRequest) Reset() { *m = AuthRo... method String (line 5238) | func (m *AuthRoleGrantPermissionRequest) String() string { return prot... method ProtoMessage (line 5239) | func (*AuthRoleGrantPermissionRequest) ProtoMessage() {} method Descriptor (line 5240) | func (*AuthRoleGrantPermissionRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5243) | func (m *AuthRoleGrantPermissionRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5246) | func (m *AuthRoleGrantPermissionRequest) XXX_Marshal(b []byte, determi... method XXX_Merge (line 5258) | func (m *AuthRoleGrantPermissionRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5261) | func (m *AuthRoleGrantPermissionRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5264) | func (m *AuthRoleGrantPermissionRequest) XXX_DiscardUnknown() { method GetName (line 5270) | func (m *AuthRoleGrantPermissionRequest) GetName() string { method GetPerm (line 5277) | func (m *AuthRoleGrantPermissionRequest) GetPerm() *authpb.Permission { method Marshal (line 10469) | func (m *AuthRoleGrantPermissionRequest) Marshal() (dAtA []byte, err e... method MarshalTo (line 10479) | func (m *AuthRoleGrantPermissionRequest) MarshalTo(dAtA []byte) (int, ... method MarshalToSizedBuffer (line 10484) | func (m *AuthRoleGrantPermissionRequest) MarshalToSizedBuffer(dAtA []b... method Size (line 13081) | func (m *AuthRoleGrantPermissionRequest) Size() (n int) { method Unmarshal (line 22584) | func (m *AuthRoleGrantPermissionRequest) Unmarshal(dAtA []byte) error { type AuthRoleRevokePermissionRequest (line 5284) | type AuthRoleRevokePermissionRequest struct method Reset (line 5293) | func (m *AuthRoleRevokePermissionRequest) Reset() { *m = AuthR... method String (line 5294) | func (m *AuthRoleRevokePermissionRequest) String() string { return pro... method ProtoMessage (line 5295) | func (*AuthRoleRevokePermissionRequest) ProtoMessage() {} method Descriptor (line 5296) | func (*AuthRoleRevokePermissionRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5299) | func (m *AuthRoleRevokePermissionRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5302) | func (m *AuthRoleRevokePermissionRequest) XXX_Marshal(b []byte, determ... method XXX_Merge (line 5314) | func (m *AuthRoleRevokePermissionRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 5317) | func (m *AuthRoleRevokePermissionRequest) XXX_Size() int { method XXX_DiscardUnknown (line 5320) | func (m *AuthRoleRevokePermissionRequest) XXX_DiscardUnknown() { method GetRole (line 5326) | func (m *AuthRoleRevokePermissionRequest) GetRole() string { method GetKey (line 5333) | func (m *AuthRoleRevokePermissionRequest) GetKey() []byte { method GetRangeEnd (line 5340) | func (m *AuthRoleRevokePermissionRequest) GetRangeEnd() []byte { method Marshal (line 10515) | func (m *AuthRoleRevokePermissionRequest) Marshal() (dAtA []byte, err ... method MarshalTo (line 10525) | func (m *AuthRoleRevokePermissionRequest) MarshalTo(dAtA []byte) (int,... method MarshalToSizedBuffer (line 10530) | func (m *AuthRoleRevokePermissionRequest) MarshalToSizedBuffer(dAtA []... method Size (line 13101) | func (m *AuthRoleRevokePermissionRequest) Size() (n int) { method Unmarshal (line 22703) | func (m *AuthRoleRevokePermissionRequest) Unmarshal(dAtA []byte) error { type AuthEnableResponse (line 5347) | type AuthEnableResponse struct method Reset (line 5354) | func (m *AuthEnableResponse) Reset() { *m = AuthEnableResponse... method String (line 5355) | func (m *AuthEnableResponse) String() string { return proto.CompactTex... method ProtoMessage (line 5356) | func (*AuthEnableResponse) ProtoMessage() {} method Descriptor (line 5357) | func (*AuthEnableResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5360) | func (m *AuthEnableResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5363) | func (m *AuthEnableResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 5375) | func (m *AuthEnableResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5378) | func (m *AuthEnableResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5381) | func (m *AuthEnableResponse) XXX_DiscardUnknown() { method GetHeader (line 5387) | func (m *AuthEnableResponse) GetHeader() *ResponseHeader { method Marshal (line 10563) | func (m *AuthEnableResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10573) | func (m *AuthEnableResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10578) | func (m *AuthEnableResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 13125) | func (m *AuthEnableResponse) Size() (n int) { method Unmarshal (line 22854) | func (m *AuthEnableResponse) Unmarshal(dAtA []byte) error { type AuthDisableResponse (line 5394) | type AuthDisableResponse struct method Reset (line 5401) | func (m *AuthDisableResponse) Reset() { *m = AuthDisableRespon... method String (line 5402) | func (m *AuthDisableResponse) String() string { return proto.CompactTe... method ProtoMessage (line 5403) | func (*AuthDisableResponse) ProtoMessage() {} method Descriptor (line 5404) | func (*AuthDisableResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5407) | func (m *AuthDisableResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5410) | func (m *AuthDisableResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5422) | func (m *AuthDisableResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5425) | func (m *AuthDisableResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5428) | func (m *AuthDisableResponse) XXX_DiscardUnknown() { method GetHeader (line 5434) | func (m *AuthDisableResponse) GetHeader() *ResponseHeader { method Marshal (line 10602) | func (m *AuthDisableResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10612) | func (m *AuthDisableResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10617) | func (m *AuthDisableResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13141) | func (m *AuthDisableResponse) Size() (n int) { method Unmarshal (line 22941) | func (m *AuthDisableResponse) Unmarshal(dAtA []byte) error { type AuthStatusResponse (line 5441) | type AuthStatusResponse struct method Reset (line 5451) | func (m *AuthStatusResponse) Reset() { *m = AuthStatusResponse... method String (line 5452) | func (m *AuthStatusResponse) String() string { return proto.CompactTex... method ProtoMessage (line 5453) | func (*AuthStatusResponse) ProtoMessage() {} method Descriptor (line 5454) | func (*AuthStatusResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5457) | func (m *AuthStatusResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5460) | func (m *AuthStatusResponse) XXX_Marshal(b []byte, deterministic bool)... method XXX_Merge (line 5472) | func (m *AuthStatusResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5475) | func (m *AuthStatusResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5478) | func (m *AuthStatusResponse) XXX_DiscardUnknown() { method GetHeader (line 5484) | func (m *AuthStatusResponse) GetHeader() *ResponseHeader { method GetEnabled (line 5491) | func (m *AuthStatusResponse) GetEnabled() bool { method GetAuthRevision (line 5498) | func (m *AuthStatusResponse) GetAuthRevision() uint64 { method Marshal (line 10641) | func (m *AuthStatusResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10651) | func (m *AuthStatusResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10656) | func (m *AuthStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, e... method Size (line 13157) | func (m *AuthStatusResponse) Size() (n int) { method Unmarshal (line 23028) | func (m *AuthStatusResponse) Unmarshal(dAtA []byte) error { type AuthenticateResponse (line 5505) | type AuthenticateResponse struct method Reset (line 5514) | func (m *AuthenticateResponse) Reset() { *m = AuthenticateResp... method String (line 5515) | func (m *AuthenticateResponse) String() string { return proto.CompactT... method ProtoMessage (line 5516) | func (*AuthenticateResponse) ProtoMessage() {} method Descriptor (line 5517) | func (*AuthenticateResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5520) | func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5523) | func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 5535) | func (m *AuthenticateResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5538) | func (m *AuthenticateResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5541) | func (m *AuthenticateResponse) XXX_DiscardUnknown() { method GetHeader (line 5547) | func (m *AuthenticateResponse) GetHeader() *ResponseHeader { method GetToken (line 5554) | func (m *AuthenticateResponse) GetToken() string { method Marshal (line 10695) | func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10705) | func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10710) | func (m *AuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 13179) | func (m *AuthenticateResponse) Size() (n int) { method Unmarshal (line 23154) | func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error { type AuthUserAddResponse (line 5561) | type AuthUserAddResponse struct method Reset (line 5568) | func (m *AuthUserAddResponse) Reset() { *m = AuthUserAddRespon... method String (line 5569) | func (m *AuthUserAddResponse) String() string { return proto.CompactTe... method ProtoMessage (line 5570) | func (*AuthUserAddResponse) ProtoMessage() {} method Descriptor (line 5571) | func (*AuthUserAddResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5574) | func (m *AuthUserAddResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5577) | func (m *AuthUserAddResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5589) | func (m *AuthUserAddResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5592) | func (m *AuthUserAddResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5595) | func (m *AuthUserAddResponse) XXX_DiscardUnknown() { method GetHeader (line 5601) | func (m *AuthUserAddResponse) GetHeader() *ResponseHeader { method Marshal (line 10741) | func (m *AuthUserAddResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10751) | func (m *AuthUserAddResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10756) | func (m *AuthUserAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13199) | func (m *AuthUserAddResponse) Size() (n int) { method Unmarshal (line 23273) | func (m *AuthUserAddResponse) Unmarshal(dAtA []byte) error { type AuthUserGetResponse (line 5608) | type AuthUserGetResponse struct method Reset (line 5616) | func (m *AuthUserGetResponse) Reset() { *m = AuthUserGetRespon... method String (line 5617) | func (m *AuthUserGetResponse) String() string { return proto.CompactTe... method ProtoMessage (line 5618) | func (*AuthUserGetResponse) ProtoMessage() {} method Descriptor (line 5619) | func (*AuthUserGetResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5622) | func (m *AuthUserGetResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5625) | func (m *AuthUserGetResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5637) | func (m *AuthUserGetResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5640) | func (m *AuthUserGetResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5643) | func (m *AuthUserGetResponse) XXX_DiscardUnknown() { method GetHeader (line 5649) | func (m *AuthUserGetResponse) GetHeader() *ResponseHeader { method GetRoles (line 5656) | func (m *AuthUserGetResponse) GetRoles() []string { method Marshal (line 10780) | func (m *AuthUserGetResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10790) | func (m *AuthUserGetResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10795) | func (m *AuthUserGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13215) | func (m *AuthUserGetResponse) Size() (n int) { method Unmarshal (line 23360) | func (m *AuthUserGetResponse) Unmarshal(dAtA []byte) error { type AuthUserDeleteResponse (line 5663) | type AuthUserDeleteResponse struct method Reset (line 5670) | func (m *AuthUserDeleteResponse) Reset() { *m = AuthUserDelete... method String (line 5671) | func (m *AuthUserDeleteResponse) String() string { return proto.Compac... method ProtoMessage (line 5672) | func (*AuthUserDeleteResponse) ProtoMessage() {} method Descriptor (line 5673) | func (*AuthUserDeleteResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5676) | func (m *AuthUserDeleteResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5679) | func (m *AuthUserDeleteResponse) XXX_Marshal(b []byte, deterministic b... method XXX_Merge (line 5691) | func (m *AuthUserDeleteResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5694) | func (m *AuthUserDeleteResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5697) | func (m *AuthUserDeleteResponse) XXX_DiscardUnknown() { method GetHeader (line 5703) | func (m *AuthUserDeleteResponse) GetHeader() *ResponseHeader { method Marshal (line 10828) | func (m *AuthUserDeleteResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10838) | func (m *AuthUserDeleteResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10843) | func (m *AuthUserDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 13237) | func (m *AuthUserDeleteResponse) Size() (n int) { method Unmarshal (line 23479) | func (m *AuthUserDeleteResponse) Unmarshal(dAtA []byte) error { type AuthUserChangePasswordResponse (line 5710) | type AuthUserChangePasswordResponse struct method Reset (line 5717) | func (m *AuthUserChangePasswordResponse) Reset() { *m = AuthUs... method String (line 5718) | func (m *AuthUserChangePasswordResponse) String() string { return prot... method ProtoMessage (line 5719) | func (*AuthUserChangePasswordResponse) ProtoMessage() {} method Descriptor (line 5720) | func (*AuthUserChangePasswordResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5723) | func (m *AuthUserChangePasswordResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5726) | func (m *AuthUserChangePasswordResponse) XXX_Marshal(b []byte, determi... method XXX_Merge (line 5738) | func (m *AuthUserChangePasswordResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5741) | func (m *AuthUserChangePasswordResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5744) | func (m *AuthUserChangePasswordResponse) XXX_DiscardUnknown() { method GetHeader (line 5750) | func (m *AuthUserChangePasswordResponse) GetHeader() *ResponseHeader { method Marshal (line 10867) | func (m *AuthUserChangePasswordResponse) Marshal() (dAtA []byte, err e... method MarshalTo (line 10877) | func (m *AuthUserChangePasswordResponse) MarshalTo(dAtA []byte) (int, ... method MarshalToSizedBuffer (line 10882) | func (m *AuthUserChangePasswordResponse) MarshalToSizedBuffer(dAtA []b... method Size (line 13253) | func (m *AuthUserChangePasswordResponse) Size() (n int) { method Unmarshal (line 23566) | func (m *AuthUserChangePasswordResponse) Unmarshal(dAtA []byte) error { type AuthUserGrantRoleResponse (line 5757) | type AuthUserGrantRoleResponse struct method Reset (line 5764) | func (m *AuthUserGrantRoleResponse) Reset() { *m = AuthUserGra... method String (line 5765) | func (m *AuthUserGrantRoleResponse) String() string { return proto.Com... method ProtoMessage (line 5766) | func (*AuthUserGrantRoleResponse) ProtoMessage() {} method Descriptor (line 5767) | func (*AuthUserGrantRoleResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5770) | func (m *AuthUserGrantRoleResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5773) | func (m *AuthUserGrantRoleResponse) XXX_Marshal(b []byte, deterministi... method XXX_Merge (line 5785) | func (m *AuthUserGrantRoleResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5788) | func (m *AuthUserGrantRoleResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5791) | func (m *AuthUserGrantRoleResponse) XXX_DiscardUnknown() { method GetHeader (line 5797) | func (m *AuthUserGrantRoleResponse) GetHeader() *ResponseHeader { method Marshal (line 10906) | func (m *AuthUserGrantRoleResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10916) | func (m *AuthUserGrantRoleResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10921) | func (m *AuthUserGrantRoleResponse) MarshalToSizedBuffer(dAtA []byte) ... method Size (line 13269) | func (m *AuthUserGrantRoleResponse) Size() (n int) { method Unmarshal (line 23653) | func (m *AuthUserGrantRoleResponse) Unmarshal(dAtA []byte) error { type AuthUserRevokeRoleResponse (line 5804) | type AuthUserRevokeRoleResponse struct method Reset (line 5811) | func (m *AuthUserRevokeRoleResponse) Reset() { *m = AuthUserRe... method String (line 5812) | func (m *AuthUserRevokeRoleResponse) String() string { return proto.Co... method ProtoMessage (line 5813) | func (*AuthUserRevokeRoleResponse) ProtoMessage() {} method Descriptor (line 5814) | func (*AuthUserRevokeRoleResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5817) | func (m *AuthUserRevokeRoleResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5820) | func (m *AuthUserRevokeRoleResponse) XXX_Marshal(b []byte, determinist... method XXX_Merge (line 5832) | func (m *AuthUserRevokeRoleResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5835) | func (m *AuthUserRevokeRoleResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5838) | func (m *AuthUserRevokeRoleResponse) XXX_DiscardUnknown() { method GetHeader (line 5844) | func (m *AuthUserRevokeRoleResponse) GetHeader() *ResponseHeader { method Marshal (line 10945) | func (m *AuthUserRevokeRoleResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10955) | func (m *AuthUserRevokeRoleResponse) MarshalTo(dAtA []byte) (int, erro... method MarshalToSizedBuffer (line 10960) | func (m *AuthUserRevokeRoleResponse) MarshalToSizedBuffer(dAtA []byte)... method Size (line 13285) | func (m *AuthUserRevokeRoleResponse) Size() (n int) { method Unmarshal (line 23740) | func (m *AuthUserRevokeRoleResponse) Unmarshal(dAtA []byte) error { type AuthRoleAddResponse (line 5851) | type AuthRoleAddResponse struct method Reset (line 5858) | func (m *AuthRoleAddResponse) Reset() { *m = AuthRoleAddRespon... method String (line 5859) | func (m *AuthRoleAddResponse) String() string { return proto.CompactTe... method ProtoMessage (line 5860) | func (*AuthRoleAddResponse) ProtoMessage() {} method Descriptor (line 5861) | func (*AuthRoleAddResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5864) | func (m *AuthRoleAddResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5867) | func (m *AuthRoleAddResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5879) | func (m *AuthRoleAddResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5882) | func (m *AuthRoleAddResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5885) | func (m *AuthRoleAddResponse) XXX_DiscardUnknown() { method GetHeader (line 5891) | func (m *AuthRoleAddResponse) GetHeader() *ResponseHeader { method Marshal (line 10984) | func (m *AuthRoleAddResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 10994) | func (m *AuthRoleAddResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 10999) | func (m *AuthRoleAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13301) | func (m *AuthRoleAddResponse) Size() (n int) { method Unmarshal (line 23827) | func (m *AuthRoleAddResponse) Unmarshal(dAtA []byte) error { type AuthRoleGetResponse (line 5898) | type AuthRoleGetResponse struct method Reset (line 5906) | func (m *AuthRoleGetResponse) Reset() { *m = AuthRoleGetRespon... method String (line 5907) | func (m *AuthRoleGetResponse) String() string { return proto.CompactTe... method ProtoMessage (line 5908) | func (*AuthRoleGetResponse) ProtoMessage() {} method Descriptor (line 5909) | func (*AuthRoleGetResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5912) | func (m *AuthRoleGetResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5915) | func (m *AuthRoleGetResponse) XXX_Marshal(b []byte, deterministic bool... method XXX_Merge (line 5927) | func (m *AuthRoleGetResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5930) | func (m *AuthRoleGetResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5933) | func (m *AuthRoleGetResponse) XXX_DiscardUnknown() { method GetHeader (line 5939) | func (m *AuthRoleGetResponse) GetHeader() *ResponseHeader { method GetPerm (line 5946) | func (m *AuthRoleGetResponse) GetPerm() []*authpb.Permission { method Marshal (line 11023) | func (m *AuthRoleGetResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 11033) | func (m *AuthRoleGetResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 11038) | func (m *AuthRoleGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, ... method Size (line 13317) | func (m *AuthRoleGetResponse) Size() (n int) { method Unmarshal (line 23914) | func (m *AuthRoleGetResponse) Unmarshal(dAtA []byte) error { type AuthRoleListResponse (line 5953) | type AuthRoleListResponse struct method Reset (line 5961) | func (m *AuthRoleListResponse) Reset() { *m = AuthRoleListResp... method String (line 5962) | func (m *AuthRoleListResponse) String() string { return proto.CompactT... method ProtoMessage (line 5963) | func (*AuthRoleListResponse) ProtoMessage() {} method Descriptor (line 5964) | func (*AuthRoleListResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 5967) | func (m *AuthRoleListResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 5970) | func (m *AuthRoleListResponse) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 5982) | func (m *AuthRoleListResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 5985) | func (m *AuthRoleListResponse) XXX_Size() int { method XXX_DiscardUnknown (line 5988) | func (m *AuthRoleListResponse) XXX_DiscardUnknown() { method GetHeader (line 5994) | func (m *AuthRoleListResponse) GetHeader() *ResponseHeader { method GetRoles (line 6001) | func (m *AuthRoleListResponse) GetRoles() []string { method Marshal (line 11076) | func (m *AuthRoleListResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 11086) | func (m *AuthRoleListResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 11091) | func (m *AuthRoleListResponse) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 13339) | func (m *AuthRoleListResponse) Size() (n int) { method Unmarshal (line 24035) | func (m *AuthRoleListResponse) Unmarshal(dAtA []byte) error { type AuthUserListResponse (line 6008) | type AuthUserListResponse struct method Reset (line 6016) | func (m *AuthUserListResponse) Reset() { *m = AuthUserListResp... method String (line 6017) | func (m *AuthUserListResponse) String() string { return proto.CompactT... method ProtoMessage (line 6018) | func (*AuthUserListResponse) ProtoMessage() {} method Descriptor (line 6019) | func (*AuthUserListResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 6022) | func (m *AuthUserListResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 6025) | func (m *AuthUserListResponse) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 6037) | func (m *AuthUserListResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 6040) | func (m *AuthUserListResponse) XXX_Size() int { method XXX_DiscardUnknown (line 6043) | func (m *AuthUserListResponse) XXX_DiscardUnknown() { method GetHeader (line 6049) | func (m *AuthUserListResponse) GetHeader() *ResponseHeader { method GetUsers (line 6056) | func (m *AuthUserListResponse) GetUsers() []string { method Marshal (line 11124) | func (m *AuthUserListResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 11134) | func (m *AuthUserListResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 11139) | func (m *AuthUserListResponse) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 13361) | func (m *AuthUserListResponse) Size() (n int) { method Unmarshal (line 24154) | func (m *AuthUserListResponse) Unmarshal(dAtA []byte) error { type AuthRoleDeleteResponse (line 6063) | type AuthRoleDeleteResponse struct method Reset (line 6070) | func (m *AuthRoleDeleteResponse) Reset() { *m = AuthRoleDelete... method String (line 6071) | func (m *AuthRoleDeleteResponse) String() string { return proto.Compac... method ProtoMessage (line 6072) | func (*AuthRoleDeleteResponse) ProtoMessage() {} method Descriptor (line 6073) | func (*AuthRoleDeleteResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 6076) | func (m *AuthRoleDeleteResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 6079) | func (m *AuthRoleDeleteResponse) XXX_Marshal(b []byte, deterministic b... method XXX_Merge (line 6091) | func (m *AuthRoleDeleteResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 6094) | func (m *AuthRoleDeleteResponse) XXX_Size() int { method XXX_DiscardUnknown (line 6097) | func (m *AuthRoleDeleteResponse) XXX_DiscardUnknown() { method GetHeader (line 6103) | func (m *AuthRoleDeleteResponse) GetHeader() *ResponseHeader { method Marshal (line 11172) | func (m *AuthRoleDeleteResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 11182) | func (m *AuthRoleDeleteResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 11187) | func (m *AuthRoleDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (in... method Size (line 13383) | func (m *AuthRoleDeleteResponse) Size() (n int) { method Unmarshal (line 24273) | func (m *AuthRoleDeleteResponse) Unmarshal(dAtA []byte) error { type AuthRoleGrantPermissionResponse (line 6110) | type AuthRoleGrantPermissionResponse struct method Reset (line 6117) | func (m *AuthRoleGrantPermissionResponse) Reset() { *m = AuthR... method String (line 6118) | func (m *AuthRoleGrantPermissionResponse) String() string { return pro... method ProtoMessage (line 6119) | func (*AuthRoleGrantPermissionResponse) ProtoMessage() {} method Descriptor (line 6120) | func (*AuthRoleGrantPermissionResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 6123) | func (m *AuthRoleGrantPermissionResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 6126) | func (m *AuthRoleGrantPermissionResponse) XXX_Marshal(b []byte, determ... method XXX_Merge (line 6138) | func (m *AuthRoleGrantPermissionResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 6141) | func (m *AuthRoleGrantPermissionResponse) XXX_Size() int { method XXX_DiscardUnknown (line 6144) | func (m *AuthRoleGrantPermissionResponse) XXX_DiscardUnknown() { method GetHeader (line 6150) | func (m *AuthRoleGrantPermissionResponse) GetHeader() *ResponseHeader { method Marshal (line 11211) | func (m *AuthRoleGrantPermissionResponse) Marshal() (dAtA []byte, err ... method MarshalTo (line 11221) | func (m *AuthRoleGrantPermissionResponse) MarshalTo(dAtA []byte) (int,... method MarshalToSizedBuffer (line 11226) | func (m *AuthRoleGrantPermissionResponse) MarshalToSizedBuffer(dAtA []... method Size (line 13399) | func (m *AuthRoleGrantPermissionResponse) Size() (n int) { method Unmarshal (line 24360) | func (m *AuthRoleGrantPermissionResponse) Unmarshal(dAtA []byte) error { type AuthRoleRevokePermissionResponse (line 6157) | type AuthRoleRevokePermissionResponse struct method Reset (line 6164) | func (m *AuthRoleRevokePermissionResponse) Reset() { *m = Auth... method String (line 6165) | func (m *AuthRoleRevokePermissionResponse) String() string { return pr... method ProtoMessage (line 6166) | func (*AuthRoleRevokePermissionResponse) ProtoMessage() {} method Descriptor (line 6167) | func (*AuthRoleRevokePermissionResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 6170) | func (m *AuthRoleRevokePermissionResponse) XXX_Unmarshal(b []byte) err... method XXX_Marshal (line 6173) | func (m *AuthRoleRevokePermissionResponse) XXX_Marshal(b []byte, deter... method XXX_Merge (line 6185) | func (m *AuthRoleRevokePermissionResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 6188) | func (m *AuthRoleRevokePermissionResponse) XXX_Size() int { method XXX_DiscardUnknown (line 6191) | func (m *AuthRoleRevokePermissionResponse) XXX_DiscardUnknown() { method GetHeader (line 6197) | func (m *AuthRoleRevokePermissionResponse) GetHeader() *ResponseHeader { method Marshal (line 11250) | func (m *AuthRoleRevokePermissionResponse) Marshal() (dAtA []byte, err... method MarshalTo (line 11260) | func (m *AuthRoleRevokePermissionResponse) MarshalTo(dAtA []byte) (int... method MarshalToSizedBuffer (line 11265) | func (m *AuthRoleRevokePermissionResponse) MarshalToSizedBuffer(dAtA [... method Size (line 13415) | func (m *AuthRoleRevokePermissionResponse) Size() (n int) { method Unmarshal (line 24447) | func (m *AuthRoleRevokePermissionResponse) Unmarshal(dAtA []byte) error { function init (line 6204) | func init() { function init (line 6312) | func init() { proto.RegisterFile("rpc.proto", fileDescriptor_77a6da22d6a... function encodeVarintRpc (line 11289) | func encodeVarintRpc(dAtA []byte, offset int, v uint64) int { function sovRpc (line 13431) | func sovRpc(x uint64) (n int) { function sozRpc (line 13434) | func sozRpc(x uint64) (n int) { function skipRpc (line 24534) | func skipRpc(dAtA []byte) (n int, err error) { FILE: api/etcdserverpb/rpc_grpc.pb.go constant _ (line 20) | _ = grpc.SupportPackageIsVersion9 constant KV_Range_FullMethodName (line 23) | KV_Range_FullMethodName = "/etcdserverpb.KV/Range" constant KV_Put_FullMethodName (line 24) | KV_Put_FullMethodName = "/etcdserverpb.KV/Put" constant KV_DeleteRange_FullMethodName (line 25) | KV_DeleteRange_FullMethodName = "/etcdserverpb.KV/DeleteRange" constant KV_Txn_FullMethodName (line 26) | KV_Txn_FullMethodName = "/etcdserverpb.KV/Txn" constant KV_Compact_FullMethodName (line 27) | KV_Compact_FullMethodName = "/etcdserverpb.KV/Compact" type KVClient (line 33) | type KVClient interface type kVClient (line 55) | type kVClient struct method Range (line 63) | func (c *kVClient) Range(ctx context.Context, in *RangeRequest, opts .... method Put (line 73) | func (c *kVClient) Put(ctx context.Context, in *PutRequest, opts ...gr... method DeleteRange (line 83) | func (c *kVClient) DeleteRange(ctx context.Context, in *DeleteRangeReq... method Txn (line 93) | func (c *kVClient) Txn(ctx context.Context, in *TxnRequest, opts ...gr... method Compact (line 103) | func (c *kVClient) Compact(ctx context.Context, in *CompactionRequest,... function NewKVClient (line 59) | func NewKVClient(cc grpc.ClientConnInterface) KVClient { type KVServer (line 116) | type KVServer interface type UnimplementedKVServer (line 144) | type UnimplementedKVServer struct method Range (line 146) | func (UnimplementedKVServer) Range(context.Context, *RangeRequest) (*R... method Put (line 149) | func (UnimplementedKVServer) Put(context.Context, *PutRequest) (*PutRe... method DeleteRange (line 152) | func (UnimplementedKVServer) DeleteRange(context.Context, *DeleteRange... method Txn (line 155) | func (UnimplementedKVServer) Txn(context.Context, *TxnRequest) (*TxnRe... method Compact (line 158) | func (UnimplementedKVServer) Compact(context.Context, *CompactionReque... method mustEmbedUnimplementedKVServer (line 161) | func (UnimplementedKVServer) mustEmbedUnimplementedKVServer() {} method testEmbeddedByValue (line 162) | func (UnimplementedKVServer) testEmbeddedByValue() {} type UnsafeKVServer (line 167) | type UnsafeKVServer interface function RegisterKVServer (line 171) | func RegisterKVServer(s grpc.ServiceRegistrar, srv KVServer) { function _KV_Range_Handler (line 182) | func _KV_Range_Handler(srv interface{}, ctx context.Context, dec func(in... function _KV_Put_Handler (line 200) | func _KV_Put_Handler(srv interface{}, ctx context.Context, dec func(inte... function _KV_DeleteRange_Handler (line 218) | func _KV_DeleteRange_Handler(srv interface{}, ctx context.Context, dec f... function _KV_Txn_Handler (line 236) | func _KV_Txn_Handler(srv interface{}, ctx context.Context, dec func(inte... function _KV_Compact_Handler (line 254) | func _KV_Compact_Handler(srv interface{}, ctx context.Context, dec func(... constant Watch_Watch_FullMethodName (line 305) | Watch_Watch_FullMethodName = "/etcdserverpb.Watch/Watch" type WatchClient (line 311) | type WatchClient interface type watchClient (line 320) | type watchClient struct method Watch (line 328) | func (c *watchClient) Watch(ctx context.Context, opts ...grpc.CallOpti... function NewWatchClient (line 324) | func NewWatchClient(cc grpc.ClientConnInterface) WatchClient { type WatchServer (line 344) | type WatchServer interface type UnimplementedWatchServer (line 359) | type UnimplementedWatchServer struct method Watch (line 361) | func (UnimplementedWatchServer) Watch(grpc.BidiStreamingServer[WatchRe... method mustEmbedUnimplementedWatchServer (line 364) | func (UnimplementedWatchServer) mustEmbedUnimplementedWatchServer() {} method testEmbeddedByValue (line 365) | func (UnimplementedWatchServer) testEmbeddedByValue() {} type UnsafeWatchServer (line 370) | type UnsafeWatchServer interface function RegisterWatchServer (line 374) | func RegisterWatchServer(s grpc.ServiceRegistrar, srv WatchServer) { function _Watch_Watch_Handler (line 385) | func _Watch_Watch_Handler(srv interface{}, stream grpc.ServerStream) err... constant Lease_LeaseGrant_FullMethodName (line 411) | Lease_LeaseGrant_FullMethodName = "/etcdserverpb.Lease/LeaseGrant" constant Lease_LeaseRevoke_FullMethodName (line 412) | Lease_LeaseRevoke_FullMethodName = "/etcdserverpb.Lease/LeaseRevoke" constant Lease_LeaseKeepAlive_FullMethodName (line 413) | Lease_LeaseKeepAlive_FullMethodName = "/etcdserverpb.Lease/LeaseKeepAlive" constant Lease_LeaseTimeToLive_FullMethodName (line 414) | Lease_LeaseTimeToLive_FullMethodName = "/etcdserverpb.Lease/LeaseTimeToL... constant Lease_LeaseLeases_FullMethodName (line 415) | Lease_LeaseLeases_FullMethodName = "/etcdserverpb.Lease/LeaseLeases" type LeaseClient (line 421) | type LeaseClient interface type leaseClient (line 437) | type leaseClient struct method LeaseGrant (line 445) | func (c *leaseClient) LeaseGrant(ctx context.Context, in *LeaseGrantRe... method LeaseRevoke (line 455) | func (c *leaseClient) LeaseRevoke(ctx context.Context, in *LeaseRevoke... method LeaseKeepAlive (line 465) | func (c *leaseClient) LeaseKeepAlive(ctx context.Context, opts ...grpc... method LeaseTimeToLive (line 478) | func (c *leaseClient) LeaseTimeToLive(ctx context.Context, in *LeaseTi... method LeaseLeases (line 488) | func (c *leaseClient) LeaseLeases(ctx context.Context, in *LeaseLeases... function NewLeaseClient (line 441) | func NewLeaseClient(cc grpc.ClientConnInterface) LeaseClient { type LeaseServer (line 501) | type LeaseServer interface type UnimplementedLeaseServer (line 523) | type UnimplementedLeaseServer struct method LeaseGrant (line 525) | func (UnimplementedLeaseServer) LeaseGrant(context.Context, *LeaseGran... method LeaseRevoke (line 528) | func (UnimplementedLeaseServer) LeaseRevoke(context.Context, *LeaseRev... method LeaseKeepAlive (line 531) | func (UnimplementedLeaseServer) LeaseKeepAlive(grpc.BidiStreamingServe... method LeaseTimeToLive (line 534) | func (UnimplementedLeaseServer) LeaseTimeToLive(context.Context, *Leas... method LeaseLeases (line 537) | func (UnimplementedLeaseServer) LeaseLeases(context.Context, *LeaseLea... method mustEmbedUnimplementedLeaseServer (line 540) | func (UnimplementedLeaseServer) mustEmbedUnimplementedLeaseServer() {} method testEmbeddedByValue (line 541) | func (UnimplementedLeaseServer) testEmbeddedByValue() {} type UnsafeLeaseServer (line 546) | type UnsafeLeaseServer interface function RegisterLeaseServer (line 550) | func RegisterLeaseServer(s grpc.ServiceRegistrar, srv LeaseServer) { function _Lease_LeaseGrant_Handler (line 561) | func _Lease_LeaseGrant_Handler(srv interface{}, ctx context.Context, dec... function _Lease_LeaseRevoke_Handler (line 579) | func _Lease_LeaseRevoke_Handler(srv interface{}, ctx context.Context, de... function _Lease_LeaseKeepAlive_Handler (line 597) | func _Lease_LeaseKeepAlive_Handler(srv interface{}, stream grpc.ServerSt... function _Lease_LeaseTimeToLive_Handler (line 604) | func _Lease_LeaseTimeToLive_Handler(srv interface{}, ctx context.Context... function _Lease_LeaseLeases_Handler (line 622) | func _Lease_LeaseLeases_Handler(srv interface{}, ctx context.Context, de... constant Cluster_MemberAdd_FullMethodName (line 676) | Cluster_MemberAdd_FullMethodName = "/etcdserverpb.Cluster/MemberAdd" constant Cluster_MemberRemove_FullMethodName (line 677) | Cluster_MemberRemove_FullMethodName = "/etcdserverpb.Cluster/MemberRemove" constant Cluster_MemberUpdate_FullMethodName (line 678) | Cluster_MemberUpdate_FullMethodName = "/etcdserverpb.Cluster/MemberUpdate" constant Cluster_MemberList_FullMethodName (line 679) | Cluster_MemberList_FullMethodName = "/etcdserverpb.Cluster/MemberList" constant Cluster_MemberPromote_FullMethodName (line 680) | Cluster_MemberPromote_FullMethodName = "/etcdserverpb.Cluster/MemberProm... type ClusterClient (line 686) | type ClusterClient interface type clusterClient (line 699) | type clusterClient struct method MemberAdd (line 707) | func (c *clusterClient) MemberAdd(ctx context.Context, in *MemberAddRe... method MemberRemove (line 717) | func (c *clusterClient) MemberRemove(ctx context.Context, in *MemberRe... method MemberUpdate (line 727) | func (c *clusterClient) MemberUpdate(ctx context.Context, in *MemberUp... method MemberList (line 737) | func (c *clusterClient) MemberList(ctx context.Context, in *MemberList... method MemberPromote (line 747) | func (c *clusterClient) MemberPromote(ctx context.Context, in *MemberP... function NewClusterClient (line 703) | func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient { type ClusterServer (line 760) | type ClusterServer interface type UnimplementedClusterServer (line 779) | type UnimplementedClusterServer struct method MemberAdd (line 781) | func (UnimplementedClusterServer) MemberAdd(context.Context, *MemberAd... method MemberRemove (line 784) | func (UnimplementedClusterServer) MemberRemove(context.Context, *Membe... method MemberUpdate (line 787) | func (UnimplementedClusterServer) MemberUpdate(context.Context, *Membe... method MemberList (line 790) | func (UnimplementedClusterServer) MemberList(context.Context, *MemberL... method MemberPromote (line 793) | func (UnimplementedClusterServer) MemberPromote(context.Context, *Memb... method mustEmbedUnimplementedClusterServer (line 796) | func (UnimplementedClusterServer) mustEmbedUnimplementedClusterServer(... method testEmbeddedByValue (line 797) | func (UnimplementedClusterServer) testEmbeddedByValue() ... type UnsafeClusterServer (line 802) | type UnsafeClusterServer interface function RegisterClusterServer (line 806) | func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer) { function _Cluster_MemberAdd_Handler (line 817) | func _Cluster_MemberAdd_Handler(srv interface{}, ctx context.Context, de... function _Cluster_MemberRemove_Handler (line 835) | func _Cluster_MemberRemove_Handler(srv interface{}, ctx context.Context,... function _Cluster_MemberUpdate_Handler (line 853) | func _Cluster_MemberUpdate_Handler(srv interface{}, ctx context.Context,... function _Cluster_MemberList_Handler (line 871) | func _Cluster_MemberList_Handler(srv interface{}, ctx context.Context, d... function _Cluster_MemberPromote_Handler (line 889) | func _Cluster_MemberPromote_Handler(srv interface{}, ctx context.Context... constant Maintenance_Alarm_FullMethodName (line 940) | Maintenance_Alarm_FullMethodName = "/etcdserverpb.Maintenance/Alarm" constant Maintenance_Status_FullMethodName (line 941) | Maintenance_Status_FullMethodName = "/etcdserverpb.Maintenance/Status" constant Maintenance_Defragment_FullMethodName (line 942) | Maintenance_Defragment_FullMethodName = "/etcdserverpb.Maintenance/Defra... constant Maintenance_Hash_FullMethodName (line 943) | Maintenance_Hash_FullMethodName = "/etcdserverpb.Maintenance/Hash" constant Maintenance_HashKV_FullMethodName (line 944) | Maintenance_HashKV_FullMethodName = "/etcdserverpb.Maintenance/HashKV" constant Maintenance_Snapshot_FullMethodName (line 945) | Maintenance_Snapshot_FullMethodName = "/etcdserverpb.Maintenance/Snaps... constant Maintenance_MoveLeader_FullMethodName (line 946) | Maintenance_MoveLeader_FullMethodName = "/etcdserverpb.Maintenance/MoveL... constant Maintenance_Downgrade_FullMethodName (line 947) | Maintenance_Downgrade_FullMethodName = "/etcdserverpb.Maintenance/Downg... type MaintenanceClient (line 953) | type MaintenanceClient interface type maintenanceClient (line 980) | type maintenanceClient struct method Alarm (line 988) | func (c *maintenanceClient) Alarm(ctx context.Context, in *AlarmReques... method Status (line 998) | func (c *maintenanceClient) Status(ctx context.Context, in *StatusRequ... method Defragment (line 1008) | func (c *maintenanceClient) Defragment(ctx context.Context, in *Defrag... method Hash (line 1018) | func (c *maintenanceClient) Hash(ctx context.Context, in *HashRequest,... method HashKV (line 1028) | func (c *maintenanceClient) HashKV(ctx context.Context, in *HashKVRequ... method Snapshot (line 1038) | func (c *maintenanceClient) Snapshot(ctx context.Context, in *Snapshot... method MoveLeader (line 1057) | func (c *maintenanceClient) MoveLeader(ctx context.Context, in *MoveLe... method Downgrade (line 1067) | func (c *maintenanceClient) Downgrade(ctx context.Context, in *Downgra... function NewMaintenanceClient (line 984) | func NewMaintenanceClient(cc grpc.ClientConnInterface) MaintenanceClient { type MaintenanceServer (line 1080) | type MaintenanceServer interface type UnimplementedMaintenanceServer (line 1113) | type UnimplementedMaintenanceServer struct method Alarm (line 1115) | func (UnimplementedMaintenanceServer) Alarm(context.Context, *AlarmReq... method Status (line 1118) | func (UnimplementedMaintenanceServer) Status(context.Context, *StatusR... method Defragment (line 1121) | func (UnimplementedMaintenanceServer) Defragment(context.Context, *Def... method Hash (line 1124) | func (UnimplementedMaintenanceServer) Hash(context.Context, *HashReque... method HashKV (line 1127) | func (UnimplementedMaintenanceServer) HashKV(context.Context, *HashKVR... method Snapshot (line 1130) | func (UnimplementedMaintenanceServer) Snapshot(*SnapshotRequest, grpc.... method MoveLeader (line 1133) | func (UnimplementedMaintenanceServer) MoveLeader(context.Context, *Mov... method Downgrade (line 1136) | func (UnimplementedMaintenanceServer) Downgrade(context.Context, *Down... method mustEmbedUnimplementedMaintenanceServer (line 1139) | func (UnimplementedMaintenanceServer) mustEmbedUnimplementedMaintenanc... method testEmbeddedByValue (line 1140) | func (UnimplementedMaintenanceServer) testEmbeddedByValue() ... type UnsafeMaintenanceServer (line 1145) | type UnsafeMaintenanceServer interface function RegisterMaintenanceServer (line 1149) | func RegisterMaintenanceServer(s grpc.ServiceRegistrar, srv MaintenanceS... function _Maintenance_Alarm_Handler (line 1160) | func _Maintenance_Alarm_Handler(srv interface{}, ctx context.Context, de... function _Maintenance_Status_Handler (line 1178) | func _Maintenance_Status_Handler(srv interface{}, ctx context.Context, d... function _Maintenance_Defragment_Handler (line 1196) | func _Maintenance_Defragment_Handler(srv interface{}, ctx context.Contex... function _Maintenance_Hash_Handler (line 1214) | func _Maintenance_Hash_Handler(srv interface{}, ctx context.Context, dec... function _Maintenance_HashKV_Handler (line 1232) | func _Maintenance_HashKV_Handler(srv interface{}, ctx context.Context, d... function _Maintenance_Snapshot_Handler (line 1250) | func _Maintenance_Snapshot_Handler(srv interface{}, stream grpc.ServerSt... function _Maintenance_MoveLeader_Handler (line 1261) | func _Maintenance_MoveLeader_Handler(srv interface{}, ctx context.Contex... function _Maintenance_Downgrade_Handler (line 1279) | func _Maintenance_Downgrade_Handler(srv interface{}, ctx context.Context... constant Auth_AuthEnable_FullMethodName (line 1344) | Auth_AuthEnable_FullMethodName = "/etcdserverpb.Auth/AuthEnable" constant Auth_AuthDisable_FullMethodName (line 1345) | Auth_AuthDisable_FullMethodName = "/etcdserverpb.Auth/AuthDisable" constant Auth_AuthStatus_FullMethodName (line 1346) | Auth_AuthStatus_FullMethodName = "/etcdserverpb.Auth/AuthStatus" constant Auth_Authenticate_FullMethodName (line 1347) | Auth_Authenticate_FullMethodName = "/etcdserverpb.Auth/Authentic... constant Auth_UserAdd_FullMethodName (line 1348) | Auth_UserAdd_FullMethodName = "/etcdserverpb.Auth/UserAdd" constant Auth_UserGet_FullMethodName (line 1349) | Auth_UserGet_FullMethodName = "/etcdserverpb.Auth/UserGet" constant Auth_UserList_FullMethodName (line 1350) | Auth_UserList_FullMethodName = "/etcdserverpb.Auth/UserList" constant Auth_UserDelete_FullMethodName (line 1351) | Auth_UserDelete_FullMethodName = "/etcdserverpb.Auth/UserDelete" constant Auth_UserChangePassword_FullMethodName (line 1352) | Auth_UserChangePassword_FullMethodName = "/etcdserverpb.Auth/UserChang... constant Auth_UserGrantRole_FullMethodName (line 1353) | Auth_UserGrantRole_FullMethodName = "/etcdserverpb.Auth/UserGrant... constant Auth_UserRevokeRole_FullMethodName (line 1354) | Auth_UserRevokeRole_FullMethodName = "/etcdserverpb.Auth/UserRevok... constant Auth_RoleAdd_FullMethodName (line 1355) | Auth_RoleAdd_FullMethodName = "/etcdserverpb.Auth/RoleAdd" constant Auth_RoleGet_FullMethodName (line 1356) | Auth_RoleGet_FullMethodName = "/etcdserverpb.Auth/RoleGet" constant Auth_RoleList_FullMethodName (line 1357) | Auth_RoleList_FullMethodName = "/etcdserverpb.Auth/RoleList" constant Auth_RoleDelete_FullMethodName (line 1358) | Auth_RoleDelete_FullMethodName = "/etcdserverpb.Auth/RoleDelete" constant Auth_RoleGrantPermission_FullMethodName (line 1359) | Auth_RoleGrantPermission_FullMethodName = "/etcdserverpb.Auth/RoleGrant... constant Auth_RoleRevokePermission_FullMethodName (line 1360) | Auth_RoleRevokePermission_FullMethodName = "/etcdserverpb.Auth/RoleRevok... type AuthClient (line 1366) | type AuthClient interface type authClient (line 1403) | type authClient struct method AuthEnable (line 1411) | func (c *authClient) AuthEnable(ctx context.Context, in *AuthEnableReq... method AuthDisable (line 1421) | func (c *authClient) AuthDisable(ctx context.Context, in *AuthDisableR... method AuthStatus (line 1431) | func (c *authClient) AuthStatus(ctx context.Context, in *AuthStatusReq... method Authenticate (line 1441) | func (c *authClient) Authenticate(ctx context.Context, in *Authenticat... method UserAdd (line 1451) | func (c *authClient) UserAdd(ctx context.Context, in *AuthUserAddReque... method UserGet (line 1461) | func (c *authClient) UserGet(ctx context.Context, in *AuthUserGetReque... method UserList (line 1471) | func (c *authClient) UserList(ctx context.Context, in *AuthUserListReq... method UserDelete (line 1481) | func (c *authClient) UserDelete(ctx context.Context, in *AuthUserDelet... method UserChangePassword (line 1491) | func (c *authClient) UserChangePassword(ctx context.Context, in *AuthU... method UserGrantRole (line 1501) | func (c *authClient) UserGrantRole(ctx context.Context, in *AuthUserGr... method UserRevokeRole (line 1511) | func (c *authClient) UserRevokeRole(ctx context.Context, in *AuthUserR... method RoleAdd (line 1521) | func (c *authClient) RoleAdd(ctx context.Context, in *AuthRoleAddReque... method RoleGet (line 1531) | func (c *authClient) RoleGet(ctx context.Context, in *AuthRoleGetReque... method RoleList (line 1541) | func (c *authClient) RoleList(ctx context.Context, in *AuthRoleListReq... method RoleDelete (line 1551) | func (c *authClient) RoleDelete(ctx context.Context, in *AuthRoleDelet... method RoleGrantPermission (line 1561) | func (c *authClient) RoleGrantPermission(ctx context.Context, in *Auth... method RoleRevokePermission (line 1571) | func (c *authClient) RoleRevokePermission(ctx context.Context, in *Aut... function NewAuthClient (line 1407) | func NewAuthClient(cc grpc.ClientConnInterface) AuthClient { type AuthServer (line 1584) | type AuthServer interface type UnimplementedAuthServer (line 1627) | type UnimplementedAuthServer struct method AuthEnable (line 1629) | func (UnimplementedAuthServer) AuthEnable(context.Context, *AuthEnable... method AuthDisable (line 1632) | func (UnimplementedAuthServer) AuthDisable(context.Context, *AuthDisab... method AuthStatus (line 1635) | func (UnimplementedAuthServer) AuthStatus(context.Context, *AuthStatus... method Authenticate (line 1638) | func (UnimplementedAuthServer) Authenticate(context.Context, *Authenti... method UserAdd (line 1641) | func (UnimplementedAuthServer) UserAdd(context.Context, *AuthUserAddRe... method UserGet (line 1644) | func (UnimplementedAuthServer) UserGet(context.Context, *AuthUserGetRe... method UserList (line 1647) | func (UnimplementedAuthServer) UserList(context.Context, *AuthUserList... method UserDelete (line 1650) | func (UnimplementedAuthServer) UserDelete(context.Context, *AuthUserDe... method UserChangePassword (line 1653) | func (UnimplementedAuthServer) UserChangePassword(context.Context, *Au... method UserGrantRole (line 1656) | func (UnimplementedAuthServer) UserGrantRole(context.Context, *AuthUse... method UserRevokeRole (line 1659) | func (UnimplementedAuthServer) UserRevokeRole(context.Context, *AuthUs... method RoleAdd (line 1662) | func (UnimplementedAuthServer) RoleAdd(context.Context, *AuthRoleAddRe... method RoleGet (line 1665) | func (UnimplementedAuthServer) RoleGet(context.Context, *AuthRoleGetRe... method RoleList (line 1668) | func (UnimplementedAuthServer) RoleList(context.Context, *AuthRoleList... method RoleDelete (line 1671) | func (UnimplementedAuthServer) RoleDelete(context.Context, *AuthRoleDe... method RoleGrantPermission (line 1674) | func (UnimplementedAuthServer) RoleGrantPermission(context.Context, *A... method RoleRevokePermission (line 1677) | func (UnimplementedAuthServer) RoleRevokePermission(context.Context, *... method mustEmbedUnimplementedAuthServer (line 1680) | func (UnimplementedAuthServer) mustEmbedUnimplementedAuthServer() {} method testEmbeddedByValue (line 1681) | func (UnimplementedAuthServer) testEmbeddedByValue() {} type UnsafeAuthServer (line 1686) | type UnsafeAuthServer interface function RegisterAuthServer (line 1690) | func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer) { function _Auth_AuthEnable_Handler (line 1701) | func _Auth_AuthEnable_Handler(srv interface{}, ctx context.Context, dec ... function _Auth_AuthDisable_Handler (line 1719) | func _Auth_AuthDisable_Handler(srv interface{}, ctx context.Context, dec... function _Auth_AuthStatus_Handler (line 1737) | func _Auth_AuthStatus_Handler(srv interface{}, ctx context.Context, dec ... function _Auth_Authenticate_Handler (line 1755) | func _Auth_Authenticate_Handler(srv interface{}, ctx context.Context, de... function _Auth_UserAdd_Handler (line 1773) | func _Auth_UserAdd_Handler(srv interface{}, ctx context.Context, dec fun... function _Auth_UserGet_Handler (line 1791) | func _Auth_UserGet_Handler(srv interface{}, ctx context.Context, dec fun... function _Auth_UserList_Handler (line 1809) | func _Auth_UserList_Handler(srv interface{}, ctx context.Context, dec fu... function _Auth_UserDelete_Handler (line 1827) | func _Auth_UserDelete_Handler(srv interface{}, ctx context.Context, dec ... function _Auth_UserChangePassword_Handler (line 1845) | func _Auth_UserChangePassword_Handler(srv interface{}, ctx context.Conte... function _Auth_UserGrantRole_Handler (line 1863) | func _Auth_UserGrantRole_Handler(srv interface{}, ctx context.Context, d... function _Auth_UserRevokeRole_Handler (line 1881) | func _Auth_UserRevokeRole_Handler(srv interface{}, ctx context.Context, ... function _Auth_RoleAdd_Handler (line 1899) | func _Auth_RoleAdd_Handler(srv interface{}, ctx context.Context, dec fun... function _Auth_RoleGet_Handler (line 1917) | func _Auth_RoleGet_Handler(srv interface{}, ctx context.Context, dec fun... function _Auth_RoleList_Handler (line 1935) | func _Auth_RoleList_Handler(srv interface{}, ctx context.Context, dec fu... function _Auth_RoleDelete_Handler (line 1953) | func _Auth_RoleDelete_Handler(srv interface{}, ctx context.Context, dec ... function _Auth_RoleGrantPermission_Handler (line 1971) | func _Auth_RoleGrantPermission_Handler(srv interface{}, ctx context.Cont... function _Auth_RoleRevokePermission_Handler (line 1989) | func _Auth_RoleRevokePermission_Handler(srv interface{}, ctx context.Con... FILE: api/membershippb/membership.pb.go constant _ (line 25) | _ = proto.ProtoPackageIsVersion3 type RaftAttributes (line 28) | type RaftAttributes struct method Reset (line 38) | func (m *RaftAttributes) Reset() { *m = RaftAttributes{} } method String (line 39) | func (m *RaftAttributes) String() string { return proto.CompactTextStr... method ProtoMessage (line 40) | func (*RaftAttributes) ProtoMessage() {} method Descriptor (line 41) | func (*RaftAttributes) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 44) | func (m *RaftAttributes) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 47) | func (m *RaftAttributes) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 59) | func (m *RaftAttributes) XXX_Merge(src proto.Message) { method XXX_Size (line 62) | func (m *RaftAttributes) XXX_Size() int { method XXX_DiscardUnknown (line 65) | func (m *RaftAttributes) XXX_DiscardUnknown() { method GetPeerUrls (line 71) | func (m *RaftAttributes) GetPeerUrls() []string { method GetIsLearner (line 78) | func (m *RaftAttributes) GetIsLearner() bool { method Marshal (line 402) | func (m *RaftAttributes) Marshal() (dAtA []byte, err error) { method MarshalTo (line 412) | func (m *RaftAttributes) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 417) | func (m *RaftAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 680) | func (m *RaftAttributes) Size() (n int) { method Unmarshal (line 806) | func (m *RaftAttributes) Unmarshal(dAtA []byte) error { type Attributes (line 86) | type Attributes struct method Reset (line 94) | func (m *Attributes) Reset() { *m = Attributes{} } method String (line 95) | func (m *Attributes) String() string { return proto.CompactTextString(... method ProtoMessage (line 96) | func (*Attributes) ProtoMessage() {} method Descriptor (line 97) | func (*Attributes) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 100) | func (m *Attributes) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 103) | func (m *Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte... method XXX_Merge (line 115) | func (m *Attributes) XXX_Merge(src proto.Message) { method XXX_Size (line 118) | func (m *Attributes) XXX_Size() int { method XXX_DiscardUnknown (line 121) | func (m *Attributes) XXX_DiscardUnknown() { method GetName (line 127) | func (m *Attributes) GetName() string { method GetClientUrls (line 134) | func (m *Attributes) GetClientUrls() []string { method Marshal (line 448) | func (m *Attributes) Marshal() (dAtA []byte, err error) { method MarshalTo (line 458) | func (m *Attributes) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 463) | func (m *Attributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 701) | func (m *Attributes) Size() (n int) { method Unmarshal (line 909) | func (m *Attributes) Unmarshal(dAtA []byte) error { type Member (line 141) | type Member struct method Reset (line 150) | func (m *Member) Reset() { *m = Member{} } method String (line 151) | func (m *Member) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 152) | func (*Member) ProtoMessage() {} method Descriptor (line 153) | func (*Member) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 156) | func (m *Member) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 159) | func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, er... method XXX_Merge (line 171) | func (m *Member) XXX_Merge(src proto.Message) { method XXX_Size (line 174) | func (m *Member) XXX_Size() int { method XXX_DiscardUnknown (line 177) | func (m *Member) XXX_DiscardUnknown() { method GetID (line 183) | func (m *Member) GetID() uint64 { method GetRaftAttributes (line 190) | func (m *Member) GetRaftAttributes() *RaftAttributes { method GetMemberAttributes (line 197) | func (m *Member) GetMemberAttributes() *Attributes { method Marshal (line 491) | func (m *Member) Marshal() (dAtA []byte, err error) { method MarshalTo (line 501) | func (m *Member) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 506) | func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 723) | func (m *Member) Size() (n int) { method Unmarshal (line 1024) | func (m *Member) Unmarshal(dAtA []byte) error { type ClusterVersionSetRequest (line 204) | type ClusterVersionSetRequest struct method Reset (line 211) | func (m *ClusterVersionSetRequest) Reset() { *m = ClusterVersi... method String (line 212) | func (m *ClusterVersionSetRequest) String() string { return proto.Comp... method ProtoMessage (line 213) | func (*ClusterVersionSetRequest) ProtoMessage() {} method Descriptor (line 214) | func (*ClusterVersionSetRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 217) | func (m *ClusterVersionSetRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 220) | func (m *ClusterVersionSetRequest) XXX_Marshal(b []byte, deterministic... method XXX_Merge (line 232) | func (m *ClusterVersionSetRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 235) | func (m *ClusterVersionSetRequest) XXX_Size() int { method XXX_DiscardUnknown (line 238) | func (m *ClusterVersionSetRequest) XXX_DiscardUnknown() { method GetVer (line 244) | func (m *ClusterVersionSetRequest) GetVer() string { method Marshal (line 547) | func (m *ClusterVersionSetRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 557) | func (m *ClusterVersionSetRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 562) | func (m *ClusterVersionSetRequest) MarshalToSizedBuffer(dAtA []byte) (... method Size (line 746) | func (m *ClusterVersionSetRequest) Size() (n int) { method Unmarshal (line 1166) | func (m *ClusterVersionSetRequest) Unmarshal(dAtA []byte) error { type ClusterMemberAttrSetRequest (line 251) | type ClusterMemberAttrSetRequest struct method Reset (line 259) | func (m *ClusterMemberAttrSetRequest) Reset() { *m = ClusterMe... method String (line 260) | func (m *ClusterMemberAttrSetRequest) String() string { return proto.C... method ProtoMessage (line 261) | func (*ClusterMemberAttrSetRequest) ProtoMessage() {} method Descriptor (line 262) | func (*ClusterMemberAttrSetRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 265) | func (m *ClusterMemberAttrSetRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 268) | func (m *ClusterMemberAttrSetRequest) XXX_Marshal(b []byte, determinis... method XXX_Merge (line 280) | func (m *ClusterMemberAttrSetRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 283) | func (m *ClusterMemberAttrSetRequest) XXX_Size() int { method XXX_DiscardUnknown (line 286) | func (m *ClusterMemberAttrSetRequest) XXX_DiscardUnknown() { method GetMember_ID (line 292) | func (m *ClusterMemberAttrSetRequest) GetMember_ID() uint64 { method GetMemberAttributes (line 299) | func (m *ClusterMemberAttrSetRequest) GetMemberAttributes() *Attributes { method Marshal (line 581) | func (m *ClusterMemberAttrSetRequest) Marshal() (dAtA []byte, err erro... method MarshalTo (line 591) | func (m *ClusterMemberAttrSetRequest) MarshalTo(dAtA []byte) (int, err... method MarshalToSizedBuffer (line 596) | func (m *ClusterMemberAttrSetRequest) MarshalToSizedBuffer(dAtA []byte... method Size (line 762) | func (m *ClusterMemberAttrSetRequest) Size() (n int) { method Unmarshal (line 1249) | func (m *ClusterMemberAttrSetRequest) Unmarshal(dAtA []byte) error { type DowngradeInfoSetRequest (line 306) | type DowngradeInfoSetRequest struct method Reset (line 314) | func (m *DowngradeInfoSetRequest) Reset() { *m = DowngradeInfo... method String (line 315) | func (m *DowngradeInfoSetRequest) String() string { return proto.Compa... method ProtoMessage (line 316) | func (*DowngradeInfoSetRequest) ProtoMessage() {} method Descriptor (line 317) | func (*DowngradeInfoSetRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 320) | func (m *DowngradeInfoSetRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 323) | func (m *DowngradeInfoSetRequest) XXX_Marshal(b []byte, deterministic ... method XXX_Merge (line 335) | func (m *DowngradeInfoSetRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 338) | func (m *DowngradeInfoSetRequest) XXX_Size() int { method XXX_DiscardUnknown (line 341) | func (m *DowngradeInfoSetRequest) XXX_DiscardUnknown() { method GetEnabled (line 347) | func (m *DowngradeInfoSetRequest) GetEnabled() bool { method GetVer (line 354) | func (m *DowngradeInfoSetRequest) GetVer() string { method Marshal (line 625) | func (m *DowngradeInfoSetRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 635) | func (m *DowngradeInfoSetRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 640) | func (m *DowngradeInfoSetRequest) MarshalToSizedBuffer(dAtA []byte) (i... method Size (line 781) | func (m *DowngradeInfoSetRequest) Size() (n int) { method Unmarshal (line 1355) | func (m *DowngradeInfoSetRequest) Unmarshal(dAtA []byte) error { function init (line 361) | func init() { function init (line 370) | func init() { proto.RegisterFile("membership.proto", fileDescriptor_949f... function encodeVarintMembership (line 669) | func encodeVarintMembership(dAtA []byte, offset int, v uint64) int { function sovMembership (line 800) | func sovMembership(x uint64) (n int) { function sozMembership (line 803) | func sozMembership(x uint64) (n int) { function skipMembership (line 1458) | func skipMembership(dAtA []byte) (n int, err error) { FILE: api/mvccpb/deprecated.go constant PUT (line 20) | PUT = Event_PUT constant DELETE (line 23) | DELETE = Event_DELETE FILE: api/mvccpb/kv.pb.go constant _ (line 24) | _ = proto.ProtoPackageIsVersion3 type Event_EventType (line 26) | type Event_EventType method String (line 43) | func (x Event_EventType) String() string { method EnumDescriptor (line 47) | func (Event_EventType) EnumDescriptor() ([]byte, []int) { constant Event_PUT (line 29) | Event_PUT Event_EventType = 0 constant Event_DELETE (line 30) | Event_DELETE Event_EventType = 1 type KeyValue (line 51) | type KeyValue struct method Reset (line 73) | func (m *KeyValue) Reset() { *m = KeyValue{} } method String (line 74) | func (m *KeyValue) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 75) | func (*KeyValue) ProtoMessage() {} method Descriptor (line 76) | func (*KeyValue) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 79) | func (m *KeyValue) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 82) | func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, ... method XXX_Merge (line 94) | func (m *KeyValue) XXX_Merge(src proto.Message) { method XXX_Size (line 97) | func (m *KeyValue) XXX_Size() int { method XXX_DiscardUnknown (line 100) | func (m *KeyValue) XXX_DiscardUnknown() { method GetKey (line 106) | func (m *KeyValue) GetKey() []byte { method GetCreateRevision (line 113) | func (m *KeyValue) GetCreateRevision() int64 { method GetModRevision (line 120) | func (m *KeyValue) GetModRevision() int64 { method GetVersion (line 127) | func (m *KeyValue) GetVersion() int64 { method GetValue (line 134) | func (m *KeyValue) GetValue() []byte { method GetLease (line 141) | func (m *KeyValue) GetLease() int64 { method Marshal (line 252) | func (m *KeyValue) Marshal() (dAtA []byte, err error) { method MarshalTo (line 262) | func (m *KeyValue) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 267) | func (m *KeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 380) | func (m *KeyValue) Size() (n int) { method Unmarshal (line 441) | func (m *KeyValue) Unmarshal(dAtA []byte) error { type Event (line 148) | type Event struct method Reset (line 166) | func (m *Event) Reset() { *m = Event{} } method String (line 167) | func (m *Event) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 168) | func (*Event) ProtoMessage() {} method Descriptor (line 169) | func (*Event) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 172) | func (m *Event) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 175) | func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, err... method XXX_Merge (line 187) | func (m *Event) XXX_Merge(src proto.Message) { method XXX_Size (line 190) | func (m *Event) XXX_Size() int { method XXX_DiscardUnknown (line 193) | func (m *Event) XXX_DiscardUnknown() { method GetType (line 199) | func (m *Event) GetType() Event_EventType { method GetKv (line 206) | func (m *Event) GetKv() *KeyValue { method GetPrevKv (line 213) | func (m *Event) GetPrevKv() *KeyValue { method Marshal (line 313) | func (m *Event) Marshal() (dAtA []byte, err error) { method MarshalTo (line 323) | func (m *Event) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 328) | func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 412) | func (m *Event) Size() (n int) { method Unmarshal (line 636) | func (m *Event) Unmarshal(dAtA []byte) error { function init (line 220) | func init() { function init (line 226) | func init() { proto.RegisterFile("kv.proto", fileDescriptor_2216fe83c9c1... function encodeVarintKv (line 369) | func encodeVarintKv(dAtA []byte, offset int, v uint64) int { function sovKv (line 435) | func sovKv(x uint64) (n int) { function sozKv (line 438) | func sozKv(x uint64) (n int) { function skipKv (line 778) | func skipKv(dAtA []byte) (n int, err error) { FILE: api/v3rpc/rpctypes/error.go type EtcdError (line 241) | type EtcdError struct method Code (line 248) | func (e EtcdError) Code() codes.Code { method Error (line 252) | func (e EtcdError) Error() string { function Error (line 256) | func Error(err error) error { function ErrorDesc (line 274) | func ErrorDesc(err error) string { FILE: api/v3rpc/rpctypes/error_test.go function TestConvert (line 26) | func TestConvert(t *testing.T) { FILE: api/v3rpc/rpctypes/metadatafields.go type TokenFieldNameGRPCKey (line 23) | type TokenFieldNameGRPCKey struct FILE: api/version/version.go function init (line 53) | func init() { type Versions (line 60) | type Versions struct function Cluster (line 68) | func Cluster(v string) string { function Compare (line 76) | func Compare(ver1, ver2 semver.Version) int { function LessThan (line 80) | func LessThan(ver1, ver2 semver.Version) bool { function Equal (line 84) | func Equal(ver1, ver2 semver.Version) bool { FILE: api/version/version_test.go function TestVersionCompare (line 24) | func TestVersionCompare(t *testing.T) { FILE: api/versionpb/version.pb.go constant _ (line 23) | _ = proto.ProtoPackageIsVersion3 function init (line 61) | func init() { function init (line 68) | func init() { proto.RegisterFile("version.proto", fileDescriptor_7d2c07d... FILE: cache/cache.go type Cache (line 37) | type Cache struct method Watch (line 91) | func (c *Cache) Watch(ctx context.Context, key string, opts ...clientv... method Get (line 148) | func (c *Cache) Get(ctx context.Context, key string, opts ...clientv3.... method Ready (line 177) | func (c *Cache) Ready() bool { method WaitReady (line 182) | func (c *Cache) WaitReady(ctx context.Context) error { method WaitForRevision (line 186) | func (c *Cache) WaitForRevision(ctx context.Context, rev int64) error { method Close (line 200) | func (c *Cache) Close() { method getWatchLoop (line 205) | func (c *Cache) getWatchLoop() { method getWatch (line 224) | func (c *Cache) getWatch() error { method get (line 232) | func (c *Cache) get(ctx context.Context) (*clientv3.GetResponse, error) { method watch (line 241) | func (c *Cache) watch(rev int64) error { method applyStorage (line 265) | func (c *Cache) applyStorage(storeW *watcher) error { method watchEvents (line 281) | func (c *Cache) watchEvents(rev int64, applyErr <-chan error, readyOnc... method validateWatch (line 318) | func (c *Cache) validateWatch(key string, op clientv3.Op) (pred KeyPre... method validateGet (line 343) | func (c *Cache) validateGet(key string, op clientv3.Op) (KeyPredicate,... method validateRange (line 376) | func (c *Cache) validateRange(startKey, endKey []byte) error { method WaitForNextResync (line 414) | func (c *Cache) WaitForNextResync(ctx context.Context) error { function New (line 52) | func New(client *clientv3.Client, prefix string, opts ...Option) (*Cache... FILE: cache/cache_test.go function TestCacheWatchAtomicOrderedDelivery (line 30) | func TestCacheWatchAtomicOrderedDelivery(t *testing.T) { function TestValidateWatchRange (line 233) | func TestValidateWatchRange(t *testing.T) { function TestCacheCompactionResync (line 402) | func TestCacheCompactionResync(t *testing.T) { function waitUntil (line 486) | func waitUntil(t *testing.T, timeout, poll time.Duration, cond func() bo... type mockWatcher (line 497) | type mockWatcher struct method Watch (line 513) | func (m *mockWatcher) Watch(ctx context.Context, _ string, opts ...cli... method RequestProgress (line 525) | func (m *mockWatcher) RequestProgress(_ context.Context) error { retur... method Close (line 527) | func (m *mockWatcher) Close() error { method triggerCreatedNotify (line 533) | func (m *mockWatcher) triggerCreatedNotify() { m.responses <- clientv3... method errorCompacted (line 535) | func (m *mockWatcher) errorCompacted(compRev int64) { method extractRev (line 542) | func (m *mockWatcher) extractRev(opts []clientv3.OpOption) int64 { method recordStartRev (line 550) | func (m *mockWatcher) recordStartRev(rev int64) { method getLastStartRev (line 556) | func (m *mockWatcher) getLastStartRev() int64 { method signalRegistration (line 562) | func (m *mockWatcher) signalRegistration() { method resetRegistered (line 572) | func (m *mockWatcher) resetRegistered() { method streamResponses (line 578) | func (m *mockWatcher) streamResponses(ctx context.Context, out chan<- ... function newMockWatcher (line 506) | func newMockWatcher(buf int) *mockWatcher { type kvStub (line 600) | type kvStub struct method Get (line 613) | func (s *kvStub) Get(ctx context.Context, key string, _ ...clientv3.Op... method Put (line 622) | func (s *kvStub) Put(ctx context.Context, key, val string, _ ...client... method Delete (line 626) | func (s *kvStub) Delete(ctx context.Context, key string, _ ...clientv3... method Compact (line 630) | func (s *kvStub) Compact(ctx context.Context, rev int64, _ ...clientv3... method Do (line 634) | func (s *kvStub) Do(ctx context.Context, op clientv3.Op) (clientv3.OpR... method Txn (line 638) | func (s *kvStub) Txn(ctx context.Context) clientv3.Txn { function newKVStub (line 605) | func newKVStub(resps ...*clientv3.GetResponse) *kvStub { function event (line 642) | func event(eventType mvccpb.Event_EventType, key string, rev int64) *cli... function collectAndAssertAtomicEvents (line 654) | func collectAndAssertAtomicEvents(ctx context.Context, t *testing.T, wat... function verifySnapshot (line 685) | func verifySnapshot(t *testing.T, cache *Cache, want []*mvccpb.KeyValue) { FILE: cache/config.go type Config (line 19) | type Config struct function defaultConfig (line 39) | func defaultConfig() Config { type Option (line 51) | type Option function WithPerWatcherBufferSize (line 53) | func WithPerWatcherBufferSize(n int) Option { function WithHistoryWindowSize (line 57) | func WithHistoryWindowSize(n int) Option { function WithResyncInterval (line 61) | func WithResyncInterval(d time.Duration) Option { function WithInitialBackoff (line 65) | func WithInitialBackoff(d time.Duration) Option { function WithMaxBackoff (line 69) | func WithMaxBackoff(d time.Duration) Option { function WithGetTimeout (line 73) | func WithGetTimeout(d time.Duration) Option { function WithBTreeDegree (line 77) | func WithBTreeDegree(n int) Option { FILE: cache/demux.go type demux (line 27) | type demux struct method resyncLoop (line 63) | func (d *demux) resyncLoop(ctx context.Context) { method WaitForNextResync (line 80) | func (d *demux) WaitForNextResync(ctx context.Context) error { method Register (line 84) | func (d *demux) Register(w *watcher, startingRev int64) { method Unregister (line 109) | func (d *demux) Unregister(w *watcher) { method Init (line 119) | func (d *demux) Init(minRev int64) { method Broadcast (line 145) | func (d *demux) Broadcast(resp clientv3.WatchResponse) error { method LatestRev (line 160) | func (d *demux) LatestRev() int64 { method updateStoreLocked (line 166) | func (d *demux) updateStoreLocked(resp clientv3.WatchResponse) { method broadcastLocked (line 196) | func (d *demux) broadcastLocked(resp clientv3.WatchResponse) { method broadcastProgressLocked (line 206) | func (d *demux) broadcastProgressLocked(progressRev int64) { method broadcastEventsLocked (line 222) | func (d *demux) broadcastEventsLocked(events []*clientv3.Event) { method Purge (line 257) | func (d *demux) Purge() { method purge (line 263) | func (d *demux) purge() { method Compact (line 279) | func (d *demux) Compact(compactRev int64) { method resyncLaggingWatchers (line 285) | func (d *demux) resyncLaggingWatchers() { function NewDemux (line 42) | func NewDemux(ctx context.Context, wg *sync.WaitGroup, historyWindowSize... function newDemux (line 52) | func newDemux(historyWindowSize int, resyncInterval time.Duration) *demux { function newNotifier (line 328) | func newNotifier() *notifier { type notifier (line 334) | type notifier struct method notify (line 339) | func (n *notifier) notify() { method wait (line 347) | func (n *notifier) wait(ctx context.Context) error { FILE: cache/demux_test.go function TestInit (line 28) | func TestInit(t *testing.T) { function TestBroadcast (line 123) | func TestBroadcast(t *testing.T) { function TestBroadcastBatching (line 228) | func TestBroadcastBatching(t *testing.T) { function TestSlowWatcherResync (line 277) | func TestSlowWatcherResync(t *testing.T) { function respWithEventRevs (line 339) | func respWithEventRevs(revs ...int64) clientv3.WatchResponse { function readBatches (line 355) | func readBatches(t *testing.T, w *watcher, n int) (revs []int64, sizes [... FILE: cache/predicate.go type Prefix (line 19) | type Prefix method Match (line 21) | func (prefix Prefix) Match(key []byte) bool { function ExactKey (line 29) | func ExactKey(key []byte) KeyPredicate { function FromKey (line 33) | func FromKey(start []byte) KeyPredicate { function Range (line 37) | func Range(start, end []byte) KeyPredicate { function KeyPredForRange (line 44) | func KeyPredForRange(start, end []byte) KeyPredicate { FILE: cache/ready.go type ready (line 23) | type ready struct method Ready (line 33) | func (r *ready) Ready() bool { method WaitReady (line 39) | func (r *ready) WaitReady(ctx context.Context) error { method WaitNotReady (line 43) | func (r *ready) WaitNotReady(ctx context.Context) error { method Set (line 47) | func (r *ready) Set() { method Reset (line 57) | func (r *ready) Reset() { method waitForState (line 67) | func (r *ready) waitForState(ctx context.Context, pred func() bool) er... function newReady (line 29) | func newReady() *ready { FILE: cache/ready_test.go function TestWaitMethods (line 25) | func TestWaitMethods(t *testing.T) { function TestSetUnblocksWaiters (line 101) | func TestSetUnblocksWaiters(t *testing.T) { function TestResetUnblocksWaiters (line 105) | func TestResetUnblocksWaiters(t *testing.T) { function testStateTransitionUnblocksWaiters (line 109) | func testStateTransitionUnblocksWaiters(t *testing.T, initialSet bool, w... function TestIdempotentStateTransitions (line 175) | func TestIdempotentStateTransitions(t *testing.T) { FILE: cache/ringbuffer.go type ringBuffer (line 17) | type ringBuffer struct type entry (line 24) | type entry struct type RevisionOf (line 31) | type RevisionOf type IterFunc (line 32) | type IterFunc function newRingBuffer (line 35) | func newRingBuffer[T any](capacity int, revisionOf RevisionOf[T]) *ringB... method Append (line 43) | func (r *ringBuffer[T]) Append(item T) { method full (line 54) | func (r *ringBuffer[T]) full() bool { method AscendGreaterOrEqual (line 60) | func (r *ringBuffer[T]) AscendGreaterOrEqual(pivot int64, iter IterFunc[... method AscendLessThan (line 79) | func (r *ringBuffer[T]) AscendLessThan(pivot int64, iter IterFunc[T]) { method DescendGreaterThan (line 98) | func (r *ringBuffer[T]) DescendGreaterThan(pivot int64, iter IterFunc[T]) { method DescendLessOrEqual (line 117) | func (r *ringBuffer[T]) DescendLessOrEqual(pivot int64, iter IterFunc[T]) { method PeekLatest (line 136) | func (r *ringBuffer[T]) PeekLatest() int64 { method PeekOldest (line 145) | func (r *ringBuffer[T]) PeekOldest() int64 { method RebaseHistory (line 152) | func (r *ringBuffer[T]) RebaseHistory() { method moduloIndex (line 159) | func (r *ringBuffer[T]) moduloIndex(index int) int { FILE: cache/ringbuffer_test.go function TestPeekLatestAndOldest (line 27) | func TestPeekLatestAndOldest(t *testing.T) { function TestIterationMethods (line 93) | func TestIterationMethods(t *testing.T) { function TestIterationWithBatching (line 170) | func TestIterationWithBatching(t *testing.T) { function TestIterationEarlyStop (line 255) | func TestIterationEarlyStop(t *testing.T) { type iterMethod (line 327) | type iterMethod constant ascendGTE (line 330) | ascendGTE iterMethod = "AscendGreaterOrEqual" constant ascendLT (line 331) | ascendLT iterMethod = "AscendLessThan" constant descendGT (line 332) | descendGT iterMethod = "DescendGreaterThan" constant descendLTE (line 333) | descendLTE iterMethod = "DescendLessOrEqual" method iterate (line 336) | func (r *ringBuffer[T]) iterate(method iterMethod, pivot int64, fn IterF... function TestAtomicOrdered (line 351) | func TestAtomicOrdered(t *testing.T) { function TestRebaseHistory (line 434) | func TestRebaseHistory(t *testing.T) { function TestFull (line 487) | func TestFull(t *testing.T) { function setupRingBuffer (line 541) | func setupRingBuffer(t *testing.T, capacity int, revs []int64) *ringBuff... function collectRevisions (line 553) | func collectRevisions(rb *ringBuffer[[]*clientv3.Event], method iterMeth... function makeEventBatch (line 562) | func makeEventBatch(rev int64, key string, batchSize int) ([]*clientv3.E... FILE: cache/snapshot.go type snapshot (line 24) | type snapshot struct method Range (line 33) | func (s *snapshot) Range(startKey, endKey []byte) []*mvccpb.KeyValue { function newClonedSnapshot (line 29) | func newClonedSnapshot(rev int64, t *btree.BTree[*kvItem]) *snapshot { function isPrefixScan (line 58) | func isPrefixScan(endKey []byte) bool { function probeItemFromKey (line 62) | func probeItemFromKey(key []byte) *kvItem { return &kvItem{key: string(k... FILE: cache/store.go type store (line 33) | type store struct method Get (line 62) | func (s *store) Get(startKey, endKey []byte, rev int64) ([]*mvccpb.Key... method getSnapshot (line 70) | func (s *store) getSnapshot(rev int64) (*snapshot, int64, error) { method Restore (line 105) | func (s *store) Restore(kvs []*mvccpb.KeyValue, rev int64) { method Apply (line 118) | func (s *store) Apply(resp clientv3.WatchResponse) error { method applyProgressNotifyLocked (line 140) | func (s *store) applyProgressNotifyLocked(revision int64) { method applyEventsLocked (line 147) | func (s *store) applyEventsLocked(events []*clientv3.Event) error { method LatestRev (line 169) | func (s *store) LatestRev() int64 { function newStore (line 40) | func newStore(degree int, historyCapacity int) *store { type kvItem (line 49) | type kvItem struct function newKVItem (line 54) | func newKVItem(kv *mvccpb.KeyValue) *kvItem { function kvItemLess (line 58) | func kvItemLess(a, b *kvItem) bool { function validateRevisions (line 175) | func validateRevisions(resp clientv3.WatchResponse, latestRev int64) err... FILE: cache/store_test.go function TestStoreGet (line 27) | func TestStoreGet(t *testing.T) { function TestStoreApply (line 148) | func TestStoreApply(t *testing.T) { function TestStoreRestore (line 304) | func TestStoreRestore(t *testing.T) { function TestRestoreAppendCloneImmutability (line 358) | func TestRestoreAppendCloneImmutability(t *testing.T) { function makeKV (line 415) | func makeKV(key, val string, rev int64) *mvccpb.KeyValue { function makePutEvent (line 419) | func makePutEvent(key, val string, rev int64) *clientv3.Event { function makeDelEvent (line 423) | func makeDelEvent(key string, rev int64) *clientv3.Event { function verifyStoreSnapshot (line 427) | func verifyStoreSnapshot(t *testing.T, s *store, want []*mvccpb.KeyValue... FILE: cache/watcher.go type watcher (line 25) | type watcher struct method enqueueResponse (line 41) | func (w *watcher) enqueueResponse(resp clientv3.WatchResponse) bool { method Compact (line 62) | func (w *watcher) Compact(compactRev int64) { method Stop (line 75) | func (w *watcher) Stop() { function newWatcher (line 32) | func newWatcher(bufSize int, pred KeyPredicate) *watcher { FILE: client/pkg/fileutil/dir_unix.go constant PrivateDirMode (line 23) | PrivateDirMode = 0o700 function OpenDir (line 27) | func OpenDir(path string) (*os.File, error) { return os.Open(path) } FILE: client/pkg/fileutil/dir_windows.go constant PrivateDirMode (line 26) | PrivateDirMode = 0o777 function OpenDir (line 30) | func OpenDir(path string) (*os.File, error) { function openDir (line 38) | func openDir(path string) (fd syscall.Handle, err error) { FILE: client/pkg/fileutil/filereader.go type FileReader (line 25) | type FileReader interface type fileReader (line 30) | type fileReader struct method FileInfo (line 38) | func (fr *fileReader) FileInfo() (fs.FileInfo, error) { function NewFileReader (line 34) | func NewFileReader(f *os.File) FileReader { type FileBufReader (line 43) | type FileBufReader struct method FileInfo (line 58) | func (fbr *FileBufReader) FileInfo() fs.FileInfo { function NewFileBufReader (line 48) | func NewFileBufReader(fr FileReader) *FileBufReader { FILE: client/pkg/fileutil/filereader_test.go function TestFileBufReader (line 25) | func TestFileBufReader(t *testing.T) { FILE: client/pkg/fileutil/fileutil.go constant PrivateFileMode (line 31) | PrivateFileMode = 0o600 function IsDirWriteable (line 36) | func IsDirWriteable(dir string) error { function TouchDirAll (line 49) | func TouchDirAll(lg *zap.Logger, dir string) error { function CreateDirAll (line 72) | func CreateDirAll(lg *zap.Logger, dir string) error { function Exist (line 88) | func Exist(name string) bool { function DirEmpty (line 94) | func DirEmpty(name string) bool { function ZeroToEnd (line 101) | func ZeroToEnd(f *os.File) error { function CheckDirPermission (line 124) | func CheckDirPermission(dir string, perm os.FileMode) error { function RemoveMatchFile (line 143) | func RemoveMatchFile(lg *zap.Logger, dir string, matchFunc func(fileName... function ListFiles (line 174) | func ListFiles(dir string, matchFunc func(fileName string) bool) ([]stri... FILE: client/pkg/fileutil/fileutil_test.go function TestIsDirWriteable (line 34) | func TestIsDirWriteable(t *testing.T) { function TestCreateDirAll (line 53) | func TestCreateDirAll(t *testing.T) { function TestExist (line 66) | func TestExist(t *testing.T) { function TestDirEmpty (line 89) | func TestDirEmpty(t *testing.T) { function TestZeroToEnd (line 102) | func TestZeroToEnd(t *testing.T) { function TestDirPermission (line 134) | func TestDirPermission(t *testing.T) { function TestRemoveMatchFile (line 146) | func TestRemoveMatchFile(t *testing.T) { function TestTouchDirAll (line 179) | func TestTouchDirAll(t *testing.T) { FILE: client/pkg/fileutil/lock.go type LockedFile (line 24) | type LockedFile struct FILE: client/pkg/fileutil/lock_flock.go function flockTryLockFile (line 25) | func flockTryLockFile(path string, flag int, perm os.FileMode) (*LockedF... function flockLockFile (line 40) | func flockLockFile(path string, flag int, perm os.FileMode) (*LockedFile... FILE: client/pkg/fileutil/lock_linux.go function init (line 46) | func init() { function TryLockFile (line 55) | func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, ... function ofdTryLockFile (line 59) | func ofdTryLockFile(path string, flag int, perm os.FileMode) (*LockedFil... function LockFile (line 76) | func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, err... function ofdLockFile (line 80) | func ofdLockFile(path string, flag int, perm os.FileMode) (*LockedFile, ... FILE: client/pkg/fileutil/lock_linux_test.go function TestLockAndUnlockSyscallFlock (line 22) | func TestLockAndUnlockSyscallFlock(t *testing.T) { FILE: client/pkg/fileutil/lock_plan9.go function TryLockFile (line 23) | func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, ... function LockFile (line 34) | func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, err... FILE: client/pkg/fileutil/lock_solaris.go function TryLockFile (line 24) | func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, ... function LockFile (line 46) | func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, err... FILE: client/pkg/fileutil/lock_test.go function TestLockAndUnlock (line 25) | func TestLockAndUnlock(t *testing.T) { FILE: client/pkg/fileutil/lock_unix.go function TryLockFile (line 23) | func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, ... function LockFile (line 27) | func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, err... FILE: client/pkg/fileutil/lock_windows.go function TryLockFile (line 30) | func TryLockFile(path string, flag int, perm os.FileMode) (*LockedFile, ... function LockFile (line 42) | func LockFile(path string, flag int, perm os.FileMode) (*LockedFile, err... function open (line 54) | func open(path string, flag int, perm os.FileMode) (*os.File, error) { function lockFile (line 84) | func lockFile(fd windows.Handle, flags uint32) error { FILE: client/pkg/fileutil/preallocate.go function Preallocate (line 27) | func Preallocate(f *os.File, sizeInBytes int64, extendFile bool) error { function preallocExtendTrunc (line 38) | func preallocExtendTrunc(f *os.File, sizeInBytes int64) error { FILE: client/pkg/fileutil/preallocate_darwin.go function preallocExtend (line 27) | func preallocExtend(f *os.File, sizeInBytes int64) error { function preallocFixed (line 34) | func preallocFixed(f *os.File, sizeInBytes int64) error { FILE: client/pkg/fileutil/preallocate_test.go function TestPreallocateExtend (line 24) | func TestPreallocateExtend(t *testing.T) { function TestPreallocateExtendTrunc (line 33) | func TestPreallocateExtendTrunc(t *testing.T) { function testPreallocateExtend (line 41) | func testPreallocateExtend(t *testing.T, f *os.File, pf func(*os.File, i... function TestPreallocateFixed (line 53) | func TestPreallocateFixed(t *testing.T) { runPreallocTest(t, testPreallo... function testPreallocateFixed (line 54) | func testPreallocateFixed(t *testing.T, f *os.File) { function runPreallocTest (line 66) | func runPreallocTest(t *testing.T, test func(*testing.T, *os.File)) { FILE: client/pkg/fileutil/preallocate_unix.go function preallocExtend (line 25) | func preallocExtend(f *os.File, sizeInBytes int64) error { function preallocFixed (line 39) | func preallocFixed(f *os.File, sizeInBytes int64) error { FILE: client/pkg/fileutil/preallocate_unsupported.go function preallocExtend (line 21) | func preallocExtend(f *os.File, sizeInBytes int64) error { function preallocFixed (line 25) | func preallocFixed(f *os.File, sizeInBytes int64) error { return nil } FILE: client/pkg/fileutil/purge.go function PurgeFile (line 26) | func PurgeFile(lg *zap.Logger, dirname string, suffix string, max uint, ... function PurgeFileWithDoneNotify (line 30) | func PurgeFileWithDoneNotify(lg *zap.Logger, dirname string, suffix stri... function PurgeFileWithoutFlock (line 36) | func PurgeFileWithoutFlock(lg *zap.Logger, dirname string, suffix string... function purgeFile (line 44) | func purgeFile(lg *zap.Logger, dirname string, suffix string, max uint, ... function readDirWithSuffix (line 107) | func readDirWithSuffix(dirname string, suffix string) ([]string, error) { FILE: client/pkg/fileutil/purge_test.go function TestPurgeFile (line 29) | func TestPurgeFile(t *testing.T) { function TestPurgeFileHoldingLockFile (line 87) | func TestPurgeFileHoldingLockFile(t *testing.T) { FILE: client/pkg/fileutil/read_dir.go type ReadDirOp (line 24) | type ReadDirOp struct method applyOpts (line 37) | func (op *ReadDirOp) applyOpts(opts []ReadDirOption) { type ReadDirOption (line 29) | type ReadDirOption function WithExt (line 33) | func WithExt(ext string) ReadDirOption { function ReadDir (line 44) | func ReadDir(d string, opts ...ReadDirOption) ([]string, error) { FILE: client/pkg/fileutil/read_dir_test.go function TestReadDir (line 27) | func TestReadDir(t *testing.T) { function writeFunc (line 49) | func writeFunc(t *testing.T, path string) { FILE: client/pkg/fileutil/sync.go function Fsync (line 22) | func Fsync(f *os.File) error { function Fdatasync (line 27) | func Fdatasync(f *os.File) error { FILE: client/pkg/fileutil/sync_darwin.go function Fsync (line 29) | func Fsync(f *os.File) error { function Fdatasync (line 36) | func Fdatasync(f *os.File) error { FILE: client/pkg/fileutil/sync_linux.go function Fsync (line 25) | func Fsync(f *os.File) error { function Fdatasync (line 32) | func Fdatasync(f *os.File) error { FILE: client/pkg/logutil/log_format.go constant JSONLogFormat (line 20) | JSONLogFormat = "json" constant ConsoleLogFormat (line 21) | ConsoleLogFormat = "console" constant JsonLogFormat (line 24) | JsonLogFormat = JSONLogFormat function ConvertToZapFormat (line 31) | func ConvertToZapFormat(format string) (string, error) { FILE: client/pkg/logutil/log_format_test.go function TestLogFormat (line 21) | func TestLogFormat(t *testing.T) { FILE: client/pkg/logutil/log_level.go function ConvertToZapLevel (line 24) | func ConvertToZapLevel(lvl string) zapcore.Level { FILE: client/pkg/logutil/zap.go function CreateDefaultZapLogger (line 26) | func CreateDefaultZapLogger(level zapcore.Level) (*zap.Logger, error) { function MergeOutputPaths (line 74) | func MergeOutputPaths(cfg zap.Config) zap.Config { function mergePaths (line 80) | func mergePaths(old []string) []string { FILE: client/pkg/logutil/zap_journal.go function NewJournalWriter (line 38) | func NewJournalWriter(wr io.Writer) (io.Writer, error) { type journalWriter (line 42) | type journalWriter struct method Write (line 53) | func (w *journalWriter) Write(p []byte) (int, error) { type logLine (line 48) | type logLine struct FILE: client/pkg/logutil/zap_journal_test.go function TestNewJournalWriter (line 27) | func TestNewJournalWriter(t *testing.T) { FILE: client/pkg/logutil/zap_test.go type commonLogFields (line 29) | type commonLogFields struct constant fractionSecondsPrecision (line 36) | fractionSecondsPrecision = 6 function TestEncodeTimePrecisionToMicroSeconds (line 39) | func TestEncodeTimePrecisionToMicroSeconds(t *testing.T) { function TestMergeOutputPaths (line 61) | func TestMergeOutputPaths(t *testing.T) { FILE: client/pkg/pathutil/path.go function CanonicalURLPath (line 27) | func CanonicalURLPath(p string) string { FILE: client/pkg/pathutil/path_test.go function TestCanonicalURLPath (line 19) | func TestCanonicalURLPath(t *testing.T) { FILE: client/pkg/srv/srv.go function GetCluster (line 35) | func GetCluster(serviceScheme, service, name, dns string, apurls types.U... type SRVClients (line 95) | type SRVClients struct function GetClient (line 101) | func GetClient(service, domain string, serviceName string) (*SRVClients,... function GetSRVService (line 137) | func GetSRVService(service, serviceName string, scheme string) (SRVServi... FILE: client/pkg/srv/srv_test.go function notFoundErr (line 30) | func notFoundErr(service, proto, domain string) error { function TestSRVGetCluster (line 35) | func TestSRVGetCluster(t *testing.T) { function TestSRVDiscover (line 162) | func TestSRVDiscover(t *testing.T) { function TestGetSRVService (line 269) | func TestGetSRVService(t *testing.T) { FILE: client/pkg/systemd/journal.go function DialJournal (line 23) | func DialJournal() error { FILE: client/pkg/testutil/assert.go function AssertNil (line 25) | func AssertNil(t *testing.T, v any) { function AssertNotNil (line 32) | func AssertNotNil(t *testing.T, v any) { function AssertTrue (line 41) | func AssertTrue(t *testing.T, v bool, msg ...string) { function AssertFalse (line 48) | func AssertFalse(t *testing.T, v bool, msg ...string) { FILE: client/pkg/testutil/before.go function BeforeTest (line 25) | func BeforeTest(tb testing.TB) { function BeforeIntegrationExamples (line 40) | func BeforeIntegrationExamples(*testing.M) func() { FILE: client/pkg/testutil/leak.go function CheckLeakedGoroutine (line 49) | func CheckLeakedGoroutine() bool { function CheckAfterTest (line 71) | func CheckAfterTest(d time.Duration) error { function RegisterLeakDetection (line 111) | func RegisterLeakDetection(t TB) { function afterTest (line 124) | func afterTest(t TB) { function interestingGoroutines (line 134) | func interestingGoroutines() (gs []string) { function MustCheckLeakedGoroutine (line 188) | func MustCheckLeakedGoroutine() { function MustTestMainWithLeakDetection (line 203) | func MustTestMainWithLeakDetection(m *testing.M) { FILE: client/pkg/testutil/leak_test.go function TestMain (line 26) | func TestMain(m *testing.M) { function TestSample (line 36) | func TestSample(t *testing.T) { FILE: client/pkg/testutil/pauseable_handler.go type PauseableHandler (line 22) | type PauseableHandler struct method ServeHTTP (line 28) | func (ph *PauseableHandler) ServeHTTP(w http.ResponseWriter, r *http.R... method Pause (line 47) | func (ph *PauseableHandler) Pause() { method Resume (line 53) | func (ph *PauseableHandler) Resume() { FILE: client/pkg/testutil/recorder.go type Action (line 24) | type Action struct type Recorder (line 29) | type Recorder interface type RecorderBuffered (line 42) | type RecorderBuffered struct method Record (line 47) | func (r *RecorderBuffered) Record(a Action) { method Action (line 53) | func (r *RecorderBuffered) Action() []Action { method Wait (line 61) | func (r *RecorderBuffered) Wait(n int) (acts []Action, err error) { method Chan (line 71) | func (r *RecorderBuffered) Chan() <-chan Action { type recorderStream (line 84) | type recorderStream struct method Record (line 97) | func (r *recorderStream) Record(a Action) { method Action (line 101) | func (r *recorderStream) Action() (acts []Action) { method Chan (line 112) | func (r *recorderStream) Chan() <-chan Action { method Wait (line 116) | func (r *recorderStream) Wait(n int) ([]Action, error) { function NewRecorderStream (line 89) | func NewRecorderStream() Recorder { function NewRecorderStreamWithWaitTimout (line 93) | func NewRecorderStreamWithWaitTimout(waitTimeout time.Duration) Recorder { function newLenErr (line 139) | func newLenErr(expected int, actual int) error { FILE: client/pkg/testutil/testingtb.go type TB (line 24) | type TB interface function NewTestingTBProthesis (line 47) | func NewTestingTBProthesis(name string) (tb TB, closef func()) { type testingTBProthesis (line 52) | type testingTBProthesis struct method Helper (line 58) | func (t *testingTBProthesis) Helper() { method Skip (line 62) | func (t *testingTBProthesis) Skip(args ...any) { method Cleanup (line 66) | func (t *testingTBProthesis) Cleanup(f func()) { method Error (line 70) | func (t *testingTBProthesis) Error(args ...any) { method Errorf (line 75) | func (t *testingTBProthesis) Errorf(format string, args ...any) { method Fail (line 80) | func (t *testingTBProthesis) Fail() { method FailNow (line 84) | func (t *testingTBProthesis) FailNow() { method Failed (line 89) | func (t *testingTBProthesis) Failed() bool { method Fatal (line 93) | func (t *testingTBProthesis) Fatal(args ...any) { method Fatalf (line 97) | func (t *testingTBProthesis) Fatalf(format string, args ...any) { method Logf (line 101) | func (t *testingTBProthesis) Logf(format string, args ...any) { method Log (line 105) | func (t *testingTBProthesis) Log(args ...any) { method Name (line 109) | func (t *testingTBProthesis) Name() string { method TempDir (line 113) | func (t *testingTBProthesis) TempDir() string { method close (line 125) | func (t *testingTBProthesis) close() { FILE: client/pkg/testutil/testutil.go function WaitSchedule (line 30) | func WaitSchedule() { function MustNewURLs (line 34) | func MustNewURLs(t *testing.T, urls []string) []url.URL { function MustNewURL (line 47) | func MustNewURL(t *testing.T, s string) *url.URL { function FatalStack (line 57) | func FatalStack(t *testing.T, s string) { type ConditionFunc (line 67) | type ConditionFunc function Poll (line 72) | func Poll(interval time.Duration, timeout time.Duration, condition Condi... function SkipTestIfShortMode (line 93) | func SkipTestIfShortMode(t TB, reason string) { function ExitInShortMode (line 105) | func ExitInShortMode(reason string) { FILE: client/pkg/tlsutil/cipher_suites.go function GetCipherSuite (line 24) | func GetCipherSuite(s string) (uint16, bool) { function GetCipherSuites (line 45) | func GetCipherSuites(ss []string) ([]uint16, error) { FILE: client/pkg/tlsutil/cipher_suites_test.go function TestGetCipherSuite_not_existing (line 24) | func TestGetCipherSuite_not_existing(t *testing.T) { function CipherSuiteExpectedToExist (line 29) | func CipherSuiteExpectedToExist(tb testing.TB, cipher string, expectedID... function TestGetCipherSuite_success (line 40) | func TestGetCipherSuite_success(t *testing.T) { function TestGetCipherSuite_insecure (line 49) | func TestGetCipherSuite_insecure(t *testing.T) { FILE: client/pkg/tlsutil/tlsutil.go function NewCertPool (line 25) | func NewCertPool(CAFiles []string) (*x509.CertPool, error) { function NewCert (line 53) | func NewCert(certfile, keyfile string, parseFunc func([]byte, []byte) (t... FILE: client/pkg/tlsutil/versions.go type TLSVersion (line 22) | type TLSVersion constant TLSVersionDefault (line 26) | TLSVersionDefault TLSVersion = "" constant TLSVersion12 (line 27) | TLSVersion12 TLSVersion = "TLS1.2" constant TLSVersion13 (line 28) | TLSVersion13 TLSVersion = "TLS1.3" function GetTLSVersion (line 32) | func GetTLSVersion(version string) (uint16, error) { FILE: client/pkg/tlsutil/versions_test.go function TestGetVersion (line 24) | func TestGetVersion(t *testing.T) { FILE: client/pkg/transport/keepalive_listener.go function NewKeepAliveListener (line 35) | func NewKeepAliveListener(l net.Listener, scheme string, tlscfg *tls.Con... type keepaliveListener (line 50) | type keepaliveListener struct method Accept (line 52) | func (kln *keepaliveListener) Accept() (net.Conn, error) { function createKeepaliveConn (line 74) | func createKeepaliveConn(c net.Conn) (*keepAliveConn, error) { type keepAliveConn (line 82) | type keepAliveConn struct method SetKeepAlive (line 87) | func (l *keepAliveConn) SetKeepAlive(doKeepAlive bool) error { type tlsKeepaliveListener (line 92) | type tlsKeepaliveListener struct method Accept (line 99) | func (l *tlsKeepaliveListener) Accept() (net.Conn, error) { function newTLSKeepaliveListener (line 113) | func newTLSKeepaliveListener(inner net.Listener, config *tls.Config) net... FILE: client/pkg/transport/keepalive_listener_openbsd.go method SetKeepAlivePeriod (line 22) | func (l *keepAliveConn) SetKeepAlivePeriod(d time.Duration) error { FILE: client/pkg/transport/keepalive_listener_test.go function TestNewKeepAliveListener (line 29) | func TestNewKeepAliveListener(t *testing.T) { function TestNewKeepAliveListenerTLSEmptyConfig (line 67) | func TestNewKeepAliveListenerTLSEmptyConfig(t *testing.T) { FILE: client/pkg/transport/keepalive_listener_unix.go method SetKeepAlivePeriod (line 22) | func (l *keepAliveConn) SetKeepAlivePeriod(d time.Duration) error { FILE: client/pkg/transport/limit_listen.go function LimitListener (line 30) | func LimitListener(l net.Listener, n int) net.Listener { type limitListener (line 34) | type limitListener struct method acquire (line 39) | func (l *limitListener) acquire() { l.sem <- struct{}{} } method release (line 40) | func (l *limitListener) release() { <-l.sem } method Accept (line 42) | func (l *limitListener) Accept() (net.Conn, error) { type limitListenerConn (line 52) | type limitListenerConn struct method Close (line 58) | func (l *limitListenerConn) Close() error { method SetKeepAlive (line 67) | func (l *limitListenerConn) SetKeepAlive(doKeepAlive bool) error { method SetKeepAlivePeriod (line 78) | func (l *limitListenerConn) SetKeepAlivePeriod(d time.Duration) error { FILE: client/pkg/transport/listener.go function NewListener (line 43) | func NewListener(addr, scheme string, tlsinfo *TLSInfo) (l net.Listener,... function NewListenerWithOpts (line 48) | func NewListenerWithOpts(addr, scheme string, opts ...ListenerOption) (n... function newListener (line 52) | func newListener(addr, scheme string, opts ...ListenerOption) (net.Liste... function newKeepAliveListener (line 102) | func newKeepAliveListener(cfg *net.ListenConfig, addr string) (net.Liste... function wrapTLS (line 118) | func wrapTLS(scheme string, tlsinfo *TLSInfo, l net.Listener) (net.Liste... function newListenConfig (line 128) | func newListenConfig(sopts *SocketOpts) net.ListenConfig { type TLSInfo (line 139) | type TLSInfo struct method String (line 212) | func (info TLSInfo) String() string { method Empty (line 216) | func (info TLSInfo) Empty() bool { method baseConfig (line 368) | func (info TLSInfo) baseConfig() (*tls.Config, error) { method cafiles (line 520) | func (info TLSInfo) cafiles() []string { method ServerConfig (line 529) | func (info TLSInfo) ServerConfig() (*tls.Config, error) { method ClientConfig (line 562) | func (info TLSInfo) ClientConfig() (*tls.Config, error) { function SelfCert (line 220) | func SelfCert(lg *zap.Logger, dirpath string, hosts []string, selfSigned... function IsClosedConnError (line 617) | func IsClosedConnError(err error) bool { FILE: client/pkg/transport/listener_opts.go type ListenerOptions (line 22) | type ListenerOptions struct method applyOpts (line 39) | func (lo *ListenerOptions) applyOpts(opts []ListenerOption) { method IsTimeout (line 46) | func (lo *ListenerOptions) IsTimeout() bool { return lo.readTimeout !=... method IsSocketOpts (line 49) | func (lo *ListenerOptions) IsSocketOpts() bool { method IsTLS (line 57) | func (lo *ListenerOptions) IsTLS() bool { function newListenOpts (line 33) | func newListenOpts(opts ...ListenerOption) *ListenerOptions { type ListenerOption (line 65) | type ListenerOption function WithTimeout (line 68) | func WithTimeout(read, write time.Duration) ListenerOption { function WithSocketOpts (line 76) | func WithSocketOpts(s *SocketOpts) ListenerOption { function WithTLSInfo (line 81) | func WithTLSInfo(t *TLSInfo) ListenerOption { function WithSkipTLSInfoCheck (line 88) | func WithSkipTLSInfoCheck(skip bool) ListenerOption { FILE: client/pkg/transport/listener_test.go function createSelfCert (line 37) | func createSelfCert(t *testing.T) (*TLSInfo, error) { function createSelfCertEx (line 42) | func createSelfCertEx(t *testing.T, host string, additionalUsages ...x50... function fakeCertificateParserFunc (line 52) | func fakeCertificateParserFunc(err error) func(certPEMBlock, keyPEMBlock... function TestNewListenerTLSInfo (line 60) | func TestNewListenerTLSInfo(t *testing.T) { function TestNewListenerWithOpts (line 66) | func TestNewListenerWithOpts(t *testing.T) { function TestNewListenerWithSocketOpts (line 123) | func TestNewListenerWithSocketOpts(t *testing.T) { function testNewListenerTLSInfoAccept (line 219) | func testNewListenerTLSInfoAccept(t *testing.T, tlsInfo TLSInfo) { function TestNewListenerTLSInfoSkipClientSANVerify (line 240) | func TestNewListenerTLSInfoSkipClientSANVerify(t *testing.T) { function testNewListenerTLSInfoClientCheck (line 256) | func testNewListenerTLSInfoClientCheck(t *testing.T, skipClientSANVerify... function TestNewListenerTLSEmptyInfo (line 325) | func TestNewListenerTLSEmptyInfo(t *testing.T) { function TestNewTransportTLSInfo (line 332) | func TestNewTransportTLSInfo(t *testing.T) { function TestTLSInfoNonexist (line 360) | func TestTLSInfoNonexist(t *testing.T) { function TestTLSInfoEmpty (line 373) | func TestTLSInfoEmpty(t *testing.T) { function TestTLSInfoMissingFields (line 396) | func TestTLSInfoMissingFields(t *testing.T) { function TestTLSInfoParseFuncError (line 418) | func TestTLSInfoParseFuncError(t *testing.T) { function TestTLSInfoConfigFuncs (line 447) | func TestTLSInfoConfigFuncs(t *testing.T) { function TestNewListenerUnixSocket (line 493) | func TestNewListenerUnixSocket(t *testing.T) { function TestNewListenerTLSInfoSelfCert (line 502) | func TestNewListenerTLSInfoSelfCert(t *testing.T) { function TestIsClosedConnError (line 515) | func TestIsClosedConnError(t *testing.T) { function TestSocktOptsEmpty (line 525) | func TestSocktOptsEmpty(t *testing.T) { function TestNewListenerWithACRLFile (line 544) | func TestNewListenerWithACRLFile(t *testing.T) { FILE: client/pkg/transport/listener_tls.go type tlsListener (line 31) | type tlsListener struct method Accept (line 88) | func (l *tlsListener) Accept() (net.Conn, error) { method acceptLoop (line 108) | func (l *tlsListener) acceptLoop() { method Close (line 269) | func (l *tlsListener) Close() error { type tlsCheckFunc (line 40) | type tlsCheckFunc function NewTLSListener (line 43) | func NewTLSListener(l net.Listener, tlsinfo *TLSInfo) (net.Listener, err... function newTLSListener (line 48) | func newTLSListener(l net.Listener, tlsinfo *TLSInfo, check tlsCheckFunc... function checkSAN (line 97) | func checkSAN(ctx context.Context, tlsConn *tls.Conn) error { function checkCRL (line 169) | func checkCRL(crlPath string, cert []*x509.Certificate) error { function checkCertSAN (line 192) | func checkCertSAN(ctx context.Context, cert *x509.Certificate, remoteAdd... function isHostInDNS (line 223) | func isHostInDNS(ctx context.Context, host string, dnsNames []string) (o... FILE: client/pkg/transport/sockopt.go type Controls (line 21) | type Controls method Control (line 23) | func (ctls Controls) Control(network, addr string, conn syscall.RawCon... type SocketOpts (line 32) | type SocketOpts struct method Empty (line 57) | func (sopts *SocketOpts) Empty() bool { function getControls (line 46) | func getControls(sopts *SocketOpts) Controls { FILE: client/pkg/transport/sockopt_solaris.go function setReusePort (line 26) | func setReusePort(network, address string, c syscall.RawConn) error { function setReuseAddress (line 30) | func setReuseAddress(network, address string, conn syscall.RawConn) error { FILE: client/pkg/transport/sockopt_unix.go function setReusePort (line 25) | func setReusePort(network, address string, conn syscall.RawConn) error { function setReuseAddress (line 31) | func setReuseAddress(network, address string, conn syscall.RawConn) error { FILE: client/pkg/transport/sockopt_wasm.go function setReusePort (line 24) | func setReusePort(network, address string, c syscall.RawConn) error { function setReuseAddress (line 28) | func setReuseAddress(network, addr string, conn syscall.RawConn) error { FILE: client/pkg/transport/sockopt_windows.go function setReusePort (line 24) | func setReusePort(network, address string, c syscall.RawConn) error { function setReuseAddress (line 30) | func setReuseAddress(network, addr string, conn syscall.RawConn) error { FILE: client/pkg/transport/timeout_conn.go type timeoutConn (line 22) | type timeoutConn struct method Write (line 28) | func (c timeoutConn) Write(b []byte) (n int, err error) { method Read (line 37) | func (c timeoutConn) Read(b []byte) (n int, err error) { FILE: client/pkg/transport/timeout_dialer.go type rwTimeoutDialer (line 22) | type rwTimeoutDialer struct method Dial (line 28) | func (d *rwTimeoutDialer) Dial(network, address string) (net.Conn, err... FILE: client/pkg/transport/timeout_dialer_test.go function TestReadWriteTimeoutDialer (line 26) | func TestReadWriteTimeoutDialer(t *testing.T) { type testBlockingServer (line 87) | type testBlockingServer struct method Start (line 93) | func (ts *testBlockingServer) Start(t *testing.T) { FILE: client/pkg/transport/timeout_listener.go function NewTimeoutListener (line 25) | func NewTimeoutListener(addr string, scheme string, tlsinfo *TLSInfo, re... type rwTimeoutListener (line 29) | type rwTimeoutListener struct method Accept (line 35) | func (rwln *rwTimeoutListener) Accept() (net.Conn, error) { FILE: client/pkg/transport/timeout_listener_test.go function TestNewTimeoutListener (line 28) | func TestNewTimeoutListener(t *testing.T) { function TestWriteReadTimeoutListener (line 41) | func TestWriteReadTimeoutListener(t *testing.T) { FILE: client/pkg/transport/timeout_transport.go function NewTimeoutTransport (line 27) | func NewTimeoutTransport(info TLSInfo, dialtimeoutd, rdtimeoutd, wtimeou... FILE: client/pkg/transport/timeout_transport_test.go function TestNewTimeoutTransport (line 30) | func TestNewTimeoutTransport(t *testing.T) { FILE: client/pkg/transport/tls.go function ValidateSecureEndpoints (line 27) | func ValidateSecureEndpoints(tlsInfo TLSInfo, eps []string) ([]string, e... FILE: client/pkg/transport/tls_test.go function TestValidateSecureEndpoints (line 26) | func TestValidateSecureEndpoints(t *testing.T) { FILE: client/pkg/transport/transport.go type unixTransport (line 25) | type unixTransport struct method RoundTrip (line 81) | func (urt *unixTransport) RoundTrip(req *http.Request) (*http.Response... function NewTransport (line 27) | func NewTransport(info TLSInfo, dialtimeoutd time.Duration) (*http.Trans... FILE: client/pkg/transport/transport_test.go function TestNewTransportTLSInvalidCipherSuitesTLS12 (line 29) | func TestNewTransportTLSInvalidCipherSuitesTLS12(t *testing.T) { FILE: client/pkg/transport/unix_listener.go type unixListener (line 22) | type unixListener struct method Close (line 35) | func (ul *unixListener) Close() error { function NewUnixListener (line 24) | func NewUnixListener(addr string) (net.Listener, error) { FILE: client/pkg/types/id.go type ID (line 25) | type ID method String (line 27) | func (i ID) String() string { function IDFromString (line 32) | func IDFromString(s string) (ID, error) { type IDSlice (line 38) | type IDSlice method Len (line 40) | func (p IDSlice) Len() int { return len(p) } method Less (line 41) | func (p IDSlice) Less(i, j int) bool { return uint64(p[i]) < uint64(p[... method Swap (line 42) | func (p IDSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] } method String (line 44) | func (p IDSlice) String() string { FILE: client/pkg/types/id_test.go function TestIDString (line 25) | func TestIDString(t *testing.T) { function TestIDFromString (line 48) | func TestIDFromString(t *testing.T) { function TestIDFromStringFail (line 75) | func TestIDFromStringFail(t *testing.T) { function TestIDSlice (line 88) | func TestIDSlice(t *testing.T) { FILE: client/pkg/types/set.go type Set (line 23) | type Set interface type ThreadsafeSet (line 38) | type ThreadsafeSet interface function NewUnsafeSet (line 42) | func NewUnsafeSet(values ...string) Set { function NewThreadsafeSet (line 50) | func NewThreadsafeSet(values ...string) ThreadsafeSet { type unsafeSet (line 57) | type unsafeSet struct method Add (line 62) | func (us *unsafeSet) Add(value string) { method Remove (line 67) | func (us *unsafeSet) Remove(value string) { method Contains (line 72) | func (us *unsafeSet) Contains(values ...string) (exists bool) { method ContainsAll (line 83) | func (us *unsafeSet) ContainsAll(values []string) bool { method Equals (line 93) | func (us *unsafeSet) Equals(other Set) bool { method Length (line 102) | func (us *unsafeSet) Length() int { method Values (line 107) | func (us *unsafeSet) Values() (values []string) { method Copy (line 116) | func (us *unsafeSet) Copy() Set { method Sub (line 126) | func (us *unsafeSet) Sub(other Set) Set { type tsafeSet (line 142) | type tsafeSet struct method Add (line 147) | func (ts *tsafeSet) Add(value string) { method Remove (line 153) | func (ts *tsafeSet) Remove(value string) { method Contains (line 159) | func (ts *tsafeSet) Contains(values ...string) (exists bool) { method ContainsAll (line 167) | func (ts *tsafeSet) ContainsAll(values []string) bool { method Equals (line 173) | func (ts *tsafeSet) Equals(other Set) bool { method Length (line 187) | func (ts *tsafeSet) Length() int { method Values (line 193) | func (ts *tsafeSet) Values() (values []string) { method Copy (line 199) | func (ts *tsafeSet) Copy() Set { method Sub (line 206) | func (ts *tsafeSet) Sub(other Set) Set { FILE: client/pkg/types/set_test.go function TestUnsafeSet (line 25) | func TestUnsafeSet(t *testing.T) { function TestThreadsafeSet (line 29) | func TestThreadsafeSet(t *testing.T) { function equal (line 34) | func equal(a, b []string) bool { function driveSetTests (line 42) | func driveSetTests(t *testing.T, s Set) { function TestUnsafeSetContainsAll (line 145) | func TestUnsafeSetContainsAll(t *testing.T) { FILE: client/pkg/types/slice.go type Uint64Slice (line 18) | type Uint64Slice method Len (line 20) | func (p Uint64Slice) Len() int { return len(p) } method Less (line 21) | func (p Uint64Slice) Less(i, j int) bool { return p[i] < p[j] } method Swap (line 22) | func (p Uint64Slice) Swap(i, j int) { p[i], p[j] = p[j], p[i] } FILE: client/pkg/types/slice_test.go function TestUint64Slice (line 23) | func TestUint64Slice(t *testing.T) { FILE: client/pkg/types/urls.go type URLs (line 26) | type URLs method String (line 68) | func (us URLs) String() string { method Sort (line 72) | func (us *URLs) Sort() { method Len (line 75) | func (us URLs) Len() int { return len(us) } method Less (line 76) | func (us URLs) Less(i, j int) bool { return us[i].String() < us[j].Str... method Swap (line 77) | func (us URLs) Swap(i, j int) { us[i], us[j] = us[j], us[i] } method StringSlice (line 79) | func (us URLs) StringSlice() []string { function NewURLs (line 28) | func NewURLs(strs []string) (URLs, error) { function MustNewURLs (line 60) | func MustNewURLs(strs []string) URLs { FILE: client/pkg/types/urls_test.go function TestNewURLs (line 24) | func TestNewURLs(t *testing.T) { function TestURLsString (line 58) | func TestURLsString(t *testing.T) { function TestURLsSort (line 94) | func TestURLsSort(t *testing.T) { function TestURLsStringSlice (line 114) | func TestURLsStringSlice(t *testing.T) { function TestNewURLsFail (line 150) | func TestNewURLsFail(t *testing.T) { FILE: client/pkg/types/urlsmap.go type URLsMap (line 24) | type URLsMap method String (line 58) | func (c URLsMap) String() string { method URLs (line 71) | func (c URLsMap) URLs() []string { method Len (line 83) | func (c URLsMap) Len() int { function NewURLsMap (line 29) | func NewURLsMap(s string) (URLsMap, error) { function NewURLsMapFromStringMap (line 45) | func NewURLsMapFromStringMap(m map[string]string, sep string) (URLsMap, ... function parse (line 88) | func parse(s string) map[string][]string { FILE: client/pkg/types/urlsmap_test.go function TestParseInitialCluster (line 26) | func TestParseInitialCluster(t *testing.T) { function TestParseInitialClusterBad (line 39) | func TestParseInitialClusterBad(t *testing.T) { function TestNameURLPairsString (line 56) | func TestNameURLPairsString(t *testing.T) { function TestParse (line 70) | func TestParse(t *testing.T) { function TestNewURLsMapIPV6 (line 102) | func TestNewURLsMapIPV6(t *testing.T) { function TestNewURLsMapFromStringMapEmpty (line 114) | func TestNewURLsMapFromStringMapEmpty(t *testing.T) { function TestNewURLsMapFromStringMapNormal (line 131) | func TestNewURLsMapFromStringMapNormal(t *testing.T) { FILE: client/pkg/verify/verify.go constant envVerify (line 23) | envVerify = "ETCD_VERIFY" type VerificationType (line 25) | type VerificationType constant envVerifyValueAll (line 28) | envVerifyValueAll VerificationType = "all" constant envVerifyValueAssert (line 29) | envVerifyValueAssert VerificationType = "assert" function getEnvVerify (line 32) | func getEnvVerify() string { function IsVerificationEnabled (line 36) | func IsVerificationEnabled(verification VerificationType) bool { function EnableVerifications (line 43) | func EnableVerifications(verification VerificationType) func() { function EnableAllVerifications (line 53) | func EnableAllVerifications() func() { function DisableVerifications (line 59) | func DisableVerifications() func() { function Verify (line 69) | func Verify(msg string, f VerifyFunc) { type VerifyFunc (line 76) | type VerifyFunc function verifier (line 78) | func verifier(condition bool, msg string, details map[string]any) { function Assert (line 85) | func Assert(condition bool, msg string, v ...any) { FILE: client/v3/auth.go type AuthEnableResponse (line 29) | type AuthEnableResponse type AuthDisableResponse (line 30) | type AuthDisableResponse type AuthStatusResponse (line 31) | type AuthStatusResponse type AuthenticateResponse (line 32) | type AuthenticateResponse type AuthUserAddResponse (line 33) | type AuthUserAddResponse type AuthUserDeleteResponse (line 34) | type AuthUserDeleteResponse type AuthUserChangePasswordResponse (line 35) | type AuthUserChangePasswordResponse type AuthUserGrantRoleResponse (line 36) | type AuthUserGrantRoleResponse type AuthUserGetResponse (line 37) | type AuthUserGetResponse type AuthUserRevokeRoleResponse (line 38) | type AuthUserRevokeRoleResponse type AuthRoleAddResponse (line 39) | type AuthRoleAddResponse type AuthRoleGrantPermissionResponse (line 40) | type AuthRoleGrantPermissionResponse type AuthRoleGetResponse (line 41) | type AuthRoleGetResponse type AuthRoleRevokePermissionResponse (line 42) | type AuthRoleRevokePermissionResponse type AuthRoleDeleteResponse (line 43) | type AuthRoleDeleteResponse type AuthUserListResponse (line 44) | type AuthUserListResponse type AuthRoleListResponse (line 45) | type AuthRoleListResponse type PermissionType (line 47) | type PermissionType type Permission (line 48) | type Permission constant PermRead (line 52) | PermRead = authpb.Permission_READ constant PermWrite (line 53) | PermWrite = authpb.Permission_WRITE constant PermReadWrite (line 54) | PermReadWrite = authpb.Permission_READWRITE type UserAddOptions (line 57) | type UserAddOptions type Auth (line 59) | type Auth interface type authClient (line 115) | type authClient struct method Authenticate (line 136) | func (auth *authClient) Authenticate(ctx context.Context, name string,... method AuthEnable (line 141) | func (auth *authClient) AuthEnable(ctx context.Context) (*AuthEnableRe... method AuthDisable (line 146) | func (auth *authClient) AuthDisable(ctx context.Context) (*AuthDisable... method AuthStatus (line 151) | func (auth *authClient) AuthStatus(ctx context.Context) (*AuthStatusRe... method UserAdd (line 156) | func (auth *authClient) UserAdd(ctx context.Context, name string, pass... method UserAddWithOptions (line 161) | func (auth *authClient) UserAddWithOptions(ctx context.Context, name s... method UserDelete (line 166) | func (auth *authClient) UserDelete(ctx context.Context, name string) (... method UserChangePassword (line 171) | func (auth *authClient) UserChangePassword(ctx context.Context, name s... method UserGrantRole (line 176) | func (auth *authClient) UserGrantRole(ctx context.Context, user string... method UserGet (line 181) | func (auth *authClient) UserGet(ctx context.Context, name string) (*Au... method UserList (line 186) | func (auth *authClient) UserList(ctx context.Context) (*AuthUserListRe... method UserRevokeRole (line 191) | func (auth *authClient) UserRevokeRole(ctx context.Context, name strin... method RoleAdd (line 196) | func (auth *authClient) RoleAdd(ctx context.Context, name string) (*Au... method RoleGrantPermission (line 201) | func (auth *authClient) RoleGrantPermission(ctx context.Context, name ... method RoleGet (line 211) | func (auth *authClient) RoleGet(ctx context.Context, role string) (*Au... method RoleList (line 216) | func (auth *authClient) RoleList(ctx context.Context) (*AuthRoleListRe... method RoleRevokePermission (line 221) | func (auth *authClient) RoleRevokePermission(ctx context.Context, role... method RoleDelete (line 226) | func (auth *authClient) RoleDelete(ctx context.Context, role string) (... function NewAuth (line 120) | func NewAuth(c *Client) Auth { function NewAuthFromAuthClient (line 128) | func NewAuthFromAuthClient(remote pb.AuthClient, c *Client) Auth { function StrToPermissionType (line 231) | func StrToPermissionType(s string) (PermissionType, error) { FILE: client/v3/client.go type Client (line 52) | type Client struct method WithLogger (line 136) | func (c *Client) WithLogger(lg *zap.Logger) *Client { method GetLogger (line 143) | func (c *Client) GetLogger() *zap.Logger { method Close (line 148) | func (c *Client) Close() error { method Ctx (line 165) | func (c *Client) Ctx() context.Context { return c.ctx } method Endpoints (line 168) | func (c *Client) Endpoints() []string { method SetEndpoints (line 178) | func (c *Client) SetEndpoints(eps ...string) { method Sync (line 187) | func (c *Client) Sync(ctx context.Context) error { method autoSync (line 208) | func (c *Client) autoSync() { method dialSetupOpts (line 229) | func (c *Client) dialSetupOpts(creds grpccredentials.TransportCredenti... method Dial (line 278) | func (c *Client) Dial(ep string) (*grpc.ClientConn, error) { method getToken (line 286) | func (c *Client) getToken(ctx context.Context) error { method dialWithBalancer (line 312) | func (c *Client) dialWithBalancer(dopts ...grpc.DialOption) (*grpc.Cli... method dial (line 319) | func (c *Client) dial(creds grpccredentials.TransportCredentials, dopt... method credentialsForEndpoint (line 391) | func (c *Client) credentialsForEndpoint(ep string) grpccredentials.Tra... method roundRobinQuorumBackoff (line 537) | func (c *Client) roundRobinQuorumBackoff(waitBetween time.Duration, ji... method checkVersion (line 567) | func (c *Client) checkVersion() (err error) { method ActiveConnection (line 612) | func (c *Client) ActiveConnection() *grpc.ClientConn { return c.conn } function New (line 87) | func New(cfg Config) (*Client, error) { function NewCtxClient (line 98) | func NewCtxClient(ctx context.Context, opts ...Option) *Client { type Option (line 111) | type Option function NewFromURL (line 114) | func NewFromURL(url string) (*Client, error) { function NewFromURLs (line 119) | func NewFromURLs(urls []string) (*Client, error) { function WithZapLogger (line 124) | func WithZapLogger(lg *zap.Logger) Option { function waitForConnection (line 345) | func waitForConnection(ctx context.Context, conn *grpc.ClientConn) error { function authority (line 377) | func authority(endpoint string) string { function newClient (line 408) | func newClient(cfg *Config) (*Client, error) { function minSupportedVersion (line 552) | func minSupportedVersion() *semver.Version { function isHaltErr (line 616) | func isHaltErr(ctx context.Context, err error) bool { function isUnavailableErr (line 634) | func isUnavailableErr(ctx context.Context, err error) bool { function ContextError (line 652) | func ContextError(ctx context.Context, err error) error { function canceledByCaller (line 675) | func canceledByCaller(stopCtx context.Context, err error) bool { function IsConnCanceled (line 685) | func IsConnCanceled(err error) bool { FILE: client/v3/client_test.go function NewClient (line 41) | func NewClient(t *testing.T, cfg Config) (*Client, error) { function TestDialNotImplemented (line 49) | func TestDialNotImplemented(t *testing.T) { function TestDialCancel (line 80) | func TestDialCancel(t *testing.T) { function TestDialTimeout (line 142) | func TestDialTimeout(t *testing.T) { function TestDialNoTimeout (line 190) | func TestDialNoTimeout(t *testing.T) { function TestMaxUnaryRetries (line 198) | func TestMaxUnaryRetries(t *testing.T) { function TestBackoff (line 212) | func TestBackoff(t *testing.T) { function TestBackoffJitterFraction (line 226) | func TestBackoffJitterFraction(t *testing.T) { function TestIsHaltErr (line 240) | func TestIsHaltErr(t *testing.T) { function TestIsUnavailableErr (line 265) | func TestIsUnavailableErr(t *testing.T) { function TestCloseCtxClient (line 290) | func TestCloseCtxClient(t *testing.T) { function TestWithLogger (line 300) | func TestWithLogger(t *testing.T) { function TestZapWithLogger (line 313) | func TestZapWithLogger(t *testing.T) { function TestAuthTokenBundleNoOverwrite (line 323) | func TestAuthTokenBundleNoOverwrite(t *testing.T) { function TestNewWithOnlyJWT (line 363) | func TestNewWithOnlyJWT(t *testing.T) { function TestNewOnlyJWTExclusivity (line 405) | func TestNewOnlyJWTExclusivity(t *testing.T) { function TestSyncFiltersMembers (line 432) | func TestSyncFiltersMembers(t *testing.T) { function TestMinSupportedVersion (line 450) | func TestMinSupportedVersion(t *testing.T) { function TestClientRejectOldCluster (line 491) | func TestClientRejectOldCluster(t *testing.T) { type mockMaintenance (line 551) | type mockMaintenance struct method Status (line 555) | func (mm mockMaintenance) Status(ctx context.Context, endpoint string)... method AlarmList (line 559) | func (mm mockMaintenance) AlarmList(ctx context.Context) (*AlarmRespon... method AlarmDisarm (line 563) | func (mm mockMaintenance) AlarmDisarm(ctx context.Context, m *AlarmMem... method Defragment (line 567) | func (mm mockMaintenance) Defragment(ctx context.Context, endpoint str... method HashKV (line 571) | func (mm mockMaintenance) HashKV(ctx context.Context, endpoint string,... method SnapshotWithVersion (line 575) | func (mm mockMaintenance) SnapshotWithVersion(ctx context.Context) (*S... method Snapshot (line 579) | func (mm mockMaintenance) Snapshot(ctx context.Context) (io.ReadCloser... method MoveLeader (line 583) | func (mm mockMaintenance) MoveLeader(ctx context.Context, transfereeID... method Downgrade (line 587) | func (mm mockMaintenance) Downgrade(ctx context.Context, action Downgr... type mockFailingAuthServer (line 591) | type mockFailingAuthServer struct method Authenticate (line 595) | func (mockFailingAuthServer) Authenticate(context.Context, *etcdserver... type mockAuthServer (line 599) | type mockAuthServer struct method Authenticate (line 603) | func (mockAuthServer) Authenticate(context.Context, *etcdserverpb.Auth... type mockCluster (line 607) | type mockCluster struct method MemberList (line 611) | func (mc *mockCluster) MemberList(ctx context.Context, opts ...OpOptio... method MemberAdd (line 615) | func (mc *mockCluster) MemberAdd(ctx context.Context, peerAddrs []stri... method MemberAddAsLearner (line 619) | func (mc *mockCluster) MemberAddAsLearner(ctx context.Context, peerAdd... method MemberRemove (line 623) | func (mc *mockCluster) MemberRemove(ctx context.Context, id uint64) (*... method MemberUpdate (line 627) | func (mc *mockCluster) MemberUpdate(ctx context.Context, id uint64, pe... method MemberPromote (line 631) | func (mc *mockCluster) MemberPromote(ctx context.Context, id uint64) (... FILE: client/v3/clientv3util/example_key_test.go function ExampleKeyMissing (line 25) | func ExampleKeyMissing() { function ExampleKeyExists (line 48) | func ExampleKeyExists() { FILE: client/v3/clientv3util/util.go function KeyExists (line 25) | func KeyExists(key string) clientv3.Cmp { function KeyMissing (line 31) | func KeyMissing(key string) clientv3.Cmp { FILE: client/v3/cluster.go type Member (line 27) | type Member type MemberListResponse (line 28) | type MemberListResponse type MemberAddResponse (line 29) | type MemberAddResponse type MemberRemoveResponse (line 30) | type MemberRemoveResponse type MemberUpdateResponse (line 31) | type MemberUpdateResponse type MemberPromoteResponse (line 32) | type MemberPromoteResponse type Cluster (line 35) | type Cluster interface type cluster (line 55) | type cluster struct method MemberAdd (line 76) | func (c *cluster) MemberAdd(ctx context.Context, peerAddrs []string) (... method MemberAddAsLearner (line 80) | func (c *cluster) MemberAddAsLearner(ctx context.Context, peerAddrs []... method memberAdd (line 84) | func (c *cluster) memberAdd(ctx context.Context, peerAddrs []string, i... method MemberRemove (line 101) | func (c *cluster) MemberRemove(ctx context.Context, id uint64) (*Membe... method MemberUpdate (line 110) | func (c *cluster) MemberUpdate(ctx context.Context, id uint64, peerAdd... method MemberList (line 125) | func (c *cluster) MemberList(ctx context.Context, opts ...OpOption) (*... method MemberPromote (line 134) | func (c *cluster) MemberPromote(ctx context.Context, id uint64) (*Memb... function NewCluster (line 60) | func NewCluster(c *Client) Cluster { function NewClusterFromClusterClient (line 68) | func NewClusterFromClusterClient(remote pb.ClusterClient, c *Client) Clu... FILE: client/v3/compact_op.go type CompactOp (line 22) | type CompactOp struct method applyCompactOpts (line 30) | func (op *CompactOp) applyCompactOpts(opts []CompactOption) { method toRequest (line 43) | func (op CompactOp) toRequest() *pb.CompactionRequest { type CompactOption (line 28) | type CompactOption function OpCompact (line 37) | func OpCompact(rev int64, opts ...CompactOption) CompactOp { function WithCompactPhysical (line 49) | func WithCompactPhysical() CompactOption { FILE: client/v3/compact_op_test.go function TestCompactOp (line 26) | func TestCompactOp(t *testing.T) { FILE: client/v3/compare.go type CompareTarget (line 22) | type CompareTarget type CompareResult (line 23) | type CompareResult constant CompareVersion (line 27) | CompareVersion CompareTarget = iota constant CompareCreated (line 28) | CompareCreated constant CompareModified (line 29) | CompareModified constant CompareValue (line 30) | CompareValue type Cmp (line 33) | type Cmp method KeyBytes (line 96) | func (cmp *Cmp) KeyBytes() []byte { return cmp.Key } method WithKeyBytes (line 99) | func (cmp *Cmp) WithKeyBytes(key []byte) { cmp.Key = key } method ValueBytes (line 102) | func (cmp *Cmp) ValueBytes() []byte { method WithValueBytes (line 110) | func (cmp *Cmp) WithValueBytes(v []byte) { cmp.TargetUnion.(*pb.Compar... method WithRange (line 113) | func (cmp Cmp) WithRange(end string) Cmp { method WithPrefix (line 119) | func (cmp Cmp) WithPrefix() Cmp { function Compare (line 35) | func Compare(cmp Cmp, result string, v any) Cmp { function Value (line 73) | func Value(key string) Cmp { function Version (line 77) | func Version(key string) Cmp { function CreateRevision (line 81) | func CreateRevision(key string) Cmp { function ModRevision (line 85) | func ModRevision(key string) Cmp { function LeaseValue (line 91) | func LeaseValue(key string) Cmp { function mustInt64 (line 125) | func mustInt64(val any) int64 { function mustInt64orLeaseID (line 137) | func mustInt64orLeaseID(val any) int64 { FILE: client/v3/concurrency/election.go type Election (line 32) | type Election struct method Campaign (line 69) | func (e *Election) Campaign(ctx context.Context, val string) error { method Proclaim (line 110) | func (e *Election) Proclaim(ctx context.Context, val string) error { method Resign (line 132) | func (e *Election) Resign(ctx context.Context) (err error) { method Leader (line 148) | func (e *Election) Leader(ctx context.Context) (*v3.GetResponse, error) { method Observe (line 167) | func (e *Election) Observe(ctx context.Context) <-chan v3.GetResponse { method observe (line 173) | func (e *Election) observe(ctx context.Context, ch chan<- v3.GetRespon... method Key (line 248) | func (e *Election) Key() string { return e.leaderKey } method Rev (line 251) | func (e *Election) Rev() int64 { return e.leaderRev } method Header (line 254) | func (e *Election) Header() *pb.ResponseHeader { return e.hdr } function NewElection (line 44) | func NewElection(s *Session, pfx string) *Election { function ResumeElection (line 49) | func ResumeElection(s *Session, pfx string, leaderKey string, leaderRev ... FILE: client/v3/concurrency/key.go function waitDelete (line 25) | func waitDelete(ctx context.Context, client *v3.Client, key string, rev ... function waitDeletes (line 49) | func waitDeletes(ctx context.Context, client *v3.Client, pfx string, max... FILE: client/v3/concurrency/main_test.go function exampleEndpoints (line 23) | func exampleEndpoints() []string { return nil } function forUnitTestsRunInMockedContext (line 25) | func forUnitTestsRunInMockedContext(mocking func(), _example func()) { function TestMain (line 33) | func TestMain(m *testing.M) { FILE: client/v3/concurrency/mutex.go type Mutex (line 36) | type Mutex struct method TryLock (line 52) | func (m *Mutex) TryLock(ctx context.Context) error { method Lock (line 75) | func (m *Mutex) Lock(ctx context.Context) error { method tryAcquire (line 111) | func (m *Mutex) tryAcquire(ctx context.Context) (*v3.TxnResponse, erro... method Unlock (line 134) | func (m *Mutex) Unlock(ctx context.Context) error { method IsOwner (line 152) | func (m *Mutex) IsOwner() v3.Cmp { method Key (line 156) | func (m *Mutex) Key() string { return m.myKey } method Header (line 159) | func (m *Mutex) Header() *pb.ResponseHeader { return m.hdr } function NewMutex (line 45) | func NewMutex(s *Session, pfx string) *Mutex { type lockerMutex (line 161) | type lockerMutex struct method Lock (line 163) | func (lm *lockerMutex) Lock() { method Unlock (line 170) | func (lm *lockerMutex) Unlock() { function NewLocker (line 178) | func NewLocker(s *Session, pfx string) sync.Locker { FILE: client/v3/concurrency/session.go constant defaultSessionTTL (line 26) | defaultSessionTTL = 60 type Session (line 30) | type Session struct method Client (line 82) | func (s *Session) Client() *v3.Client { method Lease (line 87) | func (s *Session) Lease() v3.LeaseID { return s.id } method Ctx (line 91) | func (s *Session) Ctx() context.Context { method Done (line 97) | func (s *Session) Done() <-chan struct{} { return s.donec } method Orphan (line 102) | func (s *Session) Orphan() { method Close (line 108) | func (s *Session) Close() error { function NewSession (line 41) | func NewSession(client *v3.Client, opts ...SessionOption) (*Session, err... type sessionOptions (line 117) | type sessionOptions struct type SessionOption (line 124) | type SessionOption function WithTTL (line 128) | func WithTTL(ttl int) SessionOption { function WithLease (line 141) | func WithLease(leaseID v3.LeaseID) SessionOption { function WithContext (line 152) | func WithContext(ctx context.Context) SessionOption { FILE: client/v3/concurrency/stm.go type STM (line 25) | type STM interface type Isolation (line 43) | type Isolation constant SerializableSnapshot (line 48) | SerializableSnapshot Isolation = iota constant Serializable (line 51) | Serializable constant RepeatableReads (line 54) | RepeatableReads constant ReadCommitted (line 56) | ReadCommitted type stmError (line 60) | type stmError struct type stmOptions (line 62) | type stmOptions struct type stmOption (line 68) | type stmOption function WithIsolation (line 71) | func WithIsolation(lvl Isolation) stmOption { function WithAbortContext (line 76) | func WithAbortContext(ctx context.Context) stmOption { function WithPrefetch (line 84) | func WithPrefetch(keys ...string) stmOption { function NewSTM (line 89) | func NewSTM(c *v3.Client, apply func(STM) error, so ...stmOption) (*v3.T... function mkSTM (line 104) | func mkSTM(c *v3.Client, opts *stmOptions) STM { type stmResponse (line 135) | type stmResponse struct function runSTM (line 140) | func runSTM(s STM, apply func(STM) error) (*v3.TxnResponse, error) { type stm (line 170) | type stm struct method Get (line 245) | func (s *stm) Get(keys ...string) string { method Put (line 252) | func (s *stm) Put(key, val string, opts ...v3.OpOption) { method Del (line 256) | func (s *stm) Del(key string) { s.wset[key] = stmPut{"", v3.OpDelete(k... method Rev (line 258) | func (s *stm) Rev(key string) int64 { method commit (line 265) | func (s *stm) commit() *v3.TxnResponse { method fetch (line 276) | func (s *stm) fetch(keys ...string) *v3.GetResponse { method reset (line 295) | func (s *stm) reset() { type stmPut (line 183) | type stmPut struct type readSet (line 188) | type readSet method add (line 190) | func (rs readSet) add(keys []string, txnresp *v3.TxnResponse) { method first (line 197) | func (rs readSet) first() int64 { method cmps (line 208) | func (rs readSet) cmps() []v3.Cmp { type writeSet (line 216) | type writeSet method get (line 218) | func (ws writeSet) get(keys ...string) *stmPut { method cmps (line 228) | func (ws writeSet) cmps(rev int64) []v3.Cmp { method puts (line 237) | func (ws writeSet) puts() []v3.Op { type stmSerializable (line 300) | type stmSerializable struct method Get (line 305) | func (s *stmSerializable) Get(keys ...string) string { method Rev (line 331) | func (s *stmSerializable) Rev(key string) int64 { method gets (line 336) | func (s *stmSerializable) gets() ([]string, []v3.Op) { method commit (line 346) | func (s *stmSerializable) commit() *v3.TxnResponse { function isKeyCurrent (line 364) | func isKeyCurrent(k string, r *v3.GetResponse) v3.Cmp { function respToValue (line 371) | func respToValue(resp *v3.GetResponse) string { function NewSTMRepeatable (line 379) | func NewSTMRepeatable(ctx context.Context, c *v3.Client, apply func(STM)... function NewSTMSerializable (line 384) | func NewSTMSerializable(ctx context.Context, c *v3.Client, apply func(ST... function NewSTMReadCommitted (line 389) | func NewSTMReadCommitted(ctx context.Context, c *v3.Client, apply func(S... FILE: client/v3/concurrency/stm_test.go function TestGet (line 23) | func TestGet(t *testing.T) { FILE: client/v3/config.go type Config (line 28) | type Config struct type ConfigSpec (line 111) | type ConfigSpec struct method Clone (line 139) | func (cs *ConfigSpec) Clone() *ConfigSpec { type SecureConfig (line 123) | type SecureConfig struct type AuthConfig (line 133) | type AuthConfig struct method Empty (line 163) | func (cfg AuthConfig) Empty() bool { function NewClientConfig (line 168) | func NewClientConfig(confSpec *ConfigSpec, lg *zap.Logger) (*Config, err... function newTLSConfig (line 193) | func newTLSConfig(scfg *SecureConfig, lg *zap.Logger) (*tls.Config, erro... FILE: client/v3/config_test.go function TestNewClientConfig (line 32) | func TestNewClientConfig(t *testing.T) { function TestNewClientConfigWithSecureCfg (line 170) | func TestNewClientConfigWithSecureCfg(t *testing.T) { function TestConfigSpecClone (line 193) | func TestConfigSpecClone(t *testing.T) { FILE: client/v3/credentials/credentials.go function NewTransportCredential (line 29) | func NewTransportCredential(cfg *tls.Config) grpccredentials.TransportCr... type PerRPCCredentialsBundle (line 34) | type PerRPCCredentialsBundle interface function NewPerRPCCredentialBundle (line 39) | func NewPerRPCCredentialBundle() PerRPCCredentialsBundle { type perRPCCredentialBundle (line 46) | type perRPCCredentialBundle struct method UpdateAuthToken (line 50) | func (b *perRPCCredentialBundle) UpdateAuthToken(token string) { method PerRPCCredentials (line 57) | func (b *perRPCCredentialBundle) PerRPCCredentials() grpccredentials.P... type perRPCCredential (line 62) | type perRPCCredential struct method RequireTransportSecurity (line 67) | func (rc *perRPCCredential) RequireTransportSecurity() bool { return f... method GetRequestMetadata (line 69) | func (rc *perRPCCredential) GetRequestMetadata(ctx context.Context, s ... method UpdateAuthToken (line 79) | func (rc *perRPCCredential) UpdateAuthToken(token string) { FILE: client/v3/credentials/credentials_test.go function TestUpdateAuthToken (line 25) | func TestUpdateAuthToken(t *testing.T) { FILE: client/v3/ctx.go function WithRequireLeader (line 28) | func WithRequireLeader(ctx context.Context) context.Context { function withVersion (line 41) | func withVersion(ctx context.Context) context.Context { FILE: client/v3/ctx_test.go function TestMetadataWithRequireLeader (line 28) | func TestMetadataWithRequireLeader(t *testing.T) { function TestMetadataWithClientAPIVersion (line 49) | func TestMetadataWithClientAPIVersion(t *testing.T) { FILE: client/v3/experimental/recipes/barrier.go type Barrier (line 26) | type Barrier struct method Hold (line 38) | func (b *Barrier) Hold() error { method Release (line 44) | func (b *Barrier) Release() error { method Wait (line 51) | func (b *Barrier) Wait() error { function NewBarrier (line 33) | func NewBarrier(client *v3.Client, key string) *Barrier { FILE: client/v3/experimental/recipes/client.go function deleteRevKey (line 33) | func deleteRevKey(kv v3.KV, key string, rev int64) (bool, error) { function claimFirstKey (line 45) | func claimFirstKey(kv v3.KV, kvs []*spb.KeyValue) (*spb.KeyValue, error) { FILE: client/v3/experimental/recipes/double_barrier.go type DoubleBarrier (line 27) | type DoubleBarrier struct method Enter (line 46) | func (b *DoubleBarrier) Enter() error { method enteredClients (line 101) | func (b *DoubleBarrier) enteredClients(cli *clientv3.Client) (*clientv... method Leave (line 112) | func (b *DoubleBarrier) Leave() error { function NewDoubleBarrier (line 36) | func NewDoubleBarrier(s *concurrency.Session, key string, count int) *Do... FILE: client/v3/experimental/recipes/key.go type RemoteKV (line 29) | type RemoteKV struct method Key (line 119) | func (rk *RemoteKV) Key() string { return rk.key } method Revision (line 120) | func (rk *RemoteKV) Revision() int64 { return rk.rev } method Value (line 121) | func (rk *RemoteKV) Value() string { return rk.val } method Delete (line 123) | func (rk *RemoteKV) Delete() error { method Put (line 132) | func (rk *RemoteKV) Put(val string) error { function newKey (line 36) | func newKey(kv v3.KV, key string, leaseID v3.LeaseID) (*RemoteKV, error) { function newKV (line 40) | func newKV(kv v3.KV, key, val string, leaseID v3.LeaseID) (*RemoteKV, er... function newUniqueKV (line 48) | func newUniqueKV(kv v3.KV, prefix string, val string) (*RemoteKV, error) { function putNewKV (line 63) | func putNewKV(kv v3.KV, key, val string, leaseID v3.LeaseID) (int64, err... function newSequentialKV (line 78) | func newSequentialKV(kv v3.KV, prefix, val string) (*RemoteKV, error) { type EphemeralKV (line 138) | type EphemeralKV struct function newEphemeralKV (line 141) | func newEphemeralKV(s *concurrency.Session, key, val string) (*Ephemeral... function newUniqueEphemeralKey (line 150) | func newUniqueEphemeralKey(s *concurrency.Session, prefix string) (*Ephe... function newUniqueEphemeralKV (line 155) | func newUniqueEphemeralKV(s *concurrency.Session, prefix, val string) (e... FILE: client/v3/experimental/recipes/priority_queue.go type PriorityQueue (line 26) | type PriorityQueue struct method Enqueue (line 38) | func (q *PriorityQueue) Enqueue(val string, pr uint16) error { method Dequeue (line 46) | func (q *PriorityQueue) Dequeue() (string, error) { function NewPriorityQueue (line 33) | func NewPriorityQueue(client *v3.Client, key string) *PriorityQueue { FILE: client/v3/experimental/recipes/queue.go type Queue (line 25) | type Queue struct method Enqueue (line 36) | func (q *Queue) Enqueue(val string) error { method Dequeue (line 43) | func (q *Queue) Dequeue() (string, error) { function NewQueue (line 32) | func NewQueue(client *v3.Client, keyPrefix string) *Queue { FILE: client/v3/experimental/recipes/rwmutex.go type RWMutex (line 25) | type RWMutex struct method RLock (line 37) | func (rwm *RWMutex) RLock() error { method Lock (line 51) | func (rwm *RWMutex) Lock() error { method waitOnLastRev (line 68) | func (rwm *RWMutex) waitOnLastRev(pfx string) (bool, error) { method RUnlock (line 88) | func (rwm *RWMutex) RUnlock() error { return rwm.myKey.Delete() } method Unlock (line 89) | func (rwm *RWMutex) Unlock() error { return rwm.myKey.Delete() } function NewRWMutex (line 33) | func NewRWMutex(s *concurrency.Session, prefix string) *RWMutex { FILE: client/v3/experimental/recipes/watch.go function WaitEvents (line 25) | func WaitEvents(c *clientv3.Client, key string, rev int64, evs []mvccpb.... function WaitPrefixEvents (line 35) | func WaitPrefixEvents(c *clientv3.Client, prefix string, rev int64, evs ... function waitEvents (line 45) | func waitEvents(wc clientv3.WatchChan, evs []mvccpb.Event_EventType) *cl... FILE: client/v3/internal/endpoint/endpoint.go type CredsRequirement (line 25) | type CredsRequirement constant CredsRequire (line 29) | CredsRequire CredsRequirement = iota constant CredsDrop (line 31) | CredsDrop constant CredsOptional (line 33) | CredsOptional function extractHostFromHostPort (line 36) | func extractHostFromHostPort(ep string) string { function mustSplit2 (line 46) | func mustSplit2(s, sep string) (string, string) { function schemeToCredsRequirement (line 54) | func schemeToCredsRequirement(schema string) CredsRequirement { function translateEndpoint (line 90) | func translateEndpoint(ep string) (addr string, serverName string, requi... function RequiresCredentials (line 122) | func RequiresCredentials(ep string) CredsRequirement { function Interpret (line 131) | func Interpret(ep string) (address string, serverName string) { FILE: client/v3/internal/endpoint/endpoint_test.go function Test_interpret (line 21) | func Test_interpret(t *testing.T) { function Test_extractHostFromHostPort (line 80) | func Test_extractHostFromHostPort(t *testing.T) { FILE: client/v3/internal/resolver/resolver.go constant Schema (line 26) | Schema = "etcd-endpoints" type EtcdManualResolver (line 31) | type EtcdManualResolver struct method Build (line 43) | func (r *EtcdManualResolver) Build(target resolver.Target, cc resolver... method SetEndpoints (line 57) | func (r *EtcdManualResolver) SetEndpoints(endpoints []string) { method updateState (line 62) | func (r EtcdManualResolver) updateState() { function New (line 37) | func New(endpoints ...string) *EtcdManualResolver { function getCC (line 79) | func getCC(r EtcdManualResolver) (cc resolver.ClientConn) { FILE: client/v3/kubernetes/client.go function New (line 28) | func New(cfg clientv3.Config) (*Client, error) { type Client (line 40) | type Client struct method Get (line 47) | func (k Client) Get(ctx context.Context, key string, opts GetOptions) ... method List (line 59) | func (k Client) List(ctx context.Context, prefix string, opts ListOpti... method Count (line 75) | func (k Client) Count(ctx context.Context, prefix string, _ CountOptio... method OptimisticPut (line 83) | func (k Client) OptimisticPut(ctx context.Context, key string, value [... method OptimisticDelete (line 109) | func (k Client) OptimisticDelete(ctx context.Context, key string, expe... function kvFromTxnResponse (line 130) | func kvFromTxnResponse(resp *pb.ResponseOp) *mvccpb.KeyValue { FILE: client/v3/kubernetes/interface.go type Interface (line 27) | type Interface interface type GetOptions (line 63) | type GetOptions struct type ListOptions (line 69) | type ListOptions struct type CountOptions (line 85) | type CountOptions struct type PutOptions (line 87) | type PutOptions struct type DeleteOptions (line 96) | type DeleteOptions struct type GetResponse (line 101) | type GetResponse struct type ListResponse (line 109) | type ListResponse struct type PutResponse (line 120) | type PutResponse struct type DeleteResponse (line 132) | type DeleteResponse struct FILE: client/v3/kv.go type CompactResponse (line 27) | type CompactResponse type PutResponse (line 28) | type PutResponse method OpResponse (line 80) | func (resp *PutResponse) OpResponse() OpResponse { type GetResponse (line 29) | type GetResponse method OpResponse (line 84) | func (resp *GetResponse) OpResponse() OpResponse { type DeleteResponse (line 30) | type DeleteResponse method OpResponse (line 88) | func (resp *DeleteResponse) OpResponse() OpResponse { type TxnResponse (line 31) | type TxnResponse method OpResponse (line 92) | func (resp *TxnResponse) OpResponse() OpResponse { type KV (line 34) | type KV interface type OpResponse (line 68) | type OpResponse struct method Put (line 75) | func (op OpResponse) Put() *PutResponse { return op.put } method Get (line 76) | func (op OpResponse) Get() *GetResponse { return op.get } method Del (line 77) | func (op OpResponse) Del() *DeleteResponse { return op.del } method Txn (line 78) | func (op OpResponse) Txn() *TxnResponse { return op.txn } type kv (line 96) | type kv struct method Put (line 117) | func (kv *kv) Put(ctx context.Context, key, val string, opts ...OpOpti... method Get (line 122) | func (kv *kv) Get(ctx context.Context, key string, opts ...OpOption) (... method Delete (line 127) | func (kv *kv) Delete(ctx context.Context, key string, opts ...OpOption... method Compact (line 132) | func (kv *kv) Compact(ctx context.Context, rev int64, opts ...CompactO... method Txn (line 140) | func (kv *kv) Txn(ctx context.Context) Txn { method Do (line 148) | func (kv *kv) Do(ctx context.Context, op Op) (OpResponse, error) { function NewKV (line 101) | func NewKV(c *Client) KV { function NewKVFromKVClient (line 109) | func NewKVFromKVClient(remote pb.KVClient, c *Client) KV { FILE: client/v3/lease.go type LeaseRevokeResponse (line 32) | type LeaseRevokeResponse type LeaseID (line 33) | type LeaseID type LeaseGrantResponse (line 37) | type LeaseGrantResponse struct type LeaseKeepAliveResponse (line 45) | type LeaseKeepAliveResponse struct type LeaseTimeToLiveResponse (line 52) | type LeaseTimeToLiveResponse struct type LeaseStatus (line 67) | type LeaseStatus struct type LeaseLeasesResponse (line 73) | type LeaseLeasesResponse struct constant defaultTTL (line 81) | defaultTTL = 5 * time.Second constant NoLease (line 83) | NoLease LeaseID = 0 constant retryConnWait (line 86) | retryConnWait = 500 * time.Millisecond type ErrKeepAliveHalted (line 97) | type ErrKeepAliveHalted struct method Error (line 101) | func (e ErrKeepAliveHalted) Error() string { type Lease (line 109) | type Lease interface type lessor (line 151) | type lessor struct method Grant (line 215) | func (l *lessor) Grant(ctx context.Context, ttl int64) (*LeaseGrantRes... method Revoke (line 230) | func (l *lessor) Revoke(ctx context.Context, id LeaseID) (*LeaseRevoke... method TimeToLive (line 239) | func (l *lessor) TimeToLive(ctx context.Context, id LeaseID, opts ...L... method Leases (line 255) | func (l *lessor) Leases(ctx context.Context) (*LeaseLeasesResponse, er... method KeepAlive (line 273) | func (l *lessor) KeepAlive(ctx context.Context, id LeaseID) (<-chan *L... method KeepAliveOnce (line 319) | func (l *lessor) KeepAliveOnce(ctx context.Context, id LeaseID) (*Leas... method Close (line 334) | func (l *lessor) Close() error { method keepAliveCtxCloser (line 342) | func (l *lessor) keepAliveCtxCloser(ctx context.Context, id LeaseID, d... method closeRequireLeader (line 376) | func (l *lessor) closeRequireLeader() { method keepAliveOnce (line 413) | func (l *lessor) keepAliveOnce(ctx context.Context, id LeaseID) (kares... method recvKeepAliveLoop (line 449) | func (l *lessor) recvKeepAliveLoop() (gerr error) { method resetRecv (line 497) | func (l *lessor) resetRecv() (pb.Lease_LeaseKeepAliveClient, error) { method recvKeepAlive (line 519) | func (l *lessor) recvKeepAlive(resp *pb.LeaseKeepAliveResponse) { method deadlineLoop (line 562) | func (l *lessor) deadlineLoop() { method sendKeepAliveLoop (line 586) | func (l *lessor) sendKeepAliveLoop(stream pb.Lease_LeaseKeepAliveClien... type keepAlive (line 181) | type keepAlive struct method close (line 621) | func (ka *keepAlive) close() { function NewLease (line 192) | func NewLease(c *Client) Lease { function NewLeaseFromLeaseClient (line 196) | func NewLeaseFromLeaseClient(remote pb.LeaseClient, c *Client, keepAlive... type keepAliveCtxKey (line 271) | type keepAliveCtxKey struct FILE: client/v3/leasing/cache.go constant revokeBackoff (line 28) | revokeBackoff = 2 * time.Second type leaseCache (line 30) | type leaseCache struct method Rev (line 44) | func (lc *leaseCache) Rev(key string) int64 { method Lock (line 53) | func (lc *leaseCache) Lock(key string) (chan<- struct{}, int64) { method LockRange (line 63) | func (lc *leaseCache) LockRange(begin, end string) (ret []chan<- struc... method LockWriteOps (line 85) | func (lc *leaseCache) LockWriteOps(ops []v3.Op) (ret []chan<- struct{}) { method NotifyOps (line 109) | func (lc *leaseCache) NotifyOps(ops []v3.Op) (wcs []<-chan struct{}) { method MayAcquire (line 120) | func (lc *leaseCache) MayAcquire(key string) bool { method Add (line 127) | func (lc *leaseCache) Add(key string, resp *v3.GetResponse, op v3.Op) ... method Update (line 139) | func (lc *leaseCache) Update(key, val []byte, respHeader *v3pb.Respons... method Delete (line 161) | func (lc *leaseCache) Delete(key string, hdr *v3pb.ResponseHeader) { method delete (line 167) | func (lc *leaseCache) delete(key string, hdr *v3pb.ResponseHeader) { method Evict (line 174) | func (lc *leaseCache) Evict(key string) (rev int64) { method EvictRange (line 185) | func (lc *leaseCache) EvictRange(key, end string) { method Get (line 198) | func (lc *leaseCache) Get(ctx context.Context, op v3.Op) (*v3.GetRespo... method notify (line 242) | func (lc *leaseCache) notify(key string) (*leaseKey, <-chan struct{}) { method clearOldRevokes (line 251) | func (lc *leaseCache) clearOldRevokes(ctx context.Context) { method evalCmp (line 268) | func (lc *leaseCache) evalCmp(cmps []v3.Cmp) (cmpVal bool, ok bool) { method evalOps (line 284) | func (lc *leaseCache) evalOps(ops []v3.Op) ([]*v3pb.ResponseOp, bool) { type leaseKey (line 37) | type leaseKey struct method get (line 219) | func (lk *leaseKey) get(op v3.Op) *v3.GetResponse { function inRange (line 75) | func inRange(k, begin, end string) bool { function isBadOp (line 196) | func isBadOp(op v3.Op) bool { return op.Rev() > 0 || len(op.RangeBytes()... FILE: client/v3/leasing/kv.go type leasingKV (line 34) | type leasingKV struct method Close (line 81) | func (lkv *leasingKV) Close() { method Get (line 86) | func (lkv *leasingKV) Get(ctx context.Context, key string, opts ...v3.... method Put (line 90) | func (lkv *leasingKV) Put(ctx context.Context, key, val string, opts .... method Delete (line 94) | func (lkv *leasingKV) Delete(ctx context.Context, key string, opts ...... method Do (line 98) | func (lkv *leasingKV) Do(ctx context.Context, op v3.Op) (v3.OpResponse... method Compact (line 117) | func (lkv *leasingKV) Compact(ctx context.Context, rev int64, opts ...... method Txn (line 121) | func (lkv *leasingKV) Txn(ctx context.Context) v3.Txn { method monitorSession (line 125) | func (lkv *leasingKV) monitorSession() { method monitorLease (line 155) | func (lkv *leasingKV) monitorLease(ctx context.Context, key string, re... method rescind (line 187) | func (lkv *leasingKV) rescind(ctx context.Context, key string, rev int... method waitRescind (line 200) | func (lkv *leasingKV) waitRescind(ctx context.Context, key string, rev... method tryModifyOp (line 214) | func (lkv *leasingKV) tryModifyOp(ctx context.Context, op v3.Op) (*v3.... method put (line 232) | func (lkv *leasingKV) put(ctx context.Context, op v3.Op) (pr *v3.PutRe... method acquire (line 261) | func (lkv *leasingKV) acquire(ctx context.Context, key string, op v3.O... method get (line 297) | func (lkv *leasingKV) get(ctx context.Context, op v3.Op) (*v3.GetRespo... method deleteRangeRPC (line 336) | func (lkv *leasingKV) deleteRangeRPC(ctx context.Context, maxLeaseRev ... method deleteRange (line 359) | func (lkv *leasingKV) deleteRange(ctx context.Context, op v3.Op) (*v3.... method delete (line 376) | func (lkv *leasingKV) delete(ctx context.Context, op v3.Op) (dr *v3.De... method revoke (line 409) | func (lkv *leasingKV) revoke(ctx context.Context, key string, op v3.Op... method revokeRange (line 419) | func (lkv *leasingKV) revokeRange(ctx context.Context, begin, end stri... method revokeLeaseKvs (line 431) | func (lkv *leasingKV) revokeLeaseKvs(ctx context.Context, kvs []*mvccp... method waitSession (line 449) | func (lkv *leasingKV) waitSession(ctx context.Context) error { method readySession (line 463) | func (lkv *leasingKV) readySession() bool { method leaseID (line 477) | func (lkv *leasingKV) leaseID() v3.LeaseID { function init (line 51) | func init() { function NewKV (line 57) | func NewKV(cl *v3.Client, pfx string, opts ...concurrency.SessionOption)... FILE: client/v3/leasing/txn.go type txnLeasing (line 25) | type txnLeasing struct method If (line 34) | func (txn *txnLeasing) If(cs ...v3.Cmp) v3.Txn { method Then (line 40) | func (txn *txnLeasing) Then(ops ...v3.Op) v3.Txn { method Else (line 46) | func (txn *txnLeasing) Else(ops ...v3.Op) v3.Txn { method Commit (line 52) | func (txn *txnLeasing) Commit() (*v3.TxnResponse, error) { method eval (line 59) | func (txn *txnLeasing) eval() (*v3.TxnResponse, error) { method fallback (line 93) | func (txn *txnLeasing) fallback(ops []v3.Op) (fbOps []v3.Op) { method guardKeys (line 107) | func (txn *txnLeasing) guardKeys(ops []v3.Op) (cmps []v3.Cmp) { method guardRanges (line 121) | func (txn *txnLeasing) guardRanges(ops []v3.Op) (cmps []v3.Cmp, err er... method guard (line 153) | func (txn *txnLeasing) guard(ops []v3.Op) ([]v3.Cmp, error) { method commitToCache (line 159) | func (txn *txnLeasing) commitToCache(txnResp *v3pb.TxnResponse, userTx... method revokeFallback (line 181) | func (txn *txnLeasing) revokeFallback(fbResps []*v3pb.ResponseOp) error { method serverTxn (line 191) | func (txn *txnLeasing) serverTxn() (*v3.TxnResponse, error) { FILE: client/v3/leasing/util.go function compareInt64 (line 24) | func compareInt64(a, b int64) int { function evalCmp (line 35) | func evalCmp(resp *v3.GetResponse, tcmp v3.Cmp) bool { function gatherOps (line 71) | func gatherOps(ops []v3.Op) (ret []v3.Op) { function gatherResponseOps (line 83) | func gatherResponseOps(resp []*v3pb.ResponseOp, ops []v3.Op) (ret []v3.O... function copyHeader (line 99) | func copyHeader(hdr *v3pb.ResponseHeader) *v3pb.ResponseHeader { function closeAll (line 104) | func closeAll(chs []chan<- struct{}) { FILE: client/v3/logger.go function init (line 28) | func init() { function SetLogger (line 44) | func SetLogger(l grpclog.LoggerV2) { function ClientLogLevel (line 49) | func ClientLogLevel() zapcore.Level { FILE: client/v3/main_test.go constant dialTimeout (line 25) | dialTimeout = 5 * time.Second constant requestTimeout (line 26) | requestTimeout = 10 * time.Second function exampleEndpoints (line 29) | func exampleEndpoints() []string { return nil } function forUnitTestsRunInMockedContext (line 31) | func forUnitTestsRunInMockedContext(mocking func(), _example func()) { function TestMain (line 39) | func TestMain(m *testing.M) { FILE: client/v3/maintenance.go type DefragmentResponse (line 30) | type DefragmentResponse type AlarmResponse (line 31) | type AlarmResponse type AlarmMember (line 32) | type AlarmMember type StatusResponse (line 33) | type StatusResponse type HashKVResponse (line 34) | type HashKVResponse type MoveLeaderResponse (line 35) | type MoveLeaderResponse type DowngradeResponse (line 36) | type DowngradeResponse type DowngradeAction (line 38) | type DowngradeAction constant DowngradeValidate (line 42) | DowngradeValidate = DowngradeAction(pb.DowngradeRequest_VALIDATE) constant DowngradeEnable (line 43) | DowngradeEnable = DowngradeAction(pb.DowngradeRequest_ENABLE) constant DowngradeCancel (line 44) | DowngradeCancel = DowngradeAction(pb.DowngradeRequest_CANCEL) type Maintenance (line 47) | type Maintenance interface type SnapshotResponse (line 94) | type SnapshotResponse struct type maintenance (line 107) | type maintenance struct method AlarmList (line 148) | func (m *maintenance) AlarmList(ctx context.Context) (*AlarmResponse, ... method AlarmDisarm (line 161) | func (m *maintenance) AlarmDisarm(ctx context.Context, am *AlarmMember... method Defragment (line 191) | func (m *maintenance) Defragment(ctx context.Context, endpoint string)... method Status (line 204) | func (m *maintenance) Status(ctx context.Context, endpoint string) (*S... method HashKV (line 217) | func (m *maintenance) HashKV(ctx context.Context, endpoint string, rev... method SnapshotWithVersion (line 230) | func (m *maintenance) SnapshotWithVersion(ctx context.Context) (*Snaps... method Snapshot (line 273) | func (m *maintenance) Snapshot(ctx context.Context) (io.ReadCloser, er... method logAndCloseWithError (line 299) | func (m *maintenance) logAndCloseWithError(err error, pw *io.PipeWrite... method save (line 309) | func (m *maintenance) save(resp *pb.SnapshotResponse, pw *io.PipeWrite... method MoveLeader (line 331) | func (m *maintenance) MoveLeader(ctx context.Context, transfereeID uin... method Downgrade (line 336) | func (m *maintenance) Downgrade(ctx context.Context, action DowngradeA... function NewMaintenance (line 114) | func NewMaintenance(c *Client) Maintenance { function NewMaintenanceFromMaintenanceClient (line 134) | func NewMaintenanceFromMaintenanceClient(remote pb.MaintenanceClient, c ... type snapshotReadCloser (line 321) | type snapshotReadCloser struct method Read (line 326) | func (rc *snapshotReadCloser) Read(p []byte) (n int, err error) { FILE: client/v3/mirror/syncer.go constant batchLimit (line 25) | batchLimit = 1000 type Syncer (line 29) | type Syncer interface function NewSyncer (line 39) | func NewSyncer(c *clientv3.Client, prefix string, rev int64) Syncer { type syncer (line 43) | type syncer struct method SyncBase (line 49) | func (s *syncer) SyncBase(ctx context.Context) (<-chan clientv3.GetRes... method SyncUpdates (line 115) | func (s *syncer) SyncUpdates(ctx context.Context) clientv3.WatchChan { FILE: client/v3/mock/mockserver/mockserver.go type MockServer (line 31) | type MockServer struct method ResolverAddress (line 38) | func (ms *MockServer) ResolverAddress() resolver.Address { type MockServers (line 50) | type MockServers struct method StartAt (line 122) | func (ms *MockServers) StartAt(idx int) (err error) { method StopAt (line 146) | func (ms *MockServers) StopAt(idx int) { method Stop (line 161) | func (ms *MockServers) Stop() { function StartMockServers (line 58) | func StartMockServers(count int) (ms *MockServers, err error) { function StartMockServersOnNetwork (line 63) | func StartMockServersOnNetwork(count int, network string) (ms *MockServe... function startMockServersTCP (line 74) | func startMockServersTCP(count int) (ms *MockServers, err error) { function startMockServersUnix (line 82) | func startMockServersUnix(count int) (ms *MockServers, err error) { function startMockServers (line 100) | func startMockServers(network string, addrs []string) (ms *MockServers, ... type mockKVServer (line 168) | type mockKVServer struct method Range (line 173) | func (m *mockKVServer) Range(context.Context, *pb.RangeRequest) (*pb.R... method Put (line 177) | func (m *mockKVServer) Put(context.Context, *pb.PutRequest) (*pb.PutRe... method DeleteRange (line 181) | func (m *mockKVServer) DeleteRange(context.Context, *pb.DeleteRangeReq... method Txn (line 185) | func (m *mockKVServer) Txn(context.Context, *pb.TxnRequest) (*pb.TxnRe... method Compact (line 189) | func (m *mockKVServer) Compact(context.Context, *pb.CompactionRequest)... method Lease (line 193) | func (m *mockKVServer) Lease(context.Context, *pb.LeaseGrantRequest) (... type mockLeaseServer (line 197) | type mockLeaseServer struct method LeaseGrant (line 202) | func (s mockLeaseServer) LeaseGrant(context.Context, *pb.LeaseGrantReq... method LeaseRevoke (line 206) | func (s *mockLeaseServer) LeaseRevoke(context.Context, *pb.LeaseRevoke... method LeaseKeepAlive (line 210) | func (s *mockLeaseServer) LeaseKeepAlive(pb.Lease_LeaseKeepAliveServer... method LeaseTimeToLive (line 214) | func (s *mockLeaseServer) LeaseTimeToLive(context.Context, *pb.LeaseTi... method LeaseLeases (line 218) | func (s *mockLeaseServer) LeaseLeases(context.Context, *pb.LeaseLeases... FILE: client/v3/namespace/kv.go type kvPrefix (line 25) | type kvPrefix struct method Put (line 36) | func (kv *kvPrefix) Put(ctx context.Context, key, val string, opts ...... method Get (line 50) | func (kv *kvPrefix) Get(ctx context.Context, key string, opts ...clien... method Delete (line 67) | func (kv *kvPrefix) Delete(ctx context.Context, key string, opts ...cl... method Do (line 80) | func (kv *kvPrefix) Do(ctx context.Context, op clientv3.Op) (clientv3.... method Txn (line 106) | func (kv *kvPrefix) Txn(ctx context.Context) clientv3.Txn { method prefixOp (line 134) | func (kv *kvPrefix) prefixOp(op clientv3.Op) clientv3.Op { method unprefixGetResponse (line 145) | func (kv *kvPrefix) unprefixGetResponse(resp *clientv3.GetResponse) { method unprefixPutResponse (line 151) | func (kv *kvPrefix) unprefixPutResponse(resp *clientv3.PutResponse) { method unprefixDeleteResponse (line 157) | func (kv *kvPrefix) unprefixDeleteResponse(resp *clientv3.DeleteRespon... method unprefixTxnResponse (line 163) | func (kv *kvPrefix) unprefixTxnResponse(resp *clientv3.TxnResponse) { method prefixInterval (line 187) | func (kv *kvPrefix) prefixInterval(key, end []byte) (pfxKey []byte, pf... method prefixCmps (line 191) | func (kv *kvPrefix) prefixCmps(cs []clientv3.Cmp) []clientv3.Cmp { method prefixOps (line 204) | func (kv *kvPrefix) prefixOps(ops []clientv3.Op) []clientv3.Op { function NewKV (line 32) | func NewKV(kv clientv3.KV, prefix string) clientv3.KV { type txnPrefix (line 101) | type txnPrefix struct method If (line 110) | func (txn *txnPrefix) If(cs ...clientv3.Cmp) clientv3.Txn { method Then (line 115) | func (txn *txnPrefix) Then(ops ...clientv3.Op) clientv3.Txn { method Else (line 120) | func (txn *txnPrefix) Else(ops ...clientv3.Op) clientv3.Txn { method Commit (line 125) | func (txn *txnPrefix) Commit() (*clientv3.TxnResponse, error) { FILE: client/v3/namespace/lease.go type leasePrefix (line 24) | type leasePrefix struct method TimeToLive (line 35) | func (l *leasePrefix) TimeToLive(ctx context.Context, id clientv3.Leas... function NewLease (line 31) | func NewLease(l clientv3.Lease, prefix string) clientv3.Lease { FILE: client/v3/namespace/util.go function prefixInterval (line 17) | func prefixInterval(pfx string, key, end []byte) (pfxKey []byte, pfxEnd ... FILE: client/v3/namespace/util_test.go function TestPrefixInterval (line 22) | func TestPrefixInterval(t *testing.T) { FILE: client/v3/namespace/watch.go type watcherPrefix (line 24) | type watcherPrefix struct method Watch (line 40) | func (w *watcherPrefix) Watch(ctx context.Context, key string, opts ..... method Close (line 78) | func (w *watcherPrefix) Close() error { function NewWatcher (line 36) | func NewWatcher(w clientv3.Watcher, prefix string) clientv3.Watcher { FILE: client/v3/naming/endpoints/endpoints.go type Endpoint (line 27) | type Endpoint struct type Operation (line 37) | type Operation constant Add (line 41) | Add Operation = iota constant Delete (line 43) | Delete type Update (line 47) | type Update struct type WatchChannel (line 55) | type WatchChannel type Key2EndpointMap (line 58) | type Key2EndpointMap type UpdateWithOpts (line 62) | type UpdateWithOpts struct function NewAddUpdateOpts (line 68) | func NewAddUpdateOpts(key string, endpoint Endpoint, opts ...clientv3.Op... function NewDeleteUpdateOpts (line 73) | func NewDeleteUpdateOpts(key string, opts ...clientv3.OpOption) *UpdateW... type Manager (line 79) | type Manager interface FILE: client/v3/naming/endpoints/endpoints_impl.go type endpointManager (line 33) | type endpointManager struct method Update (line 56) | func (m *endpointManager) Update(ctx context.Context, updates []*Updat... method AddEndpoint (line 86) | func (m *endpointManager) AddEndpoint(ctx context.Context, key string,... method DeleteEndpoint (line 90) | func (m *endpointManager) DeleteEndpoint(ctx context.Context, key stri... method NewWatchChannel (line 94) | func (m *endpointManager) NewWatchChannel(ctx context.Context) (WatchC... method watch (line 125) | func (m *endpointManager) watch(ctx context.Context, rev int64, upch c... method List (line 175) | func (m *endpointManager) List(ctx context.Context) (Key2EndpointMap, ... function NewManager (line 40) | func NewManager(client *clientv3.Client, target string) (Manager, error) { FILE: client/v3/naming/endpoints/internal/update.go type Operation (line 20) | type Operation constant Add (line 24) | Add Operation = iota constant Delete (line 26) | Delete type Update (line 41) | type Update struct FILE: client/v3/naming/resolver/resolver.go type builder (line 30) | type builder struct method Build (line 34) | func (b builder) Build(target gresolver.Target, cc gresolver.ClientCon... method Scheme (line 62) | func (b builder) Scheme() string { function NewBuilder (line 67) | func NewBuilder(client *clientv3.Client) (gresolver.Builder, error) { type resolver (line 71) | type resolver struct method watch (line 81) | func (r *resolver) watch() { method ResolveNow (line 126) | func (r *resolver) ResolveNow(gresolver.ResolveNowOptions) {} method Close (line 128) | func (r *resolver) Close() { function convertToGRPCEndpoint (line 109) | func convertToGRPCEndpoint(ups map[string]*endpoints.Update) []gresolver... FILE: client/v3/op.go type opType (line 19) | type opType constant tRange (line 23) | tRange opType = iota + 1 constant tPut (line 24) | tPut constant tDeleteRange (line 25) | tDeleteRange constant tTxn (line 26) | tTxn type Op (line 32) | type Op struct method IsTxn (line 88) | func (op Op) IsTxn() bool { method Txn (line 93) | func (op Op) Txn() ([]Cmp, []Op, []Op) { method KeyBytes (line 98) | func (op Op) KeyBytes() []byte { return op.key } method WithKeyBytes (line 101) | func (op *Op) WithKeyBytes(key []byte) { op.key = key } method RangeBytes (line 104) | func (op Op) RangeBytes() []byte { return op.end } method Rev (line 107) | func (op Op) Rev() int64 { return op.rev } method Limit (line 110) | func (op Op) Limit() int64 { return op.limit } method IsPut (line 113) | func (op Op) IsPut() bool { return op.t == tPut } method IsGet (line 116) | func (op Op) IsGet() bool { return op.t == tRange } method IsDelete (line 119) | func (op Op) IsDelete() bool { return op.t == tDeleteRange } method IsSerializable (line 122) | func (op Op) IsSerializable() bool { return op.serializable } method IsKeysOnly (line 125) | func (op Op) IsKeysOnly() bool { return op.keysOnly } method IsCountOnly (line 128) | func (op Op) IsCountOnly() bool { return op.countOnly } method IsSortSet (line 131) | func (op Op) IsSortSet() bool { return op.sort != nil } method IsOptsWithFromKey (line 133) | func (op Op) IsOptsWithFromKey() bool { return op.isOptsWithFromKey } method IsOptsWithPrefix (line 135) | func (op Op) IsOptsWithPrefix() bool { return op.isOptsWithPrefix } method IsPrevKV (line 138) | func (op Op) IsPrevKV() bool { return op.prevKV } method IsFragment (line 141) | func (op Op) IsFragment() bool { return op.fragment } method IsProgressNotify (line 144) | func (op Op) IsProgressNotify() bool { return op.progressNotify } method IsCreatedNotify (line 147) | func (op Op) IsCreatedNotify() bool { return op.createdNotify } method IsFilterPut (line 150) | func (op Op) IsFilterPut() bool { return op.filterPut } method IsFilterDelete (line 153) | func (op Op) IsFilterDelete() bool { return op.filterDelete } method MinModRev (line 156) | func (op Op) MinModRev() int64 { return op.minModRev } method MaxModRev (line 159) | func (op Op) MaxModRev() int64 { return op.maxModRev } method MinCreateRev (line 162) | func (op Op) MinCreateRev() int64 { return op.minCreateRev } method MaxCreateRev (line 165) | func (op Op) MaxCreateRev() int64 { return op.maxCreateRev } method WithRangeBytes (line 168) | func (op *Op) WithRangeBytes(end []byte) { op.end = end } method ValueBytes (line 171) | func (op Op) ValueBytes() []byte { return op.val } method WithValueBytes (line 174) | func (op *Op) WithValueBytes(v []byte) { op.val = v } method toRangeRequest (line 176) | func (op Op) toRangeRequest() *pb.RangeRequest { method toTxnRequest (line 200) | func (op Op) toTxnRequest() *pb.TxnRequest { method toRequestOp (line 216) | func (op Op) toRequestOp() *pb.RequestOp { method isWrite (line 233) | func (op Op) isWrite() bool { method applyOpts (line 354) | func (op *Op) applyOpts(opts []OpOption) { method IsSortOptionValid (line 619) | func (op Op) IsSortOptionValid() bool { function NewOp (line 250) | func NewOp() *Op { function OpGet (line 255) | func OpGet(key string, opts ...OpOption) Op { function OpDelete (line 266) | func OpDelete(key string, opts ...OpOption) Op { function OpPut (line 299) | func OpPut(key, val string, opts ...OpOption) Op { function OpTxn (line 328) | func OpTxn(cmps []Cmp, thenOps []Op, elseOps []Op) Op { function OpWatch (line 332) | func OpWatch(key string, opts ...OpOption) Op { type OpOption (line 361) | type OpOption function WithLease (line 364) | func WithLease(leaseID LeaseID) OpOption { function WithLimit (line 370) | func WithLimit(n int64) OpOption { return func(op *Op) { op.limit = n } } function WithRev (line 374) | func WithRev(rev int64) OpOption { return func(op *Op) { op.rev = rev } } function WithSort (line 380) | func WithSort(target SortTarget, order SortOrder) OpOption { function GetPrefixRangeEnd (line 396) | func GetPrefixRangeEnd(prefix string) string { function getPrefix (line 400) | func getPrefix(key []byte) []byte { function WithPrefix (line 418) | func WithPrefix() OpOption { function WithRange (line 433) | func WithRange(endKey string) OpOption { function WithFromKey (line 439) | func WithFromKey() OpOption { function WithSerializable (line 458) | func WithSerializable() OpOption { function WithKeysOnly (line 464) | func WithKeysOnly() OpOption { function WithCountOnly (line 469) | func WithCountOnly() OpOption { function WithMinModRev (line 474) | func WithMinModRev(rev int64) OpOption { return func(op *Op) { op.minMod... function WithMaxModRev (line 477) | func WithMaxModRev(rev int64) OpOption { return func(op *Op) { op.maxMod... function WithMinCreateRev (line 480) | func WithMinCreateRev(rev int64) OpOption { return func(op *Op) { op.min... function WithMaxCreateRev (line 483) | func WithMaxCreateRev(rev int64) OpOption { return func(op *Op) { op.max... function WithFirstCreate (line 486) | func WithFirstCreate() []OpOption { return withTop(SortByCreateRevision,... function WithLastCreate (line 489) | func WithLastCreate() []OpOption { return withTop(SortByCreateRevision, ... function WithFirstKey (line 492) | func WithFirstKey() []OpOption { return withTop(SortByKey, SortAscend) } function WithLastKey (line 495) | func WithLastKey() []OpOption { return withTop(SortByKey, SortDescend) } function WithFirstRev (line 498) | func WithFirstRev() []OpOption { return withTop(SortByModRevision, SortA... function WithLastRev (line 501) | func WithLastRev() []OpOption { return withTop(SortByModRevision, SortDe... function withTop (line 504) | func withTop(target SortTarget, order SortOrder) []OpOption { function WithProgressNotify (line 511) | func WithProgressNotify() OpOption { function WithCreatedNotify (line 518) | func WithCreatedNotify() OpOption { function WithFilterPut (line 525) | func WithFilterPut() OpOption { function WithFilterDelete (line 530) | func WithFilterDelete() OpOption { function WithPrevKV (line 536) | func WithPrevKV() OpOption { function WithFragment (line 549) | func WithFragment() OpOption { function WithIgnoreValue (line 556) | func WithIgnoreValue() OpOption { function WithIgnoreLease (line 565) | func WithIgnoreLease() OpOption { type LeaseOp (line 572) | type LeaseOp struct method applyOpts (line 582) | func (op *LeaseOp) applyOpts(opts []LeaseOption) { type LeaseOption (line 580) | type LeaseOption function WithAttachedKeys (line 589) | func WithAttachedKeys() LeaseOption { function toLeaseTimeToLiveRequest (line 593) | func toLeaseTimeToLiveRequest(id LeaseID, opts ...LeaseOption) *pb.Lease... function IsOptsWithPrefix (line 600) | func IsOptsWithPrefix(opts []OpOption) bool { function IsOptsWithFromKey (line 610) | func IsOptsWithFromKey(opts []OpOption) bool { FILE: client/v3/op_test.go function TestOpWithSort (line 27) | func TestOpWithSort(t *testing.T) { function TestIsSortOptionValid (line 40) | func TestIsSortOptionValid(t *testing.T) { function TestIsOptsWithPrefix (line 79) | func TestIsOptsWithPrefix(t *testing.T) { function TestIsOptsWithFromKey (line 93) | func TestIsOptsWithFromKey(t *testing.T) { FILE: client/v3/options.go constant MaxLeaseTTL (line 69) | MaxLeaseTTL = 9000000000 FILE: client/v3/ordering/kv.go type kvOrdering (line 27) | type kvOrdering struct method getPrevRev (line 38) | func (kv *kvOrdering) getPrevRev() int64 { method setPrevRev (line 44) | func (kv *kvOrdering) setPrevRev(currRev int64) { method Get (line 52) | func (kv *kvOrdering) Get(ctx context.Context, key string, opts ...cli... method Txn (line 78) | func (kv *kvOrdering) Txn(ctx context.Context) clientv3.Txn { function NewKV (line 34) | func NewKV(kv clientv3.KV, orderViolationFunc OrderViolationFunc) *kvOrd... type txnOrdering (line 93) | type txnOrdering struct method If (line 103) | func (txn *txnOrdering) If(cs ...clientv3.Cmp) clientv3.Txn { method Then (line 111) | func (txn *txnOrdering) Then(ops ...clientv3.Op) clientv3.Txn { method Else (line 119) | func (txn *txnOrdering) Else(ops ...clientv3.Op) clientv3.Txn { method Commit (line 127) | func (txn *txnOrdering) Commit() (*clientv3.TxnResponse, error) { FILE: client/v3/ordering/kv_test.go type mockKV (line 26) | type mockKV struct method Do (line 31) | func (kv *mockKV) Do(ctx context.Context, op clientv3.Op) (clientv3.Op... function TestKvOrdering (line 65) | func TestKvOrdering(t *testing.T) { function TestTxnOrdering (line 119) | func TestTxnOrdering(t *testing.T) { FILE: client/v3/ordering/util.go type OrderViolationFunc (line 24) | type OrderViolationFunc function NewOrderViolationSwitchEndpointClosure (line 28) | func NewOrderViolationSwitchEndpointClosure(c *clientv3.Client) OrderVio... FILE: client/v3/retry.go type retryPolicy (line 29) | type retryPolicy method String (line 36) | func (rp retryPolicy) String() string { constant repeatable (line 32) | repeatable retryPolicy = iota constant nonRepeatable (line 33) | nonRepeatable function isSafeRetryImmutableRPC (line 54) | func isSafeRetryImmutableRPC(err error) bool { function isSafeRetryMutableRPC (line 85) | func isSafeRetryMutableRPC(err error) bool { type retryKVClient (line 96) | type retryKVClient struct method Range (line 107) | func (rkv *retryKVClient) Range(ctx context.Context, in *pb.RangeReque... method Put (line 111) | func (rkv *retryKVClient) Put(ctx context.Context, in *pb.PutRequest, ... method DeleteRange (line 115) | func (rkv *retryKVClient) DeleteRange(ctx context.Context, in *pb.Dele... method Txn (line 119) | func (rkv *retryKVClient) Txn(ctx context.Context, in *pb.TxnRequest, ... method Compact (line 123) | func (rkv *retryKVClient) Compact(ctx context.Context, in *pb.Compacti... function RetryKVClient (line 101) | func RetryKVClient(c *Client) pb.KVClient { type retryLeaseClient (line 127) | type retryLeaseClient struct method LeaseTimeToLive (line 138) | func (rlc *retryLeaseClient) LeaseTimeToLive(ctx context.Context, in *... method LeaseLeases (line 142) | func (rlc *retryLeaseClient) LeaseLeases(ctx context.Context, in *pb.L... method LeaseGrant (line 146) | func (rlc *retryLeaseClient) LeaseGrant(ctx context.Context, in *pb.Le... method LeaseRevoke (line 150) | func (rlc *retryLeaseClient) LeaseRevoke(ctx context.Context, in *pb.L... method LeaseKeepAlive (line 154) | func (rlc *retryLeaseClient) LeaseKeepAlive(ctx context.Context, opts ... function RetryLeaseClient (line 132) | func RetryLeaseClient(c *Client) pb.LeaseClient { type retryClusterClient (line 158) | type retryClusterClient struct method MemberList (line 169) | func (rcc *retryClusterClient) MemberList(ctx context.Context, in *pb.... method MemberAdd (line 173) | func (rcc *retryClusterClient) MemberAdd(ctx context.Context, in *pb.M... method MemberRemove (line 177) | func (rcc *retryClusterClient) MemberRemove(ctx context.Context, in *p... method MemberUpdate (line 181) | func (rcc *retryClusterClient) MemberUpdate(ctx context.Context, in *p... method MemberPromote (line 185) | func (rcc *retryClusterClient) MemberPromote(ctx context.Context, in *... function RetryClusterClient (line 163) | func RetryClusterClient(c *Client) pb.ClusterClient { type retryMaintenanceClient (line 189) | type retryMaintenanceClient struct method Alarm (line 200) | func (rmc *retryMaintenanceClient) Alarm(ctx context.Context, in *pb.A... method Status (line 204) | func (rmc *retryMaintenanceClient) Status(ctx context.Context, in *pb.... method Hash (line 208) | func (rmc *retryMaintenanceClient) Hash(ctx context.Context, in *pb.Ha... method HashKV (line 212) | func (rmc *retryMaintenanceClient) HashKV(ctx context.Context, in *pb.... method Snapshot (line 216) | func (rmc *retryMaintenanceClient) Snapshot(ctx context.Context, in *p... method MoveLeader (line 220) | func (rmc *retryMaintenanceClient) MoveLeader(ctx context.Context, in ... method Defragment (line 224) | func (rmc *retryMaintenanceClient) Defragment(ctx context.Context, in ... method Downgrade (line 228) | func (rmc *retryMaintenanceClient) Downgrade(ctx context.Context, in *... function RetryMaintenanceClient (line 194) | func RetryMaintenanceClient(c *Client, conn *grpc.ClientConn) pb.Mainten... type retryAuthClient (line 232) | type retryAuthClient struct method UserList (line 243) | func (rac *retryAuthClient) UserList(ctx context.Context, in *pb.AuthU... method UserGet (line 247) | func (rac *retryAuthClient) UserGet(ctx context.Context, in *pb.AuthUs... method RoleGet (line 251) | func (rac *retryAuthClient) RoleGet(ctx context.Context, in *pb.AuthRo... method RoleList (line 255) | func (rac *retryAuthClient) RoleList(ctx context.Context, in *pb.AuthR... method AuthEnable (line 259) | func (rac *retryAuthClient) AuthEnable(ctx context.Context, in *pb.Aut... method AuthDisable (line 263) | func (rac *retryAuthClient) AuthDisable(ctx context.Context, in *pb.Au... method AuthStatus (line 267) | func (rac *retryAuthClient) AuthStatus(ctx context.Context, in *pb.Aut... method UserAdd (line 271) | func (rac *retryAuthClient) UserAdd(ctx context.Context, in *pb.AuthUs... method UserDelete (line 275) | func (rac *retryAuthClient) UserDelete(ctx context.Context, in *pb.Aut... method UserChangePassword (line 279) | func (rac *retryAuthClient) UserChangePassword(ctx context.Context, in... method UserGrantRole (line 283) | func (rac *retryAuthClient) UserGrantRole(ctx context.Context, in *pb.... method UserRevokeRole (line 287) | func (rac *retryAuthClient) UserRevokeRole(ctx context.Context, in *pb... method RoleAdd (line 291) | func (rac *retryAuthClient) RoleAdd(ctx context.Context, in *pb.AuthRo... method RoleDelete (line 295) | func (rac *retryAuthClient) RoleDelete(ctx context.Context, in *pb.Aut... method RoleGrantPermission (line 299) | func (rac *retryAuthClient) RoleGrantPermission(ctx context.Context, i... method RoleRevokePermission (line 303) | func (rac *retryAuthClient) RoleRevokePermission(ctx context.Context, ... method Authenticate (line 307) | func (rac *retryAuthClient) Authenticate(ctx context.Context, in *pb.A... function RetryAuthClient (line 237) | func RetryAuthClient(c *Client) pb.AuthClient { FILE: client/v3/retry_interceptor.go method unaryClientInterceptor (line 41) | func (c *Client) unaryClientInterceptor(optFuncs ...retryOption) grpc.Un... method streamClientInterceptor (line 112) | func (c *Client) streamClientInterceptor(optFuncs ...retryOption) grpc.S... method shouldRefreshToken (line 152) | func (c *Client) shouldRefreshToken(err error, callOpts *options) bool { method refreshToken (line 168) | func (c *Client) refreshToken(ctx context.Context) error { type serverStreamingRetryingStream (line 188) | type serverStreamingRetryingStream struct method setStream (line 200) | func (s *serverStreamingRetryingStream) setStream(clientStream grpc.Cl... method getStream (line 206) | func (s *serverStreamingRetryingStream) getStream() grpc.ClientStream { method SendMsg (line 212) | func (s *serverStreamingRetryingStream) SendMsg(m any) error { method CloseSend (line 219) | func (s *serverStreamingRetryingStream) CloseSend() error { method Header (line 226) | func (s *serverStreamingRetryingStream) Header() (metadata.MD, error) { method Trailer (line 230) | func (s *serverStreamingRetryingStream) Trailer() metadata.MD { method RecvMsg (line 234) | func (s *serverStreamingRetryingStream) RecvMsg(m any) error { method receiveMsgAndIndicateRetry (line 261) | func (s *serverStreamingRetryingStream) receiveMsgAndIndicateRetry(m a... method reestablishStreamAndResendBuffer (line 293) | func (s *serverStreamingRetryingStream) reestablishStreamAndResendBuff... function waitRetryBackoff (line 312) | func waitRetryBackoff(ctx context.Context, attempt uint, callOpts *optio... function isSafeRetry (line 330) | func isSafeRetry(c *Client, err error, callOpts *options) bool { function isContextError (line 356) | func isContextError(err error) bool { function contextErrToGRPCErr (line 360) | func contextErrToGRPCErr(err error) error { type backoffFunc (line 384) | type backoffFunc function withRepeatablePolicy (line 387) | func withRepeatablePolicy() retryOption { function withMax (line 394) | func withMax(maxRetries uint) retryOption { function withBackoff (line 401) | func withBackoff(bf backoffFunc) retryOption { type options (line 407) | type options struct type retryOption (line 415) | type retryOption struct function reuseOrNewWithCallOptions (line 420) | func reuseOrNewWithCallOptions(opt *options, retryOptions []retryOption)... function filterCallOptions (line 432) | func filterCallOptions(callOptions []grpc.CallOption) (grpcOptions []grp... function backoffLinearWithJitter (line 446) | func backoffLinearWithJitter(waitBetween time.Duration, jitterFraction f... FILE: client/v3/retry_interceptor_test.go type dummyAuthTokenBundle (line 26) | type dummyAuthTokenBundle struct method PerRPCCredentials (line 28) | func (d dummyAuthTokenBundle) PerRPCCredentials() grpccredentials.PerR... method UpdateAuthToken (line 32) | func (d dummyAuthTokenBundle) UpdateAuthToken(token string) { function TestClientShouldRefreshToken (line 35) | func TestClientShouldRefreshToken(t *testing.T) { FILE: client/v3/snapshot/v3_snapshot.go function hasChecksum (line 35) | func hasChecksum(n int64) bool { function SaveWithVersion (line 49) | func SaveWithVersion(ctx context.Context, lg *zap.Logger, cfg clientv3.C... FILE: client/v3/sort.go type SortTarget (line 18) | type SortTarget type SortOrder (line 19) | type SortOrder constant SortNone (line 23) | SortNone SortOrder = iota constant SortAscend (line 24) | SortAscend constant SortDescend (line 25) | SortDescend constant SortByKey (line 29) | SortByKey SortTarget = iota constant SortByVersion (line 30) | SortByVersion constant SortByCreateRevision (line 31) | SortByCreateRevision constant SortByModRevision (line 32) | SortByModRevision constant SortByValue (line 33) | SortByValue type SortOption (line 36) | type SortOption struct FILE: client/v3/txn.go type Txn (line 36) | type Txn interface type txn (line 54) | type txn struct method If (line 73) | func (txn *txn) If(cs ...Cmp) Txn { method Then (line 98) | func (txn *txn) Then(ops ...Op) Txn { method Else (line 119) | func (txn *txn) Else(ops ...Op) Txn { method Commit (line 137) | func (txn *txn) Commit() (*TxnResponse, error) { FILE: client/v3/txn_test.go function TestTxnPanics (line 24) | func TestTxnPanics(t *testing.T) { FILE: client/v3/utils.go function jitterUp (line 28) | func jitterUp(duration time.Duration, jitter float64) time.Duration { FILE: client/v3/watch.go constant EventTypeDelete (line 36) | EventTypeDelete = mvccpb.Event_DELETE constant EventTypePut (line 37) | EventTypePut = mvccpb.Event_PUT constant closeSendErrTimeout (line 39) | closeSendErrTimeout = 250 * time.Millisecond constant AutoWatchID (line 43) | AutoWatchID = 0 constant InvalidWatchID (line 46) | InvalidWatchID = -1 type Event (line 49) | type Event method IsCreate (line 113) | func (e *Event) IsCreate() bool { method IsModify (line 118) | func (e *Event) IsModify() bool { type WatchChan (line 51) | type WatchChan type Watcher (line 53) | type Watcher interface type WatchResponse (line 91) | type WatchResponse struct method Err (line 123) | func (wr *WatchResponse) Err() error { method IsProgressNotify (line 139) | func (wr *WatchResponse) IsProgressNotify() bool { type watcher (line 144) | type watcher struct method newWatcherGRPCStream (line 275) | func (w *watcher) newWatcherGRPCStream(inctx context.Context) *watchGR... method Watch (line 298) | func (w *watcher) Watch(ctx context.Context, key string, opts ...OpOpt... method Close (line 388) | func (w *watcher) Close() (err error) { method RequestProgress (line 406) | func (w *watcher) RequestProgress(ctx context.Context) (err error) { method closeStream (line 449) | func (w *watcher) closeStream(wgs *watchGRPCStream) { type watchGRPCStream (line 157) | type watchGRPCStream struct method close (line 439) | func (w *watchGRPCStream) close() (err error) { method addSubstream (line 459) | func (w *watchGRPCStream) addSubstream(resp *pb.WatchResponse, ws *wat... method sendCloseSubstream (line 471) | func (w *watchGRPCStream) sendCloseSubstream(ws *watcherStream, resp *... method closeSubstream (line 480) | func (w *watchGRPCStream) closeSubstream(ws *watcherStream) { method run (line 505) | func (w *watchGRPCStream) run() { method nextResume (line 703) | func (w *watchGRPCStream) nextResume() *watcherStream { method dispatchEvent (line 714) | func (w *watchGRPCStream) dispatchEvent(pbresp *pb.WatchResponse) bool { method broadcastResponse (line 739) | func (w *watchGRPCStream) broadcastResponse(wr *WatchResponse) bool { method unicastResponse (line 750) | func (w *watchGRPCStream) unicastResponse(wr *WatchResponse, watchID i... method serveWatchClient (line 764) | func (w *watchGRPCStream) serveWatchClient(wc pb.Watch_WatchClient) { method serveSubstream (line 783) | func (w *watchGRPCStream) serveSubstream(ws *watcherStream, resumec ch... method newWatchClient (line 880) | func (w *watchGRPCStream) newWatchClient() (pb.Watch_WatchClient, erro... method waitCancelSubstreams (line 926) | func (w *watchGRPCStream) waitCancelSubstreams(stopc <-chan struct{}) ... method joinSubstreams (line 963) | func (w *watchGRPCStream) joinSubstreams() { method backoffIfUnavailable (line 976) | func (w *watchGRPCStream) backoffIfUnavailable(backoff time.Duration, ... method openWatchClient (line 994) | func (w *watchGRPCStream) openWatchClient() (ws pb.Watch_WatchClient, ... type watchStreamRequest (line 195) | type watchStreamRequest interface type watchRequest (line 200) | type watchRequest struct method toPB (line 1017) | func (wr *watchRequest) toPB() *pb.WatchRequest { type progressRequest (line 224) | type progressRequest struct method toPB (line 1032) | func (pr *progressRequest) toPB() *pb.WatchRequest { type watcherStream (line 227) | type watcherStream struct function NewWatcher (line 246) | func NewWatcher(c *Client) Watcher { function NewWatchFromWatchClient (line 250) | func NewWatchFromWatchClient(wc pb.WatchClient, c *Client) Watcher { type valCtx (line 269) | type valCtx struct method Deadline (line 271) | func (vc *valCtx) Deadline() (time.Time, bool) { return zeroTime, false } method Done (line 272) | func (vc *valCtx) Done() <-chan struct{} { return valCtxCh } method Err (line 273) | func (vc *valCtx) Err() error { return nil } function streamKeyFromCtx (line 1038) | func streamKeyFromCtx(ctx context.Context) string { FILE: client/v3/watch_test.go function TestEvent (line 26) | func TestEvent(t *testing.T) { function TestStreamKeyFromCtx (line 67) | func TestStreamKeyFromCtx(t *testing.T) { FILE: client/v3/yaml/config.go type yamlConfig (line 29) | type yamlConfig struct function NewConfig (line 44) | func NewConfig(fpath string) (*clientv3.Config, error) { FILE: client/v3/yaml/config_test.go function TestConfigFromFile (line 33) | func TestConfigFromFile(t *testing.T) { FILE: contrib/raftexample/httpapi.go type httpKVAPI (line 27) | type httpKVAPI struct method ServeHTTP (line 32) | func (h *httpKVAPI) ServeHTTP(w http.ResponseWriter, r *http.Request) { function serveHTTPKVAPI (line 104) | func serveHTTPKVAPI(kv *kvstore, port int, confChangeC chan<- raftpb.Con... FILE: contrib/raftexample/kvstore.go type kvstore (line 31) | type kvstore struct method Lookup (line 60) | func (s *kvstore) Lookup(key string) (string, bool) { method Propose (line 67) | func (s *kvstore) Propose(k string, v string) { method readCommits (line 75) | func (s *kvstore) readCommits(commitC <-chan *commit, errorC <-chan er... method getSnapshot (line 109) | func (s *kvstore) getSnapshot() ([]byte, error) { method loadSnapshot (line 115) | func (s *kvstore) loadSnapshot() (*raftpb.Snapshot, error) { method recoverFromSnapshot (line 126) | func (s *kvstore) recoverFromSnapshot(snapshot []byte) error { type kv (line 38) | type kv struct function newKVStore (line 43) | func newKVStore(snapshotter *snap.Snapshotter, proposeC chan<- string, c... FILE: contrib/raftexample/kvstore_test.go function Test_kvstore_snapshot (line 24) | func Test_kvstore_snapshot(t *testing.T) { FILE: contrib/raftexample/listener.go type stoppableListener (line 25) | type stoppableListener struct method Accept (line 38) | func (ln stoppableListener) Accept() (c net.Conn, err error) { function newStoppableListener (line 30) | func newStoppableListener(addr string, stopc <-chan struct{}) (*stoppabl... FILE: contrib/raftexample/main.go function main (line 24) | func main() { FILE: contrib/raftexample/raft.go type commit (line 41) | type commit struct type raftNode (line 47) | type raftNode struct method saveSnap (line 119) | func (rc *raftNode) saveSnap(snap raftpb.Snapshot) error { method entriesToApply (line 137) | func (rc *raftNode) entriesToApply(ents []raftpb.Entry) (nents []raftp... method publishEntries (line 153) | func (rc *raftNode) publishEntries(ents []raftpb.Entry) (<-chan struct... method loadSnapshot (line 204) | func (rc *raftNode) loadSnapshot() *raftpb.Snapshot { method openWAL (line 220) | func (rc *raftNode) openWAL(snapshot *raftpb.Snapshot) *wal.WAL { method replayWAL (line 247) | func (rc *raftNode) replayWAL() *wal.WAL { method writeError (line 267) | func (rc *raftNode) writeError(err error) { method startRaft (line 275) | func (rc *raftNode) startRaft() { method stop (line 331) | func (rc *raftNode) stop() { method stopHTTP (line 338) | func (rc *raftNode) stopHTTP() { method publishSnapshot (line 344) | func (rc *raftNode) publishSnapshot(snapshotToSave raftpb.Snapshot) { method maybeTriggerSnapshot (line 364) | func (rc *raftNode) maybeTriggerSnapshot(applyDoneC <-chan struct{}) { method serveChannels (line 406) | func (rc *raftNode) serveChannels() { method processMessages (line 490) | func (rc *raftNode) processMessages(ms []raftpb.Message) []raftpb.Mess... method serveRaft (line 499) | func (rc *raftNode) serveRaft() { method Process (line 519) | func (rc *raftNode) Process(ctx context.Context, m raftpb.Message) err... method IsIDRemoved (line 522) | func (rc *raftNode) IsIDRemoved(_ uint64) bool { return false } method ReportUnreachable (line 523) | func (rc *raftNode) ReportUnreachable(id uint64) { rc.node.ReportUnrea... method ReportSnapshot (line 524) | func (rc *raftNode) ReportSnapshot(id uint64, status raft.SnapshotStat... function newRaftNode (line 88) | func newRaftNode(id int, peers []string, join bool, getSnapshot func() (... FILE: contrib/raftexample/raft_test.go function TestProcessMessages (line 26) | func TestProcessMessages(t *testing.T) { FILE: contrib/raftexample/raftexample_test.go function getSnapshotFn (line 33) | func getSnapshotFn() (func() ([]byte, error), <-chan struct{}) { type cluster (line 41) | type cluster struct method Close (line 80) | func (clus *cluster) Close() (err error) { method closeNoErrors (line 99) | func (clus *cluster) closeNoErrors(t *testing.T) { function newCluster (line 51) | func newCluster(n int) *cluster { function TestProposeOnCommit (line 108) | func TestProposeOnCommit(t *testing.T) { function TestCloseProposerBeforeReplay (line 145) | func TestCloseProposerBeforeReplay(t *testing.T) { function TestCloseProposerInflight (line 153) | func TestCloseProposerInflight(t *testing.T) { function TestPutAndGetKeyValue (line 173) | func TestPutAndGetKeyValue(t *testing.T) { function TestAddNewNode (line 223) | func TestAddNewNode(t *testing.T) { function TestSnapshot (line 258) | func TestSnapshot(t *testing.T) { FILE: etcdctl/ctlv3/command/alarm_command.go function NewAlarmCommand (line 27) | func NewAlarmCommand() *cobra.Command { function NewAlarmDisarmCommand (line 41) | func NewAlarmDisarmCommand() *cobra.Command { function alarmDisarmCommandFunc (line 51) | func alarmDisarmCommandFunc(cmd *cobra.Command, args []string) { function NewAlarmListCommand (line 64) | func NewAlarmListCommand() *cobra.Command { function alarmListCommandFunc (line 74) | func alarmListCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/auth_command.go function NewAuthCommand (line 28) | func NewAuthCommand() *cobra.Command { function newAuthStatusCommand (line 43) | func newAuthStatusCommand() *cobra.Command { function authStatusCommandFunc (line 52) | func authStatusCommandFunc(cmd *cobra.Command, args []string) { function newAuthEnableCommand (line 67) | func newAuthEnableCommand() *cobra.Command { function authEnableCommandFunc (line 76) | func authEnableCommandFunc(cmd *cobra.Command, args []string) { function newAuthDisableCommand (line 105) | func newAuthDisableCommand() *cobra.Command { function authDisableCommandFunc (line 114) | func authDisableCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/check.go type checkPerfCfg (line 47) | type checkPerfCfg struct type checkDatascaleCfg (line 77) | type checkDatascaleCfg struct function NewCheckCommand (line 108) | func NewCheckCommand() *cobra.Command { function NewCheckPerfCommand (line 123) | func NewCheckPerfCommand() *cobra.Command { function newCheckPerfCommand (line 143) | func newCheckPerfCommand(cmd *cobra.Command, args []string) { function attemptCleanup (line 269) | func attemptCleanup(client *v3.Client, autoCompact bool) { function interruptableContext (line 282) | func interruptableContext(ctx context.Context, attemptCleanup func()) (c... function NewCheckDatascaleCommand (line 298) | func NewCheckDatascaleCommand() *cobra.Command { function newCheckDatascaleCommand (line 315) | func newCheckDatascaleCommand(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/compaction_command.go function NewCompactionCommand (line 30) | func NewCompactionCommand() *cobra.Command { function compactionCommandFunc (line 42) | func compactionCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/completion_command.go function NewCompletionCommand (line 23) | func NewCompletionCommand() *cobra.Command { FILE: etcdctl/ctlv3/command/defrag_command.go function NewDefragCommand (line 28) | func NewDefragCommand() *cobra.Command { function defragCommandFunc (line 39) | func defragCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/del_command.go function NewDelCommand (line 36) | func NewDelCommand() *cobra.Command { function delCommandFunc (line 52) | func delCommandFunc(cmd *cobra.Command, args []string) { function getDelOp (line 63) | func getDelOp(args []string) (string, []clientv3.OpOption) { FILE: etcdctl/ctlv3/command/diagnosis/engine/diagnosis.go type report (line 23) | type report struct function Diagnose (line 30) | func Diagnose(input any, plugins []intf.Plugin) ([]byte, error) { FILE: etcdctl/ctlv3/command/diagnosis/engine/intf/plugin.go type Plugin (line 17) | type Plugin interface type FailedResult (line 28) | type FailedResult struct FILE: etcdctl/ctlv3/command/diagnosis/plugins/common/checker.go type Checker (line 26) | type Checker struct FILE: etcdctl/ctlv3/command/diagnosis/plugins/common/client.go function NewClient (line 25) | func NewClient(cfg *clientv3.ConfigSpec) (*clientv3.Client, error) { function ConfigWithEndpoint (line 36) | func ConfigWithEndpoint(cfg *clientv3.ConfigSpec, ep string) *clientv3.C... FILE: etcdctl/ctlv3/command/diagnosis/plugins/epstatus/plugin.go type epStatusChecker (line 28) | type epStatusChecker struct method Name (line 55) | func (ck *epStatusChecker) Name() string { method Diagnose (line 59) | func (ck *epStatusChecker) Diagnose() (result any) { type epStatus (line 32) | type epStatus struct type checkResult (line 37) | type checkResult struct function NewPlugin (line 43) | func NewPlugin(cfg *clientv3.ConfigSpec, eps []string, timeout time.Dura... function initCheckResult (line 142) | func initCheckResult(name string, epCount int) checkResult { function appendSummary (line 150) | func appendSummary(chkResult *checkResult, format string, v ...any) { function compareHardInfo (line 156) | func compareHardInfo(s1, s2 *clientv3.StatusResponse) bool { function compareSoftInfo (line 165) | func compareSoftInfo(s1, s2 *clientv3.StatusResponse) bool { function checkDBSize (line 176) | func checkDBSize(chkResult *checkResult, dbQuota int64) { FILE: etcdctl/ctlv3/command/diagnosis/plugins/membership/plugin.go type membershipChecker (line 28) | type membershipChecker struct method Name (line 50) | func (ck *membershipChecker) Name() string { method Diagnose (line 54) | func (ck *membershipChecker) Diagnose() (result any) { type checkResult (line 32) | type checkResult struct function NewPlugin (line 39) | func NewPlugin(cfg *clientv3.ConfigSpec, eps []string, timeout time.Dura... function compareMembers (line 112) | func compareMembers(m1, m2 *clientv3.MemberListResponse) bool { FILE: etcdctl/ctlv3/command/diagnosis/plugins/metrics/plugin.go type metricsChecker (line 42) | type metricsChecker struct method Name (line 69) | func (ck *metricsChecker) Name() string { method Diagnose (line 73) | func (ck *metricsChecker) Diagnose() (result any) { type epMetrics (line 46) | type epMetrics struct type checkResult (line 52) | type checkResult struct function NewPlugin (line 58) | func NewPlugin(cfg *clientv3.ConfigSpec, eps []string, timeout time.Dura... function metrics (line 120) | func metrics(lines []string, prefix string) []string { function appendSummary (line 130) | func appendSummary(chkResult *checkResult, format string, v ...any) { function fetchMetrics (line 136) | func fetchMetrics(cfg *clientv3.ConfigSpec, ep string, timeout time.Dura... FILE: etcdctl/ctlv3/command/diagnosis/plugins/read/plugin.go type readChecker (line 29) | type readChecker struct method Name (line 57) | func (ck *readChecker) Name() string { method Diagnose (line 68) | func (ck *readChecker) Diagnose() (result any) { type readResponse (line 34) | type readResponse struct type checkResult (line 39) | type checkResult struct function NewPlugin (line 45) | func NewPlugin(cfg *clientv3.ConfigSpec, eps []string, timeout time.Dura... function generateName (line 61) | func generateName(linearizable bool) string { function initCheckResult (line 139) | func initCheckResult(name string, epCount int) checkResult { FILE: etcdctl/ctlv3/command/diagnosis_command.go function NewDiagnosisCommand (line 39) | func NewDiagnosisCommand() *cobra.Command { function runDiagnosis (line 54) | func runDiagnosis(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/downgrade_command.go function NewDowngradeCommand (line 27) | func NewDowngradeCommand() *cobra.Command { function NewDowngradeValidateCommand (line 43) | func NewDowngradeValidateCommand() *cobra.Command { function NewDowngradeEnableCommand (line 54) | func NewDowngradeEnableCommand() *cobra.Command { function NewDowngradeCancelCommand (line 65) | func NewDowngradeCancelCommand() *cobra.Command { function downgradeValidateCommandFunc (line 76) | func downgradeValidateCommandFunc(cmd *cobra.Command, args []string) { function downgradeEnableCommandFunc (line 102) | func downgradeEnableCommandFunc(cmd *cobra.Command, args []string) { function downgradeCancelCommandFunc (line 128) | func downgradeCancelCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/elect_command.go function NewElectCommand (line 34) | func NewElectCommand() *cobra.Command { function electCommandFunc (line 45) | func electCommandFunc(cmd *cobra.Command, args []string) { function observe (line 68) | func observe(c *clientv3.Client, election string) error { function campaign (line 102) | func campaign(c *clientv3.Client, election string, prop string) error { FILE: etcdctl/ctlv3/command/ep_command.go function NewEndpointCommand (line 40) | func NewEndpointCommand() *cobra.Command { function newEpHealthCommand (line 56) | func newEpHealthCommand() *cobra.Command { function newEpStatusCommand (line 66) | func newEpStatusCommand() *cobra.Command { function newEpHashKVCommand (line 77) | func newEpHashKVCommand() *cobra.Command { type epHealth (line 87) | type epHealth struct function epHealthCommandFunc (line 95) | func epHealthCommandFunc(cmd *cobra.Command, args []string) { type epStatus (line 182) | type epStatus struct function epStatusCommandFunc (line 187) | func epStatusCommandFunc(cmd *cobra.Command, args []string) { type epHashKV (line 214) | type epHashKV struct function epHashKVCommandFunc (line 219) | func epHashKVCommandFunc(cmd *cobra.Command, args []string) { function endpointsFromCluster (line 246) | func endpointsFromCluster(cmd *cobra.Command) []string { FILE: etcdctl/ctlv3/command/get_command.go function NewGetCommand (line 45) | func NewGetCommand() *cobra.Command { function getCommandFunc (line 82) | func getCommandFunc(cmd *cobra.Command, args []string) { function getGetOp (line 107) | func getGetOp(args []string) (string, []clientv3.OpOption) { FILE: etcdctl/ctlv3/command/global.go type GlobalFlags (line 41) | type GlobalFlags struct type discoveryCfg (line 66) | type discoveryCfg struct function initDisplayFromCmd (line 74) | func initDisplayFromCmd(cmd *cobra.Command) { type discardValue (line 88) | type discardValue struct method String (line 90) | func (*discardValue) String() string { return "" } method Set (line 91) | func (*discardValue) Set(string) error { return nil } method Type (line 92) | func (*discardValue) Type() string { return "" } function clientConfigFromCmd (line 94) | func clientConfigFromCmd(cmd *cobra.Command) *clientv3.ConfigSpec { function mustClientCfgFromCmd (line 144) | func mustClientCfgFromCmd(cmd *cobra.Command) *clientv3.Config { function mustClientFromCmd (line 154) | func mustClientFromCmd(cmd *cobra.Command) *clientv3.Client { function mustClient (line 159) | func mustClient(cc *clientv3.ConfigSpec) *clientv3.Client { function argOrStdin (line 174) | func argOrStdin(args []string, stdin io.Reader, i int) (string, error) { function dialTimeoutFromCmd (line 185) | func dialTimeoutFromCmd(cmd *cobra.Command) time.Duration { function keepAliveTimeFromCmd (line 193) | func keepAliveTimeFromCmd(cmd *cobra.Command) time.Duration { function keepAliveTimeoutFromCmd (line 201) | func keepAliveTimeoutFromCmd(cmd *cobra.Command) time.Duration { function maxCallSendMsgSizeFromCmd (line 209) | func maxCallSendMsgSizeFromCmd(cmd *cobra.Command) int { function maxCallRecvMsgSizeFromCmd (line 217) | func maxCallRecvMsgSizeFromCmd(cmd *cobra.Command) int { function secureCfgFromCmd (line 225) | func secureCfgFromCmd(cmd *cobra.Command) *clientv3.SecureConfig { function insecureTransportFromCmd (line 246) | func insecureTransportFromCmd(cmd *cobra.Command) bool { function insecureSkipVerifyFromCmd (line 254) | func insecureSkipVerifyFromCmd(cmd *cobra.Command) bool { function keyAndCertFromCmd (line 262) | func keyAndCertFromCmd(cmd *cobra.Command) (cert, key, cacert string) { function authCfgFromCmd (line 285) | func authCfgFromCmd(cmd *cobra.Command) *clientv3.AuthConfig { function insecureDiscoveryFromCmd (line 330) | func insecureDiscoveryFromCmd(cmd *cobra.Command) bool { function discoverySrvFromCmd (line 338) | func discoverySrvFromCmd(cmd *cobra.Command) string { function discoveryDNSClusterServiceNameFromCmd (line 346) | func discoveryDNSClusterServiceNameFromCmd(cmd *cobra.Command) string { function discoveryCfgFromCmd (line 354) | func discoveryCfgFromCmd(cmd *cobra.Command) *discoveryCfg { function endpointsFromCmd (line 362) | func endpointsFromCmd(cmd *cobra.Command) ([]string, error) { function endpointsFromFlagValue (line 379) | func endpointsFromFlagValue(cmd *cobra.Command) ([]string, error) { FILE: etcdctl/ctlv3/command/groups.go constant groupKVID (line 20) | groupKVID = "kv" constant groupClusterMaintenanceID (line 21) | groupClusterMaintenanceID = "cluster maintenance" constant groupConcurrencyID (line 22) | groupConcurrencyID = "concurrency" constant groupAuthenticationID (line 23) | groupAuthenticationID = "authentication" constant groupUtilityID (line 24) | groupUtilityID = "utility" function NewKVGroup (line 27) | func NewKVGroup() *cobra.Group { function NewClusterMaintenanceGroup (line 34) | func NewClusterMaintenanceGroup() *cobra.Group { function NewConcurrencyGroup (line 41) | func NewConcurrencyGroup() *cobra.Group { function NewAuthenticationGroup (line 48) | func NewAuthenticationGroup() *cobra.Group { function NewUtilityGroup (line 55) | func NewUtilityGroup() *cobra.Group { FILE: etcdctl/ctlv3/command/help_command.go function SetHelpCmdGroup (line 19) | func SetHelpCmdGroup(rootCmd *cobra.Command) { FILE: etcdctl/ctlv3/command/lease_command.go function NewLeaseCommand (line 29) | func NewLeaseCommand() *cobra.Command { function NewLeaseGrantCommand (line 47) | func NewLeaseGrantCommand() *cobra.Command { function leaseGrantCommandFunc (line 59) | func leaseGrantCommandFunc(cmd *cobra.Command, args []string) { function NewLeaseRevokeCommand (line 79) | func NewLeaseRevokeCommand() *cobra.Command { function leaseRevokeCommandFunc (line 91) | func leaseRevokeCommandFunc(cmd *cobra.Command, args []string) { function NewLeaseTimeToLiveCommand (line 109) | func NewLeaseTimeToLiveCommand() *cobra.Command { function leaseTimeToLiveCommandFunc (line 122) | func leaseTimeToLiveCommandFunc(cmd *cobra.Command, args []string) { function NewLeaseListCommand (line 138) | func NewLeaseListCommand() *cobra.Command { function leaseListCommandFunc (line 148) | func leaseListCommandFunc(cmd *cobra.Command, args []string) { function NewLeaseKeepAliveCommand (line 159) | func NewLeaseKeepAliveCommand() *cobra.Command { function leaseKeepAliveCommandFunc (line 173) | func leaseKeepAliveCommandFunc(cmd *cobra.Command, args []string) { function leaseFromArgs (line 202) | func leaseFromArgs(arg string) v3.LeaseID { FILE: etcdctl/ctlv3/command/lock_command.go function NewLockCommand (line 36) | func NewLockCommand() *cobra.Command { function lockCommandFunc (line 47) | func lockCommandFunc(cmd *cobra.Command, args []string) { function getExitCodeFromError (line 58) | func getExitCodeFromError(err error) int { function lockUntilSignal (line 73) | func lockUntilSignal(c *clientv3.Client, lockname string, cmdArgs []stri... function environLockResponse (line 126) | func environLockResponse(m *concurrency.Mutex) []string { FILE: etcdctl/ctlv3/command/make_mirror_command.go constant defaultMaxTxnOps (line 36) | defaultMaxTxnOps = uint(128) function NewMakeMirrorCommand (line 54) | func NewMakeMirrorCommand() *cobra.Command { function authDestCfg (line 78) | func authDestCfg() *clientv3.AuthConfig { function makeMirrorCommandFunc (line 106) | func makeMirrorCommandFunc(cmd *cobra.Command, args []string) { function makeMirror (line 142) | func makeMirror(ctx context.Context, c *clientv3.Client, dc *clientv3.Cl... function modifyPrefix (line 242) | func modifyPrefix(key string) string { FILE: etcdctl/ctlv3/command/member_command.go function NewMemberCommand (line 36) | func NewMemberCommand() *cobra.Command { function NewMemberAddCommand (line 54) | func NewMemberAddCommand() *cobra.Command { function NewMemberRemoveCommand (line 69) | func NewMemberRemoveCommand() *cobra.Command { function NewMemberUpdateCommand (line 81) | func NewMemberUpdateCommand() *cobra.Command { function NewMemberListCommand (line 95) | func NewMemberListCommand() *cobra.Command { function NewMemberPromoteCommand (line 112) | func NewMemberPromoteCommand() *cobra.Command { function memberAddCommandFunc (line 126) | func memberAddCommandFunc(cmd *cobra.Command, args []string) { function memberRemoveCommandFunc (line 186) | func memberRemoveCommandFunc(cmd *cobra.Command, args []string) { function memberUpdateCommandFunc (line 206) | func memberUpdateCommandFunc(cmd *cobra.Command, args []string) { function memberListCommandFunc (line 233) | func memberListCommandFunc(cmd *cobra.Command, args []string) { function memberPromoteCommandFunc (line 249) | func memberPromoteCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/move_leader_command.go function NewMoveLeaderCommand (line 28) | func NewMoveLeaderCommand() *cobra.Command { function transferLeadershipCommandFunc (line 39) | func transferLeadershipCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/options_command.go function NewOptionsCommand (line 24) | func NewOptionsCommand(rootCmd *cobra.Command) *cobra.Command { function unhideCopy (line 38) | func unhideCopy(src *pflag.FlagSet) *pflag.FlagSet { FILE: etcdctl/ctlv3/command/printer.go type printer (line 30) | type printer interface function NewPrinter (line 78) | func NewPrinter(printerType string, isHex bool) printer { type printerRPC (line 94) | type printerRPC struct method Del (line 99) | func (p *printerRPC) Del(r v3.DeleteResponse) { p.p((*pb.DeleteRangeR... method Get (line 100) | func (p *printerRPC) Get(r v3.GetResponse) { p.p((*pb.RangeRespons... method Put (line 101) | func (p *printerRPC) Put(r v3.PutResponse) { p.p((*pb.PutResponse)... method Txn (line 102) | func (p *printerRPC) Txn(r v3.TxnResponse) { p.p((*pb.TxnResponse)... method Watch (line 103) | func (p *printerRPC) Watch(r v3.WatchResponse) { p.p(&r) } method Grant (line 105) | func (p *printerRPC) Grant(r v3.LeaseGrantResponse) ... method Revoke (line 106) | func (p *printerRPC) Revoke(id v3.LeaseID, r v3.LeaseRevokeResponse) ... method KeepAlive (line 107) | func (p *printerRPC) KeepAlive(r v3.LeaseKeepAliveResponse) ... method TimeToLive (line 108) | func (p *printerRPC) TimeToLive(r v3.LeaseTimeToLiveResponse, keys boo... method Leases (line 109) | func (p *printerRPC) Leases(r v3.LeaseLeasesResponse) ... method MemberAdd (line 111) | func (p *printerRPC) MemberAdd(r v3.MemberAddResponse) { p.p((*pb.Memb... method MemberRemove (line 112) | func (p *printerRPC) MemberRemove(id uint64, r v3.MemberRemoveResponse) { method MemberUpdate (line 116) | func (p *printerRPC) MemberUpdate(id uint64, r v3.MemberUpdateResponse) { method MemberPromote (line 120) | func (p *printerRPC) MemberPromote(id uint64, r v3.MemberPromoteRespon... method MemberList (line 123) | func (p *printerRPC) MemberList(r v3.MemberListResponse) { p.p((*pb.Me... method Alarm (line 124) | func (p *printerRPC) Alarm(r v3.AlarmResponse) { p.p((*pb.Al... method MoveLeader (line 125) | func (p *printerRPC) MoveLeader(leader, target uint64, r v3.MoveLeader... method DowngradeValidate (line 128) | func (p *printerRPC) DowngradeValidate(r v3.DowngradeResponse) { p.p... method DowngradeEnable (line 129) | func (p *printerRPC) DowngradeEnable(r v3.DowngradeResponse) { p.p... method DowngradeCancel (line 130) | func (p *printerRPC) DowngradeCancel(r v3.DowngradeResponse) { p.p... method RoleAdd (line 131) | func (p *printerRPC) RoleAdd(_ string, r v3.AuthRoleAddResponse) { p.p... method RoleGet (line 132) | func (p *printerRPC) RoleGet(_ string, r v3.AuthRoleGetResponse) { p.p... method RoleDelete (line 133) | func (p *printerRPC) RoleDelete(_ string, r v3.AuthRoleDeleteResponse) { method RoleList (line 136) | func (p *printerRPC) RoleList(r v3.AuthRoleListResponse) { p.p((*pb.Au... method RoleGrantPermission (line 137) | func (p *printerRPC) RoleGrantPermission(_ string, r v3.AuthRoleGrantP... method RoleRevokePermission (line 141) | func (p *printerRPC) RoleRevokePermission(_ string, _ string, _ string... method UserAdd (line 144) | func (p *printerRPC) UserAdd(_ string, r v3.AuthUserAddResponse) { p.p... method UserGet (line 145) | func (p *printerRPC) UserGet(_ string, r v3.AuthUserGetResponse) { p.p... method UserList (line 146) | func (p *printerRPC) UserList(r v3.AuthUserListResponse) { p.p... method UserChangePassword (line 147) | func (p *printerRPC) UserChangePassword(r v3.AuthUserChangePasswordRes... method UserGrantRole (line 151) | func (p *printerRPC) UserGrantRole(_ string, _ string, r v3.AuthUserGr... method UserRevokeRole (line 155) | func (p *printerRPC) UserRevokeRole(_ string, _ string, r v3.AuthUserR... method UserDelete (line 159) | func (p *printerRPC) UserDelete(_ string, r v3.AuthUserDeleteResponse) { method AuthStatus (line 163) | func (p *printerRPC) AuthStatus(r v3.AuthStatusResponse) { type printerUnsupported (line 167) | type printerUnsupported struct method EndpointHealth (line 176) | func (p *printerUnsupported) EndpointHealth([]epHealth) { p.p(nil) } method EndpointStatus (line 177) | func (p *printerUnsupported) EndpointStatus([]epStatus) { p.p(nil) } method EndpointHashKV (line 178) | func (p *printerUnsupported) EndpointHashKV([]epHashKV) { p.p(nil) } method MoveLeader (line 180) | func (p *printerUnsupported) MoveLeader(leader, target uint64, r v3.Mo... method DowngradeValidate (line 181) | func (p *printerUnsupported) DowngradeValidate(r v3.DowngradeResponse)... method DowngradeEnable (line 182) | func (p *printerUnsupported) DowngradeEnable(r v3.DowngradeResponse) ... method DowngradeCancel (line 183) | func (p *printerUnsupported) DowngradeCancel(r v3.DowngradeResponse) ... function newPrinterUnsupported (line 169) | func newPrinterUnsupported(n string) printer { function makeMemberListTable (line 185) | func makeMemberListTable(r v3.MemberListResponse) (hdr []string, rows []... function makeEndpointHealthTable (line 208) | func makeEndpointHealthTable(healthList []epHealth) (hdr []string, rows ... function makeEndpointStatusTable (line 221) | func makeEndpointStatusTable(statusList []epStatus) (hdr []string, rows ... function makeEndpointHashKVTable (line 249) | func makeEndpointHashKVTable(hashList []epHashKV) (hdr []string, rows []... FILE: etcdctl/ctlv3/command/printer_fields.go type fieldsPrinter (line 26) | type fieldsPrinter struct method kv (line 31) | func (p *fieldsPrinter) kv(pfx string, kv *spb.KeyValue) { method hdr (line 44) | func (p *fieldsPrinter) hdr(h *pb.ResponseHeader) { method Del (line 61) | func (p *fieldsPrinter) Del(r v3.DeleteResponse) { method Get (line 69) | func (p *fieldsPrinter) Get(r v3.GetResponse) { method Put (line 78) | func (p *fieldsPrinter) Put(r v3.PutResponse) { method Txn (line 85) | func (p *fieldsPrinter) Txn(r v3.TxnResponse) { method Watch (line 102) | func (p *fieldsPrinter) Watch(resp v3.WatchResponse) { method Grant (line 113) | func (p *fieldsPrinter) Grant(r v3.LeaseGrantResponse) { method Revoke (line 123) | func (p *fieldsPrinter) Revoke(id v3.LeaseID, r v3.LeaseRevokeResponse) { method KeepAlive (line 127) | func (p *fieldsPrinter) KeepAlive(r v3.LeaseKeepAliveResponse) { method TimeToLive (line 137) | func (p *fieldsPrinter) TimeToLive(r v3.LeaseTimeToLiveResponse, keys ... method Leases (line 151) | func (p *fieldsPrinter) Leases(r v3.LeaseLeasesResponse) { method MemberList (line 162) | func (p *fieldsPrinter) MemberList(r v3.MemberListResponse) { method EndpointHealth (line 182) | func (p *fieldsPrinter) EndpointHealth(hs []epHealth) { method EndpointStatus (line 192) | func (p *fieldsPrinter) EndpointStatus(eps []epStatus) { method EndpointHashKV (line 213) | func (p *fieldsPrinter) EndpointHashKV(hs []epHashKV) { method Alarm (line 223) | func (p *fieldsPrinter) Alarm(r v3.AlarmResponse) { method RoleAdd (line 236) | func (p *fieldsPrinter) RoleAdd(role string, r v3.AuthRoleAddResponse)... method RoleGet (line 237) | func (p *fieldsPrinter) RoleGet(role string, r v3.AuthRoleGetResponse) { method RoleDelete (line 245) | func (p *fieldsPrinter) RoleDelete(role string, r v3.AuthRoleDeleteRes... method RoleList (line 246) | func (p *fieldsPrinter) RoleList(r v3.AuthRoleListResponse) { method RoleGrantPermission (line 255) | func (p *fieldsPrinter) RoleGrantPermission(role string, r v3.AuthRole... method RoleRevokePermission (line 259) | func (p *fieldsPrinter) RoleRevokePermission(role string, key string, ... method UserAdd (line 262) | func (p *fieldsPrinter) UserAdd(user string, r v3.AuthUserAddResponse)... method UserChangePassword (line 263) | func (p *fieldsPrinter) UserChangePassword(r v3.AuthUserChangePassword... method UserGrantRole (line 264) | func (p *fieldsPrinter) UserGrantRole(user string, role string, r v3.A... method UserRevokeRole (line 268) | func (p *fieldsPrinter) UserRevokeRole(user string, role string, r v3.... method UserDelete (line 271) | func (p *fieldsPrinter) UserDelete(user string, r v3.AuthUserDeleteRes... FILE: etcdctl/ctlv3/command/printer_json.go type jsonPrinter (line 27) | type jsonPrinter struct method EndpointHealth (line 72) | func (p *jsonPrinter) EndpointHealth(r []epHealth) { printJSON(r) } method EndpointStatus (line 73) | func (p *jsonPrinter) EndpointStatus(r []epStatus) { printJSON(r) } method EndpointHashKV (line 74) | func (p *jsonPrinter) EndpointHashKV(r []epHashKV) { printJSON(r) } method MemberAdd (line 76) | func (p *jsonPrinter) MemberAdd(r clientv3.MemberAddResponse) ... method MemberRemove (line 77) | func (p *jsonPrinter) MemberRemove(_ uint64, r clientv3.MemberRemoveRe... method MemberUpdate (line 78) | func (p *jsonPrinter) MemberUpdate(_ uint64, r clientv3.MemberUpdateRe... method MemberPromote (line 79) | func (p *jsonPrinter) MemberPromote(_ uint64, r clientv3.MemberPromote... method MemberList (line 80) | func (p *jsonPrinter) MemberList(r clientv3.MemberListResponse) ... method printJSON (line 95) | func (p *jsonPrinter) printJSON(v any) { type HexResponseHeader (line 34) | type HexResponseHeader method MarshalJSON (line 38) | func (h *HexResponseHeader) MarshalJSON() ([]byte, error) { type HexMember (line 35) | type HexMember method MarshalJSON (line 52) | func (m *HexMember) MarshalJSON() ([]byte, error) { function newJSONPrinter (line 64) | func newJSONPrinter(isHex bool) printer { function printJSONTo (line 82) | func printJSONTo(w io.Writer, v any) { function printJSON (line 91) | func printJSON(v any) { function toHexMembers (line 172) | func toHexMembers(members []*pb.Member) []*HexMember { FILE: etcdctl/ctlv3/command/printer_json_test.go constant keyHeader (line 32) | keyHeader = "header" constant keyMember (line 33) | keyMember = "member" constant keyMembers (line 34) | keyMembers = "members" constant keyClusterID (line 36) | keyClusterID = "cluster_id" constant keyMemberID (line 37) | keyMemberID = "member_id" constant keyRaftTerm (line 38) | keyRaftTerm = "raft_term" constant keyRevision (line 39) | keyRevision = "revision" constant keyID (line 40) | keyID = "ID" function assertNumericFieldEqual (line 43) | func assertNumericFieldEqual(t *testing.T, obj map[string]any, key strin... function assertHexFieldEqual (line 56) | func assertHexFieldEqual(t *testing.T, obj map[string]any, key string, w... function assertHeader (line 66) | func assertHeader(t *testing.T, testGroup *testScenario, tt *testCase, g... function assertMember (line 83) | func assertMember(t *testing.T, testGroup *testScenario, tt *testCase, r... function assertMembers (line 94) | func assertMembers(t *testing.T, testGroup *testScenario, tt *testCase, ... type testCase (line 105) | type testCase struct type testScenario (line 111) | type testScenario struct function TestMemberAdd (line 124) | func TestMemberAdd(t *testing.T) { function TestMemberRemove (line 170) | func TestMemberRemove(t *testing.T) { function TestMemberUpdate (line 210) | func TestMemberUpdate(t *testing.T) { function TestMemberPromote (line 250) | func TestMemberPromote(t *testing.T) { function TestMemberList (line 290) | func TestMemberList(t *testing.T) { FILE: etcdctl/ctlv3/command/printer_protobuf.go type pbPrinter (line 27) | type pbPrinter struct method Watch (line 39) | func (p *pbPrinter) Watch(r v3.WatchResponse) { type pbMarshal (line 29) | type pbMarshal interface function newPBPrinter (line 33) | func newPBPrinter() printer { function printPB (line 54) | func printPB(v any) { FILE: etcdctl/ctlv3/command/printer_simple.go constant rootRole (line 27) | rootRole = "root" type simplePrinter (line 29) | type simplePrinter struct method Del (line 34) | func (s *simplePrinter) Del(resp v3.DeleteResponse) { method Get (line 41) | func (s *simplePrinter) Get(resp v3.GetResponse) { method Put (line 47) | func (s *simplePrinter) Put(r v3.PutResponse) { method Txn (line 54) | func (s *simplePrinter) Txn(resp v3.TxnResponse) { method Watch (line 76) | func (s *simplePrinter) Watch(resp v3.WatchResponse) { method Grant (line 86) | func (s *simplePrinter) Grant(resp v3.LeaseGrantResponse) { method Revoke (line 90) | func (s *simplePrinter) Revoke(id v3.LeaseID, r v3.LeaseRevokeResponse) { method KeepAlive (line 94) | func (s *simplePrinter) KeepAlive(resp v3.LeaseKeepAliveResponse) { method TimeToLive (line 98) | func (s *simplePrinter) TimeToLive(resp v3.LeaseTimeToLiveResponse, ke... method Leases (line 115) | func (s *simplePrinter) Leases(resp v3.LeaseLeasesResponse) { method Alarm (line 122) | func (s *simplePrinter) Alarm(resp v3.AlarmResponse) { method MemberAdd (line 128) | func (s *simplePrinter) MemberAdd(r v3.MemberAddResponse) { method MemberRemove (line 136) | func (s *simplePrinter) MemberRemove(id uint64, r v3.MemberRemoveRespo... method MemberUpdate (line 140) | func (s *simplePrinter) MemberUpdate(id uint64, r v3.MemberUpdateRespo... method MemberPromote (line 144) | func (s *simplePrinter) MemberPromote(id uint64, r v3.MemberPromoteRes... method MemberList (line 148) | func (s *simplePrinter) MemberList(resp v3.MemberListResponse) { method EndpointHealth (line 155) | func (s *simplePrinter) EndpointHealth(hs []epHealth) { method EndpointStatus (line 165) | func (s *simplePrinter) EndpointStatus(statusList []epStatus) { method EndpointHashKV (line 172) | func (s *simplePrinter) EndpointHashKV(hashList []epHashKV) { method MoveLeader (line 179) | func (s *simplePrinter) MoveLeader(leader, target uint64, r v3.MoveLea... method DowngradeValidate (line 183) | func (s *simplePrinter) DowngradeValidate(r v3.DowngradeResponse) { method DowngradeEnable (line 187) | func (s *simplePrinter) DowngradeEnable(r v3.DowngradeResponse) { method DowngradeCancel (line 191) | func (s *simplePrinter) DowngradeCancel(r v3.DowngradeResponse) { method RoleAdd (line 195) | func (s *simplePrinter) RoleAdd(role string, r v3.AuthRoleAddResponse) { method RoleGet (line 199) | func (s *simplePrinter) RoleGet(role string, r v3.AuthRoleGetResponse) { method RoleList (line 246) | func (s *simplePrinter) RoleList(r v3.AuthRoleListResponse) { method RoleDelete (line 252) | func (s *simplePrinter) RoleDelete(role string, r v3.AuthRoleDeleteRes... method RoleGrantPermission (line 256) | func (s *simplePrinter) RoleGrantPermission(role string, r v3.AuthRole... method RoleRevokePermission (line 260) | func (s *simplePrinter) RoleRevokePermission(role string, key string, ... method UserAdd (line 272) | func (s *simplePrinter) UserAdd(name string, r v3.AuthUserAddResponse) { method UserGet (line 276) | func (s *simplePrinter) UserGet(name string, r v3.AuthUserGetResponse) { method UserChangePassword (line 285) | func (s *simplePrinter) UserChangePassword(v3.AuthUserChangePasswordRe... method UserGrantRole (line 289) | func (s *simplePrinter) UserGrantRole(user string, role string, r v3.A... method UserRevokeRole (line 293) | func (s *simplePrinter) UserRevokeRole(user string, role string, r v3.... method UserDelete (line 297) | func (s *simplePrinter) UserDelete(user string, r v3.AuthUserDeleteRes... method UserList (line 301) | func (s *simplePrinter) UserList(r v3.AuthUserListResponse) { method AuthStatus (line 307) | func (s *simplePrinter) AuthStatus(r v3.AuthStatusResponse) { FILE: etcdctl/ctlv3/command/printer_table.go type tablePrinter (line 26) | type tablePrinter struct method MemberList (line 28) | func (tp *tablePrinter) MemberList(r v3.MemberListResponse) { method EndpointHealth (line 39) | func (tp *tablePrinter) EndpointHealth(r []epHealth) { method EndpointStatus (line 50) | func (tp *tablePrinter) EndpointStatus(r []epStatus) { method EndpointHashKV (line 61) | func (tp *tablePrinter) EndpointHashKV(r []epHashKV) { FILE: etcdctl/ctlv3/command/put_command.go function NewPutCommand (line 36) | func NewPutCommand() *cobra.Command { function putCommandFunc (line 70) | func putCommandFunc(cmd *cobra.Command, args []string) { function getPutOp (line 82) | func getPutOp(args []string) (string, string, []clientv3.OpOption) { FILE: etcdctl/ctlv3/command/role_command.go function NewRoleCommand (line 33) | func NewRoleCommand() *cobra.Command { function newRoleAddCommand (line 51) | func newRoleAddCommand() *cobra.Command { function newRoleDeleteCommand (line 59) | func newRoleDeleteCommand() *cobra.Command { function newRoleGetCommand (line 67) | func newRoleGetCommand() *cobra.Command { function newRoleListCommand (line 75) | func newRoleListCommand() *cobra.Command { function newRoleGrantPermissionCommand (line 83) | func newRoleGrantPermissionCommand() *cobra.Command { function newRoleRevokePermissionCommand (line 96) | func newRoleRevokePermissionCommand() *cobra.Command { function roleAddCommandFunc (line 110) | func roleAddCommandFunc(cmd *cobra.Command, args []string) { function roleDeleteCommandFunc (line 124) | func roleDeleteCommandFunc(cmd *cobra.Command, args []string) { function roleGetCommandFunc (line 138) | func roleGetCommandFunc(cmd *cobra.Command, args []string) { function roleListCommandFunc (line 153) | func roleListCommandFunc(cmd *cobra.Command, args []string) { function roleGrantPermissionCommandFunc (line 167) | func roleGrantPermissionCommandFunc(cmd *cobra.Command, args []string) { function roleRevokePermissionCommandFunc (line 187) | func roleRevokePermissionCommandFunc(cmd *cobra.Command, args []string) { function permRange (line 200) | func permRange(args []string) (string, string) { function rangeEndFromPermFlags (line 227) | func rangeEndFromPermFlags(args []string) (string, error) { FILE: etcdctl/ctlv3/command/snapshot_command.go function NewSnapshotCommand (line 50) | func NewSnapshotCommand() *cobra.Command { function NewSnapshotSaveCommand (line 61) | func NewSnapshotSaveCommand() *cobra.Command { function snapshotSaveCommandFunc (line 70) | func snapshotSaveCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/txn_command.go function NewTxnCommand (line 35) | func NewTxnCommand() *cobra.Command { function txnCommandFunc (line 70) | func txnCommandFunc(cmd *cobra.Command, args []string) { function promptInteractive (line 93) | func promptInteractive(s string) { function readCompares (line 99) | func readCompares(r *bufio.Reader) (cmps []clientv3.Cmp) { function readOps (line 122) | func readOps(r *bufio.Reader) (ops []clientv3.Op) { function parseRequestUnion (line 145) | func parseRequestUnion(line string) (*clientv3.Op, error) { function ParseCompare (line 183) | func ParseCompare(line string) (*clientv3.Cmp, error) { FILE: etcdctl/ctlv3/command/user_command.go function NewUserCommand (line 32) | func NewUserCommand() *cobra.Command { function newUserAddCommand (line 57) | func newUserAddCommand() *cobra.Command { function newUserDeleteCommand (line 71) | func newUserDeleteCommand() *cobra.Command { function newUserGetCommand (line 79) | func newUserGetCommand() *cobra.Command { function newUserListCommand (line 91) | func newUserListCommand() *cobra.Command { function newUserChangePasswordCommand (line 99) | func newUserChangePasswordCommand() *cobra.Command { function newUserGrantRoleCommand (line 111) | func newUserGrantRoleCommand() *cobra.Command { function newUserRevokeRoleCommand (line 119) | func newUserRevokeRoleCommand() *cobra.Command { function userAddCommandFunc (line 128) | func userAddCommandFunc(cmd *cobra.Command, args []string) { function userDeleteCommandFunc (line 175) | func userDeleteCommandFunc(cmd *cobra.Command, args []string) { function userGetCommandFunc (line 188) | func userGetCommandFunc(cmd *cobra.Command, args []string) { function userListCommandFunc (line 216) | func userListCommandFunc(cmd *cobra.Command, args []string) { function userChangePasswordCommandFunc (line 230) | func userChangePasswordCommandFunc(cmd *cobra.Command, args []string) { function userGrantRoleCommandFunc (line 252) | func userGrantRoleCommandFunc(cmd *cobra.Command, args []string) { function userRevokeRoleCommandFunc (line 266) | func userRevokeRoleCommandFunc(cmd *cobra.Command, args []string) { function readPasswordInteractive (line 279) | func readPasswordInteractive(name string) string { FILE: etcdctl/ctlv3/command/util.go function printKV (line 36) | func printKV(isHex bool, valueOnly bool, kv *pb.KeyValue) { function addHexPrefix (line 48) | func addHexPrefix(s string) string { function Argify (line 61) | func Argify(s string) []string { function commandCtx (line 80) | func commandCtx(cmd *cobra.Command) (context.Context, context.CancelFunc) { function isCommandTimeoutFlagSet (line 88) | func isCommandTimeoutFlagSet(cmd *cobra.Command) bool { function endpointMemoryMetrics (line 97) | func endpointMemoryMetrics(host string, scfg *clientv3.SecureConfig) flo... function compact (line 148) | func compact(c *clientv3.Client, rev int64) { function defrag (line 160) | func defrag(c *clientv3.Client, ep string) { function IsSerializable (line 171) | func IsSerializable(option string) bool { FILE: etcdctl/ctlv3/command/util_test.go function TestArgify (line 22) | func TestArgify(t *testing.T) { FILE: etcdctl/ctlv3/command/version_command.go function NewVersionCommand (line 26) | func NewVersionCommand() *cobra.Command { function versionCommandFunc (line 35) | func versionCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdctl/ctlv3/command/watch_command.go function NewWatchCommand (line 48) | func NewWatchCommand() *cobra.Command { function watchCommandFunc (line 66) | func watchCommandFunc(cmd *cobra.Command, args []string) { function watchInteractiveFunc (line 95) | func watchInteractiveFunc(cmd *cobra.Command, osArgs []string, envKey, e... function getWatchChan (line 141) | func getWatchChan(c *clientv3.Client, args []string) (clientv3.WatchChan... function printWatchCh (line 166) | func printWatchCh(c *clientv3.Client, ch clientv3.WatchChan, execArgs []... function parseWatchArgs (line 200) | func parseWatchArgs(osArgs, commandArgs []string, envKey, envRange strin... FILE: etcdctl/ctlv3/command/watch_command_test.go function Test_parseWatchArgs (line 24) | func Test_parseWatchArgs(t *testing.T) { FILE: etcdctl/ctlv3/ctl.go constant cliName (line 31) | cliName = "etcdctl" constant cliDescription (line 32) | cliDescription = "A simple command line client for etcd3." constant defaultDialTimeout (line 34) | defaultDialTimeout = 2 * time.Second constant defaultCommandTimeOut (line 35) | defaultCommandTimeOut = 5 * time.Second constant defaultKeepAliveTime (line 36) | defaultKeepAliveTime = 2 * time.Second constant defaultKeepAliveTimeOut (line 37) | defaultKeepAliveTimeOut = 6 * time.Second function init (line 49) | func init() { function Start (line 121) | func Start() error { function MustStart (line 125) | func MustStart() { function hideAllGlobalFlags (line 134) | func hideAllGlobalFlags() { function hideHelpFlag (line 140) | func hideHelpFlag() { function addOptionsPrompt (line 147) | func addOptionsPrompt() { function init (line 155) | func init() { FILE: etcdctl/main.go function main (line 22) | func main() { FILE: etcdctl/util/normalizer.go constant indentation (line 19) | indentation = " " function Normalize (line 24) | func Normalize(s string) string { type normalizer (line 31) | type normalizer struct method trim (line 35) | func (n normalizer) trim() normalizer { method indent (line 40) | func (n normalizer) indent() normalizer { FILE: etcdutl/ctl.go constant cliName (line 27) | cliName = "etcdutl" constant cliDescription (line 28) | cliDescription = "An administrative command line tool for etcd3." function init (line 37) | func init() { function Start (line 57) | func Start() error { function init (line 63) | func init() { FILE: etcdutl/etcdutl/bucket_command.go function NewListBucketCommand (line 42) | func NewListBucketCommand() *cobra.Command { function NewIterateBucketCommand (line 53) | func NewIterateBucketCommand() *cobra.Command { function NewHashCommand (line 67) | func NewHashCommand() *cobra.Command { function listBucketCommandFunc (line 78) | func listBucketCommandFunc(_ *cobra.Command, args []string) { function getBuckets (line 98) | func getBuckets(dbPath string) (buckets []string, err error) { function iterateBucketCommandFunc (line 114) | func iterateBucketCommandFunc(_ *cobra.Command, args []string) { type decoder (line 130) | type decoder function defaultDecoder (line 142) | func defaultDecoder(k, v []byte) { function keyDecoder (line 146) | func keyDecoder(k, v []byte) { function bytesToLeaseID (line 155) | func bytesToLeaseID(bytes []byte) int64 { function leaseDecoder (line 162) | func leaseDecoder(k, v []byte) { function authDecoder (line 171) | func authDecoder(k, v []byte) { function authRolesDecoder (line 180) | func authRolesDecoder(_, v []byte) { function authUsersDecoder (line 189) | func authUsersDecoder(_, v []byte) { function metaDecoder (line 198) | func metaDecoder(k, v []byte) { function iterateBucket (line 209) | func iterateBucket(dbPath, bucket string, limit uint64, decode bool) (er... function getHashCommandFunc (line 245) | func getHashCommandFunc(_ *cobra.Command, args []string) { function getHash (line 262) | func getHash(dbPath string) (hash uint32, err error) { FILE: etcdutl/etcdutl/common.go function GetLogger (line 35) | func GetLogger() *zap.Logger { function getLatestWALSnap (line 46) | func getLatestWALSnap(lg *zap.Logger, dataDir string) (walpb.Snapshot, e... type SimpleLessor (line 62) | type SimpleLessor struct method SetRangeDeleter (line 68) | func (sl *SimpleLessor) SetRangeDeleter(dr lease.RangeDeleter) {} method SetCheckpointer (line 70) | func (sl *SimpleLessor) SetCheckpointer(cp lease.Checkpointer) {} method Grant (line 72) | func (sl *SimpleLessor) Grant(id lease.LeaseID, ttl int64) (*lease.Lea... method Revoke (line 77) | func (sl *SimpleLessor) Revoke(id lease.LeaseID) error { return nil } method Checkpoint (line 79) | func (sl *SimpleLessor) Checkpoint(id lease.LeaseID, remainingTTL int6... method Attach (line 81) | func (sl *SimpleLessor) Attach(id lease.LeaseID, items []lease.LeaseIt... method GetLease (line 83) | func (sl *SimpleLessor) GetLease(item lease.LeaseItem) lease.LeaseID ... method Detach (line 84) | func (sl *SimpleLessor) Detach(id lease.LeaseID, items []lease.LeaseIt... method Promote (line 86) | func (sl *SimpleLessor) Promote(extend time.Duration) {} method Demote (line 88) | func (sl *SimpleLessor) Demote() {} method Renew (line 90) | func (sl *SimpleLessor) Renew(id lease.LeaseID) (int64, error) { retur... method Lookup (line 92) | func (sl *SimpleLessor) Lookup(id lease.LeaseID) *lease.Lease { method Leases (line 99) | func (sl *SimpleLessor) Leases() []*lease.Lease { return nil } method ExpiredLeasesC (line 101) | func (sl *SimpleLessor) ExpiredLeasesC() <-chan []*lease.Lease { retur... method Recover (line 103) | func (sl *SimpleLessor) Recover(b backend.Backend, rd lease.RangeDelet... method Stop (line 105) | func (sl *SimpleLessor) Stop() {} FILE: etcdutl/etcdutl/common_test.go function TestGetLatestWalSnap (line 33) | func TestGetLatestWalSnap(t *testing.T) { FILE: etcdutl/etcdutl/completion_commmand.go function NewCompletionCommand (line 23) | func NewCompletionCommand() *cobra.Command { FILE: etcdutl/etcdutl/defrag_command.go function NewDefragCommand (line 30) | func NewDefragCommand() *cobra.Command { function defragCommandFunc (line 42) | func defragCommandFunc(cmd *cobra.Command, args []string) { function DefragData (line 50) | func DefragData(dataDir string) error { FILE: etcdutl/etcdutl/hashkv_command.go function NewHashKVCommand (line 29) | func NewHashKVCommand() *cobra.Command { function hashKVCommandFunc (line 40) | func hashKVCommandFunc(cmd *cobra.Command, args []string) { type HashKV (line 50) | type HashKV struct function calculateHashKV (line 56) | func calculateHashKV(dbPath string, rev int64) (HashKV, error) { FILE: etcdutl/etcdutl/hashkv_command_test.go function TestCalculateHashKV (line 29) | func TestCalculateHashKV(t *testing.T) { FILE: etcdutl/etcdutl/migrate_command.go function NewMigrateCommand (line 34) | func NewMigrateCommand() *cobra.Command { type migrateOptions (line 54) | type migrateOptions struct method AddFlags (line 64) | func (o *migrateOptions) AddFlags(cmd *cobra.Command) { method Config (line 75) | func (o *migrateOptions) Config() (*migrateConfig, error) { function newMigrateOptions (line 60) | func newMigrateOptions() *migrateOptions { type migrateConfig (line 97) | type migrateConfig struct method finalize (line 105) | func (c *migrateConfig) finalize() error { function migrateCommandFunc (line 124) | func migrateCommandFunc(c *migrateConfig) error { function migrateForce (line 157) | func migrateForce(lg *zap.Logger, tx backend.BatchTx, target *semver.Ver... function storageVersionToString (line 170) | func storageVersionToString(ver *semver.Version) string { FILE: etcdutl/etcdutl/printer.go type printer (line 30) | type printer interface function NewPrinter (line 35) | func NewPrinter(printerType string) printer { type printerRPC (line 51) | type printerRPC struct type printerUnsupported (line 56) | type printerUnsupported struct method DBStatus (line 65) | func (p *printerUnsupported) DBStatus(snapshot.Status) { p.p(nil) } method DBHashKV (line 66) | func (p *printerUnsupported) DBHashKV(HashKV) { p.p(nil) } function newPrinterUnsupported (line 58) | func newPrinterUnsupported(n string) printer { function makeDBStatusTable (line 68) | func makeDBStatusTable(ds snapshot.Status) (hdr []string, rows [][]strin... function makeDBHashKVTable (line 80) | func makeDBHashKVTable(ds HashKV) (hdr []string, rows [][]string) { function initPrinterFromCmd (line 90) | func initPrinterFromCmd(cmd *cobra.Command) (p printer) { FILE: etcdutl/etcdutl/printer_fields.go type fieldsPrinter (line 23) | type fieldsPrinter struct method DBStatus (line 25) | func (p *fieldsPrinter) DBStatus(r snapshot.Status) { method DBHashKV (line 33) | func (p *fieldsPrinter) DBHashKV(r HashKV) { FILE: etcdutl/etcdutl/printer_json.go type jsonPrinter (line 25) | type jsonPrinter struct method DBStatus (line 35) | func (p *jsonPrinter) DBStatus(r snapshot.Status) { printJSON(r) } method DBHashKV (line 36) | func (p *jsonPrinter) DBHashKV(r HashKV) { printJSON(r) } function newJSONPrinter (line 29) | func newJSONPrinter() printer { function printJSON (line 39) | func printJSON(v any) { FILE: etcdutl/etcdutl/printer_protobuf.go type pbPrinter (line 24) | type pbPrinter struct type pbMarshal (line 26) | type pbMarshal interface function newPBPrinter (line 30) | func newPBPrinter() printer { function printPB (line 36) | func printPB(v any) { FILE: etcdutl/etcdutl/printer_simple.go type simplePrinter (line 24) | type simplePrinter struct method DBStatus (line 26) | func (s *simplePrinter) DBStatus(ds snapshot.Status) { method DBHashKV (line 33) | func (s *simplePrinter) DBHashKV(ds HashKV) { FILE: etcdutl/etcdutl/printer_table.go type tablePrinter (line 26) | type tablePrinter struct method DBStatus (line 28) | func (tp *tablePrinter) DBStatus(r snapshot.Status) { method DBHashKV (line 39) | func (tp *tablePrinter) DBHashKV(r HashKV) { FILE: etcdutl/etcdutl/snapshot_command.go constant defaultName (line 30) | defaultName = "default" constant defaultInitialAdvertisePeerURLs (line 31) | defaultInitialAdvertisePeerURLs = "http://localhost:2380" function NewSnapshotCommand (line 48) | func NewSnapshotCommand() *cobra.Command { function newSnapshotStatusCommand (line 58) | func newSnapshotStatusCommand() *cobra.Command { function NewSnapshotRestoreCommand (line 69) | func NewSnapshotRestoreCommand() *cobra.Command { function SnapshotStatusCommandFunc (line 92) | func SnapshotStatusCommandFunc(cmd *cobra.Command, args []string) { function snapshotRestoreCommandFunc (line 108) | func snapshotRestoreCommandFunc(_ *cobra.Command, args []string) { function SnapshotRestoreCommandFunc (line 113) | func SnapshotRestoreCommandFunc(restoreCluster string, function initialClusterFromName (line 165) | func initialClusterFromName(name string) string { FILE: etcdutl/etcdutl/version_command.go function NewVersionCommand (line 26) | func NewVersionCommand() *cobra.Command { function versionCommandFunc (line 34) | func versionCommandFunc(cmd *cobra.Command, args []string) { FILE: etcdutl/main.go function main (line 22) | func main() { FILE: etcdutl/snapshot/v3_snapshot.go type Manager (line 55) | type Manager interface function NewV3 (line 75) | func NewV3(lg *zap.Logger) Manager { type v3Manager (line 79) | type v3Manager struct method Save (line 101) | func (s *v3Manager) Save(ctx context.Context, cfg clientv3.Config, dbP... method Status (line 117) | func (s *v3Manager) Status(dbPath string) (ds Status, err error) { method Restore (line 256) | func (s *v3Manager) Restore(cfg RestoreConfig) error { method outDbPath (line 349) | func (s *v3Manager) outDbPath() string { method saveDB (line 354) | func (s *v3Manager) saveDB() error { method modifyLatestRevision (line 373) | func (s *v3Manager) modifyLatestRevision(bumpAmount uint64) error { method unsafeBumpBucketsRevision (line 395) | func (s *v3Manager) unsafeBumpBucketsRevision(tx backend.UnsafeWriter,... method unsafeMarkRevisionCompacted (line 412) | func (s *v3Manager) unsafeMarkRevisionCompacted(tx backend.UnsafeWrite... method unsafeGetLatestRevision (line 421) | func (s *v3Manager) unsafeGetLatestRevision(tx backend.UnsafeReader) (... method copyAndVerifyDB (line 435) | func (s *v3Manager) copyAndVerifyDB() error { method saveWALAndSnap (line 509) | func (s *v3Manager) saveWALAndSnap() (*raftpb.HardState, error) { method updateCIndex (line 593) | func (s *v3Manager) updateCIndex(commit uint64, term uint64) error { function hasChecksum (line 94) | func hasChecksum(n int64) bool { type Status (line 106) | type Status struct function bytesToRev (line 202) | func bytesToRev(b []byte) (rev mvcc.Revision, err error) { type RestoreConfig (line 212) | type RestoreConfig struct FILE: etcdutl/snapshot/v3_snapshot_test.go function TestSnapshotStatus (line 40) | func TestSnapshotStatus(t *testing.T) { function TestSnapshotStatusCorruptRevision (line 51) | func TestSnapshotStatusCorruptRevision(t *testing.T) { function TestSnapshotStatusNegativeRevisionMain (line 73) | func TestSnapshotStatusNegativeRevisionMain(t *testing.T) { function TestSnapshotStatusNegativeRevisionSub (line 97) | func TestSnapshotStatusNegativeRevisionSub(t *testing.T) { function TestSnapshotStatusTotalKey (line 121) | func TestSnapshotStatusTotalKey(t *testing.T) { function insertKeys (line 221) | func insertKeys(t *testing.T, numKeys, valueSize int) func(*etcdserver.E... function createDB (line 239) | func createDB(t *testing.T, generateContent func(*etcdserver.EtcdServer)... FILE: pkg/adt/example_test.go function Example (line 23) | func Example() { FILE: pkg/adt/interval_tree.go type Comparable (line 25) | type Comparable interface type rbcolor (line 33) | type rbcolor method String (line 40) | func (c rbcolor) String() string { constant black (line 36) | black rbcolor = iota constant red (line 37) | red type Interval (line 53) | type Interval struct method Compare (line 59) | func (ivl *Interval) Compare(c Comparable) int { type intervalNode (line 78) | type intervalNode struct method color (line 90) | func (x *intervalNode) color(sentinel *intervalNode) rbcolor { method height (line 97) | func (x *intervalNode) height(sentinel *intervalNode) int { method min (line 109) | func (x *intervalNode) min(sentinel *intervalNode) *intervalNode { method successor (line 117) | func (x *intervalNode) successor(sentinel *intervalNode) *intervalNode { method updateMax (line 130) | func (x *intervalNode) updateMax(sentinel *intervalNode) { method visit (line 151) | func (x *intervalNode) visit(iv *Interval, sentinel *intervalNode, nv ... type nodeVisitor (line 148) | type nodeVisitor type IntervalValue (line 177) | type IntervalValue struct type IntervalTree (line 185) | type IntervalTree interface function NewIntervalTree (line 213) | func NewIntervalTree() IntervalTree { type intervalTree (line 229) | type intervalTree struct method Delete (line 275) | func (ivt *intervalTree) Delete(ivl Interval) bool { method deleteFixup (line 361) | func (ivt *intervalTree) deleteFixup(x *intervalNode) { method createIntervalNode (line 426) | func (ivt *intervalTree) createIntervalNode(ivl Interval, val any) *in... method Insert (line 442) | func (ivt *intervalTree) Insert(ivl Interval, val any) { method insertFixup (line 520) | func (ivt *intervalTree) insertFixup(z *intervalNode) { method rotateLeft (line 585) | func (ivt *intervalTree) rotateLeft(x *intervalNode) { method rotateRight (line 630) | func (ivt *intervalTree) rotateRight(x *intervalNode) { method replaceParent (line 655) | func (ivt *intervalTree) replaceParent(x *intervalNode, y *intervalNod... method Len (line 671) | func (ivt *intervalTree) Len() int { return ivt.count } method Height (line 674) | func (ivt *intervalTree) Height() int { return ivt.root.height(ivt.sen... method MaxHeight (line 677) | func (ivt *intervalTree) MaxHeight() int { method Visit (line 686) | func (ivt *intervalTree) Visit(ivl Interval, ivv IntervalVisitor) { method find (line 694) | func (ivt *intervalTree) find(ivl Interval) *intervalNode { method Find (line 721) | func (ivt *intervalTree) Find(ivl Interval) (ret *IntervalValue) { method Intersects (line 730) | func (ivt *intervalTree) Intersects(iv Interval) bool { method Contains (line 743) | func (ivt *intervalTree) Contains(ivl Interval) bool { method Stab (line 767) | func (ivt *intervalTree) Stab(iv Interval) (ivs []*IntervalValue) { method Union (line 777) | func (ivt *intervalTree) Union(inIvt IntervalTree, ivl Interval) { method visitLevel (line 806) | func (ivt *intervalTree) visitLevel() []visitedInterval { type IntervalVisitor (line 682) | type IntervalVisitor type visitedInterval (line 785) | type visitedInterval struct method String (line 793) | func (vi visitedInterval) String() string { type StringComparable (line 842) | type StringComparable method Compare (line 844) | func (s StringComparable) Compare(c Comparable) int { function NewStringInterval (line 855) | func NewStringInterval(begin, end string) Interval { function NewStringPoint (line 859) | func NewStringPoint(s string) Interval { type StringAffineComparable (line 864) | type StringAffineComparable method Compare (line 866) | func (s StringAffineComparable) Compare(c Comparable) int { function NewStringAffineInterval (line 888) | func NewStringAffineInterval(begin, end string) Interval { function NewStringAffinePoint (line 892) | func NewStringAffinePoint(s string) Interval { function NewInt64Interval (line 896) | func NewInt64Interval(a int64, b int64) Interval { function newInt64EmptyInterval (line 900) | func newInt64EmptyInterval() Interval { function NewInt64Point (line 904) | func NewInt64Point(a int64) Interval { type Int64Comparable (line 908) | type Int64Comparable method Compare (line 910) | func (v Int64Comparable) Compare(c Comparable) int { type BytesAffineComparable (line 923) | type BytesAffineComparable method Compare (line 925) | func (b BytesAffineComparable) Compare(c Comparable) int { function NewBytesAffineInterval (line 941) | func NewBytesAffineInterval(begin, end []byte) Interval { function NewBytesAffinePoint (line 945) | func NewBytesAffinePoint(b []byte) Interval { FILE: pkg/adt/interval_tree_test.go function TestIntervalTreeInsert (line 27) | func TestIntervalTreeInsert(t *testing.T) { function TestIntervalTreeSelfBalanced (line 88) | func TestIntervalTreeSelfBalanced(t *testing.T) { function TestIntervalTreeDelete (line 170) | func TestIntervalTreeDelete(t *testing.T) { function TestIntervalTreeFind (line 272) | func TestIntervalTreeFind(t *testing.T) { function TestIntervalTreeIntersects (line 302) | func TestIntervalTreeIntersects(t *testing.T) { function TestIntervalTreeStringAffine (line 313) | func TestIntervalTreeStringAffine(t *testing.T) { function TestIntervalTreeStab (line 320) | func TestIntervalTreeStab(t *testing.T) { type xy (line 339) | type xy struct function TestIntervalTreeRandom (line 344) | func TestIntervalTreeRandom(t *testing.T) { function TestIntervalTreeSortedVisit (line 388) | func TestIntervalTreeSortedVisit(t *testing.T) { function TestIntervalTreeVisitExit (line 436) | func TestIntervalTreeVisitExit(t *testing.T) { function TestIntervalTreeContains (line 477) | func TestIntervalTreeContains(t *testing.T) { FILE: pkg/cobrautl/error.go constant ExitSuccess (line 24) | ExitSuccess = iota constant ExitError (line 25) | ExitError constant ExitBadConnection (line 26) | ExitBadConnection constant ExitInvalidInput (line 27) | ExitInvalidInput constant ExitBadFeature (line 28) | ExitBadFeature constant ExitInterrupted (line 29) | ExitInterrupted constant ExitIO (line 30) | ExitIO constant ExitBadArgs (line 31) | ExitBadArgs = 128 constant ExitServerError (line 33) | ExitServerError = 4 constant ExitClusterNotHealthy (line 34) | ExitClusterNotHealthy = 5 function ExitWithError (line 37) | func ExitWithError(code int, err error) { FILE: pkg/cobrautl/help.go function init (line 53) | func init() { function etcdFlagUsages (line 112) | func etcdFlagUsages(flagSet *pflag.FlagSet) string { function getSubCommands (line 145) | func getSubCommands(cmd *cobra.Command) []*cobra.Command { function UsageFunc (line 156) | func UsageFunc(cmd *cobra.Command, version, APIVersion string) error { function getTabOutWithWriter (line 178) | func getTabOutWithWriter(writer io.Writer) *tabwriter.Writer { FILE: pkg/contention/contention.go type TimeoutDetector (line 27) | type TimeoutDetector struct method Reset (line 43) | func (td *TimeoutDetector) Reset() { method Observe (line 54) | func (td *TimeoutDetector) Observe(id uint64) (bool, time.Duration) { function NewTimeoutDetector (line 35) | func NewTimeoutDetector(maxDuration time.Duration) *TimeoutDetector { FILE: pkg/cpuutil/endian.go function ByteOrder (line 24) | func ByteOrder() binary.ByteOrder { FILE: pkg/crc/crc.go constant Size (line 25) | Size = 4 type digest (line 27) | type digest struct method Size (line 37) | func (d *digest) Size() int { return Size } method BlockSize (line 39) | func (d *digest) BlockSize() int { return 1 } method Reset (line 41) | func (d *digest) Reset() { d.crc = 0 } method Write (line 43) | func (d *digest) Write(p []byte) (n int, err error) { method Sum32 (line 48) | func (d *digest) Sum32() uint32 { return d.crc } method Sum (line 50) | func (d *digest) Sum(in []byte) []byte { function New (line 35) | func New(prev uint32, tab *crc32.Table) hash.Hash32 { return &digest{pre... FILE: pkg/crc/crc_test.go function TestHash32 (line 28) | func TestHash32(t *testing.T) { FILE: pkg/debugutil/pprof.go constant HTTPPrefixPProf (line 23) | HTTPPrefixPProf = "/debug/pprof" function PProfHandlers (line 26) | func PProfHandlers() map[string]http.Handler { FILE: pkg/expect/expect.go constant debugLinesTail (line 35) | debugLinesTail = 40 type ExpectedResponse (line 39) | type ExpectedResponse struct type ExpectProcess (line 44) | type ExpectProcess struct method Pid (line 105) | func (ep *ExpectProcess) Pid() int { method read (line 109) | func (ep *ExpectProcess) read() { method tryReadNextLine (line 131) | func (ep *ExpectProcess) tryReadNextLine(r *bufio.Reader) error { method waitSaveExitErr (line 150) | func (ep *ExpectProcess) waitSaveExitErr() { method ExpectFunc (line 162) | func (ep *ExpectProcess) ExpectFunc(ctx context.Context, f func(string... method ExpectWithContext (line 230) | func (ep *ExpectProcess) ExpectWithContext(ctx context.Context, s Expe... method Expect (line 251) | func (ep *ExpectProcess) Expect(s string) (string, error) { method LineCount (line 257) | func (ep *ExpectProcess) LineCount() int { method ExitCode (line 265) | func (ep *ExpectProcess) ExitCode() (int, error) { method ExitError (line 294) | func (ep *ExpectProcess) ExitError() error { method Stop (line 306) | func (ep *ExpectProcess) Stop() error { method Signal (line 315) | func (ep *ExpectProcess) Signal(sig os.Signal) error { method waitProcess (line 326) | func (ep *ExpectProcess) waitProcess() error { method Wait (line 354) | func (ep *ExpectProcess) Wait() { method Close (line 359) | func (ep *ExpectProcess) Close() error { method Send (line 370) | func (ep *ExpectProcess) Send(command string) error { method Lines (line 375) | func (ep *ExpectProcess) Lines() []string { method ReadLine (line 382) | func (ep *ExpectProcess) ReadLine() string { function NewExpect (line 62) | func NewExpect(name string, arg ...string) (ep *ExpectProcess, err error) { function NewExpectWithEnv (line 68) | func NewExpectWithEnv(name string, args []string, env []string, serverPr... type expectConfig (line 90) | type expectConfig struct function commandFromConfig (line 97) | func commandFromConfig(config expectConfig) *exec.Cmd { function exitCode (line 344) | func exitCode(state *os.ProcessState) int { FILE: pkg/expect/expect_test.go function TestExpectFunc (line 30) | func TestExpectFunc(t *testing.T) { function TestExpectFuncTimeout (line 40) | func TestExpectFuncTimeout(t *testing.T) { function TestExpectFuncExitFailure (line 64) | func TestExpectFuncExitFailure(t *testing.T) { function TestExpectFuncExitFailureStop (line 79) | func TestExpectFuncExitFailureStop(t *testing.T) { function TestEcho (line 101) | func TestEcho(t *testing.T) { function TestLineCount (line 114) | func TestLineCount(t *testing.T) { function TestSend (line 125) | func TestSend(t *testing.T) { function TestSignal (line 135) | func TestSignal(t *testing.T) { function TestExitCodeAfterKill (line 153) | func TestExitCodeAfterKill(t *testing.T) { function TestExpectForFailFastCommand (line 164) | func TestExpectForFailFastCommand(t *testing.T) { function TestResponseMatchRegularExpr (line 172) | func TestResponseMatchRegularExpr(t *testing.T) { FILE: pkg/featuregate/feature_gate.go type Feature (line 32) | type Feature constant defaultFlagName (line 35) | defaultFlagName = "feature-gates" constant allAlphaGate (line 41) | allAlphaGate Feature = "AllAlpha" constant allBetaGate (line 47) | allBetaGate Feature = "AllBeta" type FeatureSpec (line 64) | type FeatureSpec struct type prerelease (line 73) | type prerelease constant Alpha (line 77) | Alpha = prerelease("ALPHA") constant Beta (line 78) | Beta = prerelease("BETA") constant GA (line 79) | GA = prerelease("") constant Deprecated (line 82) | Deprecated = prerelease("DEPRECATED") type FeatureGate (line 86) | type FeatureGate interface type MutableFeatureGate (line 101) | type MutableFeatureGate interface type featureGate (line 129) | type featureGate struct method Set (line 188) | func (f *featureGate) Set(value string) error { method SetFromMap (line 210) | func (f *featureGate) SetFromMap(m map[string]bool) error { method String (line 251) | func (f *featureGate) String() string { method Type (line 260) | func (f *featureGate) Type() string { method Add (line 265) | func (f *featureGate) Add(features map[Feature]FeatureSpec) error { method OverrideDefault (line 294) | func (f *featureGate) OverrideDefault(name Feature, override bool) err... method GetAll (line 327) | func (f *featureGate) GetAll() map[Feature]FeatureSpec { method Enabled (line 334) | func (f *featureGate) Enabled(key Feature) bool { method AddFlag (line 346) | func (f *featureGate) AddFlag(fs *flag.FlagSet, flagName string) { method KnownFeatures (line 366) | func (f *featureGate) KnownFeatures() []string { method DeepCopy (line 381) | func (f *featureGate) DeepCopy() MutableFeatureGate { function setUnsetAlphaGates (line 146) | func setUnsetAlphaGates(known map[Feature]FeatureSpec, enabled map[Featu... function setUnsetBetaGates (line 156) | func setUnsetBetaGates(known map[Feature]FeatureSpec, enabled map[Featur... function New (line 169) | func New(name string, lg *zap.Logger) MutableFeatureGate { FILE: pkg/featuregate/feature_gate_test.go function TestFeatureGateFlag (line 28) | func TestFeatureGateFlag(t *testing.T) { function TestFeatureGateOverride (line 229) | func TestFeatureGateOverride(t *testing.T) { function TestFeatureGateFlagDefaults (line 249) | func TestFeatureGateFlagDefaults(t *testing.T) { function TestFeatureGateKnownFeatures (line 265) | func TestFeatureGateKnownFeatures(t *testing.T) { function TestFeatureGateSetFromMap (line 291) | func TestFeatureGateSetFromMap(t *testing.T) { function TestFeatureGateMetrics (line 407) | func TestFeatureGateMetrics(t *testing.T) { function TestFeatureGateString (line 411) | func TestFeatureGateString(t *testing.T) { function TestFeatureGateOverrideDefault (line 460) | func TestFeatureGateOverrideDefault(t *testing.T) { FILE: pkg/flags/flag.go function SetFlagsFromEnv (line 34) | func SetFlagsFromEnv(lg *zap.Logger, prefix string, fs *flag.FlagSet) er... function SetPflagsFromEnv (line 52) | func SetPflagsFromEnv(lg *zap.Logger, prefix string, fs *pflag.FlagSet) ... function FlagToEnv (line 69) | func FlagToEnv(prefix, name string) string { function verifyEnv (line 73) | func verifyEnv(lg *zap.Logger, prefix string, usedEnvKey, alreadySet map... type flagSetter (line 100) | type flagSetter interface function setFlagFromEnv (line 104) | func setFlagFromEnv(lg *zap.Logger, fs flagSetter, prefix, fname string,... function IsSet (line 125) | func IsSet(fs *flag.FlagSet, name string) bool { function GetBoolFlagVal (line 137) | func GetBoolFlagVal(fs *flag.FlagSet, flagName string) (*bool, error) { FILE: pkg/flags/flag_test.go function TestSetFlagsFromEnv (line 27) | func TestSetFlagsFromEnv(t *testing.T) { function TestSetFlagsFromEnvBad (line 59) | func TestSetFlagsFromEnvBad(t *testing.T) { function TestSetFlagsFromEnvParsingError (line 67) | func TestSetFlagsFromEnvParsingError(t *testing.T) { FILE: pkg/flags/ignored.go type IgnoredFlag (line 22) | type IgnoredFlag struct method IsBoolFlag (line 28) | func (f *IgnoredFlag) IsBoolFlag() bool { method Set (line 32) | func (f *IgnoredFlag) Set(s string) error { method String (line 39) | func (f *IgnoredFlag) String() string { FILE: pkg/flags/selective_string.go type SelectiveStringValue (line 25) | type SelectiveStringValue struct method Set (line 32) | func (ss *SelectiveStringValue) Set(s string) error { method String (line 41) | func (ss *SelectiveStringValue) String() string { method Valids (line 46) | func (ss *SelectiveStringValue) Valids() []string { function NewSelectiveStringValue (line 61) | func NewSelectiveStringValue(valids ...string) *SelectiveStringValue { type SelectiveStringsValue (line 70) | type SelectiveStringsValue struct method Set (line 77) | func (ss *SelectiveStringsValue) Set(s string) error { method String (line 90) | func (ss *SelectiveStringsValue) String() string { method Valids (line 95) | func (ss *SelectiveStringsValue) Valids() []string { function NewSelectiveStringsValue (line 107) | func NewSelectiveStringsValue(valids ...string) *SelectiveStringsValue { FILE: pkg/flags/selective_string_test.go function TestSelectiveStringValue (line 23) | func TestSelectiveStringValue(t *testing.T) { function TestSelectiveStringsValue (line 46) | func TestSelectiveStringsValue(t *testing.T) { FILE: pkg/flags/strings.go type StringsValue (line 25) | type StringsValue method Set (line 29) | func (ss *StringsValue) Set(s string) error { method String (line 35) | func (ss *StringsValue) String() string { return strings.Join(*ss, ",") } function NewStringsValue (line 39) | func NewStringsValue(s string) (ss *StringsValue) { function StringsFromFlag (line 51) | func StringsFromFlag(fs *flag.FlagSet, flagName string) []string { FILE: pkg/flags/strings_test.go function TestStringsValue (line 24) | func TestStringsValue(t *testing.T) { FILE: pkg/flags/uint32.go type uint32Value (line 22) | type uint32Value method Set (line 33) | func (i *uint32Value) Set(s string) error { method String (line 39) | func (i *uint32Value) String() string { return strconv.FormatUint(uint... function NewUint32Value (line 25) | func NewUint32Value(v uint32) *uint32Value { function Uint32FromFlag (line 42) | func Uint32FromFlag(fs *flag.FlagSet, name string) uint32 { FILE: pkg/flags/uint32_test.go function TestUint32Value (line 25) | func TestUint32Value(t *testing.T) { function TestUint32FromFlag (line 68) | func TestUint32FromFlag(t *testing.T) { FILE: pkg/flags/unique_strings.go type UniqueStringsValue (line 26) | type UniqueStringsValue struct method Set (line 33) | func (us *UniqueStringsValue) Set(s string) error { method String (line 43) | func (us *UniqueStringsValue) String() string { method stringSlice (line 47) | func (us *UniqueStringsValue) stringSlice() []string { function NewUniqueStringsValue (line 59) | func NewUniqueStringsValue(s string) (us *UniqueStringsValue) { function UniqueStringsFromFlag (line 71) | func UniqueStringsFromFlag(fs *flag.FlagSet, flagName string) []string { function UniqueStringsMapFromFlag (line 76) | func UniqueStringsMapFromFlag(fs *flag.FlagSet, flagName string) map[str... FILE: pkg/flags/unique_strings_test.go function TestNewUniqueStrings (line 24) | func TestNewUniqueStrings(t *testing.T) { FILE: pkg/flags/unique_urls.go type UniqueURLs (line 29) | type UniqueURLs struct method Set (line 38) | func (us *UniqueURLs) Set(s string) error { method String (line 64) | func (us *UniqueURLs) String() string { function NewUniqueURLsWithExceptions (line 75) | func NewUniqueURLsWithExceptions(s string, exceptions ...string) *Unique... function UniqueURLsFromFlag (line 90) | func UniqueURLsFromFlag(fs *flag.FlagSet, urlsFlagName string) []url.URL { function UniqueURLsMapFromFlag (line 95) | func UniqueURLsMapFromFlag(fs *flag.FlagSet, urlsFlagName string) map[st... FILE: pkg/flags/unique_urls_test.go function TestNewUniqueURLsWithExceptions (line 25) | func TestNewUniqueURLsWithExceptions(t *testing.T) { function TestUniqueURLsFromFlag (line 94) | func TestUniqueURLsFromFlag(t *testing.T) { FILE: pkg/flags/urls.go type URLsValue (line 27) | type URLsValue method Set (line 32) | func (us *URLsValue) Set(s string) error { method String (line 42) | func (us *URLsValue) String() string { function NewURLsValue (line 52) | func NewURLsValue(s string) *URLsValue { function URLsFromFlag (line 64) | func URLsFromFlag(fs *flag.FlagSet, urlsFlagName string) []url.URL { FILE: pkg/flags/urls_test.go function TestValidateURLsValueBad (line 26) | func TestValidateURLsValueBad(t *testing.T) { function TestNewURLsValue (line 48) | func TestNewURLsValue(t *testing.T) { FILE: pkg/grpctesting/recorder.go type GRPCRecorder (line 25) | type GRPCRecorder struct method UnaryInterceptor (line 35) | func (ri *GRPCRecorder) UnaryInterceptor() grpc.UnaryServerInterceptor { method RecordedRequests (line 43) | func (ri *GRPCRecorder) RecordedRequests() []RequestInfo { method record (line 65) | func (ri *GRPCRecorder) record(r RequestInfo) { type RequestInfo (line 30) | type RequestInfo struct function toRequestInfo (line 51) | func toRequestInfo(ctx context.Context, info *grpc.UnaryServerInfo) Requ... FILE: pkg/grpctesting/stub_server.go type StubServer (line 35) | type StubServer struct method Start (line 56) | func (ss *StubServer) Start(sopts []grpc.ServerOption, dopts ...grpc.D... method Stop (line 84) | func (ss *StubServer) Stop() { method Addr (line 92) | func (ss *StubServer) Addr() string { function New (line 48) | func New(testService testpb.TestServiceServer) *StubServer { type dummyStubServer (line 96) | type dummyStubServer struct method UnaryCall (line 101) | func (d *dummyStubServer) UnaryCall(context.Context, *testpb.SimpleReq... function NewDummyStubServer (line 114) | func NewDummyStubServer(body []byte) *StubServer { FILE: pkg/httputil/httputil.go function GracefulClose (line 32) | func GracefulClose(resp *http.Response) { function GetHostname (line 40) | func GetHostname(req *http.Request) string { FILE: pkg/httputil/httputil_test.go function TestGetHostname (line 24) | func TestGetHostname(t *testing.T) { FILE: pkg/idutil/id.go constant tsLen (line 26) | tsLen = 5 * 8 constant cntLen (line 27) | cntLen = 8 constant suffixLen (line 28) | suffixLen = tsLen + cntLen type Generator (line 49) | type Generator struct method Next (line 67) | func (g *Generator) Next() uint64 { function NewGenerator (line 56) | func NewGenerator(memberID uint16, now time.Time) *Generator { function lowbit (line 73) | func lowbit(x uint64, n uint) uint64 { FILE: pkg/idutil/id_test.go function TestNewGenerator (line 24) | func TestNewGenerator(t *testing.T) { function TestNewGeneratorUnique (line 31) | func TestNewGeneratorUnique(t *testing.T) { function TestNext (line 40) | func TestNext(t *testing.T) { function BenchmarkNext (line 49) | func BenchmarkNext(b *testing.B) { FILE: pkg/ioutil/pagewriter.go type PageWriter (line 27) | type PageWriter struct method Write (line 56) | func (pw *PageWriter) Write(p []byte) (n int, err error) { method Flush (line 102) | func (pw *PageWriter) Flush() error { method flush (line 107) | func (pw *PageWriter) flush() (int, error) { function NewPageWriter (line 45) | func NewPageWriter(w io.Writer, pageBytes, pageOffset int) *PageWriter { FILE: pkg/ioutil/pagewriter_test.go function TestPageWriterRandom (line 25) | func TestPageWriterRandom(t *testing.T) { function TestPageWriterPartialSlack (line 47) | func TestPageWriterPartialSlack(t *testing.T) { function TestPageWriterOffset (line 72) | func TestPageWriterOffset(t *testing.T) { function TestPageWriterPageBytes (line 90) | func TestPageWriterPageBytes(t *testing.T) { type checkPageWriter (line 130) | type checkPageWriter struct method Write (line 137) | func (cw *checkPageWriter) Write(p []byte) (int, error) { FILE: pkg/ioutil/readcloser.go type ReaderAndCloser (line 24) | type ReaderAndCloser struct function NewExactReadCloser (line 36) | func NewExactReadCloser(rc io.ReadCloser, totalBytes int64) io.ReadCloser { type exactReadCloser (line 40) | type exactReadCloser struct method Read (line 46) | func (e *exactReadCloser) Read(p []byte) (int, error) { method Close (line 58) | func (e *exactReadCloser) Close() error { FILE: pkg/ioutil/readcloser_test.go type readerNilCloser (line 25) | type readerNilCloser struct method Close (line 27) | func (rc *readerNilCloser) Close() error { return nil } function TestExactReadCloserExpectEOF (line 30) | func TestExactReadCloserExpectEOF(t *testing.T) { function TestExactReadCloserShort (line 38) | func TestExactReadCloserShort(t *testing.T) { FILE: pkg/ioutil/reader.go function NewLimitedBufferReader (line 22) | func NewLimitedBufferReader(r io.Reader, n int) io.Reader { type limitedBufferReader (line 29) | type limitedBufferReader struct method Read (line 34) | func (r *limitedBufferReader) Read(p []byte) (n int, err error) { FILE: pkg/ioutil/reader_test.go function TestLimitedBufferReaderRead (line 25) | func TestLimitedBufferReaderRead(t *testing.T) { FILE: pkg/ioutil/util.go function WriteAndSyncFile (line 27) | func WriteAndSyncFile(filename string, data []byte, perm os.FileMode) er... FILE: pkg/netutil/host_normalize.go function urlsHostNormalizedEqual (line 24) | func urlsHostNormalizedEqual(a, b url.URL) bool { function normalizeHost (line 31) | func normalizeHost(host string) string { function normalizePort (line 51) | func normalizePort(port string) string { FILE: pkg/netutil/host_normalize_test.go function TestIPv6AddressNormalization (line 24) | func TestIPv6AddressNormalization(t *testing.T) { function TestNormalizeHostFunction (line 85) | func TestNormalizeHostFunction(t *testing.T) { FILE: pkg/netutil/netutil.go constant retryInterval (line 34) | retryInterval = time.Second function resolveTCPAddrDefault (line 37) | func resolveTCPAddrDefault(ctx context.Context, addr string) (*net.TCPAd... function resolveTCPAddrs (line 66) | func resolveTCPAddrs(ctx context.Context, lg *zap.Logger, urls [][]url.U... function resolveURL (line 91) | func resolveURL(ctx context.Context, lg *zap.Logger, u url.URL) (string,... function urlsEqual (line 147) | func urlsEqual(ctx context.Context, lg *zap.Logger, a []url.URL, b []url... function URLStringsEqual (line 184) | func URLStringsEqual(ctx context.Context, lg *zap.Logger, a []string, b ... function urlsToStrings (line 199) | func urlsToStrings(us []url.URL) []string { function stringsToURLs (line 207) | func stringsToURLs(us []string) ([]url.URL, error) { function IsNetworkTimeoutError (line 219) | func IsNetworkTimeoutError(err error) bool { FILE: pkg/netutil/netutil_test.go function TestResolveTCPAddrs (line 33) | func TestResolveTCPAddrs(t *testing.T) { function TestURLsEqual (line 148) | func TestURLsEqual(t *testing.T) { function TestURLStringsEqual (line 318) | func TestURLStringsEqual(t *testing.T) { FILE: pkg/netutil/routes.go function GetDefaultHost (line 26) | func GetDefaultHost() (string, error) { function GetDefaultInterfaces (line 31) | func GetDefaultInterfaces() (map[string]uint8, error) { FILE: pkg/netutil/routes_linux.go function GetDefaultHost (line 38) | func GetDefaultHost() (string, error) { function chooseHost (line 68) | func chooseHost(family uint8, rmsg *syscall.NetlinkMessage) (string, err... function getDefaultRoutes (line 95) | func getDefaultRoutes() (map[uint8]*syscall.NetlinkMessage, error) { function getIfaceAddr (line 131) | func getIfaceAddr(idx uint32, family uint8) (*syscall.NetlinkMessage, er... function getIfaceLink (line 160) | func getIfaceLink(idx uint32) (*syscall.NetlinkMessage, error) { function GetDefaultInterfaces (line 189) | func GetDefaultInterfaces() (map[string]uint8, error) { function parsePREFSRC (line 227) | func parsePREFSRC(m *syscall.NetlinkMessage) (host string, oif uint32, e... FILE: pkg/netutil/routes_linux_test.go function TestGetDefaultInterface (line 25) | func TestGetDefaultInterface(t *testing.T) { function TestGetDefaultHost (line 31) | func TestGetDefaultHost(t *testing.T) { FILE: pkg/notify/notify.go type Notifier (line 23) | type Notifier struct method Receive (line 37) | func (n *Notifier) Receive() <-chan struct{} { method Notify (line 45) | func (n *Notifier) Notify() { function NewNotifier (line 29) | func NewNotifier() *Notifier { FILE: pkg/osutil/interrupt_unix.go type InterruptHandler (line 32) | type InterruptHandler function RegisterInterruptHandler (line 43) | func RegisterInterruptHandler(h InterruptHandler) { function HandleInterrupts (line 50) | func HandleInterrupts(lg *zap.Logger) { function Exit (line 82) | func Exit(code int) { FILE: pkg/osutil/interrupt_windows.go type InterruptHandler (line 25) | type InterruptHandler function RegisterInterruptHandler (line 28) | func RegisterInterruptHandler(h InterruptHandler) {} function HandleInterrupts (line 31) | func HandleInterrupts(*zap.Logger) {} function Exit (line 34) | func Exit(code int) { FILE: pkg/osutil/osutil_test.go function init (line 28) | func init() { setDflSignal = func(syscall.Signal) {} } function waitSig (line 30) | func waitSig(t *testing.T, c <-chan os.Signal, sig os.Signal) { function TestHandleInterrupts (line 39) | func TestHandleInterrupts(t *testing.T) { FILE: pkg/osutil/signal.go function dflSignal (line 21) | func dflSignal(sig syscall.Signal) { /* nop */ } FILE: pkg/osutil/signal_linux.go function dflSignal (line 25) | func dflSignal(sig syscall.Signal) { FILE: pkg/pbutil/pbutil.go type Marshaler (line 20) | type Marshaler interface type Unmarshaler (line 24) | type Unmarshaler interface function MustMarshal (line 28) | func MustMarshal(m Marshaler) []byte { function MustUnmarshal (line 36) | func MustUnmarshal(um Unmarshaler, data []byte) { function MaybeUnmarshal (line 42) | func MaybeUnmarshal(um Unmarshaler, data []byte) bool { function GetBool (line 49) | func GetBool(v *bool) (vv bool, set bool) { function Boolp (line 56) | func Boolp(b bool) *bool { return &b } FILE: pkg/pbutil/pbutil_test.go function TestMarshaler (line 25) | func TestMarshaler(t *testing.T) { function TestMarshalerPanic (line 32) | func TestMarshalerPanic(t *testing.T) { function TestUnmarshaler (line 40) | func TestUnmarshaler(t *testing.T) { function TestUnmarshalerPanic (line 47) | func TestUnmarshalerPanic(t *testing.T) { function TestGetBool (line 55) | func TestGetBool(t *testing.T) { type fakeMarshaler (line 72) | type fakeMarshaler struct method Marshal (line 77) | func (m *fakeMarshaler) Marshal() ([]byte, error) { type fakeUnmarshaler (line 81) | type fakeUnmarshaler struct method Unmarshal (line 86) | func (m *fakeUnmarshaler) Unmarshal(data []byte) error { FILE: pkg/proxy/server.go type Server (line 47) | type Server interface type ServerConfig (line 133) | type ServerConfig struct type server (line 143) | type server struct method From (line 272) | func (s *server) From() string { method To (line 276) | func (s *server) To() string { method listenAndServe (line 285) | func (s *server) listenAndServe() { method transmit (line 411) | func (s *server) transmit(dst io.Writer, src io.Reader) { method receive (line 415) | func (s *server) receive(dst io.Writer, src io.Reader) { method ioCopy (line 426) | func (s *server) ioCopy(dst io.Writer, src io.Reader, ptype proxyType) { method Ready (line 626) | func (s *server) Ready() <-chan struct{} { return s.readyc } method Done (line 627) | func (s *server) Done() <-chan struct{} { return s.donec } method Error (line 628) | func (s *server) Error() <-chan error { return s.errc } method Close (line 629) | func (s *server) Close() (err error) { method PauseAccept (line 648) | func (s *server) PauseAccept() { method UnpauseAccept (line 660) | func (s *server) UnpauseAccept() { method DelayAccept (line 679) | func (s *server) DelayAccept(latency, rv time.Duration) { method UndelayAccept (line 698) | func (s *server) UndelayAccept() { method LatencyAccept (line 712) | func (s *server) LatencyAccept() time.Duration { method DelayTx (line 719) | func (s *server) DelayTx(latency, rv time.Duration) { method UndelayTx (line 738) | func (s *server) UndelayTx() { method LatencyTx (line 752) | func (s *server) LatencyTx() time.Duration { method DelayRx (line 759) | func (s *server) DelayRx(latency, rv time.Duration) { method UndelayRx (line 778) | func (s *server) UndelayRx() { method LatencyRx (line 792) | func (s *server) LatencyRx() time.Duration { method ModifyTx (line 817) | func (s *server) ModifyTx(f func([]byte) []byte) { method UnmodifyTx (line 829) | func (s *server) UnmodifyTx() { method ModifyRx (line 841) | func (s *server) ModifyRx(f func([]byte) []byte) { method UnmodifyRx (line 852) | func (s *server) UnmodifyRx() { method BlackholeTx (line 864) | func (s *server) BlackholeTx() { method UnblackholeTx (line 873) | func (s *server) UnblackholeTx() { method BlackholeRx (line 882) | func (s *server) BlackholeRx() { method UnblackholeRx (line 891) | func (s *server) UnblackholeRx() { method PauseTx (line 900) | func (s *server) PauseTx() { method UnpauseTx (line 912) | func (s *server) UnpauseTx() { method PauseRx (line 931) | func (s *server) PauseRx() { method UnpauseRx (line 943) | func (s *server) UnpauseRx() { method ResetListener (line 962) | func (s *server) ResetListener() error { function NewServer (line 194) | func NewServer(cfg ServerConfig) Server { type proxyType (line 419) | type proxyType constant proxyTx (line 422) | proxyTx proxyType = iota constant proxyRx (line 423) | proxyRx function computeLatency (line 799) | func computeLatency(lat, rv time.Duration) time.Duration { FILE: pkg/proxy/server_test.go function TestServer_Unix_Insecure (line 39) | func TestServer_Unix_Insecure(t *testing.T) { testServer(t, "uni... function TestServer_TCP_Insecure (line 40) | func TestServer_TCP_Insecure(t *testing.T) { testServer(t, "tcp... function TestServer_Unix_Secure (line 41) | func TestServer_Unix_Secure(t *testing.T) { testServer(t, "uni... function TestServer_TCP_Secure (line 42) | func TestServer_TCP_Secure(t *testing.T) { testServer(t, "tcp... function TestServer_Unix_Insecure_DelayTx (line 43) | func TestServer_Unix_Insecure_DelayTx(t *testing.T) { testServer(t, "uni... function TestServer_TCP_Insecure_DelayTx (line 44) | func TestServer_TCP_Insecure_DelayTx(t *testing.T) { testServer(t, "tcp... function TestServer_Unix_Secure_DelayTx (line 45) | func TestServer_Unix_Secure_DelayTx(t *testing.T) { testServer(t, "uni... function TestServer_TCP_Secure_DelayTx (line 46) | func TestServer_TCP_Secure_DelayTx(t *testing.T) { testServer(t, "tcp... function testServer (line 48) | func testServer(t *testing.T, scheme string, secure bool, delayTx bool) { function createTLSInfo (line 162) | func createTLSInfo(lg *zap.Logger, secure bool) transport.TLSInfo { function TestServer_Unix_Insecure_DelayAccept (line 175) | func TestServer_Unix_Insecure_DelayAccept(t *testing.T) { testServerDela... function TestServer_Unix_Secure_DelayAccept (line 176) | func TestServer_Unix_Secure_DelayAccept(t *testing.T) { testServerDela... function testServerDelayAccept (line 177) | func testServerDelayAccept(t *testing.T, secure bool) { function TestServer_PauseTx (line 228) | func TestServer_PauseTx(t *testing.T) { function TestServer_ModifyTx_corrupt (line 275) | func TestServer_ModifyTx_corrupt(t *testing.T) { function TestServer_ModifyTx_packet_loss (line 311) | func TestServer_ModifyTx_packet_loss(t *testing.T) { function TestServer_BlackholeTx (line 348) | func TestServer_BlackholeTx(t *testing.T) { function TestServer_Shutdown (line 399) | func TestServer_Shutdown(t *testing.T) { function TestServer_ShutdownListener (line 430) | func TestServer_ShutdownListener(t *testing.T) { function TestServerHTTP_Insecure_DelayTx (line 465) | func TestServerHTTP_Insecure_DelayTx(t *testing.T) { testServerHTTP(t, f... function TestServerHTTP_Secure_DelayTx (line 466) | func TestServerHTTP_Secure_DelayTx(t *testing.T) { testServerHTTP(t, t... function TestServerHTTP_Insecure_DelayRx (line 467) | func TestServerHTTP_Insecure_DelayRx(t *testing.T) { testServerHTTP(t, f... function TestServerHTTP_Secure_DelayRx (line 468) | func TestServerHTTP_Secure_DelayRx(t *testing.T) { testServerHTTP(t, t... function testServerHTTP (line 469) | func testServerHTTP(t *testing.T, secure, delayTx bool) { function newUnixAddr (line 591) | func newUnixAddr() string { function listen (line 598) | func listen(t *testing.T, scheme, addr string, tlsInfo transport.TLSInfo... function send (line 609) | func send(t *testing.T, data []byte, scheme, addr string, tlsInfo transp... function receive (line 625) | func receive(t *testing.T, ln net.Listener) (data []byte) { function waitForServer (line 642) | func waitForServer(t *testing.T, s Server) { FILE: pkg/report/perfdash.go type Metrics (line 27) | type Metrics struct type Labels (line 33) | type Labels struct type DataItem (line 37) | type DataItem struct type perfdashFormattedReport (line 43) | type perfdashFormattedReport struct method writePerfDashReport (line 48) | func (r *report) writePerfDashReport(benchmarkOp string) { FILE: pkg/report/report.go constant barChar (line 30) | barChar = "∎" type Result (line 34) | type Result struct method Duration (line 41) | func (res *Result) Duration() time.Duration { return res.End.Sub(res.S... type report (line 43) | type report struct method Results (line 107) | func (r *report) Results() chan<- Result { return r.results } method Run (line 109) | func (r *report) Run() <-chan string { method Stats (line 122) | func (r *report) Stats() <-chan Stats { method String (line 142) | func (r *report) String() (s string) { method sec2str (line 163) | func (r *report) sec2str(sec float64) string { return fmt.Sprintf(r.pr... method processResult (line 175) | func (r *report) processResult(res *Result) { method processResults (line 188) | func (r *report) processResults() { method sprintLatencies (line 230) | func (r *report) sprintLatencies() string { method histogram (line 241) | func (r *report) histogram() string { method errors (line 275) | func (r *report) errors() string { type Stats (line 54) | type Stats struct method copy (line 67) | func (s *Stats) copy() Stats { type Report (line 76) | type Report interface function NewReport (line 86) | func NewReport(precision, benchmarkOp string, generatePerfReport bool) R... function newReport (line 90) | func newReport(precision, benchmarkOp string, generatePerfReport bool) *... function NewReportSample (line 101) | func NewReportSample(precision, benchmarkOp string, generatePerfReport b... function copyMap (line 136) | func copyMap(m map[string]int) (c map[string]int) { type reportRate (line 165) | type reportRate struct method String (line 171) | func (r *reportRate) String() string { function NewReportRate (line 167) | func NewReportRate(precision, benchmarkOp string, generatePerfReport boo... function Percentiles (line 212) | func Percentiles(nums []float64) (pcs []float64, data []float64) { function percentiles (line 216) | func percentiles(nums []float64) (data []float64) { FILE: pkg/report/report_test.go function TestPercentiles (line 27) | func TestPercentiles(t *testing.T) { function TestReport (line 39) | func TestReport(t *testing.T) { function TestWeightedReport (line 79) | func TestWeightedReport(t *testing.T) { FILE: pkg/report/timeseries.go type DataPoint (line 28) | type DataPoint struct type TimeSeries (line 36) | type TimeSeries method Swap (line 38) | func (t TimeSeries) Swap(i, j int) { t[i], t[j] = t[j], t[i] } method Len (line 39) | func (t TimeSeries) Len() int { return len(t) } method Less (line 40) | func (t TimeSeries) Less(i, j int) bool { return t[i].Timestamp < t[j]... method String (line 121) | func (t TimeSeries) String() string { type secondPoint (line 42) | type secondPoint struct type secondPoints (line 49) | type secondPoints struct method Add (line 58) | func (sp *secondPoints) Add(ts time.Time, lat time.Duration) { method getTimeSeries (line 76) | func (sp *secondPoints) getTimeSeries() TimeSeries { function newSecondPoints (line 54) | func newSecondPoints() *secondPoints { FILE: pkg/report/timeseries_test.go function TestGetTimeseries (line 24) | func TestGetTimeseries(t *testing.T) { FILE: pkg/report/weighted.go type weightedReport (line 23) | type weightedReport struct method Results (line 41) | func (wr *weightedReport) Results() chan<- Result { return wr.results } method Run (line 43) | func (wr *weightedReport) Run() <-chan string { method Stats (line 58) | func (wr *weightedReport) Stats() <-chan Stats { method processResults (line 72) | func (wr *weightedReport) processResults() { method processResult (line 81) | func (wr *weightedReport) processResult(res Result) { method reweighStat (line 95) | func (wr *weightedReport) reweighStat(s Stats) Stats { function NewWeightedReport (line 33) | func NewWeightedReport(r Report, precision, benchmarkOp string, generate... FILE: pkg/runtime/fds_linux.go function FDLimit (line 23) | func FDLimit() (uint64, error) { function FDUsage (line 31) | func FDUsage() (uint64, error) { function countFiles (line 36) | func countFiles(dirname string) (uint64, error) { FILE: pkg/runtime/fds_other.go function FDLimit (line 24) | func FDLimit() (uint64, error) { function FDUsage (line 28) | func FDUsage() (uint64, error) { FILE: pkg/schedule/schedule.go type Job (line 26) | type Job interface type job (line 31) | type job struct method Name (line 36) | func (j job) Name() string { method Do (line 40) | func (j job) Do(ctx context.Context) { function NewJob (line 44) | func NewJob(name string, do func(ctx context.Context)) Job { type Scheduler (line 52) | type Scheduler interface type fifo (line 73) | type fifo struct method Schedule (line 106) | func (f *fifo) Schedule(j Job) { method Pending (line 123) | func (f *fifo) Pending() int { method Scheduled (line 129) | func (f *fifo) Scheduled() int { method Finished (line 135) | func (f *fifo) Finished() int { method WaitFinish (line 141) | func (f *fifo) WaitFinish(n int) { method Stop (line 150) | func (f *fifo) Stop() { method run (line 158) | func (f *fifo) run() { method executeJob (line 192) | func (f *fifo) executeJob(todo Job, updatedFinishedStats bool) { function NewFIFOScheduler (line 91) | func NewFIFOScheduler(lg *zap.Logger) Scheduler { FILE: pkg/schedule/schedule_test.go function TestFIFOSchedule (line 27) | func TestFIFOSchedule(t *testing.T) { FILE: pkg/stringutil/rand.go function UniqueStrings (line 22) | func UniqueStrings(slen uint, n int) (ss []string) { function RandomStrings (line 36) | func RandomStrings(slen uint, n int) (ss []string) { constant chars (line 44) | chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" function RandString (line 46) | func RandString(l uint) string { FILE: pkg/stringutil/rand_test.go function TestUniqueStrings (line 24) | func TestUniqueStrings(t *testing.T) { FILE: pkg/traceutil/trace.go constant instrumentationScope (line 30) | instrumentationScope = "go.etcd.io/etcd" function Init (line 34) | func Init(tp trace.TracerProvider) { type TraceKey (line 39) | type TraceKey struct type StartTimeKey (line 42) | type StartTimeKey struct type Field (line 45) | type Field struct method format (line 50) | func (f *Field) format() string { function writeFields (line 54) | func writeFields(fields []Field) string { type Trace (line 67) | type Trace struct method GetStartTime (line 114) | func (t *Trace) GetStartTime() time.Time { method SetStartTime (line 118) | func (t *Trace) SetStartTime(time time.Time) { method InsertStep (line 122) | func (t *Trace) InsertStep(at int, time time.Time, msg string, fields ... method StartSubTrace (line 134) | func (t *Trace) StartSubTrace(fields ...Field) { method StopSubTrace (line 140) | func (t *Trace) StopSubTrace(fields ...Field) { method Step (line 145) | func (t *Trace) Step(msg string, fields ...Field) { method StepWithFunction (line 152) | func (t *Trace) StepWithFunction(f func(), msg string, fields ...Field) { method AddField (line 159) | func (t *Trace) AddField(fields ...Field) { method IsEmpty (line 167) | func (t *Trace) IsEmpty() bool { method Log (line 172) | func (t *Trace) Log() { method LogIfLong (line 177) | func (t *Trace) LogIfLong(threshold time.Duration) { method LogAllStepsIfLong (line 185) | func (t *Trace) LogAllStepsIfLong(threshold time.Duration) { method LogWithStepThreshold (line 192) | func (t *Trace) LogWithStepThreshold(threshold time.Duration) { method logInfo (line 199) | func (t *Trace) logInfo(threshold time.Duration) (string, []zap.Field) { method updateFieldIfExist (line 248) | func (t *Trace) updateFieldIfExist(f Field) bool { method disableStep (line 259) | func (t *Trace) disableStep() { method enableStep (line 264) | func (t *Trace) enableStep() { type step (line 77) | type step struct function newTrace (line 85) | func newTrace(op string, lg *zap.Logger, fields ...Field) *Trace { function TODO (line 90) | func TODO() *Trace { function Get (line 94) | func Get(ctx context.Context) *Trace { function EnsureTrace (line 102) | func EnsureTrace(ctx context.Context, lg *zap.Logger, operation string, ... FILE: pkg/traceutil/trace_test.go function TestGet (line 32) | func TestGet(t *testing.T) { function TestCreate (line 62) | func TestCreate(t *testing.T) { function TestLog (line 94) | func TestLog(t *testing.T) { function TestLogIfLong (line 216) | func TestLogIfLong(t *testing.T) { FILE: pkg/wait/wait.go constant defaultListElementLength (line 28) | defaultListElementLength = 64 type Wait (line 33) | type Wait interface type list (line 43) | type list struct method Register (line 63) | func (w *list) Register(id uint64) <-chan any { method Trigger (line 76) | func (w *list) Trigger(id uint64, x any) { method IsRegistered (line 88) | func (w *list) IsRegistered(id uint64) bool { type listElement (line 47) | type listElement struct function New (line 53) | func New() Wait { type waitWithResponse (line 96) | type waitWithResponse struct method Register (line 104) | func (w *waitWithResponse) Register(id uint64) <-chan any { method Trigger (line 107) | func (w *waitWithResponse) Trigger(id uint64, x any) {} method IsRegistered (line 108) | func (w *waitWithResponse) IsRegistered(id uint64) bool { function NewWithResponse (line 100) | func NewWithResponse(ch <-chan any) Wait { FILE: pkg/wait/wait_test.go function TestWait (line 25) | func TestWait(t *testing.T) { function TestRegisterDupPanic (line 39) | func TestRegisterDupPanic(t *testing.T) { function TestTriggerDupSuppression (line 65) | func TestTriggerDupSuppression(t *testing.T) { function TestIsRegistered (line 81) | func TestIsRegistered(t *testing.T) { FILE: pkg/wait/wait_time.go type WaitTime (line 19) | type WaitTime interface function init (line 30) | func init() { closec = make(chan struct{}); close(closec) } type timeList (line 32) | type timeList struct method Wait (line 42) | func (tl *timeList) Wait(deadline uint64) <-chan struct{} { method Trigger (line 56) | func (tl *timeList) Trigger(deadline uint64) { function NewTimeList (line 38) | func NewTimeList() *timeList { FILE: pkg/wait/wait_time_test.go function TestWaitTime (line 22) | func TestWaitTime(t *testing.T) { function TestWaitTestStress (line 54) | func TestWaitTestStress(t *testing.T) { function BenchmarkWaitTime (line 71) | func BenchmarkWaitTime(b *testing.B) { function BenchmarkTriggerAnd10KWaitTime (line 78) | func BenchmarkTriggerAnd10KWaitTime(b *testing.B) { FILE: server/auth/jwt.go type tokenJWT (line 29) | type tokenJWT struct method enable (line 37) | func (t *tokenJWT) enable() {} method disable (line 38) | func (t *tokenJWT) disable() {} method invalidateUser (line 39) | func (t *tokenJWT) invalidateUser(string) {} method genTokenPrefix (line 40) | func (t *tokenJWT) genTokenPrefix() (string, error) { return "", nil } method info (line 42) | func (t *tokenJWT) info(ctx context.Context, token string, rev uint64)... method assign (line 93) | func (t *tokenJWT) assign(ctx context.Context, username string, revisi... function newTokenProviderJWT (line 127) | func newTokenProviderJWT(lg *zap.Logger, optMap map[string]string) (*tok... FILE: server/auth/jwt_test.go constant jwtRSAPubKey (line 29) | jwtRSAPubKey = "../../tests/fixtures/server.crt" constant jwtRSAPrivKey (line 30) | jwtRSAPrivKey = "../../tests/fixtures/server.key.insecure" constant jwtECPubKey (line 32) | jwtECPubKey = "../../tests/fixtures/server-ecdsa.crt" constant jwtECPrivKey (line 33) | jwtECPrivKey = "../../tests/fixtures/server-ecdsa.key.insecure" constant jwtEdPubKey (line 35) | jwtEdPubKey = "../../tests/fixtures/ed25519-public-key.pem" constant jwtEdPrivKey (line 36) | jwtEdPrivKey = "../../tests/fixtures/ed25519-private-key.pem" function TestJWTInfo (line 39) | func TestJWTInfo(t *testing.T) { function testJWTInfo (line 91) | func testJWTInfo(t *testing.T, opts map[string]string) { function TestJWTTokenWithMissingFields (line 137) | func TestJWTTokenWithMissingFields(t *testing.T) { function TestJWTBad (line 209) | func TestJWTBad(t *testing.T) { function testJWTOpts (line 275) | func testJWTOpts() string { FILE: server/auth/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: server/auth/metrics.go function init (line 42) | func init() { FILE: server/auth/nop.go type tokenNop (line 21) | type tokenNop struct method enable (line 23) | func (t *tokenNop) enable() {} method disable (line 24) | func (t *tokenNop) disable() {} method invalidateUser (line 25) | func (t *tokenNop) invalidateUser(string) {} method genTokenPrefix (line 26) | func (t *tokenNop) genTokenPrefix() (string, error) { return "", nil } method info (line 27) | func (t *tokenNop) info(ctx context.Context, token string, rev uint64)... method assign (line 31) | func (t *tokenNop) assign(ctx context.Context, username string, revisi... function newTokenProviderNop (line 35) | func newTokenProviderNop() (*tokenNop, error) { FILE: server/auth/options.go constant optSignMethod (line 30) | optSignMethod = "sign-method" constant optPublicKey (line 31) | optPublicKey = "pub-key" constant optPrivateKey (line 32) | optPrivateKey = "priv-key" constant optTTL (line 33) | optTTL = "ttl" type jwtOptions (line 46) | type jwtOptions struct method ParseWithDefaults (line 54) | func (opts *jwtOptions) ParseWithDefaults(optMap map[string]string) er... method Parse (line 63) | func (opts *jwtOptions) Parse(optMap map[string]string) error { method Key (line 97) | func (opts *jwtOptions) Key() (any, error) { method hmacKey (line 112) | func (opts *jwtOptions) hmacKey() (any, error) { method rsaKey (line 119) | func (opts *jwtOptions) rsaKey() (any, error) { method ecKey (line 157) | func (opts *jwtOptions) ecKey() (any, error) { method edKey (line 195) | func (opts *jwtOptions) edKey() (any, error) { FILE: server/auth/range_perm_cache.go function getMergedPerms (line 24) | func getMergedPerms(tx UnsafeAuthReader, userName string) *unifiedRangeP... function checkKeyInterval (line 73) | func checkKeyInterval( function checkKeyPoint (line 97) | func checkKeyPoint(lg *zap.Logger, cachedPerms *unifiedRangePermissions,... method isRangeOpPermitted (line 110) | func (as *authStore) isRangeOpPermitted(userName string, key, rangeEnd [... method refreshRangePermCache (line 131) | func (as *authStore) refreshRangePermCache(tx UnsafeAuthReader) { type unifiedRangePermissions (line 157) | type unifiedRangePermissions struct function isOpenEnded (line 185) | func isOpenEnded(rangeEnd []byte) bool { // check rule b3 function isValidPermissionRange (line 189) | func isValidPermissionRange(key, rangeEnd []byte) bool { FILE: server/auth/range_perm_cache_test.go function TestRangePermission (line 26) | func TestRangePermission(t *testing.T) { function TestKeyPermission (line 87) | func TestKeyPermission(t *testing.T) { function TestRangeCheck (line 138) | func TestRangeCheck(t *testing.T) { FILE: server/auth/simple_token.go constant letters (line 35) | letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR... constant defaultSimpleTokenLength (line 36) | defaultSimpleTokenLength = 16 type simpleTokenTTLKeeper (line 46) | type simpleTokenTTLKeeper struct method stop (line 55) | func (tm *simpleTokenTTLKeeper) stop() { method addSimpleToken (line 63) | func (tm *simpleTokenTTLKeeper) addSimpleToken(token string) { method resetSimpleToken (line 67) | func (tm *simpleTokenTTLKeeper) resetSimpleToken(token string) { method deleteSimpleToken (line 73) | func (tm *simpleTokenTTLKeeper) deleteSimpleToken(token string) { method run (line 77) | func (tm *simpleTokenTTLKeeper) run() { type tokenSimple (line 101) | type tokenSimple struct method genTokenPrefix (line 110) | func (t *tokenSimple) genTokenPrefix() (string, error) { method assignSimpleTokenToUser (line 125) | func (t *tokenSimple) assignSimpleTokenToUser(username, token string) { method invalidateUser (line 146) | func (t *tokenSimple) invalidateUser(username string) { method enable (line 160) | func (t *tokenSimple) enable() { method disable (line 191) | func (t *tokenSimple) disable() { method info (line 202) | func (t *tokenSimple) info(ctx context.Context, token string, revision... method assign (line 215) | func (t *tokenSimple) assign(ctx context.Context, username string, rev... method isValidSimpleToken (line 229) | func (t *tokenSimple) isValidSimpleToken(ctx context.Context, token st... function newTokenProviderSimple (line 248) | func newTokenProviderSimple(lg *zap.Logger, indexWaiter func(uint64) <-c... FILE: server/auth/simple_token_test.go function TestSimpleTokenDisabled (line 26) | func TestSimpleTokenDisabled(t *testing.T) { function TestSimpleTokenAssign (line 50) | func TestSimpleTokenAssign(t *testing.T) { FILE: server/auth/store.go constant rootUser (line 72) | rootUser = "root" constant rootRole (line 73) | rootRole = "root" constant tokenTypeSimple (line 75) | tokenTypeSimple = "simple" constant tokenTypeJWT (line 76) | tokenTypeJWT = "jwt" type AuthInfo (line 79) | type AuthInfo struct type AuthenticateParamIndex (line 85) | type AuthenticateParamIndex struct type AuthenticateParamSimpleTokenPrefix (line 88) | type AuthenticateParamSimpleTokenPrefix struct type AuthStore (line 91) | type AuthStore interface type TokenProvider (line 187) | type TokenProvider interface type AuthBackend (line 197) | type AuthBackend interface type AuthReadTx (line 209) | type AuthReadTx interface type UnsafeAuthReader (line 215) | type UnsafeAuthReader interface type AuthBatchTx (line 224) | type AuthBatchTx interface type UnsafeAuthReadWriter (line 230) | type UnsafeAuthReadWriter interface type UnsafeAuthWriter (line 235) | type UnsafeAuthWriter interface type authStore (line 244) | type authStore struct method AuthEnable (line 266) | func (as *authStore) AuthEnable() error { method AuthDisable (line 301) | func (as *authStore) AuthDisable() { method Close (line 323) | func (as *authStore) Close() error { method Authenticate (line 333) | func (as *authStore) Authenticate(ctx context.Context, username, passw... method CheckPassword (line 361) | func (as *authStore) CheckPassword(username, password string) (uint64,... method Recover (line 396) | func (as *authStore) Recover(be AuthBackend) { method selectPassword (line 415) | func (as *authStore) selectPassword(password string, hashedPassword st... method UserAdd (line 423) | func (as *authStore) UserAdd(r *pb.AuthUserAddRequest) (*pb.AuthUserAd... method UserDelete (line 468) | func (as *authStore) UserDelete(r *pb.AuthUserDeleteRequest) (*pb.Auth... method UserChangePassword (line 497) | func (as *authStore) UserChangePassword(r *pb.AuthUserChangePasswordRe... method UserGrantRole (line 539) | func (as *authStore) UserGrantRole(r *pb.AuthUserGrantRoleRequest) (*p... method UserGet (line 584) | func (as *authStore) UserGet(r *pb.AuthUserGetRequest) (*pb.AuthUserGe... method UserList (line 596) | func (as *authStore) UserList(r *pb.AuthUserListRequest) (*pb.AuthUser... method UserRevokeRole (line 606) | func (as *authStore) UserRevokeRole(r *pb.AuthUserRevokeRoleRequest) (... method RoleGet (line 656) | func (as *authStore) RoleGet(r *pb.AuthRoleGetRequest) (*pb.AuthRoleGe... method RoleList (line 671) | func (as *authStore) RoleList(r *pb.AuthRoleListRequest) (*pb.AuthRole... method RoleRevokePermission (line 681) | func (as *authStore) RoleRevokePermission(r *pb.AuthRoleRevokePermissi... method RoleDelete (line 719) | func (as *authStore) RoleDelete(r *pb.AuthRoleDeleteRequest) (*pb.Auth... method RoleAdd (line 764) | func (as *authStore) RoleAdd(r *pb.AuthRoleAddRequest) (*pb.AuthRoleAd... method authInfoFromToken (line 790) | func (as *authStore) authInfoFromToken(ctx context.Context, token stri... method RoleGrantPermission (line 808) | func (as *authStore) RoleGrantPermission(r *pb.AuthRoleGrantPermission... method isOpPermitted (line 859) | func (as *authStore) isOpPermitted(userName string, revision uint64, k... method IsPutPermitted (line 901) | func (as *authStore) IsPutPermitted(authInfo *AuthInfo, key []byte) er... method IsRangePermitted (line 905) | func (as *authStore) IsRangePermitted(authInfo *AuthInfo, key, rangeEn... method IsDeleteRangePermitted (line 909) | func (as *authStore) IsDeleteRangePermitted(authInfo *AuthInfo, key, r... method IsAdminPermitted (line 913) | func (as *authStore) IsAdminPermitted(authInfo *AuthInfo) error { method IsAuthEnabled (line 937) | func (as *authStore) IsAuthEnabled() bool { method commitRevision (line 1000) | func (as *authStore) commitRevision(tx UnsafeAuthWriter) { method setRevision (line 1005) | func (as *authStore) setRevision(rev uint64) { method Revision (line 1009) | func (as *authStore) Revision() uint64 { method AuthInfoFromTLS (line 1013) | func (as *authStore) AuthInfoFromTLS(ctx context.Context) (ai *AuthInf... method AuthInfoFromCtx (line 1056) | func (as *authStore) AuthInfoFromCtx(ctx context.Context) (*AuthInfo, ... method GenTokenPrefix (line 1086) | func (as *authStore) GenTokenPrefix() (string, error) { method WithRoot (line 1159) | func (as *authStore) WithRoot(ctx context.Context) context.Context { method HasRole (line 1199) | func (as *authStore) HasRole(user, role string) bool { method BcryptCost (line 1222) | func (as *authStore) BcryptCost() int { method setupMetricsReporter (line 1226) | func (as *authStore) setupMetricsReporter() { type permSlice (line 794) | type permSlice method Len (line 796) | func (perms permSlice) Len() int { method Less (line 800) | func (perms permSlice) Less(i, j int) bool { method Swap (line 804) | func (perms permSlice) Swap(i, j int) { function NewAuthStore (line 944) | func NewAuthStore(lg *zap.Logger, be AuthBackend, tp TokenProvider, bcry... function hasRootRole (line 994) | func hasRootRole(u *authpb.User) bool { function decomposeOpts (line 1090) | func decomposeOpts(lg *zap.Logger, optstr string) (string, map[string]st... function NewTokenProvider (line 1123) | func NewTokenProvider( function redactToken (line 1234) | func redactToken(token string) string { FILE: server/auth/store_mock_test.go type backendMock (line 19) | type backendMock struct method CreateAuthBuckets (line 33) | func (b *backendMock) CreateAuthBuckets() { method ForceCommit (line 36) | func (b *backendMock) ForceCommit() { method ReadTx (line 39) | func (b *backendMock) ReadTx() AuthReadTx { method BatchTx (line 43) | func (b *backendMock) BatchTx() AuthBatchTx { method GetUser (line 47) | func (b *backendMock) GetUser(s string) *authpb.User { method GetAllUsers (line 51) | func (b *backendMock) GetAllUsers() []*authpb.User { method GetRole (line 55) | func (b *backendMock) GetRole(s string) *authpb.Role { method GetAllRoles (line 59) | func (b *backendMock) GetAllRoles() []*authpb.Role { function newBackendMock (line 26) | func newBackendMock() *backendMock { type txMock (line 65) | type txMock struct method UnsafeReadAuthEnabled (line 71) | func (t txMock) UnsafeReadAuthEnabled() bool { method UnsafeReadAuthRevision (line 75) | func (t txMock) UnsafeReadAuthRevision() uint64 { method UnsafeGetUser (line 79) | func (t txMock) UnsafeGetUser(s string) *authpb.User { method UnsafeGetRole (line 83) | func (t txMock) UnsafeGetRole(s string) *authpb.Role { method UnsafeGetAllUsers (line 87) | func (t txMock) UnsafeGetAllUsers() []*authpb.User { method UnsafeGetAllRoles (line 95) | func (t txMock) UnsafeGetAllRoles() []*authpb.Role { method Lock (line 103) | func (t txMock) Lock() { method Unlock (line 106) | func (t txMock) Unlock() { method RLock (line 109) | func (t txMock) RLock() { method RUnlock (line 112) | func (t txMock) RUnlock() { method UnsafeSaveAuthEnabled (line 115) | func (t txMock) UnsafeSaveAuthEnabled(enabled bool) { method UnsafeSaveAuthRevision (line 119) | func (t txMock) UnsafeSaveAuthRevision(rev uint64) { method UnsafePutUser (line 123) | func (t txMock) UnsafePutUser(user *authpb.User) { method UnsafeDeleteUser (line 127) | func (t txMock) UnsafeDeleteUser(s string) { method UnsafePutRole (line 131) | func (t txMock) UnsafePutRole(role *authpb.Role) { method UnsafeDeleteRole (line 135) | func (t txMock) UnsafeDeleteRole(s string) { FILE: server/auth/store_test.go function dummyIndexWaiter (line 39) | func dummyIndexWaiter(index uint64) <-chan struct{} { function TestNewAuthStoreRevision (line 49) | func TestNewAuthStoreRevision(t *testing.T) { function TestNewAuthStoreBcryptCost (line 72) | func TestNewAuthStoreBcryptCost(t *testing.T) { function encodePassword (line 86) | func encodePassword(s string) string { function setupAuthStore (line 91) | func setupAuthStore(t *testing.T) (store *authStore, teardownfunc func(t... function addUserWithNoOption (line 126) | func addUserWithNoOption(as *authStore) { function enableAuthAndCreateRoot (line 138) | func enableAuthAndCreateRoot(as AuthStore) error { function TestUserAdd (line 157) | func TestUserAdd(t *testing.T) { function TestRecover (line 177) | func TestRecover(t *testing.T) { function TestRecoverWithEmptyRangePermCache (line 188) | func TestRecoverWithEmptyRangePermCache(t *testing.T) { function TestCheckPassword (line 206) | func TestCheckPassword(t *testing.T) { function TestUserDelete (line 227) | func TestUserDelete(t *testing.T) { function TestUserDeleteAndPermCache (line 248) | func TestUserDeleteAndPermCache(t *testing.T) { function TestUserChangePassword (line 279) | func TestUserChangePassword(t *testing.T) { function TestRoleAdd (line 312) | func TestRoleAdd(t *testing.T) { function TestUserGrant (line 329) | func TestUserGrant(t *testing.T) { function TestHasRole (line 349) | func TestHasRole(t *testing.T) { function TestIsOpPermitted (line 372) | func TestIsOpPermitted(t *testing.T) { function TestGetUser (line 419) | func TestGetUser(t *testing.T) { function TestListUsers (line 444) | func TestListUsers(t *testing.T) { function TestRoleGrantPermission (line 466) | func TestRoleGrantPermission(t *testing.T) { function TestRoleGrantInvalidPermission (line 512) | func TestRoleGrantInvalidPermission(t *testing.T) { function TestRootRoleGrantPermission (line 650) | func TestRootRoleGrantPermission(t *testing.T) { function TestRoleRevokePermission (line 682) | func TestRoleRevokePermission(t *testing.T) { function TestUserRevokePermission (line 728) | func TestUserRevokePermission(t *testing.T) { function TestRoleDelete (line 793) | func TestRoleDelete(t *testing.T) { function TestAuthInfoFromCtx (line 810) | func TestAuthInfoFromCtx(t *testing.T) { function TestAuthDisable (line 855) | func TestAuthDisable(t *testing.T) { function TestIsAuthEnabled (line 874) | func TestIsAuthEnabled(t *testing.T) { function TestAuthInfoFromCtxRace (line 899) | func TestAuthInfoFromCtxRace(t *testing.T) { function TestIsAdminPermitted (line 917) | func TestIsAdminPermitted(t *testing.T) { function TestRecoverFromSnapshot (line 952) | func TestRecoverFromSnapshot(t *testing.T) { function contains (line 987) | func contains(array []string, str string) bool { function TestHammerSimpleAuthenticate (line 996) | func TestHammerSimpleAuthenticate(t *testing.T) { function TestRolesOrder (line 1043) | func TestRolesOrder(t *testing.T) { function TestAuthInfoFromCtxWithRootSimple (line 1087) | func TestAuthInfoFromCtxWithRootSimple(t *testing.T) { function TestAuthInfoFromCtxWithRootJWT (line 1091) | func TestAuthInfoFromCtxWithRootJWT(t *testing.T) { function testAuthInfoFromCtxWithRoot (line 1097) | func testAuthInfoFromCtxWithRoot(t *testing.T, opts string) { function TestUserNoPasswordAdd (line 1122) | func TestUserNoPasswordAdd(t *testing.T) { function TestUserAddWithOldLog (line 1138) | func TestUserAddWithOldLog(t *testing.T) { function TestUserChangePasswordWithOldLog (line 1149) | func TestUserChangePasswordWithOldLog(t *testing.T) { FILE: server/config/config.go constant grpcOverheadBytes (line 38) | grpcOverheadBytes = 512 * 1024 type ServerConfig (line 42) | type ServerConfig struct method VerifyBootstrap (line 211) | func (c *ServerConfig) VerifyBootstrap() error { method VerifyJoinExisting (line 229) | func (c *ServerConfig) VerifyJoinExisting() error { method hasLocalMember (line 245) | func (c *ServerConfig) hasLocalMember() error { method advertiseMatchesCluster (line 253) | func (c *ServerConfig) advertiseMatchesCluster() error { method MemberDir (line 304) | func (c *ServerConfig) MemberDir() string { return datadir.ToMemberDir... method WALDir (line 306) | func (c *ServerConfig) WALDir() string { method SnapDir (line 313) | func (c *ServerConfig) SnapDir() string { return filepath.Join(c.Membe... method ShouldDiscover (line 315) | func (c *ServerConfig) ShouldDiscover() bool { method ReqTimeout (line 320) | func (c *ServerConfig) ReqTimeout() time.Duration { method ElectionTimeout (line 326) | func (c *ServerConfig) ElectionTimeout() time.Duration { method PeerDialTimeout (line 330) | func (c *ServerConfig) PeerDialTimeout() time.Duration { method BootstrapTimeoutEffective (line 349) | func (c *ServerConfig) BootstrapTimeoutEffective() time.Duration { method BackendPath (line 356) | func (c *ServerConfig) BackendPath() string { return datadir.ToBackend... method MaxRequestBytesWithOverhead (line 358) | func (c *ServerConfig) MaxRequestBytesWithOverhead() uint { function CheckDuplicateURL (line 335) | func CheckDuplicateURL(urlsmap types.URLsMap) bool { FILE: server/config/config_test.go function mustNewURLs (line 29) | func mustNewURLs(t *testing.T, urls []string) []url.URL { function TestConfigVerifyBootstrapWithoutClusterFail (line 38) | func TestConfigVerifyBootstrapWithoutClusterFail(t *testing.T) { function TestConfigVerifyExistingWithDiscoveryURLFail (line 54) | func TestConfigVerifyExistingWithDiscoveryURLFail(t *testing.T) { function TestConfigVerifyLocalMember (line 74) | func TestConfigVerifyLocalMember(t *testing.T) { function TestSnapDir (line 170) | func TestSnapDir(t *testing.T) { function TestWALDir (line 186) | func TestWALDir(t *testing.T) { function TestShouldDiscover (line 202) | func TestShouldDiscover(t *testing.T) { FILE: server/config/v2_deprecation.go type V2DeprecationEnum (line 17) | type V2DeprecationEnum method IsAtLeast (line 68) | func (e V2DeprecationEnum) IsAtLeast(v2d V2DeprecationEnum) bool { method level (line 72) | func (e V2DeprecationEnum) level() int { constant V2Depr0NotYet (line 22) | V2Depr0NotYet = V2DeprecationEnum("not-yet") constant V2_DEPR_0_NOT_YET (line 27) | V2_DEPR_0_NOT_YET = V2Depr0NotYet constant V2Depr1WriteOnly (line 32) | V2Depr1WriteOnly = V2DeprecationEnum("write-only") constant V2_DEPR_1_WRITE_ONLY (line 37) | V2_DEPR_1_WRITE_ONLY = V2Depr1WriteOnly constant V2Depr1WriteOnlyDrop (line 41) | V2Depr1WriteOnlyDrop = V2DeprecationEnum("write-only-drop-data") constant V2_DEPR_1_WRITE_ONLY_DROP (line 46) | V2_DEPR_1_WRITE_ONLY_DROP = V2Depr1WriteOnlyDrop constant V2Depr2Gone (line 52) | V2Depr2Gone = V2DeprecationEnum("gone") constant V2_DEPR_2_GONE (line 57) | V2_DEPR_2_GONE = V2Depr2Gone constant V2DeprDefault (line 60) | V2DeprDefault = V2Depr1WriteOnly constant V2_DEPR_DEFAULT (line 65) | V2_DEPR_DEFAULT = V2DeprDefault FILE: server/config/v2_deprecation_test.go function TestV2DeprecationEnum_IsAtLeast (line 19) | func TestV2DeprecationEnum_IsAtLeast(t *testing.T) { FILE: server/embed/auth_test.go function TestEnableAuth (line 23) | func TestEnableAuth(t *testing.T) { FILE: server/embed/config.go constant ClusterStateFlagNew (line 58) | ClusterStateFlagNew = "new" constant ClusterStateFlagExisting (line 59) | ClusterStateFlagExisting = "existing" constant DefaultName (line 61) | DefaultName = "default" constant DefaultMaxSnapshots (line 62) | DefaultMaxSnapshots = 5 constant DefaultMaxWALs (line 63) | DefaultMaxWALs = 5 constant DefaultMaxTxnOps (line 64) | DefaultMaxTxnOps = uint(128) constant DefaultWarningApplyDuration (line 65) | DefaultWarningApplyDuration = 100 * time.Millisecond constant DefaultWarningUnaryRequestDuration (line 66) | DefaultWarningUnaryRequestDuration = 300 * time.Millisecond constant DefaultMaxRequestBytes (line 67) | DefaultMaxRequestBytes = 1.5 * 1024 * 1024 constant DefaultMaxConcurrentStreams (line 68) | DefaultMaxConcurrentStreams = math.MaxUint32 constant DefaultGRPCKeepAliveMinTime (line 69) | DefaultGRPCKeepAliveMinTime = 5 * time.Second constant DefaultGRPCKeepAliveInterval (line 70) | DefaultGRPCKeepAliveInterval = 2 * time.Hour constant DefaultGRPCKeepAliveTimeout (line 71) | DefaultGRPCKeepAliveTimeout = 20 * time.Second constant DefaultDowngradeCheckTime (line 72) | DefaultDowngradeCheckTime = 5 * time.Second constant DefaultAutoCompactionMode (line 73) | DefaultAutoCompactionMode = "periodic" constant DefaultAutoCompactionRetention (line 74) | DefaultAutoCompactionRetention = "0" constant DefaultAuthToken (line 75) | DefaultAuthToken = "simple" constant DefaultCompactHashCheckTime (line 76) | DefaultCompactHashCheckTime = time.Minute constant DefaultLoggingFormat (line 77) | DefaultLoggingFormat = "json" constant DefaultDiscoveryDialTimeout (line 79) | DefaultDiscoveryDialTimeout = 2 * time.Second constant DefaultDiscoveryRequestTimeOut (line 80) | DefaultDiscoveryRequestTimeOut = 5 * time.Second constant DefaultDiscoveryKeepAliveTime (line 81) | DefaultDiscoveryKeepAliveTime = 2 * time.Second constant DefaultDiscoveryKeepAliveTimeOut (line 82) | DefaultDiscoveryKeepAliveTimeOut = 6 * time.Second constant DefaultDiscoveryInsecureTransport (line 83) | DefaultDiscoveryInsecureTransport = true constant DefaultSelfSignedCertValidity (line 84) | DefaultSelfSignedCertValidity = 1 constant DefaultTLSMinVersion (line 85) | DefaultTLSMinVersion = string(tlsutil.TLSVersion12) constant DefaultListenPeerURLs (line 87) | DefaultListenPeerURLs = "http://localhost:2380" constant DefaultListenClientURLs (line 88) | DefaultListenClientURLs = "http://localhost:2379" constant DefaultLogOutput (line 90) | DefaultLogOutput = "default" constant JournalLogOutput (line 91) | JournalLogOutput = "systemd/journal" constant StdErrLogOutput (line 92) | StdErrLogOutput = "stderr" constant StdOutLogOutput (line 93) | StdOutLogOutput = "stdout" constant DefaultLogRotationConfig (line 102) | DefaultLogRotationConfig = `{"maxsize": 100, "maxage": 0, "maxbackups": ... constant DefaultDistributedTracingAddress (line 105) | DefaultDistributedTracingAddress = "localhost:4317" constant DefaultDistributedTracingServiceName (line 107) | DefaultDistributedTracingServiceName = "etcd" constant DefaultStrictReconfigCheck (line 111) | DefaultStrictReconfigCheck = true constant maxElectionMs (line 115) | maxElectionMs = 50000 constant freelistArrayType (line 117) | freelistArrayType = "array" constant ServerFeatureGateFlagName (line 119) | ServerFeatureGateFlagName = "feature-gates" function init (line 155) | func init() { type Config (line 160) | type Config struct method AddFlags (line 595) | func (cfg *Config) AddFlags(fs *flag.FlagSet) { method Validate (line 934) | func (cfg *Config) Validate() error { method PeerURLsMapAndToken (line 1069) | func (cfg *Config) PeerURLsMapAndToken(which string) (urlsmap types.UR... method GetDNSClusterNames (line 1116) | func (cfg *Config) GetDNSClusterNames() ([]string, error) { method InitialClusterFromName (line 1163) | func (cfg *Config) InitialClusterFromName(name string) (ret string) { method InferLocalAddr (line 1182) | func (cfg *Config) InferLocalAddr() string { method IsNewCluster (line 1211) | func (cfg *Config) IsNewCluster() bool { return cfg.ClusterState == Cl... method ElectionTicks (line 1212) | func (cfg *Config) ElectionTicks() int { return int(cfg.ElectionMs / c... method V2DeprecationEffective (line 1214) | func (cfg *Config) V2DeprecationEffective() config.V2DeprecationEnum { method defaultPeerHost (line 1221) | func (cfg *Config) defaultPeerHost() bool { method defaultClientHost (line 1225) | func (cfg *Config) defaultClientHost() bool { method ClientSelfCert (line 1229) | func (cfg *Config) ClientSelfCert() (err error) { method PeerSelfCert (line 1251) | func (cfg *Config) PeerSelfCert() (err error) { method UpdateDefaultClusterFromName (line 1278) | func (cfg *Config) UpdateDefaultClusterFromName(defaultInitialCluster ... method getAdvertisePeerURLs (line 1348) | func (cfg *Config) getAdvertisePeerURLs() (ss []string) { method getListenPeerURLs (line 1356) | func (cfg *Config) getListenPeerURLs() (ss []string) { method getAdvertiseClientURLs (line 1364) | func (cfg *Config) getAdvertiseClientURLs() (ss []string) { method getListenClientURLs (line 1372) | func (cfg *Config) getListenClientURLs() (ss []string) { method getMetricsURLs (line 1380) | func (cfg *Config) getMetricsURLs() (ss []string) { type configYAML (line 461) | type configYAML struct method configFromFile (line 774) | func (cfg *configYAML) configFromFile(path string) error { type configJSON (line 467) | type configJSON struct type securityConfig (line 483) | type securityConfig struct function NewConfig (line 497) | func NewConfig() *Config { function ConfigFromFile (line 766) | func ConfigFromFile(path string) (*Config, error) { function updateCipherSuites (line 908) | func updateCipherSuites(tls *transport.TLSInfo, ss []string) error { function updateMinMaxVersions (line 922) | func updateMinMaxVersions(info *transport.TLSInfo, min, max string) { function checkBindURLs (line 1311) | func checkBindURLs(urls []url.URL) error { function checkHostURLs (line 1332) | func checkHostURLs(urls []url.URL) error { function parseBackendFreelistType (line 1388) | func parseBackendFreelistType(freelistType string) bolt.FreelistType { FILE: server/embed/config_logging.go method GetLogger (line 37) | func (cfg *Config) GetLogger() *zap.Logger { method setupLogging (line 46) | func (cfg *Config) setupLogging() error { function NewZapLoggerBuilder (line 216) | func NewZapLoggerBuilder(lg *zap.Logger) func(*Config) error { method SetupGlobalLoggers (line 230) | func (cfg *Config) SetupGlobalLoggers() { type logRotationConfig (line 243) | type logRotationConfig struct method Sync (line 248) | func (logRotationConfig) Sync() error { return nil } function setupLogRotation (line 251) | func setupLogRotation(logOutputs []string, logRotateConfigJSON string) e... FILE: server/embed/config_logging_journal_unix.go function getJournalWriteSyncer (line 29) | func getJournalWriteSyncer() (zapcore.WriteSyncer, error) { FILE: server/embed/config_logging_journal_windows.go function getJournalWriteSyncer (line 25) | func getJournalWriteSyncer() (zapcore.WriteSyncer, error) { FILE: server/embed/config_test.go function notFoundErr (line 43) | func notFoundErr(service, domain string) error { function TestConfigFileOtherFields (line 48) | func TestConfigFileOtherFields(t *testing.T) { function TestConfigFileFeatureGates (line 99) | func TestConfigFileFeatureGates(t *testing.T) { function TestUpdateDefaultClusterFromName (line 222) | func TestUpdateDefaultClusterFromName(t *testing.T) { function TestUpdateDefaultClusterFromNameOverwrite (line 244) | func TestUpdateDefaultClusterFromNameOverwrite(t *testing.T) { function TestInferLocalAddr (line 269) | func TestInferLocalAddr(t *testing.T) { function TestSetMemberLocalAddrValidate (line 400) | func TestSetMemberLocalAddrValidate(t *testing.T) { method equals (line 423) | func (s *securityConfig) equals(t *transport.TLSInfo) bool { function compareSlices (line 434) | func compareSlices(slice1, slice2 []string) bool { function mustCreateCfgFile (line 446) | func mustCreateCfgFile(t *testing.T, b []byte) *os.File { function TestAutoCompactionModeInvalid (line 460) | func TestAutoCompactionModeInvalid(t *testing.T) { function TestAutoCompactionModeParse (line 471) | func TestAutoCompactionModeParse(t *testing.T) { function TestPeerURLsMapAndTokenFromSRV (line 512) | func TestPeerURLsMapAndTokenFromSRV(t *testing.T) { function TestLeaseCheckpointValidate (line 592) | func TestLeaseCheckpointValidate(t *testing.T) { function TestLogRotation (line 627) | func TestLogRotation(t *testing.T) { function TestTLSVersionMinMax (line 709) | func TestTLSVersionMinMax(t *testing.T) { function TestUndefinedAutoCompactionModeValidate (line 786) | func TestUndefinedAutoCompactionModeValidate(t *testing.T) { function TestMatchNewConfigAddFlags (line 793) | func TestMatchNewConfigAddFlags(t *testing.T) { function TestCheckHostURLs (line 806) | func TestCheckHostURLs(t *testing.T) { function TestDiscoveryCfg (line 869) | func TestDiscoveryCfg(t *testing.T) { function TestFastLeaseKeepAliveValidate (line 917) | func TestFastLeaseKeepAliveValidate(t *testing.T) { FILE: server/embed/config_tracing.go constant maxSamplingRatePerMillion (line 32) | maxSamplingRatePerMillion = 1000000 function validateTracingConfig (line 34) | func validateTracingConfig(samplingRate int) error { type tracingExporter (line 45) | type tracingExporter struct method Close (line 115) | func (te *tracingExporter) Close(ctx context.Context) { function newTracingExporter (line 51) | func newTracingExporter(ctx context.Context, cfg *Config) (*tracingExpor... function determineSampler (line 124) | func determineSampler(samplingRate int) tracesdk.Sampler { function determineResourceWithIDKey (line 135) | func determineResourceWithIDKey(serviceInstanceID string) *resource.Reso... FILE: server/embed/config_tracing_test.go constant neverSampleDescription (line 21) | neverSampleDescription = "AlwaysOffSampler" function TestDetermineSampler (line 23) | func TestDetermineSampler(t *testing.T) { function TestTracingConfig (line 50) | func TestTracingConfig(t *testing.T) { FILE: server/embed/etcd.go constant reservedInternalFDNum (line 66) | reservedInternalFDNum = 150 type Etcd (line 70) | type Etcd struct method Config (line 389) | func (e *Etcd) Config() Config { method Close (line 414) | func (e *Etcd) Close() { method Err (line 527) | func (e *Etcd) Err() <-chan error { method servePeers (line 594) | func (e *Etcd) servePeers() { method serveClients (line 760) | func (e *Etcd) serveClients() { method grpcGatewayDial (line 808) | func (e *Etcd) grpcGatewayDial(splitHTTP bool) (grpcDial func(ctx cont... method pickGRPCGatewayServeContext (line 844) | func (e *Etcd) pickGRPCGatewayServeContext(splitHTTP bool) *serveCtx { method createMetricsListener (line 855) | func (e *Etcd) createMetricsListener(murl url.URL) (net.Listener, erro... method serveMetrics (line 871) | func (e *Etcd) serveMetrics() (err error) { method startHandler (line 897) | func (e *Etcd) startHandler(handler func() error) { method errHandler (line 906) | func (e *Etcd) errHandler(err error) { method GetLogger (line 922) | func (e *Etcd) GetLogger() *zap.Logger { type peerListener (line 101) | type peerListener struct function StartEtcd (line 110) | func StartEtcd(inCfg *Config) (e *Etcd, err error) { function print (line 303) | func print(lg *zap.Logger, ec Config, sc config.ServerConfig, memberInit... function stopServers (line 488) | func stopServers(ctx context.Context, ss *servers) { function configurePeerListeners (line 531) | func configurePeerListeners(cfg *Config) (peers []*peerListener, err err... function configureClientListeners (line 645) | func configureClientListeners(cfg *Config) (sctxs map[string]*serveCtx, ... function resolveURL (line 749) | func resolveURL(u url.URL) (addr string, secure bool, network string) { function parseCompactionRetention (line 929) | func parseCompactionRetention(mode, retention string) (ret time.Duration... FILE: server/embed/etcd_test.go function TestEmptyClientTLSInfo_createMetricsListener (line 26) | func TestEmptyClientTLSInfo_createMetricsListener(t *testing.T) { FILE: server/embed/serve.go type serveCtx (line 53) | type serveCtx struct method startHandler (line 83) | func (sctx *serveCtx) startHandler(errHandler func(error), handler fun... method serve (line 118) | func (sctx *serveCtx) serve( method registerGateway (line 322) | func (sctx *serveCtx) registerGateway(dial func(ctx context.Context) (... method createMux (line 389) | func (sctx *serveCtx) createMux(gwmux *gw.ServeMux, handler http.Handl... method registerUserHandler (line 533) | func (sctx *serveCtx) registerUserHandler(s string, h http.Handler) { method registerPprof (line 541) | func (sctx *serveCtx) registerPprof() { method registerTrace (line 547) | func (sctx *serveCtx) registerTrace() { method close (line 554) | func (sctx *serveCtx) close() { type servers (line 95) | type servers struct function newServeCtx (line 101) | func newServeCtx(lg *zap.Logger) *serveCtx { function configureHTTPServer (line 296) | func configureHTTPServer(srv *http.Server, cfg config.ServerConfig) error { function grpcHandlerFunc (line 305) | func grpcHandlerFunc(grpcServer *grpc.Server, otherHandler http.Handler)... type registerHandlerFunc (line 320) | type registerHandlerFunc type wsProxyZapLogger (line 377) | type wsProxyZapLogger struct method Warnln (line 381) | func (w wsProxyZapLogger) Warnln(i ...any) { method Debugln (line 385) | func (w wsProxyZapLogger) Debugln(i ...any) { function createAccessController (line 422) | func createAccessController(lg *zap.Logger, s *etcdserver.EtcdServer, mu... type accessController (line 429) | type accessController struct method ServeHTTP (line 435) | func (ac *accessController) ServeHTTP(rw http.ResponseWriter, req *htt... function addCORSHeader (line 484) | func addCORSHeader(w http.ResponseWriter, origin string) { function errCVE20185702 (line 491) | func errCVE20185702(host string) string { function WrapCORS (line 506) | func WrapCORS(cors map[string]struct{}, h http.Handler) http.Handler { type corsHandler (line 513) | type corsHandler struct method ServeHTTP (line 518) | func (ch *corsHandler) ServeHTTP(rw http.ResponseWriter, req *http.Req... FILE: server/embed/serve_test.go function TestStartEtcdWrongToken (line 29) | func TestStartEtcdWrongToken(t *testing.T) { function newEmbedURLs (line 52) | func newEmbedURLs(n int) (urls []url.URL) { FILE: server/embed/util.go function isMemberInitialized (line 23) | func isMemberInitialized(cfg *Config) bool { FILE: server/etcdmain/config.go type config (line 67) | type config struct method parse (line 123) | func (cfg *config) parse(arguments []string) error { method configFromCmdLine (line 191) | func (cfg *config) configFromCmdLine() error { method configFromFile (line 267) | func (cfg *config) configFromFile(path string) error { method validate (line 277) | func (cfg *config) validate() error { method parseWarningUnaryRequestDuration (line 284) | func (cfg *config) parseWarningUnaryRequestDuration() time.Duration { type configFlags (line 76) | type configFlags struct function newConfig (line 85) | func newConfig() *config { FILE: server/etcdmain/config_test.go function TestConfigParsingMemberFlags (line 39) | func TestConfigParsingMemberFlags(t *testing.T) { function TestConfigFileMemberFields (line 63) | func TestConfigFileMemberFields(t *testing.T) { function TestConfigParsingClusteringFlags (line 106) | func TestConfigParsingClusteringFlags(t *testing.T) { function TestConfigFileClusteringFields (line 123) | func TestConfigFileClusteringFields(t *testing.T) { function TestConfigFileClusteringFlags (line 156) | func TestConfigFileClusteringFlags(t *testing.T) { function TestConfigParsingConflictClusteringFlags (line 209) | func TestConfigParsingConflictClusteringFlags(t *testing.T) { function TestConfigFileConflictClusteringFlags (line 238) | func TestConfigFileConflictClusteringFlags(t *testing.T) { function TestConfigParsingMissedAdvertiseClientURLsFlag (line 287) | func TestConfigParsingMissedAdvertiseClientURLsFlag(t *testing.T) { function TestConfigIsNewCluster (line 329) | func TestConfigIsNewCluster(t *testing.T) { function TestConfigFileElectionTimeout (line 348) | func TestConfigFileElectionTimeout(t *testing.T) { function TestFlagsPresentInHelp (line 394) | func TestFlagsPresentInHelp(t *testing.T) { function TestParseFeatureGateFlags (line 409) | func TestParseFeatureGateFlags(t *testing.T) { function mustCreateCfgFile (line 454) | func mustCreateCfgFile(t *testing.T, b []byte) *os.File { function validateMemberFlags (line 472) | func validateMemberFlags(t *testing.T, cfg *config) { function validateClusteringFlags (line 514) | func validateClusteringFlags(t *testing.T, cfg *config) { function TestConfigFileDeprecatedOptions (line 539) | func TestConfigFileDeprecatedOptions(t *testing.T) { FILE: server/etcdmain/etcd.go type dirType (line 35) | type dirType function startEtcdOrProxyV2 (line 43) | func startEtcdOrProxyV2(args []string) { function startEtcd (line 180) | func startEtcd(cfg *embed.Config) (<-chan struct{}, <-chan error, error) { function identifyDataDirOrDie (line 195) | func identifyDataDirOrDie(lg *zap.Logger, dir string) dirType { function checkSupportArch (line 232) | func checkSupportArch() { FILE: server/etcdmain/gateway.go function init (line 47) | func init() { function newGatewayCommand (line 52) | func newGatewayCommand() *cobra.Command { function newGatewayStartCommand (line 62) | func newGatewayStartCommand() *cobra.Command { function stripSchema (line 82) | func stripSchema(eps []string) []string { function startGateway (line 93) | func startGateway(cmd *cobra.Command, args []string) { FILE: server/etcdmain/grpc_proxy.go constant defaultGRPCMaxCallSendMsgSize (line 115) | defaultGRPCMaxCallSendMsgSize = 1.5 * 1024 * 1024 function init (line 117) | func init() { function newGRPCProxyCommand (line 122) | func newGRPCProxyCommand() *cobra.Command { function newGRPCProxyStartCommand (line 132) | func newGRPCProxyStartCommand() *cobra.Command { function startGRPCProxy (line 190) | func startGRPCProxy(cmd *cobra.Command, args []string) { function checkArgs (line 292) | func checkArgs() { function mustNewClient (line 334) | func mustNewClient(lg *zap.Logger) *clientv3.Client { function mustNewProxyClient (line 358) | func mustNewProxyClient(lg *zap.Logger, tls *transport.TLSInfo) *clientv... function newProxyHealthClient (line 374) | func newProxyHealthClient(lg *zap.Logger, tls *transport.TLSInfo) *clien... function newProxyClientCfg (line 381) | func newProxyClientCfg(lg *zap.Logger, eps []string, tls *transport.TLSI... function newClientCfg (line 397) | func newClientCfg(lg *zap.Logger, eps []string) (*clientv3.Config, error) { function newTLS (line 438) | func newTLS(ca, cert, key string, requireEmptyCN bool) *transport.TLSInfo { function mustListenCMux (line 445) | func mustListenCMux(lg *zap.Logger, tlsinfo *transport.TLSInfo) cmux.CMux { function newGRPCProxyServer (line 467) | func newGRPCProxyServer(lg *zap.Logger, client *clientv3.Client) *grpc.S... function mustMatchHTTPListener (line 556) | func mustMatchHTTPListener(m cmux.CMux, tlsinfo *transport.TLSInfo) net.... function mustHTTPServer (line 563) | func mustHTTPServer(lg *zap.Logger, tlsinfo *transport.TLSInfo, httpClie... function maybeServeMetrics (line 598) | func maybeServeMetrics(lg *zap.Logger, tlsinfo *transport.TLSInfo, httpC... function startServe (line 619) | func startServe(errc chan<- error, serve func() error) { function mustNewHTTPClient (line 623) | func mustNewHTTPClient() *http.Client { function newHTTPTransport (line 632) | func newHTTPTransport(ca, cert, key string) (*http.Transport, error) { function mustMetricsListener (line 659) | func mustMetricsListener(lg *zap.Logger, tlsinfo *transport.TLSInfo) net... FILE: server/etcdmain/grpc_proxy_logger.go type grpcProxyLogger (line 33) | type grpcProxyLogger struct method PostCall (line 45) | func (r *grpcProxyLogger) PostCall(_ error, _ time.Duration) { method PostMsgReceive (line 49) | func (r *grpcProxyLogger) PostMsgReceive(payload any, err error, _ tim... method PostMsgSend (line 55) | func (r *grpcProxyLogger) PostMsgSend(payload any, err error, _ time.D... constant responseCallType (line 41) | responseCallType = "response" constant requestCallType (line 42) | requestCallType = "request" function logFieldsFromPayload (line 61) | func logFieldsFromPayload(payload any, err error, callType string) []zap... function protoToJSON (line 78) | func protoToJSON(msg proto.Message) (string, error) { function reportable (line 86) | func reportable(lg *zap.Logger) interceptors.CommonReportableFunc { FILE: server/etcdmain/grpc_proxy_logger_test.go type loggingPayloadSuite (line 32) | type loggingPayloadSuite struct method SetupTest (line 55) | func (s *loggingPayloadSuite) SetupTest() { method TestPing_LogsBothRequestAndResponse (line 60) | func (s *loggingPayloadSuite) TestPing_LogsBothRequestAndResponse() { method TestPingError_LogsError (line 68) | func (s *loggingPayloadSuite) TestPingError_LogsError() { method TestPingStream_LogsAllRequestsAndResponses (line 77) | func (s *loggingPayloadSuite) TestPingStream_LogsAllRequestsAndRespons... method assertField (line 104) | func (s *loggingPayloadSuite) assertField(key, expectedValue string, e... function TestLoggingPayloadSuite (line 38) | func TestLoggingPayloadSuite(t *testing.T) { function waitUntil (line 114) | func waitUntil(interval time.Duration, stopc <-chan struct{}, f func() e... FILE: server/etcdmain/main.go function Main (line 25) | func Main(args []string) { function notifySystemd (line 43) | func notifySystemd(lg *zap.Logger) { FILE: server/etcdmain/util.go function discoverEndpoints (line 27) | func discoverEndpoints(lg *zap.Logger, dns string, ca string, insecure b... FILE: server/etcdserver/adapters.go type serverVersionAdapter (line 32) | type serverVersionAdapter struct method UpdateClusterVersion (line 44) | func (s *serverVersionAdapter) UpdateClusterVersion(version string) { method LinearizableReadNotify (line 48) | func (s *serverVersionAdapter) LinearizableReadNotify(ctx context.Cont... method DowngradeEnable (line 52) | func (s *serverVersionAdapter) DowngradeEnable(ctx context.Context, ta... method DowngradeCancel (line 58) | func (s *serverVersionAdapter) DowngradeCancel(ctx context.Context) er... method GetClusterVersion (line 64) | func (s *serverVersionAdapter) GetClusterVersion() *semver.Version { method GetDowngradeInfo (line 68) | func (s *serverVersionAdapter) GetDowngradeInfo() *serverversion.Downg... method GetMembersVersions (line 72) | func (s *serverVersionAdapter) GetMembersVersions() map[string]*versio... method GetStorageVersion (line 76) | func (s *serverVersionAdapter) GetStorageVersion() *semver.Version { method UpdateStorageVersion (line 80) | func (s *serverVersionAdapter) UpdateStorageVersion(target semver.Vers... function NewServerVersionAdapter (line 36) | func NewServerVersionAdapter(s *EtcdServer) serverversion.Server { FILE: server/etcdserver/api/capability.go type Capability (line 27) | type Capability constant AuthCapability (line 30) | AuthCapability Capability = "auth" constant V3rpcCapability (line 31) | V3rpcCapability Capability = "v3rpc" function init (line 54) | func init() { function UpdateCapability (line 62) | func UpdateCapability(lg *zap.Logger, v *semver.Version) { function IsCapabilityEnabled (line 84) | func IsCapabilityEnabled(c Capability) bool { function EnableCapability (line 93) | func EnableCapability(c Capability) { FILE: server/etcdserver/api/cluster.go type Cluster (line 25) | type Cluster interface FILE: server/etcdserver/api/etcdhttp/debug.go constant varsPath (line 24) | varsPath = "/debug/vars" function HandleDebug (line 27) | func HandleDebug(mux *http.ServeMux) { function serveVars (line 31) | func serveVars(w http.ResponseWriter, r *http.Request) { FILE: server/etcdserver/api/etcdhttp/health.go constant PathHealth (line 40) | PathHealth = "/health" constant PathProxyHealth (line 41) | PathProxyHealth = "/proxy/health" constant HealthStatusSuccess (line 42) | HealthStatusSuccess string = "success" constant HealthStatusError (line 43) | HealthStatusError string = "error" constant checkTypeLivez (line 44) | checkTypeLivez = "livez" constant checkTypeReadyz (line 45) | checkTypeReadyz = "readyz" constant checkTypeHealth (line 46) | checkTypeHealth = "health" type ServerHealth (line 49) | type ServerHealth interface function HandleHealth (line 60) | func HandleHealth(lg *zap.Logger, mux *http.ServeMux, srv ServerHealth) { function NewHealthHandler (line 76) | func NewHealthHandler(lg *zap.Logger, hfunc func(ctx context.Context, ex... function init (line 143) | func init() { type Health (line 152) | type Health struct type HealthStatus (line 158) | type HealthStatus struct function getQuerySet (line 163) | func getQuerySet(r *http.Request, query string) StringSet { function getSerializableFlag (line 177) | func getSerializableFlag(r *http.Request) bool { function checkAlarms (line 183) | func checkAlarms(lg *zap.Logger, srv ServerHealth, excludedAlarms String... function checkLeader (line 209) | func checkLeader(lg *zap.Logger, srv ServerHealth, serializable bool) He... function checkAPI (line 219) | func checkAPI(ctx context.Context, lg *zap.Logger, srv ServerHealth, ser... type HealthCheck (line 236) | type HealthCheck type CheckRegistry (line 238) | type CheckRegistry struct method Register (line 263) | func (reg *CheckRegistry) Register(name string, check HealthCheck) { method RootPath (line 267) | func (reg *CheckRegistry) RootPath() string { method InstallHttpEndpoints (line 276) | func (reg *CheckRegistry) InstallHttpEndpoints(lg *zap.Logger, mux *ht... method InstallHTTPEndpoints (line 280) | func (reg *CheckRegistry) InstallHTTPEndpoints(lg *zap.Logger, mux *ht... method runHealthChecks (line 298) | func (reg *CheckRegistry) runHealthChecks(ctx context.Context, checkNa... method installRootHTTPEndpoint (line 320) | func (reg *CheckRegistry) installRootHTTPEndpoint(lg *zap.Logger, mux ... function installLivezEndpoints (line 243) | func installLivezEndpoints(lg *zap.Logger, mux *http.ServeMux, server Se... function installReadyzEndpoints (line 249) | func installReadyzEndpoints(lg *zap.Logger, mux *http.ServeMux, server S... function newHealthHandler (line 333) | func newHealthHandler(path string, lg *zap.Logger, hfunc func(*http.Requ... function filterCheckList (line 359) | func filterCheckList(lg *zap.Logger, checks StringSet, excluded StringSe... function formatQuoted (line 377) | func formatQuoted(names ...string) string { type StringSet (line 385) | type StringSet method List (line 387) | func (s StringSet) List() []string { function listToStringSet (line 395) | func listToStringSet(list []string) StringSet { function recordMetrics (line 403) | func recordMetrics(checkType, name string, status string) { function activeAlarmCheck (line 420) | func activeAlarmCheck(srv ServerHealth, at pb.AlarmType) func(context.Co... function readCheck (line 432) | func readCheck(srv ServerHealth, serializable bool) func(ctx context.Con... function learnerCheck (line 440) | func learnerCheck(srv ServerHealth) func(ctx context.Context) error { FILE: server/etcdserver/api/etcdhttp/health_test.go type fakeHealthServer (line 39) | type fakeHealthServer struct method Range (line 48) | func (s *fakeHealthServer) Range(_ context.Context, req *pb.RangeReque... method IsLearner (line 55) | func (s *fakeHealthServer) IsLearner() bool { method Config (line 59) | func (s *fakeHealthServer) Config() config.ServerConfig { method Leader (line 63) | func (s *fakeHealthServer) Leader() types.ID { method AuthStore (line 70) | func (s *fakeHealthServer) AuthStore() auth.AuthStore { return s.authS... method ClientCertAuthEnabled (line 72) | func (s *fakeHealthServer) ClientCertAuthEnabled() bool { return false } type healthTestCase (line 74) | type healthTestCase struct function TestHealthHandler (line 87) | func TestHealthHandler(t *testing.T) { function TestHTTPSubPath (line 173) | func TestHTTPSubPath(t *testing.T) { function TestDataCorruptionCheck (line 217) | func TestDataCorruptionCheck(t *testing.T) { function TestSerializableReadCheck (line 274) | func TestSerializableReadCheck(t *testing.T) { function TestLinearizableReadCheck (line 316) | func TestLinearizableReadCheck(t *testing.T) { function TestLearnerReadyCheck (line 357) | func TestLearnerReadyCheck(t *testing.T) { function checkHTTPResponse (line 393) | func checkHTTPResponse(t *testing.T, ts *httptest.Server, url string, ex... function checkMetrics (line 421) | func checkMetrics(t *testing.T, url, checkName string, expectStatusCode ... FILE: server/etcdserver/api/etcdhttp/metrics.go constant PathMetrics (line 24) | PathMetrics = "/metrics" constant PathProxyMetrics (line 25) | PathProxyMetrics = "/proxy/metrics" function HandleMetrics (line 29) | func HandleMetrics(mux *http.ServeMux) { FILE: server/etcdserver/api/etcdhttp/peer.go constant peerMembersPath (line 39) | peerMembersPath = "/members" constant peerMemberPromotePrefix (line 40) | peerMemberPromotePrefix = "/members/promote/" function NewPeerHandler (line 44) | func NewPeerHandler(lg *zap.Logger, s etcdserver.ServerPeerV2) http.Hand... function newPeerHandler (line 48) | func newPeerHandler( function newPeerMembersHandler (line 82) | func newPeerMembersHandler(lg *zap.Logger, cluster api.Cluster) http.Han... type peerMembersHandler (line 89) | type peerMembersHandler struct method ServeHTTP (line 108) | func (h *peerMembersHandler) ServeHTTP(w http.ResponseWriter, r *http.... function newPeerMemberPromoteHandler (line 94) | func newPeerMemberPromoteHandler(lg *zap.Logger, s etcdserver.Server) ht... type peerMemberPromoteHandler (line 102) | type peerMemberPromoteHandler struct method ServeHTTP (line 125) | func (h *peerMemberPromoteHandler) ServeHTTP(w http.ResponseWriter, r ... FILE: server/etcdserver/api/etcdhttp/peer_test.go type fakeCluster (line 40) | type fakeCluster struct method ID (line 46) | func (c *fakeCluster) ID() types.ID { return types.ID(c.id) } method ClientURLs (line 47) | func (c *fakeCluster) ClientURLs() []string { return c.clientURLs } method Members (line 48) | func (c *fakeCluster) Members() []*membership.Member { method Member (line 56) | func (c *fakeCluster) Member(id types.ID) *membership.Member { return ... method Version (line 57) | func (c *fakeCluster) Version() *semver.Version { return ... type fakeServer (line 59) | type fakeServer struct method AddMember (line 64) | func (s *fakeServer) AddMember(ctx context.Context, memb membership.Me... method RemoveMember (line 68) | func (s *fakeServer) RemoveMember(ctx context.Context, id uint64) ([]*... method UpdateMember (line 72) | func (s *fakeServer) UpdateMember(ctx context.Context, updateMemb memb... method PromoteMember (line 76) | func (s *fakeServer) PromoteMember(ctx context.Context, id uint64) ([]... method ClusterVersion (line 79) | func (s *fakeServer) ClusterVersion() *semver.Version { return nil } method StorageVersion (line 80) | func (s *fakeServer) StorageVersion() *semver.Version { return nil } method Cluster (line 81) | func (s *fakeServer) Cluster() api.Cluster { return s.... method Alarms (line 82) | func (s *fakeServer) Alarms() []*pb.AlarmMember { return s.... method LeaderChangedNotify (line 83) | func (s *fakeServer) LeaderChangedNotify() <-chan struct{} { return nil } function TestNewPeerHandlerOnRaftPrefix (line 91) | func TestNewPeerHandlerOnRaftPrefix(t *testing.T) { function TestServeMembersFails (line 117) | func TestServeMembersFails(t *testing.T) { function TestServeMembersGet (line 153) | func TestServeMembersGet(t *testing.T) { function TestServeMemberPromoteFails (line 203) | func TestServeMemberPromoteFails(t *testing.T) { function TestNewPeerHandlerOnMembersPromotePrefix (line 240) | func TestNewPeerHandlerOnMembersPromotePrefix(t *testing.T) { FILE: server/etcdserver/api/etcdhttp/types/errors.go type HTTPError (line 23) | type HTTPError struct method Error (line 29) | func (e HTTPError) Error() string { method WriteTo (line 33) | func (e HTTPError) WriteTo(w http.ResponseWriter) error { function NewHTTPError (line 46) | func NewHTTPError(code int, m string) *HTTPError { FILE: server/etcdserver/api/etcdhttp/types/errors_test.go function TestHTTPErrorWriteTo (line 24) | func TestHTTPErrorWriteTo(t *testing.T) { FILE: server/etcdserver/api/etcdhttp/utils.go function allowMethod (line 28) | func allowMethod(w http.ResponseWriter, r *http.Request, m string) bool { function writeError (line 40) | func writeError(lg *zap.Logger, w http.ResponseWriter, r *http.Request, ... FILE: server/etcdserver/api/etcdhttp/version.go constant versionPath (line 27) | versionPath = "/version" function HandleVersion (line 30) | func HandleVersion(mux *http.ServeMux, server etcdserver.Server) { function versionHandler (line 34) | func versionHandler(server etcdserver.Server, fn func(http.ResponseWrite... function serveVersion (line 49) | func serveVersion(w http.ResponseWriter, r *http.Request, clusterV, stor... FILE: server/etcdserver/api/etcdhttp/version_test.go function TestServeVersion (line 26) | func TestServeVersion(t *testing.T) { function TestServeVersionFails (line 53) | func TestServeVersionFails(t *testing.T) { FILE: server/etcdserver/api/membership/cluster.go type RaftCluster (line 43) | type RaftCluster struct method ID (line 121) | func (c *RaftCluster) ID() types.ID { return c.cid } method Members (line 123) | func (c *RaftCluster) Members() []*Member { method Member (line 134) | func (c *RaftCluster) Member(id types.ID) *Member { method VotingMembers (line 140) | func (c *RaftCluster) VotingMembers() []*Member { method MemberByName (line 155) | func (c *RaftCluster) MemberByName(name string) *Member { method MemberIDs (line 170) | func (c *RaftCluster) MemberIDs() []types.ID { method IsIDRemoved (line 181) | func (c *RaftCluster) IsIDRemoved(id types.ID) bool { method PeerURLs (line 189) | func (c *RaftCluster) PeerURLs() []string { method ClientURLs (line 202) | func (c *RaftCluster) ClientURLs() []string { method String (line 213) | func (c *RaftCluster) String() string { method genID (line 231) | func (c *RaftCluster) genID() { method SetID (line 241) | func (c *RaftCluster) SetID(localID, cid types.ID) { method SetBackend (line 247) | func (c *RaftCluster) SetBackend(be MembershipBackend) { method SetVersionChangedNotifier (line 252) | func (c *RaftCluster) SetVersionChangedNotifier(n *notify.Notifier) { method UnsafeLoad (line 256) | func (c *RaftCluster) UnsafeLoad() { method Recover (line 262) | func (c *RaftCluster) Recover(onSet func(*zap.Logger, *semver.Version)) { method ValidateConfigurationChange (line 305) | func (c *RaftCluster) ValidateConfigurationChange(cc raftpb.ConfChange... method AddMember (line 393) | func (c *RaftCluster) AddMember(m *Member, shouldApplyV3 ShouldApplyV3) { method RemoveMember (line 428) | func (c *RaftCluster) RemoveMember(id types.ID, shouldApplyV3 ShouldAp... method UpdateAttributes (line 466) | func (c *RaftCluster) UpdateAttributes(id types.ID, attr Attributes, s... method PromoteMember (line 497) | func (c *RaftCluster) PromoteMember(id types.ID, shouldApplyV3 ShouldA... method UpdateRaftAttributes (line 534) | func (c *RaftCluster) UpdateRaftAttributes(id types.ID, raftAttr RaftA... method Version (line 586) | func (c *RaftCluster) Version() *semver.Version { method SetVersion (line 595) | func (c *RaftCluster) SetVersion(ver *semver.Version, onSet func(*zap.... method IsReadyToAddVotingMember (line 632) | func (c *RaftCluster) IsReadyToAddVotingMember() bool { method IsReadyToRemoveVotingMember (line 665) | func (c *RaftCluster) IsReadyToRemoveVotingMember(id uint64) bool { method IsReadyToPromoteMember (line 695) | func (c *RaftCluster) IsReadyToPromoteMember(id uint64) bool { method IsLocalMemberLearner (line 792) | func (c *RaftCluster) IsLocalMemberLearner() bool { method DowngradeInfo (line 807) | func (c *RaftCluster) DowngradeInfo() *serverversion.DowngradeInfo { method SetDowngradeInfo (line 817) | func (c *RaftCluster) SetDowngradeInfo(d *serverversion.DowngradeInfo,... method IsMemberExist (line 829) | func (c *RaftCluster) IsMemberExist(id types.ID) bool { method VotingMemberIDs (line 839) | func (c *RaftCluster) VotingMemberIDs() []types.ID { method buildMembershipMetric (line 854) | func (c *RaftCluster) buildMembershipMetric() { method updateMembershipMetric (line 869) | func (c *RaftCluster) updateMembershipMetric(peer types.ID, known bool) { method Store (line 902) | func (c *RaftCluster) Store(store v2store.Store) { type ConfigChangeContext (line 64) | type ConfigChangeContext struct type ShouldApplyV3 (line 72) | type ShouldApplyV3 constant ApplyBoth (line 75) | ApplyBoth = ShouldApplyV3(true) constant ApplyV2storeOnly (line 76) | ApplyV2storeOnly = ShouldApplyV3(false) function NewClusterFromURLsMap (line 81) | func NewClusterFromURLsMap(lg *zap.Logger, token string, urlsmap types.U... function NewClusterFromMembers (line 97) | func NewClusterFromMembers(lg *zap.Logger, id types.ID, membs []*Member,... function NewCluster (line 106) | func NewCluster(lg *zap.Logger, opts ...ClusterOption) *RaftCluster { function MembersFromStore (line 721) | func MembersFromStore(lg *zap.Logger, st v2store.Store) (map[types.ID]*M... function ValidateClusterAndAssignIDs (line 761) | func ValidateClusterAndAssignIDs(lg *zap.Logger, local *RaftCluster, exi... function ValidateMaxLearnerConfig (line 883) | func ValidateMaxLearnerConfig(maxLearners int, members []*Member, scaleU... FILE: server/etcdserver/api/membership/cluster_opts.go constant DefaultMaxLearners (line 17) | DefaultMaxLearners = 1 type ClusterOptions (line 19) | type ClusterOptions struct method applyOpts (line 32) | func (co *ClusterOptions) applyOpts(opts []ClusterOption) { type ClusterOption (line 24) | type ClusterOption function newClusterOpts (line 26) | func newClusterOpts(opts ...ClusterOption) *ClusterOptions { function WithMaxLearners (line 39) | func WithMaxLearners(max int) ClusterOption { FILE: server/etcdserver/api/membership/cluster_test.go function TestClusterMember (line 33) | func TestClusterMember(t *testing.T) { function TestClusterMemberByName (line 58) | func TestClusterMemberByName(t *testing.T) { function TestClusterMemberIDs (line 83) | func TestClusterMemberIDs(t *testing.T) { function TestClusterPeerURLs (line 96) | func TestClusterPeerURLs(t *testing.T) { function TestClusterClientURLs (line 151) | func TestClusterClientURLs(t *testing.T) { function TestClusterValidateAndAssignIDsBad (line 206) | func TestClusterValidateAndAssignIDsBad(t *testing.T) { function TestClusterValidateAndAssignIDs (line 248) | func TestClusterValidateAndAssignIDs(t *testing.T) { function TestClusterValidateConfigurationChangeV3 (line 278) | func TestClusterValidateConfigurationChangeV3(t *testing.T) { function TestClusterGenID (line 465) | func TestClusterGenID(t *testing.T) { function TestNodeToMemberBad (line 487) | func TestNodeToMemberBad(t *testing.T) { function TestClusterAddMember (line 519) | func TestClusterAddMember(t *testing.T) { function TestClusterAddMemberAsLearner (line 534) | func TestClusterAddMemberAsLearner(t *testing.T) { function TestClusterMembers (line 551) | func TestClusterMembers(t *testing.T) { function TestClusterRemoveMember (line 571) | func TestClusterRemoveMember(t *testing.T) { function TestClusterUpdateAttributes (line 587) | func TestClusterUpdateAttributes(t *testing.T) { function TestNodeToMember (line 644) | func TestNodeToMember(t *testing.T) { function newTestCluster (line 659) | func newTestCluster(tb testing.TB, membs []*Member) *RaftCluster { function stringp (line 672) | func stringp(s string) *string { return &s } function TestIsReadyToAddVotingMember (line 674) | func TestIsReadyToAddVotingMember(t *testing.T) { function TestIsReadyToRemoveVotingMember (line 776) | func TestIsReadyToRemoveVotingMember(t *testing.T) { function TestIsReadyToPromoteMember (line 908) | func TestIsReadyToPromoteMember(t *testing.T) { function TestPromoteMember (line 995) | func TestPromoteMember(t *testing.T) { function TestUpdateRaftAttributes (line 1055) | func TestUpdateRaftAttributes(t *testing.T) { function TestClusterStore (line 1103) | func TestClusterStore(t *testing.T) { FILE: server/etcdserver/api/membership/errors.go function isKeyNotFound (line 32) | func isKeyNotFound(err error) bool { FILE: server/etcdserver/api/membership/member.go type RaftAttributes (line 29) | type RaftAttributes struct type Attributes (line 38) | type Attributes struct type Member (line 43) | type Member struct method Clone (line 90) | func (m *Member) Clone() *Member { method IsStarted (line 114) | func (m *Member) IsStarted() bool { function NewMember (line 51) | func NewMember(name string, peerURLs types.URLs, clusterName string, now... function NewMemberAsLearner (line 58) | func NewMemberAsLearner(name string, peerURLs types.URLs, clusterName st... function computeMemberID (line 63) | func computeMemberID(peerURLs types.URLs, clusterName string, now *time.... function newMember (line 78) | func newMember(name string, peerURLs types.URLs, memberID types.ID, isLe... type MembersByID (line 119) | type MembersByID method Len (line 121) | func (ms MembersByID) Len() int { return len(ms) } method Less (line 122) | func (ms MembersByID) Less(i, j int) bool { return ms[i].ID < ms[j].ID } method Swap (line 123) | func (ms MembersByID) Swap(i, j int) { ms[i], ms[j] = ms[j], ms[i] } type MembersByPeerURLs (line 126) | type MembersByPeerURLs method Len (line 128) | func (ms MembersByPeerURLs) Len() int { return len(ms) } method Less (line 129) | func (ms MembersByPeerURLs) Less(i, j int) bool { method Swap (line 132) | func (ms MembersByPeerURLs) Swap(i, j int) { ms[i], ms[j] = ms[j], ms[... FILE: server/etcdserver/api/membership/member_test.go function timeParse (line 26) | func timeParse(value string) *time.Time { function TestMemberTime (line 34) | func TestMemberTime(t *testing.T) { function TestMemberClone (line 58) | func TestMemberClone(t *testing.T) { function newTestMember (line 76) | func newTestMember(id uint64, peerURLs []string, name string, clientURLs... function newTestMemberAsLearner (line 84) | func newTestMemberAsLearner(id uint64, peerURLs []string, name string, c... FILE: server/etcdserver/api/membership/membership_test.go function TestAddRemoveMember (line 28) | func TestAddRemoveMember(t *testing.T) { type backendMock (line 52) | type backendMock struct method MustCreateBackendBuckets (line 69) | func (b *backendMock) MustCreateBackendBuckets() {} method ClusterVersionFromBackend (line 71) | func (b *backendMock) ClusterVersionFromBackend() *semver.Version { re... method MustSaveClusterVersionToBackend (line 72) | func (b *backendMock) MustSaveClusterVersionToBackend(version *semver.... method MustReadMembersFromBackend (line 76) | func (b *backendMock) MustReadMembersFromBackend() (x map[types.ID]*Me... method MustSaveMemberToBackend (line 80) | func (b *backendMock) MustSaveMemberToBackend(m *Member) { method TrimMembershipFromBackend (line 84) | func (b *backendMock) TrimMembershipFromBackend() error { method MustDeleteMemberFromBackend (line 90) | func (b *backendMock) MustDeleteMemberFromBackend(id types.ID) { method MustSaveDowngradeToBackend (line 95) | func (b *backendMock) MustSaveDowngradeToBackend(downgradeInfo *server... method DowngradeInfoFromBackend (line 98) | func (b *backendMock) DowngradeInfoFromBackend() *serverversion.Downgr... function newMembershipBackend (line 61) | func newMembershipBackend() MembershipBackend { FILE: server/etcdserver/api/membership/metrics.go function setIsLearnerMetric (line 46) | func setIsLearnerMetric(m *Member) { function init (line 54) | func init() { FILE: server/etcdserver/api/membership/store.go type MembershipBackend (line 27) | type MembershipBackend interface type ClusterVersionBackend (line 34) | type ClusterVersionBackend interface type MemberBackend (line 39) | type MemberBackend interface type DowngradeInfoBackend (line 46) | type DowngradeInfoBackend interface function MustParseMemberIDFromKey (line 51) | func MustParseMemberIDFromKey(lg *zap.Logger, key string) types.ID { FILE: server/etcdserver/api/membership/storev2.go constant storePrefix (line 31) | storePrefix = "/0" constant attributesSuffix (line 33) | attributesSuffix = "attributes" constant raftAttributesSuffix (line 34) | raftAttributesSuffix = "raftAttributes" function IsMetaStoreOnly (line 45) | func IsMetaStoreOnly(store v2store.Store) (bool, error) { function verifyNoMembersInStore (line 117) | func verifyNoMembersInStore(lg *zap.Logger, s v2store.Store) { function mustSaveMemberToStore (line 124) | func mustSaveMemberToStore(lg *zap.Logger, s v2store.Store, m *Member) { function mustAddToRemovedMembersInStore (line 139) | func mustAddToRemovedMembersInStore(lg *zap.Logger, s v2store.Store, id ... function mustUpdateMemberAttrInStore (line 149) | func mustUpdateMemberAttrInStore(lg *zap.Logger, s v2store.Store, m *Mem... function mustSaveClusterVersionToStore (line 164) | func mustSaveClusterVersionToStore(lg *zap.Logger, s v2store.Store, ver ... function nodeToMember (line 176) | func nodeToMember(lg *zap.Logger, n *v2store.NodeExtern) (*Member, error) { function StoreClusterVersionKey (line 202) | func StoreClusterVersionKey() string { function RemovedMemberStoreKey (line 206) | func RemovedMemberStoreKey(id types.ID) string { function MemberStoreKey (line 210) | func MemberStoreKey(id types.ID) string { function MemberAttributesStorePath (line 214) | func MemberAttributesStorePath(id types.ID) string { FILE: server/etcdserver/api/membership/storev2_test.go function TestIsMetaStoreOnly (line 28) | func TestIsMetaStoreOnly(t *testing.T) { function TestIsMetaStoreOnlyWithAuthData (line 58) | func TestIsMetaStoreOnlyWithAuthData(t *testing.T) { FILE: server/etcdserver/api/rafthttp/coder.go type encoder (line 19) | type encoder interface type decoder (line 24) | type decoder interface FILE: server/etcdserver/api/rafthttp/fake_roundtripper_test.go method RoundTrip (line 22) | func (t *roundTripperBlocker) RoundTrip(req *http.Request) (*http.Respon... FILE: server/etcdserver/api/rafthttp/functional_test.go function TestSendMessage (line 32) | func TestSendMessage(t *testing.T) { function TestSendMessageWhenStreamIsBroken (line 90) | func TestSendMessageWhenStreamIsBroken(t *testing.T) { function newServerStats (line 144) | func newServerStats() *stats.ServerStats { function waitStreamWorking (line 148) | func waitStreamWorking(p *peer) bool { type fakeRaft (line 162) | type fakeRaft struct method Process (line 168) | func (p *fakeRaft) Process(ctx context.Context, m raftpb.Message) error { method IsIDRemoved (line 176) | func (p *fakeRaft) IsIDRemoved(id uint64) bool { return id == p.remove... method ReportUnreachable (line 178) | func (p *fakeRaft) ReportUnreachable(id uint64) {} method ReportSnapshot (line 180) | func (p *fakeRaft) ReportSnapshot(id uint64, status raft.SnapshotStatu... FILE: server/etcdserver/api/rafthttp/http.go constant connReadLimitByte (line 44) | connReadLimitByte = 64 * 1024 constant snapshotLimitByte (line 47) | snapshotLimitByte = 1 * 1024 * 1024 * 1024 * 1024 type peerGetter (line 60) | type peerGetter interface type writerToResponse (line 64) | type writerToResponse interface type pipelineHandler (line 68) | type pipelineHandler struct method ServeHTTP (line 95) | func (h *pipelineHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function newPipelineHandler (line 81) | func newPipelineHandler(t *Transport, r Raft, cid types.ID) http.Handler { type snapshotHandler (line 164) | type snapshotHandler struct method ServeHTTP (line 200) | func (h *snapshotHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function newSnapshotHandler (line 174) | func newSnapshotHandler(t *Transport, r Raft, snapshotter *snap.Snapshot... constant unknownSnapshotSender (line 189) | unknownSnapshotSender = "UNKNOWN_SNAPSHOT_SENDER" type streamHandler (line 326) | type streamHandler struct method ServeHTTP (line 350) | func (h *streamHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque... function newStreamHandler (line 335) | func newStreamHandler(t *Transport, pg peerGetter, r Raft, id, cid types... function checkClusterCompatibilityFromHeader (line 461) | func checkClusterCompatibilityFromHeader(lg *zap.Logger, localID types.I... type closeNotifier (line 518) | type closeNotifier struct method Close (line 528) | func (n *closeNotifier) Close() error { method closeNotify (line 533) | func (n *closeNotifier) closeNotify() <-chan struct{} { return n.done } function newCloseNotifier (line 522) | func newCloseNotifier() *closeNotifier { FILE: server/etcdserver/api/rafthttp/http_test.go function TestServeRaftPrefix (line 38) | func TestServeRaftPrefix(t *testing.T) { function TestServeRaftStreamPrefix (line 175) | func TestServeRaftStreamPrefix(t *testing.T) { function TestServeRaftStreamPrefixBad (line 222) | func TestServeRaftStreamPrefixBad(t *testing.T) { function TestCloseNotifier (line 326) | func TestCloseNotifier(t *testing.T) { type errReader (line 342) | type errReader struct method Read (line 344) | func (er *errReader) Read(_ []byte) (int, error) { return 0, errors.Ne... type resWriterToError (line 346) | type resWriterToError struct method Error (line 350) | func (e *resWriterToError) Error() string { return "" } method WriteTo (line 351) | func (e *resWriterToError) WriteTo(w http.ResponseWriter) { w.WriteHea... type fakePeerGetter (line 353) | type fakePeerGetter struct method Get (line 357) | func (pg *fakePeerGetter) Get(id types.ID) Peer { return pg.peers[id] } type fakePeer (line 359) | type fakePeer struct method send (line 375) | func (pr *fakePeer) send(m raftpb.Message) { method sendSnap (line 382) | func (pr *fakePeer) sendSnap(m snap.Message) { method update (line 389) | func (pr *fakePeer) update(urls types.URLs) { pr.peerUR... method attachOutgoingConn (line 390) | func (pr *fakePeer) attachOutgoingConn(conn *outgoingConn) { pr.connc ... method activeSince (line 391) | func (pr *fakePeer) activeSince() time.Time { return ti... method stop (line 392) | func (pr *fakePeer) stop() {} method Pause (line 393) | func (pr *fakePeer) Pause() { pr.paused... method Resume (line 394) | func (pr *fakePeer) Resume() { pr.paused... function newFakePeer (line 367) | func newFakePeer() *fakePeer { FILE: server/etcdserver/api/rafthttp/metrics.go function init (line 183) | func init() { FILE: server/etcdserver/api/rafthttp/msg_codec.go type messageEncoder (line 28) | type messageEncoder struct method encode (line 32) | func (enc *messageEncoder) encode(m *raftpb.Message) error { type messageDecoder (line 41) | type messageDecoder struct method decode (line 50) | func (dec *messageDecoder) decode() (raftpb.Message, error) { method decodeLimit (line 54) | func (dec *messageDecoder) decodeLimit(numBytes uint64) (raftpb.Messag... FILE: server/etcdserver/api/rafthttp/msg_codec_test.go function TestMessage (line 26) | func TestMessage(t *testing.T) { FILE: server/etcdserver/api/rafthttp/msgappv2_codec.go constant msgTypeLinkHeartbeat (line 30) | msgTypeLinkHeartbeat uint8 = 0 constant msgTypeAppEntries (line 31) | msgTypeAppEntries uint8 = 1 constant msgTypeApp (line 32) | msgTypeApp uint8 = 2 constant msgAppV2BufSize (line 34) | msgAppV2BufSize = 1024 * 1024 type msgAppV2Encoder (line 64) | type msgAppV2Encoder struct method encode (line 85) | func (enc *msgAppV2Encoder) encode(m *raftpb.Message) error { function newMsgAppV2Encoder (line 75) | func newMsgAppV2Encoder(w io.Writer, fs *stats.FollowerStats) *msgAppV2E... type msgAppV2Decoder (line 152) | type msgAppV2Decoder struct method decode (line 174) | func (dec *msgAppV2Decoder) decode() (raftpb.Message, error) { function newMsgAppV2Decoder (line 163) | func newMsgAppV2Decoder(r io.Reader, local, remote types.ID) *msgAppV2De... FILE: server/etcdserver/api/rafthttp/msgappv2_codec_test.go function TestMsgAppV2 (line 27) | func TestMsgAppV2(t *testing.T) { FILE: server/etcdserver/api/rafthttp/peer.go constant DefaultConnReadTimeout (line 40) | DefaultConnReadTimeout = 5 * time.Second constant DefaultConnWriteTimeout (line 41) | DefaultConnWriteTimeout = 5 * time.Second constant recvBufSize (line 43) | recvBufSize = 4096 constant maxPendingProposals (line 50) | maxPendingProposals = 4096 constant streamAppV2 (line 52) | streamAppV2 = "streamMsgAppV2" constant streamMsg (line 53) | streamMsg = "streamMsg" constant pipelineMsg (line 54) | pipelineMsg = "pipeline" constant sendSnap (line 55) | sendSnap = "sendMsgSnap" type Peer (line 63) | type Peer interface type peer (line 101) | type peer struct method send (line 236) | func (p *peer) send(m raftpb.Message) { method sendSnap (line 268) | func (p *peer) sendSnap(m snap.Message) { method update (line 272) | func (p *peer) update(urls types.URLs) { method attachOutgoingConn (line 276) | func (p *peer) attachOutgoingConn(conn *outgoingConn) { method activeSince (line 293) | func (p *peer) activeSince() time.Time { return p.status.activeSince() } method Pause (line 297) | func (p *peer) Pause() { method Resume (line 306) | func (p *peer) Resume() { method stop (line 314) | func (p *peer) stop() { method pick (line 337) | func (p *peer) pick(m raftpb.Message) (writec chan<- raftpb.Message, p... function startPeer (line 131) | func startPeer(t *Transport, urls types.URLs, peerID types.ID, fs *stats... function isMsgApp (line 351) | func isMsgApp(m raftpb.Message) bool { return m.Type == raftpb.MsgApp } function isMsgSnap (line 353) | func isMsgSnap(m raftpb.Message) bool { return m.Type == raftpb.MsgSnap } FILE: server/etcdserver/api/rafthttp/peer_status.go type failureType (line 28) | type failureType struct type peerStatus (line 33) | type peerStatus struct method activate (line 49) | func (s *peerStatus) activate() { method deactivate (line 61) | func (s *peerStatus) deactivate(failure failureType, reason string) { method isActive (line 80) | func (s *peerStatus) isActive() bool { method activeSince (line 86) | func (s *peerStatus) activeSince() time.Time { function newPeerStatus (line 42) | func newPeerStatus(lg *zap.Logger, local, id types.ID) *peerStatus { FILE: server/etcdserver/api/rafthttp/peer_test.go function TestPeerPick (line 23) | func TestPeerPick(t *testing.T) { FILE: server/etcdserver/api/rafthttp/pipeline.go constant connPerPipeline (line 36) | connPerPipeline = 4 constant pipelineBufSize (line 41) | pipelineBufSize = 64 type pipeline (line 46) | type pipeline struct method start (line 63) | func (p *pipeline) start() { method stop (line 80) | func (p *pipeline) stop() { method handle (line 93) | func (p *pipeline) handle() { method post (line 133) | func (p *pipeline) post(data []byte) (err error) { function waitSchedule (line 178) | func waitSchedule() { runtime.Gosched() } FILE: server/etcdserver/api/rafthttp/pipeline_test.go function TestPipelineSend (line 37) | func TestPipelineSend(t *testing.T) { function TestPipelineKeepSendingWhenPostError (line 53) | func TestPipelineKeepSendingWhenPostError(t *testing.T) { function TestPipelineExceedMaximumServing (line 70) | func TestPipelineExceedMaximumServing(t *testing.T) { function TestPipelineSendFailed (line 107) | func TestPipelineSendFailed(t *testing.T) { function TestPipelinePost (line 126) | func TestPipelinePost(t *testing.T) { function TestPipelinePostBad (line 169) | func TestPipelinePostBad(t *testing.T) { function TestPipelinePostErrorc (line 194) | func TestPipelinePostErrorc(t *testing.T) { function TestStopBlockedPipeline (line 216) | func TestStopBlockedPipeline(t *testing.T) { type roundTripperBlocker (line 237) | type roundTripperBlocker struct method unblock (line 250) | func (t *roundTripperBlocker) unblock() { method CancelRequest (line 254) | func (t *roundTripperBlocker) CancelRequest(req *http.Request) { function newRoundTripperBlocker (line 243) | func newRoundTripperBlocker() *roundTripperBlocker { type respRoundTripper (line 263) | type respRoundTripper struct method RoundTrip (line 276) | func (t *respRoundTripper) RoundTrip(req *http.Request) (*http.Respons... function newRespRoundTripper (line 272) | func newRespRoundTripper(code int, err error) *respRoundTripper { type roundTripperRecorder (line 285) | type roundTripperRecorder struct method RoundTrip (line 289) | func (t *roundTripperRecorder) RoundTrip(req *http.Request) (*http.Res... type nopReadCloser (line 296) | type nopReadCloser struct method Read (line 298) | func (n *nopReadCloser) Read(p []byte) (int, error) { return 0, io.EOF } method Close (line 299) | func (n *nopReadCloser) Close() error { return nil } function startTestPipeline (line 301) | func startTestPipeline(t *testing.T, tr *Transport, picker *urlPicker) *... FILE: server/etcdserver/api/rafthttp/probing_status.go constant RoundTripperNameRaftMessage (line 28) | RoundTripperNameRaftMessage = "ROUND_TRIPPER_RAFT_MESSAGE" constant RoundTripperNameSnapshot (line 30) | RoundTripperNameSnapshot = "ROUND_TRIPPER_SNAPSHOT" function addPeerToProber (line 41) | func addPeerToProber(lg *zap.Logger, p probing.Prober, id string, us []s... function monitorProbingStatus (line 60) | func monitorProbingStatus(lg *zap.Logger, s probing.Status, id string, r... FILE: server/etcdserver/api/rafthttp/remote.go type remote (line 24) | type remote struct method send (line 54) | func (g *remote) send(m raftpb.Message) { method stop (line 85) | func (g *remote) stop() { method Pause (line 89) | func (g *remote) Pause() { method Resume (line 93) | func (g *remote) Resume() { function startRemote (line 32) | func startRemote(tr *Transport, urls types.URLs, id types.ID) *remote { FILE: server/etcdserver/api/rafthttp/snapshot_sender.go type snapshotSender (line 38) | type snapshotSender struct method stop (line 65) | func (s *snapshotSender) stop() { close(s.stopc) } method send (line 67) | func (s *snapshotSender) send(merged snap.Message) { method post (line 147) | func (s *snapshotSender) post(req *http.Request) (err error) { function newSnapshotSender (line 51) | func newSnapshotSender(tr *Transport, picker *urlPicker, to types.ID, st... function createSnapBody (line 185) | func createSnapBody(lg *zap.Logger, merged snap.Message) io.ReadCloser { FILE: server/etcdserver/api/rafthttp/snapshot_test.go type strReaderCloser (line 34) | type strReaderCloser struct method Close (line 36) | func (s strReaderCloser) Close() error { return nil } function TestSnapshotSend (line 38) | func TestSnapshotSend(t *testing.T) { function testSnapshotSend (line 96) | func testSnapshotSend(t *testing.T, sm *snap.Message) (bool, []os.DirEnt... type errReadCloser (line 129) | type errReadCloser struct method Read (line 131) | func (s *errReadCloser) Read(p []byte) (int, error) { return 0, s.err } method Close (line 132) | func (s *errReadCloser) Close() error { return s.err } type syncHandler (line 134) | type syncHandler struct method ServeHTTP (line 139) | func (sh *syncHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... FILE: server/etcdserver/api/rafthttp/stream.go constant streamTypeMessage (line 41) | streamTypeMessage streamType = "message" constant streamTypeMsgAppV2 (line 42) | streamTypeMsgAppV2 streamType = "msgappv2" constant streamBufSize (line 44) | streamBufSize = 4096 type streamType (line 67) | type streamType method endpoint (line 69) | func (t streamType) endpoint(lg *zap.Logger) string { method String (line 83) | func (t streamType) String() string { function isLinkHeartbeatMessage (line 99) | func isLinkHeartbeatMessage(m *raftpb.Message) bool { type outgoingConn (line 103) | type outgoingConn struct type streamWriter (line 114) | type streamWriter struct method run (line 155) | func (cw *streamWriter) run() { method writec (line 306) | func (cw *streamWriter) writec() (chan<- raftpb.Message, bool) { method close (line 312) | func (cw *streamWriter) close() bool { method closeUnlocked (line 318) | func (cw *streamWriter) closeUnlocked() bool { method attach (line 339) | func (cw *streamWriter) attach(conn *outgoingConn) bool { method stop (line 348) | func (cw *streamWriter) stop() { function startStreamWriter (line 136) | func startStreamWriter(lg *zap.Logger, local, id types.ID, status *peerS... type streamReader (line 355) | type streamReader struct method start (line 380) | func (cr *streamReader) start() { method run (line 391) | func (cr *streamReader) run() { method decodeLoop (line 466) | func (cr *streamReader) decodeLoop(rc io.ReadCloser, t streamType) err... method stop (line 556) | func (cr *streamReader) stop() { method dial (line 564) | func (cr *streamReader) dial(t streamType) (io.ReadCloser, error) { method close (line 675) | func (cr *streamReader) close() { method pause (line 691) | func (cr *streamReader) pause() { method resume (line 697) | func (cr *streamReader) resume() { function checkStreamSupport (line 705) | func checkStreamSupport(v *semver.Version, t streamType) bool { FILE: server/etcdserver/api/rafthttp/stream_test.go function TestStreamWriterAttachOutgoingConn (line 41) | func TestStreamWriterAttachOutgoingConn(t *testing.T) { function TestStreamWriterAttachBadOutgoingConn (line 93) | func TestStreamWriterAttachBadOutgoingConn(t *testing.T) { function TestStreamReaderDialRequest (line 111) | func TestStreamReaderDialRequest(t *testing.T) { function TestStreamReaderDialResult (line 146) | func TestStreamReaderDialResult(t *testing.T) { function TestStreamReaderStopOnDial (line 187) | func TestStreamReaderStopOnDial(t *testing.T) { type respWaitRoundTripper (line 217) | type respWaitRoundTripper struct method RoundTrip (line 222) | func (t *respWaitRoundTripper) RoundTrip(req *http.Request) (*http.Res... type waitReadCloser (line 229) | type waitReadCloser struct method Read (line 232) | func (wrc *waitReadCloser) Read(p []byte) (int, error) { method Close (line 237) | func (wrc *waitReadCloser) Close() error { function newWaitReadCloser (line 231) | func newWaitReadCloser() *waitReadCloser { return &waitReadCloser{make(c... function TestStreamReaderDialDetectUnsupport (line 244) | func TestStreamReaderDialDetectUnsupport(t *testing.T) { function TestStream (line 267) | func TestStream(t *testing.T) { function TestCheckStreamSupport (line 350) | func TestCheckStreamSupport(t *testing.T) { function TestStreamSupportCurrentVersion (line 382) | func TestStreamSupportCurrentVersion(t *testing.T) { type fakeWriteFlushCloser (line 390) | type fakeWriteFlushCloser struct method Write (line 406) | func (wfc *fakeWriteFlushCloser) Write(p []byte) (n int, err error) { method Flush (line 417) | func (wfc *fakeWriteFlushCloser) Flush() {} method Close (line 419) | func (wfc *fakeWriteFlushCloser) Close() error { method Written (line 424) | func (wfc *fakeWriteFlushCloser) Written() int { method Closed (line 430) | func (wfc *fakeWriteFlushCloser) Closed() bool { function newFakeWriteFlushCloser (line 398) | func newFakeWriteFlushCloser(err error) *fakeWriteFlushCloser { type fakeStreamHandler (line 439) | type fakeStreamHandler struct method ServeHTTP (line 444) | func (h *fakeStreamHandler) ServeHTTP(w http.ResponseWriter, r *http.R... FILE: server/etcdserver/api/rafthttp/transport.go type Raft (line 35) | type Raft interface type Transporter (line 42) | type Transporter interface type Transport (line 97) | type Transport struct method Start (line 133) | func (t *Transport) Start() error { method Handler (line 157) | func (t *Transport) Handler() http.Handler { method Get (line 169) | func (t *Transport) Get(id types.ID) Peer { method Send (line 175) | func (t *Transport) Send(msgs []raftpb.Message) { method Stop (line 211) | func (t *Transport) Stop() { method CutPeer (line 233) | func (t *Transport) CutPeer(id types.ID) { method MendPeer (line 248) | func (t *Transport) MendPeer(id types.ID) { method AddRemote (line 262) | func (t *Transport) AddRemote(id types.ID, us []string) { method AddPeer (line 295) | func (t *Transport) AddPeer(id types.ID, us []string) { method RemovePeer (line 326) | func (t *Transport) RemovePeer(id types.ID) { method RemoveAllPeers (line 332) | func (t *Transport) RemoveAllPeers() { method removePeer (line 341) | func (t *Transport) removePeer(id types.ID) { method UpdatePeer (line 369) | func (t *Transport) UpdatePeer(id types.ID, us []string) { method ActiveSince (line 399) | func (t *Transport) ActiveSince(id types.ID) time.Time { method SendSnapshot (line 408) | func (t *Transport) SendSnapshot(m snap.Message) { method Pause (line 425) | func (t *Transport) Pause() { method Resume (line 433) | func (t *Transport) Resume() { method ActivePeers (line 444) | func (t *Transport) ActivePeers() (cnt int) { type Pausable (line 420) | type Pausable interface FILE: server/etcdserver/api/rafthttp/transport_bench_test.go function BenchmarkSendingMsgApp (line 32) | func BenchmarkSendingMsgApp(b *testing.B) { type countRaft (line 94) | type countRaft struct method Process (line 99) | func (r *countRaft) Process(ctx context.Context, m raftpb.Message) err... method IsIDRemoved (line 106) | func (r *countRaft) IsIDRemoved(id uint64) bool { return false } method ReportUnreachable (line 108) | func (r *countRaft) ReportUnreachable(id uint64) {} method ReportSnapshot (line 110) | func (r *countRaft) ReportSnapshot(id uint64, status raft.SnapshotStat... method count (line 112) | func (r *countRaft) count() int { FILE: server/etcdserver/api/rafthttp/transport_test.go function TestTransportSend (line 34) | func TestTransportSend(t *testing.T) { function TestTransportCutMend (line 69) | func TestTransportCutMend(t *testing.T) { function TestTransportAdd (line 98) | func TestTransportAdd(t *testing.T) { function TestTransportRemove (line 128) | func TestTransportRemove(t *testing.T) { function TestTransportRemoveIsIdempotent (line 145) | func TestTransportRemoveIsIdempotent(t *testing.T) { function TestTransportUpdate (line 164) | func TestTransportUpdate(t *testing.T) { function TestTransportErrorc (line 179) | func TestTransportErrorc(t *testing.T) { FILE: server/etcdserver/api/rafthttp/urlpick.go type urlPicker (line 24) | type urlPicker struct method update (line 36) | func (p *urlPicker) update(urls types.URLs) { method pick (line 43) | func (p *urlPicker) pick() url.URL { method unreachable (line 51) | func (p *urlPicker) unreachable(u url.URL) { function newURLPicker (line 30) | func newURLPicker(urls types.URLs) *urlPicker { FILE: server/etcdserver/api/rafthttp/urlpick_test.go function TestURLPickerPickTwice (line 26) | func TestURLPickerPickTwice(t *testing.T) { function TestURLPickerUpdate (line 45) | func TestURLPickerUpdate(t *testing.T) { function TestURLPickerUnreachable (line 59) | func TestURLPickerUnreachable(t *testing.T) { function mustNewURLPicker (line 70) | func mustNewURLPicker(t *testing.T, us []string) *urlPicker { FILE: server/etcdserver/api/rafthttp/util.go function NewListener (line 41) | func NewListener(u url.URL, tlsinfo *transport.TLSInfo) (net.Listener, e... function NewRoundTripper (line 47) | func NewRoundTripper(tlsInfo transport.TLSInfo, dialTimeout time.Duratio... function newStreamRoundTripper (line 59) | func newStreamRoundTripper(tlsInfo transport.TLSInfo, dialTimeout time.D... function createPostRequest (line 64) | func createPostRequest(lg *zap.Logger, u url.URL, path string, body io.R... function checkPostResponse (line 85) | func checkPostResponse(lg *zap.Logger, resp *http.Response, body []byte,... function reportCriticalError (line 124) | func reportCriticalError(err error, errc chan<- error) { function compareMajorMinorVersion (line 134) | func compareMajorMinorVersion(a, b *semver.Version) int { function serverVersion (line 148) | func serverVersion(h http.Header) *semver.Version { function minClusterVersion (line 158) | func minClusterVersion(h http.Header) *semver.Version { function checkVersionCompatibility (line 169) | func checkVersionCompatibility(name string, server, minCluster *semver.V... function setPeerURLsHeader (line 186) | func setPeerURLsHeader(req *http.Request, urls types.URLs) { function addRemoteFromRequest (line 199) | func addRemoteFromRequest(tr Transporter, r *http.Request) { FILE: server/etcdserver/api/rafthttp/util_test.go function TestEntry (line 31) | func TestEntry(t *testing.T) { function TestCompareMajorMinorVersion (line 54) | func TestCompareMajorMinorVersion(t *testing.T) { function TestServerVersion (line 97) | func TestServerVersion(t *testing.T) { function TestMinClusterVersion (line 124) | func TestMinClusterVersion(t *testing.T) { function TestCheckVersionCompatibility (line 151) | func TestCheckVersionCompatibility(t *testing.T) { function writeEntryTo (line 198) | func writeEntryTo(w io.Writer, ent *raftpb.Entry) error { function readEntryFrom (line 211) | func readEntryFrom(r io.Reader, ent *raftpb.Entry) error { FILE: server/etcdserver/api/snap/db.go method SaveDBFrom (line 35) | func (s *Snapshotter) SaveDBFrom(r io.Reader, id uint64) (int64, error) { method DBFilePath (line 78) | func (s *Snapshotter) DBFilePath(id uint64) (string, error) { method dbFilePath (line 97) | func (s *Snapshotter) dbFilePath(id uint64) string { FILE: server/etcdserver/api/snap/message.go type Message (line 32) | type Message struct method CloseNotify (line 51) | func (m Message) CloseNotify() <-chan bool { method CloseWithError (line 55) | func (m Message) CloseWithError(err error) { function NewMessage (line 39) | func NewMessage(rs raftpb.Message, rc io.ReadCloser, rcSize int64) *Mess... FILE: server/etcdserver/api/snap/metrics.go function init (line 76) | func init() { FILE: server/etcdserver/api/snap/snappb/snap.pb.go constant _ (line 24) | _ = proto.ProtoPackageIsVersion3 type Snapshot (line 26) | type Snapshot struct method Reset (line 34) | func (m *Snapshot) Reset() { *m = Snapshot{} } method String (line 35) | func (m *Snapshot) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 36) | func (*Snapshot) ProtoMessage() {} method Descriptor (line 37) | func (*Snapshot) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 40) | func (m *Snapshot) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 43) | func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, ... method XXX_Merge (line 55) | func (m *Snapshot) XXX_Merge(src proto.Message) { method XXX_Size (line 58) | func (m *Snapshot) XXX_Size() int { method XXX_DiscardUnknown (line 61) | func (m *Snapshot) XXX_DiscardUnknown() { method GetCrc (line 67) | func (m *Snapshot) GetCrc() uint32 { method GetData (line 74) | func (m *Snapshot) GetData() []byte { method Marshal (line 100) | func (m *Snapshot) Marshal() (dAtA []byte, err error) { method MarshalTo (line 110) | func (m *Snapshot) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 115) | func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 150) | func (m *Snapshot) Size() (n int) { method Unmarshal (line 175) | func (m *Snapshot) Unmarshal(dAtA []byte) error { function init (line 81) | func init() { function init (line 85) | func init() { proto.RegisterFile("snap.proto", fileDescriptor_f2e3c045eb... function encodeVarintSnap (line 139) | func encodeVarintSnap(dAtA []byte, offset int, v uint64) int { function sovSnap (line 169) | func sovSnap(x uint64) (n int) { function sozSnap (line 172) | func sozSnap(x uint64) (n int) { function skipSnap (line 280) | func skipSnap(dAtA []byte) (n int, err error) { FILE: server/etcdserver/api/snap/snapshotter.go constant snapSuffix (line 39) | snapSuffix = ".snap" type Snapshotter (line 53) | type Snapshotter struct method SaveSnap (line 68) | func (s *Snapshotter) SaveSnap(snapshot raftpb.Snapshot) error { method save (line 75) | func (s *Snapshotter) save(snapshot *raftpb.Snapshot) error { method Load (line 108) | func (s *Snapshotter) Load() (*raftpb.Snapshot, error) { method LoadNewestAvailable (line 113) | func (s *Snapshotter) LoadNewestAvailable(walSnaps []walpb.Snapshot) (... method loadMatching (line 126) | func (s *Snapshotter) loadMatching(matchFn func(*raftpb.Snapshot) bool... method loadSnap (line 140) | func (s *Snapshotter) loadSnap(name string) (*raftpb.Snapshot, error) { method snapNames (line 200) | func (s *Snapshotter) snapNames() ([]string, error) { method checkSuffix (line 222) | func (s *Snapshotter) checkSuffix(names []string) []string { method cleanupSnapdir (line 240) | func (s *Snapshotter) cleanupSnapdir(filenames []string) (names []stri... method ReleaseSnapDBs (line 255) | func (s *Snapshotter) ReleaseSnapDBs(snap raftpb.Snapshot) error { function New (line 58) | func New(lg *zap.Logger, dir string) *Snapshotter { function Read (line 156) | func Read(lg *zap.Logger, snapname string) (*raftpb.Snapshot, error) { FILE: server/etcdserver/api/snap/snapshotter_test.go function TestSaveAndLoad (line 44) | func TestSaveAndLoad(t *testing.T) { function TestBadCRC (line 66) | func TestBadCRC(t *testing.T) { function TestFailback (line 89) | func TestFailback(t *testing.T) { function TestSnapNames (line 123) | func TestSnapNames(t *testing.T) { function TestLoadNewestSnap (line 152) | func TestLoadNewestSnap(t *testing.T) { function TestNoSnapshot (line 216) | func TestNoSnapshot(t *testing.T) { function TestEmptySnapshot (line 230) | func TestEmptySnapshot(t *testing.T) { function TestAllSnapshotBroken (line 251) | func TestAllSnapshotBroken(t *testing.T) { function TestReleaseSnapDBs (line 271) | func TestReleaseSnapDBs(t *testing.T) { FILE: server/etcdserver/api/v2error/error.go constant EcodeKeyNotFound (line 83) | EcodeKeyNotFound = 100 constant EcodeTestFailed (line 84) | EcodeTestFailed = 101 constant EcodeNotFile (line 85) | EcodeNotFile = 102 constant ecodeNoMorePeer (line 86) | ecodeNoMorePeer = 103 constant EcodeNotDir (line 87) | EcodeNotDir = 104 constant EcodeNodeExist (line 88) | EcodeNodeExist = 105 constant ecodeKeyIsPreserved (line 89) | ecodeKeyIsPreserved = 106 constant EcodeRootROnly (line 90) | EcodeRootROnly = 107 constant EcodeDirNotEmpty (line 91) | EcodeDirNotEmpty = 108 constant ecodeExistingPeerAddr (line 92) | ecodeExistingPeerAddr = 109 constant EcodeUnauthorized (line 93) | EcodeUnauthorized = 110 constant ecodeValueRequired (line 95) | ecodeValueRequired = 200 constant EcodePrevValueRequired (line 96) | EcodePrevValueRequired = 201 constant EcodeTTLNaN (line 97) | EcodeTTLNaN = 202 constant EcodeIndexNaN (line 98) | EcodeIndexNaN = 203 constant ecodeValueOrTTLRequired (line 99) | ecodeValueOrTTLRequired = 204 constant ecodeTimeoutNaN (line 100) | ecodeTimeoutNaN = 205 constant ecodeNameRequired (line 101) | ecodeNameRequired = 206 constant ecodeIndexOrValueRequired (line 102) | ecodeIndexOrValueRequired = 207 constant ecodeIndexValueMutex (line 103) | ecodeIndexValueMutex = 208 constant EcodeInvalidField (line 104) | EcodeInvalidField = 209 constant EcodeInvalidForm (line 105) | EcodeInvalidForm = 210 constant EcodeRefreshValue (line 106) | EcodeRefreshValue = 211 constant EcodeRefreshTTLRequired (line 107) | EcodeRefreshTTLRequired = 212 constant EcodeRaftInternal (line 109) | EcodeRaftInternal = 300 constant EcodeLeaderElect (line 110) | EcodeLeaderElect = 301 constant EcodeWatcherCleared (line 112) | EcodeWatcherCleared = 400 constant EcodeEventIndexCleared (line 113) | EcodeEventIndexCleared = 401 constant ecodeStandbyInternal (line 114) | ecodeStandbyInternal = 402 constant ecodeInvalidActiveSize (line 115) | ecodeInvalidActiveSize = 403 constant ecodeInvalidRemoveDelay (line 116) | ecodeInvalidRemoveDelay = 404 constant ecodeClientInternal (line 118) | ecodeClientInternal = 500 type Error (line 121) | type Error struct method Error (line 138) | func (e Error) Error() string { method toJSONString (line 142) | func (e Error) toJSONString() string { method StatusCode (line 147) | func (e Error) StatusCode() int { method WriteTo (line 155) | func (e Error) WriteTo(w http.ResponseWriter) error { function NewError (line 128) | func NewError(errorCode int, cause string, index uint64) *Error { FILE: server/etcdserver/api/v2error/error_test.go function TestErrorWriteTo (line 25) | func TestErrorWriteTo(t *testing.T) { FILE: server/etcdserver/api/v2stats/leader.go type LeaderStats (line 28) | type LeaderStats struct method JSON (line 55) | func (ls *LeaderStats) JSON() []byte { method Follower (line 67) | func (ls *LeaderStats) Follower(name string) *FollowerStats { type leaderStats (line 34) | type leaderStats struct function NewLeaderStats (line 42) | func NewLeaderStats(lg *zap.Logger, id string) *LeaderStats { type FollowerStats (line 80) | type FollowerStats struct method Succ (line 104) | func (fs *FollowerStats) Succ(d time.Duration) { method Fail (line 131) | func (fs *FollowerStats) Fail() { type LatencyStats (line 88) | type LatencyStats struct type CountsStats (line 98) | type CountsStats struct FILE: server/etcdserver/api/v2stats/queue.go constant queueCapacity (line 23) | queueCapacity = 200 type RequestStats (line 28) | type RequestStats struct type statsQueue (line 33) | type statsQueue struct method Len (line 42) | func (q *statsQueue) Len() int { method ReqSize (line 46) | func (q *statsQueue) ReqSize() int { method frontAndBack (line 52) | func (q *statsQueue) frontAndBack() (*RequestStats, *RequestStats) { method Insert (line 62) | func (q *statsQueue) Insert(p *RequestStats) { method Rate (line 80) | func (q *statsQueue) Rate() (float64, float64) { method Clear (line 102) | func (q *statsQueue) Clear() { FILE: server/etcdserver/api/v2stats/server.go type ServerStats (line 28) | type ServerStats struct method JSON (line 74) | func (ss *ServerStats) JSON() []byte { method RecvAppendReq (line 91) | func (ss *ServerStats) RecvAppendReq(leader string, reqSize int) { method SendAppendReq (line 114) | func (ss *ServerStats) SendAppendReq(reqSize int) { method BecomeLeader (line 130) | func (ss *ServerStats) BecomeLeader() { method becomeLeader (line 136) | func (ss *ServerStats) becomeLeader() { function NewServerStats (line 33) | func NewServerStats(name, id string) *ServerStats { type serverStats (line 48) | type serverStats struct FILE: server/etcdserver/api/v2store/event.go constant Get (line 18) | Get = "get" constant Create (line 19) | Create = "create" constant Set (line 20) | Set = "set" constant Update (line 21) | Update = "update" constant Delete (line 22) | Delete = "delete" constant CompareAndSwap (line 23) | CompareAndSwap = "compareAndSwap" constant CompareAndDelete (line 24) | CompareAndDelete = "compareAndDelete" constant Expire (line 25) | Expire = "expire" type Event (line 28) | type Event struct method IsCreated (line 49) | func (e *Event) IsCreated() bool { method Index (line 56) | func (e *Event) Index() uint64 { method Clone (line 60) | func (e *Event) Clone() *Event { method SetRefresh (line 69) | func (e *Event) SetRefresh() { function newEvent (line 36) | func newEvent(action string, key string, modifiedIndex, createdIndex uin... FILE: server/etcdserver/api/v2store/event_history.go type EventHistory (line 26) | type EventHistory struct method addEvent (line 43) | func (eh *EventHistory) addEvent(e *Event) *Event { method scan (line 58) | func (eh *EventHistory) scan(key string, recursive bool, index uint64)... method clone (line 113) | func (eh *EventHistory) clone() *EventHistory { function newEventHistory (line 33) | func newEventHistory(capacity int) *EventHistory { FILE: server/etcdserver/api/v2store/event_queue.go type eventQueue (line 17) | type eventQueue struct method insert (line 25) | func (eq *eventQueue) insert(e *Event) { FILE: server/etcdserver/api/v2store/event_test.go function TestEventQueue (line 26) | func TestEventQueue(t *testing.T) { function TestScanHistory (line 49) | func TestScanHistory(t *testing.T) { function TestEventIndexHistoryCleared (line 92) | func TestEventIndexHistoryCleared(t *testing.T) { function TestFullEventQueue (line 115) | func TestFullEventQueue(t *testing.T) { function TestCloneEvent (line 131) | func TestCloneEvent(t *testing.T) { FILE: server/etcdserver/api/v2store/heap_test.go function TestHeapPushPop (line 23) | func TestHeapPushPop(t *testing.T) { function TestHeapUpdate (line 46) | func TestHeapUpdate(t *testing.T) { FILE: server/etcdserver/api/v2store/metrics.go constant GetRecursive (line 94) | GetRecursive = "getRecursive" function init (line 97) | func init() { function reportReadSuccess (line 109) | func reportReadSuccess(readAction string) { function reportReadFailure (line 113) | func reportReadFailure(readAction string) { function reportWriteSuccess (line 118) | func reportWriteSuccess(writeAction string) { function reportWriteFailure (line 122) | func reportWriteFailure(writeAction string) { function reportExpiredKey (line 127) | func reportExpiredKey() { function reportWatchRequest (line 131) | func reportWatchRequest() { function reportWatcherAdded (line 135) | func reportWatcherAdded() { function reportWatcherRemoved (line 139) | func reportWatcherRemoved() { FILE: server/etcdserver/api/v2store/node.go constant CompareMatch (line 29) | CompareMatch = iota constant CompareIndexNotMatch (line 30) | CompareIndexNotMatch constant CompareValueNotMatch (line 31) | CompareValueNotMatch constant CompareNotMatch (line 32) | CompareNotMatch type node (line 40) | type node struct method IsHidden (line 87) | func (n *node) IsHidden() bool { method IsPermanent (line 94) | func (n *node) IsPermanent() bool { method IsDir (line 104) | func (n *node) IsDir() bool { method Read (line 110) | func (n *node) Read() (string, *v2error.Error) { method Write (line 120) | func (n *node) Write(value string, index uint64) *v2error.Error { method expirationAndTTL (line 131) | func (n *node) expirationAndTTL(clock clockwork.Clock) (*time.Time, in... method List (line 153) | func (n *node) List() ([]*node, *v2error.Error) { method GetChild (line 171) | func (n *node) GetChild(name string) (*node, *v2error.Error) { method Add (line 189) | func (n *node) Add(child *node) *v2error.Error { method Remove (line 206) | func (n *node) Remove(dir, recursive bool, callback func(path string))... method Repr (line 258) | func (n *node) Repr(recursive, sorted bool, clock clockwork.Clock) *No... method UpdateTTL (line 310) | func (n *node) UpdateTTL(expireTime time.Time) { method Compare (line 339) | func (n *node) Compare(prevValue string, prevIndex uint64) (ok bool, w... method Clone (line 359) | func (n *node) Clone() *node { method recoverAndclean (line 383) | func (n *node) recoverAndclean() { function newKV (line 57) | func newKV(store *store, nodePath string, value string, createdIndex uin... function newDir (line 70) | func newDir(store *store, nodePath string, createdIndex uint64, parent *... FILE: server/etcdserver/api/v2store/node_extern.go type NodeExtern (line 28) | type NodeExtern struct method loadInternalNode (line 39) | func (eNode *NodeExtern) loadInternalNode(n *node, recursive, sorted b... method Clone (line 73) | func (eNode *NodeExtern) Clone() *NodeExtern { type NodeExterns (line 101) | type NodeExterns method Len (line 105) | func (ns NodeExterns) Len() int { method Less (line 109) | func (ns NodeExterns) Less(i, j int) bool { method Swap (line 113) | func (ns NodeExterns) Swap(i, j int) { FILE: server/etcdserver/api/v2store/node_extern_test.go function TestNodeExternClone (line 25) | func TestNodeExternClone(t *testing.T) { function sameSlice (line 103) | func sameSlice(a, b []*NodeExtern) bool { FILE: server/etcdserver/api/v2store/node_test.go function TestNewKVIs (line 30) | func TestNewKVIs(t *testing.T) { function TestNewKVReadWriteCompare (line 46) | func TestNewKVReadWriteCompare(t *testing.T) { function TestNewKVExpiration (line 73) | func TestNewKVExpiration(t *testing.T) { function TestNewKVListReprCompareClone (line 98) | func TestNewKVListReprCompareClone(t *testing.T) { function TestNewKVRemove (line 122) | func TestNewKVRemove(t *testing.T) { function TestNewDirIs (line 160) | func TestNewDirIs(t *testing.T) { function TestNewDirReadWriteListReprClone (line 175) | func TestNewDirReadWriteListReprClone(t *testing.T) { function TestNewDirExpirationTTL (line 201) | func TestNewDirExpirationTTL(t *testing.T) { function TestNewDirChild (line 215) | func TestNewDirChild(t *testing.T) { function newTestNode (line 235) | func newTestNode() *node { function newTestNodeDir (line 240) | func newTestNodeDir() (*node, *node) { FILE: server/etcdserver/api/v2store/stats.go constant SetSuccess (line 23) | SetSuccess = iota constant SetFail (line 24) | SetFail constant DeleteSuccess (line 25) | DeleteSuccess constant DeleteFail (line 26) | DeleteFail constant CreateSuccess (line 27) | CreateSuccess constant CreateFail (line 28) | CreateFail constant UpdateSuccess (line 29) | UpdateSuccess constant UpdateFail (line 30) | UpdateFail constant CompareAndSwapSuccess (line 31) | CompareAndSwapSuccess constant CompareAndSwapFail (line 32) | CompareAndSwapFail constant GetSuccess (line 33) | GetSuccess constant GetFail (line 34) | GetFail constant ExpireCount (line 35) | ExpireCount constant CompareAndDeleteSuccess (line 36) | CompareAndDeleteSuccess constant CompareAndDeleteFail (line 37) | CompareAndDeleteFail type Stats (line 40) | type Stats struct method clone (line 86) | func (s *Stats) clone() *Stats { method toJSON (line 107) | func (s *Stats) toJSON() []byte { method Inc (line 112) | func (s *Stats) Inc(field int) { function newStats (line 81) | func newStats() *Stats { FILE: server/etcdserver/api/v2store/stats_test.go function TestStoreStatsGetSuccess (line 25) | func TestStoreStatsGetSuccess(t *testing.T) { function TestStoreStatsGetFail (line 33) | func TestStoreStatsGetFail(t *testing.T) { function TestStoreStatsCreateSuccess (line 41) | func TestStoreStatsCreateSuccess(t *testing.T) { function TestStoreStatsCreateFail (line 48) | func TestStoreStatsCreateFail(t *testing.T) { function TestStoreStatsUpdateSuccess (line 56) | func TestStoreStatsUpdateSuccess(t *testing.T) { function TestStoreStatsUpdateFail (line 64) | func TestStoreStatsUpdateFail(t *testing.T) { function TestStoreStatsCompareAndSwapSuccess (line 71) | func TestStoreStatsCompareAndSwapSuccess(t *testing.T) { function TestStoreStatsCompareAndSwapFail (line 79) | func TestStoreStatsCompareAndSwapFail(t *testing.T) { function TestStoreStatsDeleteSuccess (line 87) | func TestStoreStatsDeleteSuccess(t *testing.T) { function TestStoreStatsDeleteFail (line 95) | func TestStoreStatsDeleteFail(t *testing.T) { function TestStoreStatsExpireCount (line 102) | func TestStoreStatsExpireCount(t *testing.T) { FILE: server/etcdserver/api/v2store/store.go constant defaultVersion (line 33) | defaultVersion = 2 function init (line 37) | func init() { type Store (line 41) | type Store interface type TTLOptionSet (line 69) | type TTLOptionSet struct type store (line 74) | type store struct method Version (line 108) | func (s *store) Version() int { method Index (line 113) | func (s *store) Index() uint64 { method Get (line 122) | func (s *store) Get(nodePath string, recursive, sorted bool) (*Event, ... method Create (line 162) | func (s *store) Create(nodePath string, dir bool, value string, unique... method Set (line 191) | func (s *store) Set(nodePath string, dir bool, value string, expireOpt... method CompareAndSwap (line 259) | func (s *store) CompareAndSwap(nodePath string, prevValue string, prev... method Delete (line 336) | func (s *store) Delete(nodePath string, dir, recursive bool) (*Event, ... method CompareAndDelete (line 397) | func (s *store) CompareAndDelete(nodePath string, prevValue string, pr... method Watch (line 453) | func (s *store) Watch(key string, recursive, stream bool, sinceIndex u... method walk (line 471) | func (s *store) walk(nodePath string, walkFunc func(prev *node, compon... method Update (line 494) | func (s *store) Update(nodePath string, newValue string, expireOpts TT... method internalCreate (line 566) | func (s *store) internalCreate(nodePath string, dir bool, value string... method internalGet (line 649) | func (s *store) internalGet(nodePath string) (*node, *v2error.Error) { method DeleteExpiredKeys (line 674) | func (s *store) DeleteExpiredKeys(cutoff time.Time) { method checkDir (line 711) | func (s *store) checkDir(parent *node, dirName string) (*node, *v2erro... method Save (line 733) | func (s *store) Save() ([]byte, error) { method SaveNoCopy (line 742) | func (s *store) SaveNoCopy() ([]byte, error) { method Clone (line 751) | func (s *store) Clone() Store { method Recovery (line 769) | func (s *store) Recovery(state []byte) error { method JsonStats (line 784) | func (s *store) JsonStats() []byte { method HasTTLKeys (line 790) | func (s *store) HasTTLKeys() bool { function New (line 87) | func New(namespaces ...string) Store { function newStore (line 93) | func newStore(namespaces ...string) *store { function getCompareFailCause (line 248) | func getCompareFailCause(n *node, which int, prevValue string, prevIndex... FILE: server/etcdserver/api/v2store/store_bench_test.go function BenchmarkStoreSet128Bytes (line 24) | func BenchmarkStoreSet128Bytes(b *testing.B) { function BenchmarkStoreSet1024Bytes (line 28) | func BenchmarkStoreSet1024Bytes(b *testing.B) { function BenchmarkStoreSet4096Bytes (line 32) | func BenchmarkStoreSet4096Bytes(b *testing.B) { function BenchmarkStoreSetWithJson128Bytes (line 36) | func BenchmarkStoreSetWithJson128Bytes(b *testing.B) { function BenchmarkStoreSetWithJson1024Bytes (line 40) | func BenchmarkStoreSetWithJson1024Bytes(b *testing.B) { function BenchmarkStoreSetWithJson4096Bytes (line 44) | func BenchmarkStoreSetWithJson4096Bytes(b *testing.B) { function BenchmarkStoreDelete (line 48) | func BenchmarkStoreDelete(b *testing.B) { function BenchmarkWatch (line 99) | func BenchmarkWatch(b *testing.B) { function BenchmarkWatchWithSet (line 126) | func BenchmarkWatchWithSet(b *testing.B) { function BenchmarkWatchWithSetBatch (line 140) | func BenchmarkWatchWithSetBatch(b *testing.B) { function BenchmarkWatchOneKey (line 161) | func BenchmarkWatchOneKey(b *testing.B) { function benchStoreSet (line 176) | func benchStoreSet(b *testing.B, valueSize int, process func(any) ([]byt... function generateNRandomKV (line 204) | func generateNRandomKV(n int, valueSize int) ([][]string, uint64) { FILE: server/etcdserver/api/v2store/store_ttl_test.go function TestMinExpireTime (line 29) | func TestMinExpireTime(t *testing.T) { function TestStoreGetDirectory (line 50) | func TestStoreGetDirectory(t *testing.T) { function TestStoreUpdateValueTTL (line 98) | func TestStoreUpdateValueTTL(t *testing.T) { function TestStoreUpdateDirTTL (line 120) | func TestStoreUpdateDirTTL(t *testing.T) { function TestStoreWatchExpire (line 148) | func TestStoreWatchExpire(t *testing.T) { function TestStoreWatchExpireRefresh (line 186) | func TestStoreWatchExpireRefresh(t *testing.T) { function TestStoreWatchExpireEmptyRefresh (line 222) | func TestStoreWatchExpireEmptyRefresh(t *testing.T) { function TestStoreWatchNoRefresh (line 247) | func TestStoreWatchNoRefresh(t *testing.T) { function TestStoreRefresh (line 273) | func TestStoreRefresh(t *testing.T) { function TestStoreRecoverWithExpiration (line 295) | func TestStoreRecoverWithExpiration(t *testing.T) { function TestStoreWatchExpireWithHiddenKey (line 329) | func TestStoreWatchExpireWithHiddenKey(t *testing.T) { function newFakeClock (line 353) | func newFakeClock() *clockwork.FakeClock { function nbselect (line 362) | func nbselect(c <-chan *Event) *Event { FILE: server/etcdserver/api/v2store/ttl_key_heap.go type ttlKeyHeap (line 20) | type ttlKeyHeap struct method Len (line 31) | func (h ttlKeyHeap) Len() int { method Less (line 35) | func (h ttlKeyHeap) Less(i, j int) bool { method Swap (line 39) | func (h ttlKeyHeap) Swap(i, j int) { method Push (line 48) | func (h *ttlKeyHeap) Push(x any) { method Pop (line 54) | func (h *ttlKeyHeap) Pop() any { method top (line 67) | func (h *ttlKeyHeap) top() *node { method pop (line 74) | func (h *ttlKeyHeap) pop() *node { method push (line 80) | func (h *ttlKeyHeap) push(x any) { method update (line 84) | func (h *ttlKeyHeap) update(n *node) { method remove (line 92) | func (h *ttlKeyHeap) remove(n *node) { function newTTLKeyHeap (line 25) | func newTTLKeyHeap() *ttlKeyHeap { FILE: server/etcdserver/api/v2store/watcher.go type Watcher (line 17) | type Watcher interface type watcher (line 23) | type watcher struct method EventChan (line 34) | func (w *watcher) EventChan() chan *Event { method StartIndex (line 38) | func (w *watcher) StartIndex() uint64 { method notify (line 44) | func (w *watcher) notify(e *Event, originalPath bool, deleted bool) bo... method Remove (line 79) | func (w *watcher) Remove() { type nopWatcher (line 90) | type nopWatcher struct method EventChan (line 93) | func (w *nopWatcher) EventChan() chan *Event { return nil } method StartIndex (line 94) | func (w *nopWatcher) StartIndex() uint64 { return 0 } method Remove (line 95) | func (w *nopWatcher) Remove() {} function NewNopWatcher (line 92) | func NewNopWatcher() Watcher { return &nopWatcher{} } FILE: server/etcdserver/api/v2store/watcher_hub.go type watcherHub (line 33) | type watcherHub struct method watch (line 59) | func (wh *watcherHub) watch(key string, recursive, stream bool, index,... method add (line 117) | func (wh *watcherHub) add(e *Event) { method notify (line 122) | func (wh *watcherHub) notify(e *Event) { method notifyWatchers (line 140) | func (wh *watcherHub) notifyWatchers(e *Event, nodePath string, delete... method clone (line 179) | func (wh *watcherHub) clone() *watcherHub { function newWatchHub (line 48) | func newWatchHub(capacity int) *watcherHub { function isHidden (line 189) | func isHidden(watchPath, keyPath string) bool { FILE: server/etcdserver/api/v2store/watcher_hub_test.go function TestIsHidden (line 20) | func TestIsHidden(t *testing.T) { FILE: server/etcdserver/api/v2store/watcher_test.go function TestWatcher (line 19) | func TestWatcher(t *testing.T) { FILE: server/etcdserver/api/v3alarm/alarms.go type BackendGetter (line 29) | type BackendGetter interface type alarmSet (line 33) | type alarmSet type AlarmStore (line 36) | type AlarmStore struct method Activate (line 53) | func (a *AlarmStore) Activate(id types.ID, at pb.AlarmType) *pb.AlarmM... method Deactivate (line 66) | func (a *AlarmStore) Deactivate(id types.ID, at pb.AlarmType) *pb.Alar... method Get (line 86) | func (a *AlarmStore) Get(at pb.AlarmType) (ret []*pb.AlarmMember) { method restore (line 103) | func (a *AlarmStore) restore() error { method addToMap (line 116) | func (a *AlarmStore) addToMap(newAlarm *pb.AlarmMember) *pb.AlarmMember { function NewAlarmStore (line 44) | func NewAlarmStore(lg *zap.Logger, be schema.AlarmBackend) (*AlarmStore,... FILE: server/etcdserver/api/v3client/v3client.go function New (line 30) | func New(s *etcdserver.EtcdServer) *clientv3.Client { type blankContext (line 57) | type blankContext struct method String (line 59) | func (*blankContext) String() string { return "(blankCtx)" } type watchWrapper (line 63) | type watchWrapper struct method Watch (line 65) | func (ww *watchWrapper) Watch(ctx context.Context, key string, opts ..... FILE: server/etcdserver/api/v3compactor/compactor.go constant ModePeriodic (line 29) | ModePeriodic = "periodic" constant ModeRevision (line 30) | ModeRevision = "revision" type Compactor (line 34) | type Compactor interface type Compactable (line 46) | type Compactable interface type RevGetter (line 50) | type RevGetter interface function New (line 55) | func New( FILE: server/etcdserver/api/v3compactor/compactor_test.go type fakeCompactable (line 25) | type fakeCompactable struct method Compact (line 29) | func (fc *fakeCompactable) Compact(ctx context.Context, r *pb.Compacti... type fakeRevGetter (line 34) | type fakeRevGetter struct method Rev (line 39) | func (fr *fakeRevGetter) Rev() int64 { method SetRev (line 45) | func (fr *fakeRevGetter) SetRev(rev int64) { FILE: server/etcdserver/api/v3compactor/periodic.go type Periodic (line 32) | type Periodic struct method Run (line 100) | func (pc *Periodic) Run() { method getCompactInterval (line 169) | func (pc *Periodic) getCompactInterval() time.Duration { method getRetentions (line 177) | func (pc *Periodic) getRetentions() int { method getRetryInterval (line 183) | func (pc *Periodic) getRetryInterval() time.Duration { method Stop (line 192) | func (pc *Periodic) Stop() { method Pause (line 197) | func (pc *Periodic) Pause() { method Resume (line 204) | func (pc *Periodic) Resume() { function newPeriodic (line 51) | func newPeriodic(lg *zap.Logger, clock clockwork.Clock, h time.Duration,... constant retryDivisor (line 181) | retryDivisor = 10 FILE: server/etcdserver/api/v3compactor/periodic_test.go function TestPeriodicHourly (line 31) | func TestPeriodicHourly(t *testing.T) { function TestPeriodicMinutes (line 83) | func TestPeriodicMinutes(t *testing.T) { function TestPeriodicPause (line 133) | func TestPeriodicPause(t *testing.T) { function TestPeriodicSkipRevNotChange (line 178) | func TestPeriodicSkipRevNotChange(t *testing.T) { function waitOneAction (line 243) | func waitOneAction(t *testing.T, r testutil.Recorder) { function waitWithRetry (line 249) | func waitWithRetry(t *testing.T, compactable *fakeCompactable) ([]testut... FILE: server/etcdserver/api/v3compactor/revision.go type Revision (line 32) | type Revision struct method Run (line 65) | func (rc *Revision) Run() { method Stop (line 115) | func (rc *Revision) Stop() { method Pause (line 120) | func (rc *Revision) Pause() { method Resume (line 127) | func (rc *Revision) Resume() { function newRevision (line 50) | func newRevision(lg *zap.Logger, clock clockwork.Clock, retention int64,... constant revInterval (line 62) | revInterval = 5 * time.Minute FILE: server/etcdserver/api/v3compactor/revision_test.go function TestRevision (line 29) | func TestRevision(t *testing.T) { function TestRevisionPause (line 72) | func TestRevisionPause(t *testing.T) { FILE: server/etcdserver/api/v3discovery/discovery.go constant discoveryPrefix (line 37) | discoveryPrefix = "/_etcd/registry" type DiscoveryConfig (line 54) | type DiscoveryConfig struct type memberInfo (line 59) | type memberInfo struct type clusterInfo (line 71) | type clusterInfo struct method Len (line 435) | func (cls *clusterInfo) Len() int { return len(cls.members) } method Less (line 436) | func (cls *clusterInfo) Less(i, j int) bool { method Swap (line 440) | func (cls *clusterInfo) Swap(i, j int) { method add (line 444) | func (cls *clusterInfo) add(memberKey, memberValue string, rev int64) ... method exist (line 477) | func (cls *clusterInfo) exist(mKey string) bool { method getInitClusterStr (line 487) | func (cls *clusterInfo) getInitClusterStr(clusterSize int) (string, er... method getPeerURLs (line 503) | func (cls *clusterInfo) getPeerURLs() []string { function getClusterKeyPrefix (line 77) | func getClusterKeyPrefix(cluster string) string { function getClusterSizeKey (line 82) | func getClusterSizeKey(cluster string) string { function getMemberKeyPrefix (line 87) | func getMemberKeyPrefix(clusterToken string) string { function getMemberKey (line 92) | func getMemberKey(cluster, memberID string) string { function GetCluster (line 98) | func GetCluster(lg *zap.Logger, cfg *DiscoveryConfig) (cs string, rerr e... function JoinCluster (line 130) | func JoinCluster(lg *zap.Logger, cfg *DiscoveryConfig, id types.ID, conf... type discovery (line 155) | type discovery struct method getCluster (line 192) | func (d *discovery) getCluster() (string, error) { method joinCluster (line 208) | func (d *discovery) joinCluster(config string) (string, error) { method getClusterSize (line 230) | func (d *discovery) getClusterSize() (int, error) { method getClusterMembers (line 257) | func (d *discovery) getClusterMembers() (*clusterInfo, int64, error) { method checkClusterRetry (line 295) | func (d *discovery) checkClusterRetry() (*clusterInfo, int, int64, err... method checkCluster (line 303) | func (d *discovery) checkCluster() (*clusterInfo, int, int64, error) { method registerSelfRetry (line 334) | func (d *discovery) registerSelfRetry(contents string) error { method registerSelf (line 342) | func (d *discovery) registerSelf(contents string) error { method waitPeers (line 367) | func (d *discovery) waitPeers(cls *clusterInfo, clusterSize int, rev i... method logAndBackoffForRetry (line 411) | func (d *discovery) logAndBackoffForRetry(step string) { method close (line 428) | func (d *discovery) close() error { function newDiscovery (line 167) | func newDiscovery(lg *zap.Logger, dcfg *DiscoveryConfig, id types.ID) (*... FILE: server/etcdserver/api/v3discovery/discovery_test.go type fakeKVForClusterSize (line 33) | type fakeKVForClusterSize struct method Get (line 39) | func (fkv *fakeKVForClusterSize) Get(ctx context.Context, key string, ... function TestGetClusterSize (line 54) | func TestGetClusterSize(t *testing.T) { type fakeKVForClusterMembers (line 106) | type fakeKVForClusterMembers struct method Get (line 112) | func (fkv *fakeKVForClusterMembers) Get(ctx context.Context, key strin... function memberInfoToKeyValues (line 123) | func memberInfoToKeyValues(members []memberInfo) []*mvccpb.KeyValue { function TestGetClusterMembers (line 136) | func TestGetClusterMembers(t *testing.T) { type fakeKVForCheckCluster (line 223) | type fakeKVForCheckCluster struct method Get (line 234) | func (fkv *fakeKVForCheckCluster) Get(ctx context.Context, key string,... function TestCheckCluster (line 271) | func TestCheckCluster(t *testing.T) { type fakeKVForRegisterSelf (line 414) | type fakeKVForRegisterSelf struct method Put (line 423) | func (fkv *fakeKVForRegisterSelf) Put(ctx context.Context, key string,... function TestRegisterSelf (line 441) | func TestRegisterSelf(t *testing.T) { type fakeWatcherForWaitPeers (line 510) | type fakeWatcherForWaitPeers struct method Watch (line 518) | func (fw *fakeWatcherForWaitPeers) Watch(ctx context.Context, key stri... function TestWaitPeers (line 544) | func TestWaitPeers(t *testing.T) { function TestGetInitClusterStr (line 634) | func TestGetInitClusterStr(t *testing.T) { type fakeBaseKV (line 741) | type fakeBaseKV struct method Put (line 743) | func (fkv *fakeBaseKV) Put(ctx context.Context, key string, val string... method Get (line 747) | func (fkv *fakeBaseKV) Get(ctx context.Context, key string, opts ...cl... method Delete (line 751) | func (fkv *fakeBaseKV) Delete(ctx context.Context, key string, opts ..... method Compact (line 755) | func (fkv *fakeBaseKV) Compact(ctx context.Context, rev int64, opts ..... method Do (line 759) | func (fkv *fakeBaseKV) Do(ctx context.Context, op clientv3.Op) (client... method Txn (line 763) | func (fkv *fakeBaseKV) Txn(ctx context.Context) clientv3.Txn { type fakeBaseWatcher (line 768) | type fakeBaseWatcher struct method Watch (line 770) | func (fw *fakeBaseWatcher) Watch(ctx context.Context, key string, opts... method RequestProgress (line 774) | func (fw *fakeBaseWatcher) RequestProgress(ctx context.Context) error { method Close (line 778) | func (fw *fakeBaseWatcher) Close() error { FILE: server/etcdserver/api/v3election/election.go type electionServer (line 30) | type electionServer struct method Campaign (line 40) | func (es *electionServer) Campaign(ctx context.Context, req *epb.Campa... method Proclaim (line 60) | func (es *electionServer) Proclaim(ctx context.Context, req *epb.Procl... method Observe (line 75) | func (es *electionServer) Observe(req *epb.LeaderRequest, stream epb.E... method Leader (line 98) | func (es *electionServer) Leader(ctx context.Context, req *epb.LeaderR... method Resign (line 110) | func (es *electionServer) Resign(ctx context.Context, req *epb.ResignR... method session (line 125) | func (es *electionServer) session(ctx context.Context, lease int64) (*... function NewElectionServer (line 36) | func NewElectionServer(c *clientv3.Client) epb.ElectionServer { FILE: server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go function request_Election_Campaign_0 (line 41) | func request_Election_Campaign_0(ctx context.Context, marshaler runtime.... function local_request_Election_Campaign_0 (line 56) | func local_request_Election_Campaign_0(ctx context.Context, marshaler ru... function request_Election_Proclaim_0 (line 68) | func request_Election_Proclaim_0(ctx context.Context, marshaler runtime.... function local_request_Election_Proclaim_0 (line 83) | func local_request_Election_Proclaim_0(ctx context.Context, marshaler ru... function request_Election_Leader_0 (line 95) | func request_Election_Leader_0(ctx context.Context, marshaler runtime.Ma... function local_request_Election_Leader_0 (line 110) | func local_request_Election_Leader_0(ctx context.Context, marshaler runt... function request_Election_Observe_0 (line 122) | func request_Election_Observe_0(ctx context.Context, marshaler runtime.M... function request_Election_Resign_0 (line 145) | func request_Election_Resign_0(ctx context.Context, marshaler runtime.Ma... function local_request_Election_Resign_0 (line 160) | func local_request_Election_Resign_0(ctx context.Context, marshaler runt... function RegisterElectionHandlerServer (line 177) | func RegisterElectionHandlerServer(ctx context.Context, mux *runtime.Ser... function RegisterElectionHandlerFromEndpoint (line 271) | func RegisterElectionHandlerFromEndpoint(ctx context.Context, mux *runti... function RegisterElectionHandler (line 295) | func RegisterElectionHandler(ctx context.Context, mux *runtime.ServeMux,... function RegisterElectionHandlerClient (line 304) | func RegisterElectionHandlerClient(ctx context.Context, mux *runtime.Ser... FILE: server/etcdserver/api/v3election/v3electionpb/v3election.pb.go constant _ (line 27) | _ = proto.ProtoPackageIsVersion3 type CampaignRequest (line 29) | type CampaignRequest struct method Reset (line 44) | func (m *CampaignRequest) Reset() { *m = CampaignRequest{} } method String (line 45) | func (m *CampaignRequest) String() string { return proto.CompactTextSt... method ProtoMessage (line 46) | func (*CampaignRequest) ProtoMessage() {} method Descriptor (line 47) | func (*CampaignRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 50) | func (m *CampaignRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 53) | func (m *CampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([... method XXX_Merge (line 65) | func (m *CampaignRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 68) | func (m *CampaignRequest) XXX_Size() int { method XXX_DiscardUnknown (line 71) | func (m *CampaignRequest) XXX_DiscardUnknown() { method GetName (line 77) | func (m *CampaignRequest) GetName() []byte { method GetLease (line 84) | func (m *CampaignRequest) GetLease() int64 { method GetValue (line 91) | func (m *CampaignRequest) GetValue() []byte { method Marshal (line 588) | func (m *CampaignRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 598) | func (m *CampaignRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 603) | func (m *CampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro... method Size (line 995) | func (m *CampaignRequest) Size() (n int) { method Unmarshal (line 1174) | func (m *CampaignRequest) Unmarshal(dAtA []byte) error { type CampaignResponse (line 98) | type CampaignResponse struct method Reset (line 107) | func (m *CampaignResponse) Reset() { *m = CampaignResponse{} } method String (line 108) | func (m *CampaignResponse) String() string { return proto.CompactTextS... method ProtoMessage (line 109) | func (*CampaignResponse) ProtoMessage() {} method Descriptor (line 110) | func (*CampaignResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 113) | func (m *CampaignResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 116) | func (m *CampaignResponse) XXX_Marshal(b []byte, deterministic bool) (... method XXX_Merge (line 128) | func (m *CampaignResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 131) | func (m *CampaignResponse) XXX_Size() int { method XXX_DiscardUnknown (line 134) | func (m *CampaignResponse) XXX_DiscardUnknown() { method GetHeader (line 140) | func (m *CampaignResponse) GetHeader() *etcdserverpb.ResponseHeader { method GetLeader (line 147) | func (m *CampaignResponse) GetLeader() *LeaderKey { method Marshal (line 634) | func (m *CampaignResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 644) | func (m *CampaignResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 649) | func (m *CampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, err... method Size (line 1018) | func (m *CampaignResponse) Size() (n int) { method Unmarshal (line 1312) | func (m *CampaignResponse) Unmarshal(dAtA []byte) error { type LeaderKey (line 154) | type LeaderKey struct method Reset (line 171) | func (m *LeaderKey) Reset() { *m = LeaderKey{} } method String (line 172) | func (m *LeaderKey) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 173) | func (*LeaderKey) ProtoMessage() {} method Descriptor (line 174) | func (*LeaderKey) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 177) | func (m *LeaderKey) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 180) | func (m *LeaderKey) XXX_Marshal(b []byte, deterministic bool) ([]byte,... method XXX_Merge (line 192) | func (m *LeaderKey) XXX_Merge(src proto.Message) { method XXX_Size (line 195) | func (m *LeaderKey) XXX_Size() int { method XXX_DiscardUnknown (line 198) | func (m *LeaderKey) XXX_DiscardUnknown() { method GetName (line 204) | func (m *LeaderKey) GetName() []byte { method GetKey (line 211) | func (m *LeaderKey) GetKey() []byte { method GetRev (line 218) | func (m *LeaderKey) GetRev() int64 { method GetLease (line 225) | func (m *LeaderKey) GetLease() int64 { method Marshal (line 685) | func (m *LeaderKey) Marshal() (dAtA []byte, err error) { method MarshalTo (line 695) | func (m *LeaderKey) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 700) | func (m *LeaderKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1038) | func (m *LeaderKey) Size() (n int) { method Unmarshal (line 1435) | func (m *LeaderKey) Unmarshal(dAtA []byte) error { type LeaderRequest (line 232) | type LeaderRequest struct method Reset (line 240) | func (m *LeaderRequest) Reset() { *m = LeaderRequest{} } method String (line 241) | func (m *LeaderRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 242) | func (*LeaderRequest) ProtoMessage() {} method Descriptor (line 243) | func (*LeaderRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 246) | func (m *LeaderRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 249) | func (m *LeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 261) | func (m *LeaderRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 264) | func (m *LeaderRequest) XXX_Size() int { method XXX_DiscardUnknown (line 267) | func (m *LeaderRequest) XXX_DiscardUnknown() { method GetName (line 273) | func (m *LeaderRequest) GetName() []byte { method Marshal (line 736) | func (m *LeaderRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 746) | func (m *LeaderRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 751) | func (m *LeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1064) | func (m *LeaderRequest) Size() (n int) { method Unmarshal (line 1592) | func (m *LeaderRequest) Unmarshal(dAtA []byte) error { type LeaderResponse (line 280) | type LeaderResponse struct method Reset (line 289) | func (m *LeaderResponse) Reset() { *m = LeaderResponse{} } method String (line 290) | func (m *LeaderResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 291) | func (*LeaderResponse) ProtoMessage() {} method Descriptor (line 292) | func (*LeaderResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 295) | func (m *LeaderResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 298) | func (m *LeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 310) | func (m *LeaderResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 313) | func (m *LeaderResponse) XXX_Size() int { method XXX_DiscardUnknown (line 316) | func (m *LeaderResponse) XXX_DiscardUnknown() { method GetHeader (line 322) | func (m *LeaderResponse) GetHeader() *etcdserverpb.ResponseHeader { method GetKv (line 329) | func (m *LeaderResponse) GetKv() *mvccpb.KeyValue { method Marshal (line 770) | func (m *LeaderResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 780) | func (m *LeaderResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 785) | func (m *LeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1080) | func (m *LeaderResponse) Size() (n int) { method Unmarshal (line 1677) | func (m *LeaderResponse) Unmarshal(dAtA []byte) error { type ResignRequest (line 336) | type ResignRequest struct method Reset (line 344) | func (m *ResignRequest) Reset() { *m = ResignRequest{} } method String (line 345) | func (m *ResignRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 346) | func (*ResignRequest) ProtoMessage() {} method Descriptor (line 347) | func (*ResignRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 350) | func (m *ResignRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 353) | func (m *ResignRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 365) | func (m *ResignRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 368) | func (m *ResignRequest) XXX_Size() int { method XXX_DiscardUnknown (line 371) | func (m *ResignRequest) XXX_DiscardUnknown() { method GetLeader (line 377) | func (m *ResignRequest) GetLeader() *LeaderKey { method Marshal (line 821) | func (m *ResignRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 831) | func (m *ResignRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 836) | func (m *ResignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1100) | func (m *ResignRequest) Size() (n int) { method Unmarshal (line 1800) | func (m *ResignRequest) Unmarshal(dAtA []byte) error { type ResignResponse (line 384) | type ResignResponse struct method Reset (line 391) | func (m *ResignResponse) Reset() { *m = ResignResponse{} } method String (line 392) | func (m *ResignResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 393) | func (*ResignResponse) ProtoMessage() {} method Descriptor (line 394) | func (*ResignResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 397) | func (m *ResignResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 400) | func (m *ResignResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 412) | func (m *ResignResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 415) | func (m *ResignResponse) XXX_Size() int { method XXX_DiscardUnknown (line 418) | func (m *ResignResponse) XXX_DiscardUnknown() { method GetHeader (line 424) | func (m *ResignResponse) GetHeader() *etcdserverpb.ResponseHeader { method Marshal (line 860) | func (m *ResignResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 870) | func (m *ResignResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 875) | func (m *ResignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 1116) | func (m *ResignResponse) Size() (n int) { method Unmarshal (line 1887) | func (m *ResignResponse) Unmarshal(dAtA []byte) error { type ProclaimRequest (line 431) | type ProclaimRequest struct method Reset (line 441) | func (m *ProclaimRequest) Reset() { *m = ProclaimRequest{} } method String (line 442) | func (m *ProclaimRequest) String() string { return proto.CompactTextSt... method ProtoMessage (line 443) | func (*ProclaimRequest) ProtoMessage() {} method Descriptor (line 444) | func (*ProclaimRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 447) | func (m *ProclaimRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 450) | func (m *ProclaimRequest) XXX_Marshal(b []byte, deterministic bool) ([... method XXX_Merge (line 462) | func (m *ProclaimRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 465) | func (m *ProclaimRequest) XXX_Size() int { method XXX_DiscardUnknown (line 468) | func (m *ProclaimRequest) XXX_DiscardUnknown() { method GetLeader (line 474) | func (m *ProclaimRequest) GetLeader() *LeaderKey { method GetValue (line 481) | func (m *ProclaimRequest) GetValue() []byte { method Marshal (line 899) | func (m *ProclaimRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 909) | func (m *ProclaimRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 914) | func (m *ProclaimRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro... method Size (line 1132) | func (m *ProclaimRequest) Size() (n int) { method Unmarshal (line 1974) | func (m *ProclaimRequest) Unmarshal(dAtA []byte) error { type ProclaimResponse (line 488) | type ProclaimResponse struct method Reset (line 495) | func (m *ProclaimResponse) Reset() { *m = ProclaimResponse{} } method String (line 496) | func (m *ProclaimResponse) String() string { return proto.CompactTextS... method ProtoMessage (line 497) | func (*ProclaimResponse) ProtoMessage() {} method Descriptor (line 498) | func (*ProclaimResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 501) | func (m *ProclaimResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 504) | func (m *ProclaimResponse) XXX_Marshal(b []byte, deterministic bool) (... method XXX_Merge (line 516) | func (m *ProclaimResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 519) | func (m *ProclaimResponse) XXX_Size() int { method XXX_DiscardUnknown (line 522) | func (m *ProclaimResponse) XXX_DiscardUnknown() { method GetHeader (line 528) | func (m *ProclaimResponse) GetHeader() *etcdserverpb.ResponseHeader { method Marshal (line 945) | func (m *ProclaimResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 955) | func (m *ProclaimResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 960) | func (m *ProclaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, err... method Size (line 1152) | func (m *ProclaimResponse) Size() (n int) { method Unmarshal (line 2095) | func (m *ProclaimResponse) Unmarshal(dAtA []byte) error { function init (line 535) | func init() { function init (line 547) | func init() { proto.RegisterFile("v3election.proto", fileDescriptor_c9b1... function encodeVarintV3Election (line 984) | func encodeVarintV3Election(dAtA []byte, offset int, v uint64) int { function sovV3Election (line 1168) | func sovV3Election(x uint64) (n int) { function sozV3Election (line 1171) | func sozV3Election(x uint64) (n int) { function skipV3Election (line 2182) | func skipV3Election(dAtA []byte) (n int, err error) { FILE: server/etcdserver/api/v3election/v3electionpb/v3election_grpc.pb.go constant _ (line 20) | _ = grpc.SupportPackageIsVersion9 constant Election_Campaign_FullMethodName (line 23) | Election_Campaign_FullMethodName = "/v3electionpb.Election/Campaign" constant Election_Proclaim_FullMethodName (line 24) | Election_Proclaim_FullMethodName = "/v3electionpb.Election/Proclaim" constant Election_Leader_FullMethodName (line 25) | Election_Leader_FullMethodName = "/v3electionpb.Election/Leader" constant Election_Observe_FullMethodName (line 26) | Election_Observe_FullMethodName = "/v3electionpb.Election/Observe" constant Election_Resign_FullMethodName (line 27) | Election_Resign_FullMethodName = "/v3electionpb.Election/Resign" type ElectionClient (line 35) | type ElectionClient interface type electionClient (line 53) | type electionClient struct method Campaign (line 61) | func (c *electionClient) Campaign(ctx context.Context, in *CampaignReq... method Proclaim (line 71) | func (c *electionClient) Proclaim(ctx context.Context, in *ProclaimReq... method Leader (line 81) | func (c *electionClient) Leader(ctx context.Context, in *LeaderRequest... method Observe (line 91) | func (c *electionClient) Observe(ctx context.Context, in *LeaderReques... method Resign (line 110) | func (c *electionClient) Resign(ctx context.Context, in *ResignRequest... function NewElectionClient (line 57) | func NewElectionClient(cc grpc.ClientConnInterface) ElectionClient { type ElectionServer (line 125) | type ElectionServer interface type UnimplementedElectionServer (line 149) | type UnimplementedElectionServer struct method Campaign (line 151) | func (UnimplementedElectionServer) Campaign(context.Context, *Campaign... method Proclaim (line 154) | func (UnimplementedElectionServer) Proclaim(context.Context, *Proclaim... method Leader (line 157) | func (UnimplementedElectionServer) Leader(context.Context, *LeaderRequ... method Observe (line 160) | func (UnimplementedElectionServer) Observe(*LeaderRequest, grpc.Server... method Resign (line 163) | func (UnimplementedElectionServer) Resign(context.Context, *ResignRequ... method mustEmbedUnimplementedElectionServer (line 166) | func (UnimplementedElectionServer) mustEmbedUnimplementedElectionServe... method testEmbeddedByValue (line 167) | func (UnimplementedElectionServer) testEmbeddedByValue() ... type UnsafeElectionServer (line 172) | type UnsafeElectionServer interface function RegisterElectionServer (line 176) | func RegisterElectionServer(s grpc.ServiceRegistrar, srv ElectionServer) { function _Election_Campaign_Handler (line 187) | func _Election_Campaign_Handler(srv interface{}, ctx context.Context, de... function _Election_Proclaim_Handler (line 205) | func _Election_Proclaim_Handler(srv interface{}, ctx context.Context, de... function _Election_Leader_Handler (line 223) | func _Election_Leader_Handler(srv interface{}, ctx context.Context, dec ... function _Election_Observe_Handler (line 241) | func _Election_Observe_Handler(srv interface{}, stream grpc.ServerStream... function _Election_Resign_Handler (line 252) | func _Election_Resign_Handler(srv interface{}, ctx context.Context, dec ... FILE: server/etcdserver/api/v3lock/lock.go type lockServer (line 25) | type lockServer struct method Lock (line 35) | func (ls *lockServer) Lock(ctx context.Context, req *v3lockpb.LockRequ... method Unlock (line 52) | func (ls *lockServer) Unlock(ctx context.Context, req *v3lockpb.Unlock... function NewLockServer (line 31) | func NewLockServer(c *clientv3.Client) v3lockpb.LockServer { FILE: server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go function request_Lock_Lock_0 (line 41) | func request_Lock_Lock_0(ctx context.Context, marshaler runtime.Marshale... function local_request_Lock_Lock_0 (line 56) | func local_request_Lock_Lock_0(ctx context.Context, marshaler runtime.Ma... function request_Lock_Unlock_0 (line 68) | func request_Lock_Unlock_0(ctx context.Context, marshaler runtime.Marsha... function local_request_Lock_Unlock_0 (line 83) | func local_request_Lock_Unlock_0(ctx context.Context, marshaler runtime.... function RegisterLockHandlerServer (line 100) | func RegisterLockHandlerServer(ctx context.Context, mux *runtime.ServeMu... function RegisterLockHandlerFromEndpoint (line 147) | func RegisterLockHandlerFromEndpoint(ctx context.Context, mux *runtime.S... function RegisterLockHandler (line 171) | func RegisterLockHandler(ctx context.Context, mux *runtime.ServeMux, con... function RegisterLockHandlerClient (line 180) | func RegisterLockHandlerClient(ctx context.Context, mux *runtime.ServeMu... FILE: server/etcdserver/api/v3lock/v3lockpb/v3lock.pb.go constant _ (line 26) | _ = proto.ProtoPackageIsVersion3 type LockRequest (line 28) | type LockRequest struct method Reset (line 42) | func (m *LockRequest) Reset() { *m = LockRequest{} } method String (line 43) | func (m *LockRequest) String() string { return proto.CompactTextString... method ProtoMessage (line 44) | func (*LockRequest) ProtoMessage() {} method Descriptor (line 45) | func (*LockRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 48) | func (m *LockRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 51) | func (m *LockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt... method XXX_Merge (line 63) | func (m *LockRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 66) | func (m *LockRequest) XXX_Size() int { method XXX_DiscardUnknown (line 69) | func (m *LockRequest) XXX_DiscardUnknown() { method GetName (line 75) | func (m *LockRequest) GetName() []byte { method GetLease (line 82) | func (m *LockRequest) GetLease() int64 { method Marshal (line 277) | func (m *LockRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 287) | func (m *LockRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 292) | func (m *LockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 446) | func (m *LockRequest) Size() (n int) { method Unmarshal (line 523) | func (m *LockRequest) Unmarshal(dAtA []byte) error { type LockResponse (line 89) | type LockResponse struct method Reset (line 100) | func (m *LockResponse) Reset() { *m = LockResponse{} } method String (line 101) | func (m *LockResponse) String() string { return proto.CompactTextStrin... method ProtoMessage (line 102) | func (*LockResponse) ProtoMessage() {} method Descriptor (line 103) | func (*LockResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 106) | func (m *LockResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 109) | func (m *LockResponse) XXX_Marshal(b []byte, deterministic bool) ([]by... method XXX_Merge (line 121) | func (m *LockResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 124) | func (m *LockResponse) XXX_Size() int { method XXX_DiscardUnknown (line 127) | func (m *LockResponse) XXX_DiscardUnknown() { method GetHeader (line 133) | func (m *LockResponse) GetHeader() *etcdserverpb.ResponseHeader { method GetKey (line 140) | func (m *LockResponse) GetKey() []byte { method Marshal (line 316) | func (m *LockResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 326) | func (m *LockResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 331) | func (m *LockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 465) | func (m *LockResponse) Size() (n int) { method Unmarshal (line 627) | func (m *LockResponse) Unmarshal(dAtA []byte) error { type UnlockRequest (line 147) | type UnlockRequest struct method Reset (line 155) | func (m *UnlockRequest) Reset() { *m = UnlockRequest{} } method String (line 156) | func (m *UnlockRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 157) | func (*UnlockRequest) ProtoMessage() {} method Descriptor (line 158) | func (*UnlockRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 161) | func (m *UnlockRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 164) | func (m *UnlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 176) | func (m *UnlockRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 179) | func (m *UnlockRequest) XXX_Size() int { method XXX_DiscardUnknown (line 182) | func (m *UnlockRequest) XXX_DiscardUnknown() { method GetKey (line 188) | func (m *UnlockRequest) GetKey() []byte { method Marshal (line 362) | func (m *UnlockRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 372) | func (m *UnlockRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 377) | func (m *UnlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 485) | func (m *UnlockRequest) Size() (n int) { method Unmarshal (line 748) | func (m *UnlockRequest) Unmarshal(dAtA []byte) error { type UnlockResponse (line 195) | type UnlockResponse struct method Reset (line 202) | func (m *UnlockResponse) Reset() { *m = UnlockResponse{} } method String (line 203) | func (m *UnlockResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 204) | func (*UnlockResponse) ProtoMessage() {} method Descriptor (line 205) | func (*UnlockResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 208) | func (m *UnlockResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 211) | func (m *UnlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 223) | func (m *UnlockResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 226) | func (m *UnlockResponse) XXX_Size() int { method XXX_DiscardUnknown (line 229) | func (m *UnlockResponse) XXX_DiscardUnknown() { method GetHeader (line 235) | func (m *UnlockResponse) GetHeader() *etcdserverpb.ResponseHeader { method Marshal (line 396) | func (m *UnlockResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 406) | func (m *UnlockResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 411) | func (m *UnlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 501) | func (m *UnlockResponse) Size() (n int) { method Unmarshal (line 833) | func (m *UnlockResponse) Unmarshal(dAtA []byte) error { function init (line 242) | func init() { function init (line 249) | func init() { proto.RegisterFile("v3lock.proto", fileDescriptor_52389b3e... function encodeVarintV3Lock (line 435) | func encodeVarintV3Lock(dAtA []byte, offset int, v uint64) int { function sovV3Lock (line 517) | func sovV3Lock(x uint64) (n int) { function sozV3Lock (line 520) | func sozV3Lock(x uint64) (n int) { function skipV3Lock (line 920) | func skipV3Lock(dAtA []byte) (n int, err error) { FILE: server/etcdserver/api/v3lock/v3lockpb/v3lock_grpc.pb.go constant _ (line 20) | _ = grpc.SupportPackageIsVersion9 constant Lock_Lock_FullMethodName (line 23) | Lock_Lock_FullMethodName = "/v3lockpb.Lock/Lock" constant Lock_Unlock_FullMethodName (line 24) | Lock_Unlock_FullMethodName = "/v3lockpb.Lock/Unlock" type LockClient (line 32) | type LockClient interface type lockClient (line 46) | type lockClient struct method Lock (line 54) | func (c *lockClient) Lock(ctx context.Context, in *LockRequest, opts .... method Unlock (line 64) | func (c *lockClient) Unlock(ctx context.Context, in *UnlockRequest, op... function NewLockClient (line 50) | func NewLockClient(cc grpc.ClientConnInterface) LockClient { type LockServer (line 79) | type LockServer interface type UnimplementedLockServer (line 99) | type UnimplementedLockServer struct method Lock (line 101) | func (UnimplementedLockServer) Lock(context.Context, *LockRequest) (*L... method Unlock (line 104) | func (UnimplementedLockServer) Unlock(context.Context, *UnlockRequest)... method mustEmbedUnimplementedLockServer (line 107) | func (UnimplementedLockServer) mustEmbedUnimplementedLockServer() {} method testEmbeddedByValue (line 108) | func (UnimplementedLockServer) testEmbeddedByValue() {} type UnsafeLockServer (line 113) | type UnsafeLockServer interface function RegisterLockServer (line 117) | func RegisterLockServer(s grpc.ServiceRegistrar, srv LockServer) { function _Lock_Lock_Handler (line 128) | func _Lock_Lock_Handler(srv interface{}, ctx context.Context, dec func(i... function _Lock_Unlock_Handler (line 146) | func _Lock_Unlock_Handler(srv interface{}, ctx context.Context, dec func... FILE: server/etcdserver/api/v3rpc/auth.go type AuthServer (line 25) | type AuthServer struct method AuthEnable (line 35) | func (as *AuthServer) AuthEnable(ctx context.Context, r *pb.AuthEnable... method AuthDisable (line 43) | func (as *AuthServer) AuthDisable(ctx context.Context, r *pb.AuthDisab... method AuthStatus (line 51) | func (as *AuthServer) AuthStatus(ctx context.Context, r *pb.AuthStatus... method Authenticate (line 59) | func (as *AuthServer) Authenticate(ctx context.Context, r *pb.Authenti... method RoleAdd (line 67) | func (as *AuthServer) RoleAdd(ctx context.Context, r *pb.AuthRoleAddRe... method RoleDelete (line 75) | func (as *AuthServer) RoleDelete(ctx context.Context, r *pb.AuthRoleDe... method RoleGet (line 83) | func (as *AuthServer) RoleGet(ctx context.Context, r *pb.AuthRoleGetRe... method RoleList (line 91) | func (as *AuthServer) RoleList(ctx context.Context, r *pb.AuthRoleList... method RoleRevokePermission (line 99) | func (as *AuthServer) RoleRevokePermission(ctx context.Context, r *pb.... method RoleGrantPermission (line 107) | func (as *AuthServer) RoleGrantPermission(ctx context.Context, r *pb.A... method UserAdd (line 115) | func (as *AuthServer) UserAdd(ctx context.Context, r *pb.AuthUserAddRe... method UserDelete (line 123) | func (as *AuthServer) UserDelete(ctx context.Context, r *pb.AuthUserDe... method UserGet (line 131) | func (as *AuthServer) UserGet(ctx context.Context, r *pb.AuthUserGetRe... method UserList (line 139) | func (as *AuthServer) UserList(ctx context.Context, r *pb.AuthUserList... method UserGrantRole (line 147) | func (as *AuthServer) UserGrantRole(ctx context.Context, r *pb.AuthUse... method UserRevokeRole (line 155) | func (as *AuthServer) UserRevokeRole(ctx context.Context, r *pb.AuthUs... method UserChangePassword (line 163) | func (as *AuthServer) UserChangePassword(ctx context.Context, r *pb.Au... function NewAuthServer (line 31) | func NewAuthServer(s *etcdserver.EtcdServer) *AuthServer { type AuthGetter (line 171) | type AuthGetter interface type AuthAdmin (line 176) | type AuthAdmin struct method isPermitted (line 182) | func (aa *AuthAdmin) isPermitted(ctx context.Context) error { FILE: server/etcdserver/api/v3rpc/codec.go type codec (line 19) | type codec struct method Marshal (line 21) | func (c *codec) Marshal(v any) ([]byte, error) { method Unmarshal (line 27) | func (c *codec) Unmarshal(data []byte, v any) error { method String (line 32) | func (c *codec) String() string { FILE: server/etcdserver/api/v3rpc/grpc.go constant maxSendBytes (line 36) | maxSendBytes = math.MaxInt32 function Server (line 44) | func Server(s *etcdserver.EtcdServer, tls *tls.Config, interceptor grpc.... function getServerMetrics (line 97) | func getServerMetrics(metricType string, lg *zap.Logger) *grpc_prometheu... FILE: server/etcdserver/api/v3rpc/header.go type header (line 23) | type header struct method fill (line 40) | func (h *header) fill(rh *pb.ResponseHeader) { function newHeader (line 30) | func newHeader(s *etcdserver.EtcdServer) header { FILE: server/etcdserver/api/v3rpc/health.go constant allGRPCServices (line 27) | allGRPCServices = "" type notifier (line 30) | type notifier interface function newHealthNotifier (line 35) | func newHealthNotifier(hs *health.Server, s *etcdserver.EtcdServer) noti... type healthNotifier (line 46) | type healthNotifier struct method defragStarted (line 53) | func (hc *healthNotifier) defragStarted() { method defragFinished (line 60) | func (hc *healthNotifier) defragFinished() { hc.startServe() } method startServe (line 62) | func (hc *healthNotifier) startServe() { method stopServe (line 71) | func (hc *healthNotifier) stopServe(reason string) { FILE: server/etcdserver/api/v3rpc/interceptor.go constant maxNoLeaderCnt (line 37) | maxNoLeaderCnt = 3 constant snapshotMethod (line 38) | snapshotMethod = "/etcdserverpb.Maintenance/Snapshot" type streamsMap (line 41) | type streamsMap struct function newUnaryInterceptor (line 46) | func newUnaryInterceptor(s *etcdserver.EtcdServer) grpc.UnaryServerInter... function newLogUnaryInterceptor (line 78) | func newLogUnaryInterceptor(s *etcdserver.EtcdServer) grpc.UnaryServerIn... function logUnaryRequestStats (line 90) | func logUnaryRequestStats(ctx context.Context, lg *zap.Logger, warnLaten... function logGenericRequestStats (line 183) | func logGenericRequestStats(lg *zap.Logger, startTime time.Time, duratio... function logExpensiveRequestStats (line 199) | func logExpensiveRequestStats(lg *zap.Logger, startTime time.Time, durat... function newStreamInterceptor (line 215) | func newStreamInterceptor(s *etcdserver.EtcdServer) grpc.StreamServerInt... type cancellableContext (line 269) | type cancellableContext struct method Cancel (line 287) | func (c *cancellableContext) Cancel(reason error) { method Err (line 296) | func (c *cancellableContext) Err() error { function newCancellableContext (line 277) | func newCancellableContext(parent context.Context) *cancellableContext { type serverStreamWithCtx (line 305) | type serverStreamWithCtx struct method Context (line 312) | func (ssc serverStreamWithCtx) Context() context.Context { return ssc.... function monitorLeader (line 314) | func monitorLeader(s *etcdserver.EtcdServer) *streamsMap { FILE: server/etcdserver/api/v3rpc/key.go type kvServer (line 27) | type kvServer struct method Range (line 44) | func (s *kvServer) Range(ctx context.Context, r *pb.RangeRequest) (*pb... method Put (line 58) | func (s *kvServer) Put(ctx context.Context, r *pb.PutRequest) (*pb.Put... method DeleteRange (line 72) | func (s *kvServer) DeleteRange(ctx context.Context, r *pb.DeleteRangeR... method Txn (line 86) | func (s *kvServer) Txn(ctx context.Context, r *pb.TxnRequest) (*pb.Txn... method Compact (line 107) | func (s *kvServer) Compact(ctx context.Context, r *pb.CompactionReques... function NewKVServer (line 40) | func NewKVServer(s *etcdserver.EtcdServer) pb.KVServer { function checkRangeRequest (line 121) | func checkRangeRequest(r *pb.RangeRequest) error { function checkPutRequest (line 137) | func checkPutRequest(r *pb.PutRequest) error { function checkDeleteRequest (line 150) | func checkDeleteRequest(r *pb.DeleteRangeRequest) error { function checkTxnRequest (line 157) | func checkTxnRequest(r *pb.TxnRequest, maxTxnOps int) error { function checkIntervals (line 191) | func checkIntervals(reqs []*pb.RequestOp) (map[string]struct{}, adt.Inte... function checkRequestOp (line 272) | func checkRequestOp(u *pb.RequestOp, maxTxnOps int) error { FILE: server/etcdserver/api/v3rpc/key_test.go function TestCheckRangeRequest (line 24) | func TestCheckRangeRequest(t *testing.T) { function getError (line 62) | func getError(err error) string { FILE: server/etcdserver/api/v3rpc/lease.go type LeaseServer (line 29) | type LeaseServer struct method LeaseGrant (line 44) | func (ls *LeaseServer) LeaseGrant(ctx context.Context, cr *pb.LeaseGra... method LeaseRevoke (line 53) | func (ls *LeaseServer) LeaseRevoke(ctx context.Context, rr *pb.LeaseRe... method LeaseTimeToLive (line 62) | func (ls *LeaseServer) LeaseTimeToLive(ctx context.Context, rr *pb.Lea... method LeaseLeases (line 78) | func (ls *LeaseServer) LeaseLeases(ctx context.Context, rr *pb.LeaseLe... method LeaseKeepAlive (line 93) | func (ls *LeaseServer) LeaseKeepAlive(stream pb.Lease_LeaseKeepAliveSe... method leaseKeepAlive (line 111) | func (ls *LeaseServer) leaseKeepAlive(stream pb.Lease_LeaseKeepAliveSe... function NewLeaseServer (line 36) | func NewLeaseServer(s *etcdserver.EtcdServer) pb.LeaseServer { FILE: server/etcdserver/api/v3rpc/maintenance.go type KVGetter (line 42) | type KVGetter interface type BackendGetter (line 46) | type BackendGetter interface type Defrager (line 50) | type Defrager interface type Alarmer (line 54) | type Alarmer interface type Downgrader (line 61) | type Downgrader interface type LeaderTransferrer (line 65) | type LeaderTransferrer interface type ClusterStatusGetter (line 69) | type ClusterStatusGetter interface type ConfigGetter (line 73) | type ConfigGetter interface type maintenanceServer (line 77) | type maintenanceServer struct method Defragment (line 119) | func (ms *maintenanceServer) Defragment(ctx context.Context, sr *pb.De... method Snapshot (line 135) | func (ms *maintenanceServer) Snapshot(sr *pb.SnapshotRequest, srv pb.M... method Hash (line 223) | func (ms *maintenanceServer) Hash(ctx context.Context, r *pb.HashReque... method HashKV (line 233) | func (ms *maintenanceServer) HashKV(ctx context.Context, r *pb.HashKVR... method Alarm (line 249) | func (ms *maintenanceServer) Alarm(ctx context.Context, ar *pb.AlarmRe... method Status (line 261) | func (ms *maintenanceServer) Status(ctx context.Context, ar *pb.Status... method MoveLeader (line 298) | func (ms *maintenanceServer) MoveLeader(ctx context.Context, tr *pb.Mo... method Downgrade (line 309) | func (ms *maintenanceServer) Downgrade(ctx context.Context, r *pb.Down... function NewMaintenanceServer (line 97) | func NewMaintenanceServer(s *etcdserver.EtcdServer, healthNotifier notif... constant snapshotSendBufferSize (line 133) | snapshotSendBufferSize = 32 * 1024 type authMaintenanceServer (line 319) | type authMaintenanceServer struct method Defragment (line 324) | func (ams *authMaintenanceServer) Defragment(ctx context.Context, sr *... method Snapshot (line 332) | func (ams *authMaintenanceServer) Snapshot(sr *pb.SnapshotRequest, srv... method Hash (line 340) | func (ams *authMaintenanceServer) Hash(ctx context.Context, r *pb.Hash... method HashKV (line 348) | func (ams *authMaintenanceServer) HashKV(ctx context.Context, r *pb.Ha... method Alarm (line 355) | func (ams *authMaintenanceServer) Alarm(ctx context.Context, ar *pb.Al... method Status (line 362) | func (ams *authMaintenanceServer) Status(ctx context.Context, ar *pb.S... method MoveLeader (line 370) | func (ams *authMaintenanceServer) MoveLeader(ctx context.Context, tr *... method Downgrade (line 378) | func (ams *authMaintenanceServer) Downgrade(ctx context.Context, r *pb... FILE: server/etcdserver/api/v3rpc/member.go type ClusterServer (line 29) | type ClusterServer struct method MemberAdd (line 43) | func (cs *ClusterServer) MemberAdd(ctx context.Context, r *pb.MemberAd... method MemberRemove (line 72) | func (cs *ClusterServer) MemberRemove(ctx context.Context, r *pb.Membe... method MemberUpdate (line 80) | func (cs *ClusterServer) MemberUpdate(ctx context.Context, r *pb.Membe... method MemberList (line 92) | func (cs *ClusterServer) MemberList(ctx context.Context, r *pb.MemberL... method MemberPromote (line 102) | func (cs *ClusterServer) MemberPromote(ctx context.Context, r *pb.Memb... method header (line 110) | func (cs *ClusterServer) header() *pb.ResponseHeader { function NewClusterServer (line 36) | func NewClusterServer(s *etcdserver.EtcdServer) *ClusterServer { function membersToProtoMembers (line 114) | func membersToProtoMembers(membs []*membership.Member) []*pb.Member { FILE: server/etcdserver/api/v3rpc/metrics.go function init (line 105) | func init() { FILE: server/etcdserver/api/v3rpc/quota.go type quotaKVServer (line 27) | type quotaKVServer struct method Put (line 60) | func (s *quotaKVServer) Put(ctx context.Context, r *pb.PutRequest) (*p... method Txn (line 67) | func (s *quotaKVServer) Txn(ctx context.Context, r *pb.TxnRequest) (*p... type quotaAlarmer (line 32) | type quotaAlarmer struct method check (line 40) | func (qa *quotaAlarmer) check(ctx context.Context, r any) error { function NewQuotaKVServer (line 53) | func NewQuotaKVServer(s *etcdserver.EtcdServer) pb.KVServer { type quotaLeaseServer (line 74) | type quotaLeaseServer struct method LeaseGrant (line 79) | func (s *quotaLeaseServer) LeaseGrant(ctx context.Context, cr *pb.Leas... function NewQuotaLeaseServer (line 86) | func NewQuotaLeaseServer(s *etcdserver.EtcdServer) pb.LeaseServer { function newBackendQuota (line 93) | func newBackendQuota(s *etcdserver.EtcdServer, name string) storage.Quota { FILE: server/etcdserver/api/v3rpc/util.go function togRPCError (line 98) | func togRPCError(err error) error { function isClientCtxErr (line 110) | func isClientCtxErr(ctxErr error, err error) bool { function isRPCSupportedForLearner (line 143) | func isRPCSupportedForLearner(req any) bool { FILE: server/etcdserver/api/v3rpc/util_test.go function TestGRPCError (line 29) | func TestGRPCError(t *testing.T) { FILE: server/etcdserver/api/v3rpc/validationfuzz_test.go function FuzzTxnRangeRequest (line 30) | func FuzzTxnRangeRequest(f *testing.F) { function FuzzTxnPutRequest (line 76) | func FuzzTxnPutRequest(f *testing.F) { function FuzzTxnDeleteRangeRequest (line 121) | func FuzzTxnDeleteRangeRequest(f *testing.F) { function verifyCheck (line 157) | func verifyCheck(t *testing.T, check func() error) { function execTransaction (line 164) | func execTransaction(t *testing.T, req *pb.RequestOp) { FILE: server/etcdserver/api/v3rpc/watch.go constant minWatchProgressInterval (line 41) | minWatchProgressInterval = 100 * time.Millisecond type watchServer (line 43) | type watchServer struct method Watch (line 162) | func (ws *watchServer) Watch(stream pb.Watch_WatchServer) (err error) { function NewWatchServer (line 60) | func NewWatchServer(s *etcdserver.EtcdServer) pb.WatchServer { function GetProgressReportInterval (line 98) | func GetProgressReportInterval() time.Duration { function SetProgressReportInterval (line 112) | func SetProgressReportInterval(newTimeout time.Duration) { constant ctrlStreamBufLen (line 123) | ctrlStreamBufLen = 16 type serverWatchStream (line 129) | type serverWatchStream struct method isWatchPermitted (line 236) | func (sws *serverWatchStream) isWatchPermitted(wcr *pb.WatchCreateRequ... method recvLoop (line 248) | func (sws *serverWatchStream) recvLoop() error { method sendLoop (line 409) | func (sws *serverWatchStream) sendLoop() { method close (line 620) | func (sws *serverWatchStream) close() { method newResponseHeader (line 626) | func (sws *serverWatchStream) newResponseHeader(rev int64) *pb.Respons... function IsCreateEvent (line 576) | func IsCreateEvent(e mvccpb.Event) bool { function sendFragments (line 580) | func sendFragments( function filterNoDelete (line 635) | func filterNoDelete(e mvccpb.Event) bool { function filterNoPut (line 639) | func filterNoPut(e mvccpb.Event) bool { function FiltersFromRequest (line 644) | func FiltersFromRequest(creq *pb.WatchCreateRequest) []mvcc.FilterFunc { FILE: server/etcdserver/api/v3rpc/watch_test.go function TestSendFragment (line 27) | func TestSendFragment(t *testing.T) { function createResponse (line 86) | func createResponse(dataSize, events int) (resp *pb.WatchResponse) { FILE: server/etcdserver/apply/apply.go function Apply (line 27) | func Apply(lg *zap.Logger, e *raftpb.Entry, uberApply UberApplier, w wai... function noSideEffect (line 50) | func noSideEffect(r *pb.InternalRaftRequest) bool { function removeNeedlessRangeReqs (line 54) | func removeNeedlessRangeReqs(txn *pb.TxnRequest) { FILE: server/etcdserver/apply/auth.go type authApplierV3 (line 28) | type authApplierV3 struct method Apply (line 44) | func (aa *authApplierV3) Apply(r *pb.InternalRaftRequest, shouldApplyV... method Put (line 66) | func (aa *authApplierV3) Put(r *pb.PutRequest) (*pb.PutResponse, *trac... method Range (line 88) | func (aa *authApplierV3) Range(r *pb.RangeRequest) (*pb.RangeResponse,... method DeleteRange (line 95) | func (aa *authApplierV3) DeleteRange(r *pb.DeleteRangeRequest) (*pb.De... method Txn (line 109) | func (aa *authApplierV3) Txn(rt *pb.TxnRequest) (*pb.TxnResponse, *tra... method LeaseRevoke (line 116) | func (aa *authApplierV3) LeaseRevoke(lc *pb.LeaseRevokeRequest) (*pb.L... method checkLeasePuts (line 123) | func (aa *authApplierV3) checkLeasePuts(leaseID lease.LeaseID) error { method checkLeasePutsKeys (line 132) | func (aa *authApplierV3) checkLeasePutsKeys(l *lease.Lease) error { method UserGet (line 147) | func (aa *authApplierV3) UserGet(r *pb.AuthUserGetRequest) (*pb.AuthUs... method RoleGet (line 158) | func (aa *authApplierV3) RoleGet(r *pb.AuthRoleGetRequest) (*pb.AuthRo... function newAuthApplierV3 (line 40) | func newAuthApplierV3(as auth.AuthStore, base applierV3, lessor lease.Le... function needAdminPermission (line 169) | func needAdminPermission(r *pb.InternalRaftRequest) bool { FILE: server/etcdserver/apply/auth_test.go function dummyIndexWaiter (line 41) | func dummyIndexWaiter(_ uint64) <-chan struct{} { function dummyApplyFunc (line 47) | func dummyApplyFunc(_ *pb.InternalRaftRequest, shouldApplyV3 membership.... type fakeRaftStatusGetter (line 51) | type fakeRaftStatusGetter struct method MemberID (line 53) | func (*fakeRaftStatusGetter) MemberID() types.ID { method Leader (line 57) | func (*fakeRaftStatusGetter) Leader() types.ID { method CommittedIndex (line 61) | func (*fakeRaftStatusGetter) CommittedIndex() uint64 { method AppliedIndex (line 65) | func (*fakeRaftStatusGetter) AppliedIndex() uint64 { method Term (line 69) | func (*fakeRaftStatusGetter) Term() uint64 { type fakeSnapshotServer (line 73) | type fakeSnapshotServer struct method ForceSnapshot (line 75) | func (*fakeSnapshotServer) ForceSnapshot() {} function defaultAuthApplierV3 (line 77) | func defaultAuthApplierV3(t *testing.T) *authApplierV3 { constant userRoot (line 117) | userRoot = "root" constant roleRoot (line 118) | roleRoot = "root" constant userReadOnly (line 119) | userReadOnly = "user_read_only" constant roleReadOnly (line 120) | roleReadOnly = "role_read_only" constant userWriteOnly (line 121) | userWriteOnly = "user_write_only" constant roleWriteOnly (line 122) | roleWriteOnly = "role_write_only" constant key (line 124) | key = "key" constant rangeEnd (line 125) | rangeEnd = "rangeEnd" constant keyOutsideRange (line 126) | keyOutsideRange = "rangeEnd_outside" constant leaseID (line 128) | leaseID = 1 function mustCreateRolesAndEnableAuth (line 131) | func mustCreateRolesAndEnableAuth(t *testing.T, authApplier *authApplier... function setAuthInfo (line 170) | func setAuthInfo(authApplier *authApplierV3, userName string) { function TestAuthApplierV3_Apply (line 179) | func TestAuthApplierV3_Apply(t *testing.T) { function TestAuthApplierV3_AdminPermission (line 228) | func TestAuthApplierV3_AdminPermission(t *testing.T) { function TestAuthApplierV3_Put (line 389) | func TestAuthApplierV3_Put(t *testing.T) { function TestAuthApplierV3_LeasePut (line 445) | func TestAuthApplierV3_LeasePut(t *testing.T) { function TestAuthApplierV3_Range (line 484) | func TestAuthApplierV3_Range(t *testing.T) { function TestAuthApplierV3_DeleteRange (line 528) | func TestAuthApplierV3_DeleteRange(t *testing.T) { function TestAuthApplierV3_Txn (line 592) | func TestAuthApplierV3_Txn(t *testing.T) { function TestAuthApplierV3_LeaseRevoke (line 663) | func TestAuthApplierV3_LeaseRevoke(t *testing.T) { function TestAuthApplierV3_UserGet (line 704) | func TestAuthApplierV3_UserGet(t *testing.T) { function TestAuthApplierV3_RoleGet (line 743) | func TestAuthApplierV3_RoleGet(t *testing.T) { function TestCheckLeasePutsKeys (line 781) | func TestCheckLeasePutsKeys(t *testing.T) { FILE: server/etcdserver/apply/backend.go type applierV3backend (line 36) | type applierV3backend struct method Apply (line 46) | func (a *applierV3backend) Apply(r *pb.InternalRaftRequest, shouldAppl... method Put (line 50) | func (a *applierV3backend) Put(p *pb.PutRequest) (resp *pb.PutResponse... method DeleteRange (line 54) | func (a *applierV3backend) DeleteRange(dr *pb.DeleteRangeRequest) (*pb... method Range (line 58) | func (a *applierV3backend) Range(r *pb.RangeRequest) (*pb.RangeRespons... method Txn (line 62) | func (a *applierV3backend) Txn(rt *pb.TxnRequest) (*pb.TxnResponse, *t... method Compaction (line 66) | func (a *applierV3backend) Compaction(compaction *pb.CompactionRequest... method LeaseGrant (line 83) | func (a *applierV3backend) LeaseGrant(lc *pb.LeaseGrantRequest) (*pb.L... method LeaseRevoke (line 94) | func (a *applierV3backend) LeaseRevoke(lc *pb.LeaseRevokeRequest) (*pb... method LeaseCheckpoint (line 99) | func (a *applierV3backend) LeaseCheckpoint(lc *pb.LeaseCheckpointReque... method Alarm (line 109) | func (a *applierV3backend) Alarm(ar *pb.AlarmRequest) (*pb.AlarmRespon... method AuthEnable (line 138) | func (a *applierV3backend) AuthEnable() (*pb.AuthEnableResponse, error) { method AuthDisable (line 146) | func (a *applierV3backend) AuthDisable() (*pb.AuthDisableResponse, err... method AuthStatus (line 151) | func (a *applierV3backend) AuthStatus() (*pb.AuthStatusResponse, error) { method Authenticate (line 157) | func (a *applierV3backend) Authenticate(r *pb.InternalAuthenticateRequ... method UserAdd (line 166) | func (a *applierV3backend) UserAdd(r *pb.AuthUserAddRequest) (*pb.Auth... method UserDelete (line 174) | func (a *applierV3backend) UserDelete(r *pb.AuthUserDeleteRequest) (*p... method UserChangePassword (line 182) | func (a *applierV3backend) UserChangePassword(r *pb.AuthUserChangePass... method UserGrantRole (line 190) | func (a *applierV3backend) UserGrantRole(r *pb.AuthUserGrantRoleReques... method UserGet (line 198) | func (a *applierV3backend) UserGet(r *pb.AuthUserGetRequest) (*pb.Auth... method UserRevokeRole (line 206) | func (a *applierV3backend) UserRevokeRole(r *pb.AuthUserRevokeRoleRequ... method RoleAdd (line 214) | func (a *applierV3backend) RoleAdd(r *pb.AuthRoleAddRequest) (*pb.Auth... method RoleGrantPermission (line 222) | func (a *applierV3backend) RoleGrantPermission(r *pb.AuthRoleGrantPerm... method RoleGet (line 230) | func (a *applierV3backend) RoleGet(r *pb.AuthRoleGetRequest) (*pb.Auth... method RoleRevokePermission (line 238) | func (a *applierV3backend) RoleRevokePermission(r *pb.AuthRoleRevokePe... method RoleDelete (line 246) | func (a *applierV3backend) RoleDelete(r *pb.AuthRoleDeleteRequest) (*p... method UserList (line 254) | func (a *applierV3backend) UserList(r *pb.AuthUserListRequest) (*pb.Au... method RoleList (line 262) | func (a *applierV3backend) RoleList(r *pb.AuthRoleListRequest) (*pb.Au... method ClusterVersionSet (line 270) | func (a *applierV3backend) ClusterVersionSet(r *membershippb.ClusterVe... method ClusterMemberAttrSet (line 287) | func (a *applierV3backend) ClusterMemberAttrSet(r *membershippb.Cluste... method DowngradeInfoSet (line 298) | func (a *applierV3backend) DowngradeInfoSet(r *membershippb.DowngradeI... method newHeader (line 306) | func (a *applierV3backend) newHeader() *pb.ResponseHeader { function newApplierV3Backend (line 40) | func newApplierV3Backend(opts ApplierOptions) applierV3 { FILE: server/etcdserver/apply/capped.go type applierV3Capped (line 24) | type applierV3Capped struct method Put (line 33) | func (a *applierV3Capped) Put(_ *pb.PutRequest) (*pb.PutResponse, *tra... method Txn (line 37) | func (a *applierV3Capped) Txn(r *pb.TxnRequest) (*pb.TxnResponse, *tra... method LeaseGrant (line 44) | func (a *applierV3Capped) LeaseGrant(_ *pb.LeaseGrantRequest) (*pb.Lea... function newApplierV3Capped (line 31) | func newApplierV3Capped(base applierV3) applierV3 { return &applierV3Cap... FILE: server/etcdserver/apply/corrupt.go type applierV3Corrupt (line 23) | type applierV3Corrupt struct method Put (line 29) | func (a *applierV3Corrupt) Put(_ *pb.PutRequest) (*pb.PutResponse, *tr... method Range (line 33) | func (a *applierV3Corrupt) Range(_ *pb.RangeRequest) (*pb.RangeRespons... method DeleteRange (line 37) | func (a *applierV3Corrupt) DeleteRange(_ *pb.DeleteRangeRequest) (*pb.... method Txn (line 41) | func (a *applierV3Corrupt) Txn(_ *pb.TxnRequest) (*pb.TxnResponse, *tr... method Compaction (line 45) | func (a *applierV3Corrupt) Compaction(_ *pb.CompactionRequest) (*pb.Co... method LeaseGrant (line 49) | func (a *applierV3Corrupt) LeaseGrant(_ *pb.LeaseGrantRequest) (*pb.Le... method LeaseRevoke (line 53) | func (a *applierV3Corrupt) LeaseRevoke(_ *pb.LeaseRevokeRequest) (*pb.... function newApplierV3Corrupt (line 27) | func newApplierV3Corrupt(a applierV3) *applierV3Corrupt { return &applie... FILE: server/etcdserver/apply/interface.go type applierV3 (line 37) | type applierV3 interface type ApplierOptions (line 79) | type ApplierOptions struct type SnapshotServer (line 95) | type SnapshotServer interface type RaftStatusGetter (line 100) | type RaftStatusGetter interface type Result (line 108) | type Result struct type applyFunc (line 118) | type applyFunc FILE: server/etcdserver/apply/metrics.go function init (line 29) | func init() { FILE: server/etcdserver/apply/quota.go type quotaApplierV3 (line 27) | type quotaApplierV3 struct method Put (line 36) | func (a *quotaApplierV3) Put(p *pb.PutRequest) (*pb.PutResponse, *trac... method Txn (line 45) | func (a *quotaApplierV3) Txn(rt *pb.TxnRequest) (*pb.TxnResponse, *tra... method LeaseGrant (line 54) | func (a *quotaApplierV3) LeaseGrant(lc *pb.LeaseGrantRequest) (*pb.Lea... function newQuotaApplierV3 (line 32) | func newQuotaApplierV3(lg *zap.Logger, quotaBackendBytesCfg int64, be ba... FILE: server/etcdserver/apply/uber_applier.go type UberApplier (line 30) | type UberApplier interface type uberApplier (line 34) | type uberApplier struct method restoreAlarms (line 70) | func (a *uberApplier) restoreAlarms() { method Apply (line 82) | func (a *uberApplier) Apply(r *pb.InternalRaftRequest, shouldApplyV3 m... method dispatch (line 93) | func (a *uberApplier) dispatch(r *pb.InternalRaftRequest, shouldApplyV... method Alarm (line 214) | func (a *uberApplier) Alarm(ar *pb.AlarmRequest) (*pb.AlarmResponse, e... function NewUberApplier (line 47) | func NewUberApplier(opts ApplierOptions) UberApplier { function newApplierV3 (line 61) | func newApplierV3(opts ApplierOptions) applierV3 { FILE: server/etcdserver/apply/uber_applier_test.go constant memberID (line 38) | memberID = 111195 function defaultUberApplier (line 40) | func defaultUberApplier(t *testing.T) UberApplier { function TestUberApplier_Alarm_Corrupt (line 83) | func TestUberApplier_Alarm_Corrupt(t *testing.T) { function TestUberApplier_Alarm_Quota (line 148) | func TestUberApplier_Alarm_Quota(t *testing.T) { function TestUberApplier_Alarm_Deactivate (line 250) | func TestUberApplier_Alarm_Deactivate(t *testing.T) { FILE: server/etcdserver/bootstrap.go function bootstrap (line 52) | func bootstrap(cfg config.ServerConfig) (b *bootstrappedServer, err erro... function buildConfStateFromV3store (line 131) | func buildConfStateFromV3store(lg *zap.Logger, be backend.Backend) raftp... type bootstrappedServer (line 150) | type bootstrappedServer struct method Close (line 158) | func (s *bootstrappedServer) Close() { type bootstrappedStorage (line 162) | type bootstrappedStorage struct method Close (line 167) | func (s *bootstrappedStorage) Close() { type bootstrappedBackend (line 171) | type bootstrappedBackend struct method Close (line 179) | func (s *bootstrappedBackend) Close() { type bootstrappedCluster (line 183) | type bootstrappedCluster struct method Finalize (line 467) | func (c *bootstrappedCluster) Finalize(cfg config.ServerConfig, s *boo... method databaseFileMissing (line 484) | func (c *bootstrappedCluster) databaseFileMissing(s *bootstrappedStora... type bootstrappedRaft (line 189) | type bootstrappedRaft struct method newRaftNode (line 553) | func (b *bootstrappedRaft) newRaftNode(ss *snap.Snapshotter, wal *wal.... function bootstrapStorage (line 198) | func bootstrapStorage(cfg config.ServerConfig, be *bootstrappedBackend, ... function bootstrapSnapshot (line 209) | func bootstrapSnapshot(cfg config.ServerConfig) *snap.Snapshotter { function bootstrapBackend (line 230) | func bootstrapBackend(cfg config.ServerConfig, haveWAL bool) (backend *b... function maybeDefragBackend (line 282) | func maybeDefragBackend(cfg config.ServerConfig, be backend.Backend) err... function bootstrapCluster (line 301) | func bootstrapCluster(cfg config.ServerConfig, bwal *bootstrappedWAL, pr... function bootstrapExistingClusterNoWAL (line 318) | func bootstrapExistingClusterNoWAL(cfg config.ServerConfig, prt http.Rou... function bootstrapNewClusterNoWAL (line 350) | func bootstrapNewClusterNoWAL(cfg config.ServerConfig, prt http.RoundTri... function bootstrapClusterWithWAL (line 387) | func bootstrapClusterWithWAL(cfg config.ServerConfig, meta *snapshotMeta... function recoverSnapshot (line 412) | func recoverSnapshot(cfg config.ServerConfig, be backend.Backend, beExis... function bootstrapRaft (line 489) | func bootstrapRaft(cfg config.ServerConfig, cluster *bootstrappedCluster... function bootstrapRaftFromCluster (line 503) | func bootstrapRaftFromCluster(cfg config.ServerConfig, cl *membership.Ra... function bootstrapRaftFromWAL (line 529) | func bootstrapRaftFromWAL(cfg config.ServerConfig, bwal *bootstrappedWAL... function raftConfig (line 539) | func raftConfig(cfg config.ServerConfig, id uint64, s *raft.MemoryStorag... function bootstrapWALFromSnapshot (line 575) | func bootstrapWALFromSnapshot(cfg config.ServerConfig, snapshot *raftpb.... function openWALFromSnapshot (line 627) | func openWALFromSnapshot(cfg config.ServerConfig, snapshot *raftpb.Snaps... type snapshotMetadata (line 665) | type snapshotMetadata struct function bootstrapNewWAL (line 669) | func bootstrapNewWAL(cfg config.ServerConfig, cl *bootstrappedCluster) *... type bootstrappedWAL (line 689) | type bootstrappedWAL struct method MemoryStorage (line 700) | func (wal *bootstrappedWAL) MemoryStorage() *raft.MemoryStorage { method CommitedEntries (line 714) | func (wal *bootstrappedWAL) CommitedEntries() []raftpb.Entry { method NewConfigChangeEntries (line 729) | func (wal *bootstrappedWAL) NewConfigChangeEntries() []raftpb.Entry { method AppendAndCommitEntries (line 739) | func (wal *bootstrappedWAL) AppendAndCommitEntries(ents []raftpb.Entry) { FILE: server/etcdserver/bootstrap_test.go function TestBootstrapExistingClusterNoWALMaxLearner (line 48) | func TestBootstrapExistingClusterNoWALMaxLearner(t *testing.T) { type roundTripFunc (line 112) | type roundTripFunc method RoundTrip (line 114) | func (s roundTripFunc) RoundTrip(r *http.Request) (*http.Response, err... function mockBootstrapRoundTrip (line 118) | func mockBootstrapRoundTrip(members []etcdserverpb.Member) roundTripFunc { function mockVersionJSON (line 142) | func mockVersionJSON() string { function mockMembersJSON (line 148) | func mockMembersJSON(m []etcdserverpb.Member) string { function TestBootstrapBackend (line 153) | func TestBootstrapBackend(t *testing.T) { function createDataDir (line 214) | func createDataDir(t *testing.T) (string, error) { function prepareData (line 235) | func prepareData(cfg config.ServerConfig) error { function createWALFileWithSnapshotRecord (line 245) | func createWALFileWithSnapshotRecord(cfg config.ServerConfig, snapshotTe... function createSnapshotAndBackendDB (line 271) | func createSnapshotAndBackendDB(cfg config.ServerConfig, snapshotTerm, s... FILE: server/etcdserver/cindex/cindex.go type Backend (line 25) | type Backend interface type ConsistentIndexer (line 30) | type ConsistentIndexer interface type consistentIndex (line 55) | type consistentIndex struct method ConsistentIndex (line 90) | func (ci *consistentIndex) ConsistentIndex() uint64 { method UnsafeConsistentIndex (line 102) | func (ci *consistentIndex) UnsafeConsistentIndex() uint64 { method SetConsistentIndex (line 112) | func (ci *consistentIndex) SetConsistentIndex(v uint64, term uint64) { method UnsafeSave (line 117) | func (ci *consistentIndex) UnsafeSave(tx backend.UnsafeReadWriter) { method SetBackend (line 123) | func (ci *consistentIndex) SetBackend(be Backend) { method ConsistentApplyingIndex (line 131) | func (ci *consistentIndex) ConsistentApplyingIndex() (uint64, uint64) { method SetConsistentApplyingIndex (line 135) | func (ci *consistentIndex) SetConsistentApplyingIndex(v uint64, term u... function NewConsistentIndex (line 86) | func NewConsistentIndex(be Backend) ConsistentIndexer { function NewFakeConsistentIndex (line 140) | func NewFakeConsistentIndex(index uint64) ConsistentIndexer { type fakeConsistentIndex (line 144) | type fakeConsistentIndex struct method ConsistentIndex (line 149) | func (f *fakeConsistentIndex) ConsistentIndex() uint64 { method ConsistentApplyingIndex (line 153) | func (f *fakeConsistentIndex) ConsistentApplyingIndex() (uint64, uint6... method UnsafeConsistentIndex (line 157) | func (f *fakeConsistentIndex) UnsafeConsistentIndex() uint64 { method SetConsistentIndex (line 161) | func (f *fakeConsistentIndex) SetConsistentIndex(index uint64, term ui... method SetConsistentApplyingIndex (line 166) | func (f *fakeConsistentIndex) SetConsistentApplyingIndex(index uint64,... method UnsafeSave (line 171) | func (f *fakeConsistentIndex) UnsafeSave(_ backend.UnsafeReadWriter) {} method SetBackend (line 172) | func (f *fakeConsistentIndex) SetBackend(_ Backend) {} function UpdateConsistentIndexForce (line 174) | func UpdateConsistentIndexForce(tx backend.BatchTx, index uint64, term u... FILE: server/etcdserver/cindex/cindex_test.go function TestConsistentIndex (line 32) | func TestConsistentIndex(t *testing.T) { function TestConsistentIndexDecrease (line 69) | func TestConsistentIndexDecrease(t *testing.T) { function TestFakeConsistentIndex (line 134) | func TestFakeConsistentIndex(t *testing.T) { FILE: server/etcdserver/cluster_util.go function isMemberBootstrapped (line 42) | func isMemberBootstrapped(lg *zap.Logger, cl *membership.RaftCluster, me... function GetClusterFromRemotePeers (line 65) | func GetClusterFromRemotePeers(lg *zap.Logger, urls []string, rt http.Ro... function getClusterFromRemotePeers (line 70) | func getClusterFromRemotePeers(lg *zap.Logger, urls []string, timeout ti... function getRemotePeerURLs (line 132) | func getRemotePeerURLs(cl *membership.RaftCluster, local string) []string { function getMembersVersions (line 148) | func getMembersVersions(lg *zap.Logger, cl *membership.RaftCluster, loca... function allowedVersionRange (line 174) | func allowedVersionRange(downgradeEnabled bool) (minV *semver.Version, m... function isCompatibleWithCluster (line 193) | func isCompatibleWithCluster(lg *zap.Logger, cl *membership.RaftCluster,... function isCompatibleWithVers (line 199) | func isCompatibleWithVers(lg *zap.Logger, vers map[string]*version.Versi... function getVersion (line 244) | func getVersion(lg *zap.Logger, m *membership.Member, rt http.RoundTripp... function promoteMemberHTTP (line 296) | func promoteMemberHTTP(ctx context.Context, url string, id uint64, peerR... function getDowngradeEnabledFromRemotePeers (line 364) | func getDowngradeEnabledFromRemotePeers(lg *zap.Logger, cl *membership.R... function getDowngradeEnabled (line 384) | func getDowngradeEnabled(lg *zap.Logger, m *membership.Member, rt http.R... function convertToClusterVersion (line 436) | func convertToClusterVersion(v string) (*semver.Version, error) { function GetMembershipInfoInV2Format (line 450) | func GetMembershipInfoInV2Format(lg *zap.Logger, cl *membership.RaftClus... FILE: server/etcdserver/cluster_util_test.go function TestIsCompatibleWithVers (line 27) | func TestIsCompatibleWithVers(t *testing.T) { function TestConvertToClusterVersion (line 98) | func TestConvertToClusterVersion(t *testing.T) { function TestDecideAllowedVersionRange (line 141) | func TestDecideAllowedVersionRange(t *testing.T) { FILE: server/etcdserver/corrupt.go type CorruptionChecker (line 39) | type CorruptionChecker interface type corruptionChecker (line 45) | type corruptionChecker struct method InitialCheck (line 90) | func (cm *corruptionChecker) InitialCheck() error { method PeriodicCheck (line 179) | func (cm *corruptionChecker) PeriodicCheck() error { method CompactHashCheck (line 277) | func (cm *corruptionChecker) CompactHashCheck() { method checkPeerHashes (line 302) | func (cm *corruptionChecker) checkPeerHashes(leaderHash mvcc.KeyValueH... method handleConsistentHash (line 392) | func (cm *corruptionChecker) handleConsistentHash(hash mvcc.KeyValueHa... method uncheckedRevisions (line 416) | func (cm *corruptionChecker) uncheckedRevisions() []mvcc.KeyValueHash { type Hasher (line 54) | type Hasher interface function newCorruptionChecker (line 63) | func newCorruptionChecker(lg *zap.Logger, s *EtcdServer, storage mvcc.Ha... type hasherAdapter (line 70) | type hasherAdapter struct method ReqTimeout (line 75) | func (h hasherAdapter) ReqTimeout() time.Duration { method PeerHashByRev (line 79) | func (h hasherAdapter) PeerHashByRev(rev int64) []*peerHashKVResp { method TriggerCorruptAlarm (line 83) | func (h hasherAdapter) TriggerCorruptAlarm(memberID types.ID) { method triggerCorruptAlarm (line 434) | func (s *EtcdServer) triggerCorruptAlarm(id types.ID) { type peerInfo (line 445) | type peerInfo struct type peerHashKVResp (line 450) | type peerHashKVResp struct method getPeerHashKVs (line 456) | func (s *EtcdServer) getPeerHashKVs(rev int64) []*peerHashKVResp { constant PeerHashKVPath (line 511) | PeerHashKVPath = "/members/hashkv" type hashKVHandler (line 513) | type hashKVHandler struct method ServeHTTP (line 522) | func (h *hashKVHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque... method HashKVHandler (line 518) | func (s *EtcdServer) HashKVHandler() http.Handler { function HashByRev (line 579) | func HashByRev(ctx context.Context, cid types.ID, cc *http.Client, url s... FILE: server/etcdserver/corrupt_test.go function TestInitialCheck (line 43) | func TestInitialCheck(t *testing.T) { function TestPeriodicCheck (line 126) | func TestPeriodicCheck(t *testing.T) { function TestCompactHashCheck (line 250) | func TestCompactHashCheck(t *testing.T) { type fakeHasher (line 444) | type fakeHasher struct method Hash (line 461) | func (f *fakeHasher) Hash() (hash uint32, revision int64, err error) { method HashByRev (line 465) | func (f *fakeHasher) HashByRev(rev int64) (hash mvcc.KeyValueHash, rev... method Store (line 475) | func (f *fakeHasher) Store(hash mvcc.KeyValueHash) { method Hashes (line 480) | func (f *fakeHasher) Hashes() []mvcc.KeyValueHash { method ReqTimeout (line 485) | func (f *fakeHasher) ReqTimeout() time.Duration { method MemberID (line 490) | func (f *fakeHasher) MemberID() types.ID { method PeerHashByRev (line 495) | func (f *fakeHasher) PeerHashByRev(rev int64) []*peerHashKVResp { method LinearizableReadNotify (line 500) | func (f *fakeHasher) LinearizableReadNotify(ctx context.Context) error { method TriggerCorruptAlarm (line 505) | func (f *fakeHasher) TriggerCorruptAlarm(memberID types.ID) { type hashByRev (line 455) | type hashByRev struct function TestHashKVHandler (line 510) | func TestHashKVHandler(t *testing.T) { FILE: server/etcdserver/errors/errors.go type DiscoveryError (line 48) | type DiscoveryError struct method Error (line 53) | func (e DiscoveryError) Error() string { FILE: server/etcdserver/metrics.go function init (line 177) | func init() { function monitorFileDescriptor (line 208) | func monitorFileDescriptor(lg *zap.Logger, done <-chan struct{}) { FILE: server/etcdserver/raft.go constant maxSizePerMsg (line 37) | maxSizePerMsg = 1 * 1024 * 1024 constant maxInflightMsgs (line 40) | maxInflightMsgs = 4096 / 8 function init (line 54) | func init() { type toApply (line 69) | type toApply struct type raftNode (line 80) | type raftNode struct method tick (line 158) | func (r *raftNode) tick() { method getLatestTickTs (line 165) | func (r *raftNode) getLatestTickTs() time.Time { method start (line 173) | func (r *raftNode) start(rh *raftReadyHandler) { method processMessages (line 355) | func (r *raftNode) processMessages(ms []raftpb.Message) []raftpb.Messa... method apply (line 401) | func (r *raftNode) apply() chan toApply { method stop (line 405) | func (r *raftNode) stop() { method onStop (line 417) | func (r *raftNode) onStop() { method pauseSending (line 428) | func (r *raftNode) pauseSending() { method resumeSending (line 433) | func (r *raftNode) resumeSending() { method advanceTicks (line 442) | func (r *raftNode) advanceTicks(ticks int) { type raftNodeConfig (line 106) | type raftNodeConfig struct function newRaftNode (line 122) | func newRaftNode(cfg raftNodeConfig) *raftNode { function updateCommittedIndex (line 342) | func updateCommittedIndex(ap *toApply, rh *raftReadyHandler) { FILE: server/etcdserver/raft_test.go function TestGetIDs (line 36) | func TestGetIDs(t *testing.T) { function TestCreateConfigChangeEnts (line 97) | func TestCreateConfigChangeEnts(t *testing.T) { function TestStopRaftWhenWaitingForApplyDone (line 178) | func TestStopRaftWhenWaitingForApplyDone(t *testing.T) { function TestConfigChangeBlocksApply (line 211) | func TestConfigChangeBlocksApply(t *testing.T) { function TestProcessDuplicatedAppRespMessage (line 264) | func TestProcessDuplicatedAppRespMessage(t *testing.T) { function TestExpvarWithNoRaftStatus (line 306) | func TestExpvarWithNoRaftStatus(t *testing.T) { function TestStopRaftNodeMoreThanOnce (line 317) | func TestStopRaftNodeMoreThanOnce(t *testing.T) { FILE: server/etcdserver/server.go constant DefaultSnapshotCount (line 76) | DefaultSnapshotCount = 10000 constant DefaultSnapshotCatchUpEntries (line 83) | DefaultSnapshotCatchUpEntries uint64 = 5000 constant StoreClusterPrefix (line 85) | StoreClusterPrefix = "/0" constant StoreKeysPrefix (line 86) | StoreKeysPrefix = "/1" constant HealthInterval (line 90) | HealthInterval = 5 * time.Second constant purgeFileInterval (line 92) | purgeFileInterval = 30 * time.Second constant maxInFlightMsgSnap (line 96) | maxInFlightMsgSnap = 16 constant releaseDelayAfterSnapshot (line 98) | releaseDelayAfterSnapshot = 30 * time.Second constant maxPendingRevokes (line 101) | maxPendingRevokes = 16 constant recommendedMaxRequestBytes (line 103) | recommendedMaxRequestBytes = 10 * 1024 * 1024 constant readyPercentThreshold (line 107) | readyPercentThreshold = 0.9 constant DowngradeEnabledPath (line 109) | DowngradeEnabledPath = "/downgrade/enabled" constant memorySnapshotCount (line 110) | memorySnapshotCount = 100 function init (line 122) | func init() { type Response (line 134) | type Response struct type ServerV2 (line 142) | type ServerV2 interface type ServerV3 (line 149) | type ServerV3 interface type Server (line 156) | type Server interface type EtcdServer (line 206) | type EtcdServer struct method ClientCertAuthEnabled (line 154) | func (s *EtcdServer) ClientCertAuthEnabled() bool { return s.Cfg.Clien... method Logger (line 447) | func (s *EtcdServer) Logger() *zap.Logger { method Config (line 454) | func (s *EtcdServer) Config() config.ServerConfig { method FeatureEnabled (line 459) | func (s *EtcdServer) FeatureEnabled(f featuregate.Feature) bool { method adjustTicks (line 467) | func (s *EtcdServer) adjustTicks() { method Start (line 533) | func (s *EtcdServer) Start() { method start (line 550) | func (s *EtcdServer) start() { method purgeFile (line 602) | func (s *EtcdServer) purgeFile() { method Cluster (line 635) | func (s *EtcdServer) Cluster() api.Cluster { return s.cluster } method ApplyWait (line 637) | func (s *EtcdServer) ApplyWait() <-chan struct{} { return s.applyWait.... method LeaseHandler (line 645) | func (s *EtcdServer) LeaseHandler() http.Handler { method RaftHandler (line 652) | func (s *EtcdServer) RaftHandler() http.Handler { return s.r.transport... method DowngradeInfo (line 660) | func (s *EtcdServer) DowngradeInfo() *serverversion.DowngradeInfo { re... method DowngradeEnabledHandler (line 668) | func (s *EtcdServer) DowngradeEnabledHandler() http.Handler { method Process (line 706) | func (s *EtcdServer) Process(ctx context.Context, m raftpb.Message) er... method IsIDRemoved (line 730) | func (s *EtcdServer) IsIDRemoved(id uint64) bool { return s.cluster.Is... method ReportUnreachable (line 732) | func (s *EtcdServer) ReportUnreachable(id uint64) { s.r.ReportUnreacha... method ReportSnapshot (line 736) | func (s *EtcdServer) ReportSnapshot(id uint64, status raft.SnapshotSta... method run (line 758) | func (s *EtcdServer) run() { method revokeExpiredLeases (line 858) | func (s *EtcdServer) revokeExpiredLeases(leases []*lease.Lease) { method isActive (line 908) | func (s *EtcdServer) isActive() bool { method ensureLeadership (line 915) | func (s *EtcdServer) ensureLeadership() bool { method Cleanup (line 946) | func (s *EtcdServer) Cleanup() { method Defragment (line 966) | func (s *EtcdServer) Defragment() error { method applyAll (line 972) | func (s *EtcdServer) applyAll(ep *etcdProgress, apply *toApply) { method applySnapshot (line 995) | func (s *EtcdServer) applySnapshot(ep *etcdProgress, toApply *toApply) { method NewUberApplier (line 1146) | func (s *EtcdServer) NewUberApplier() apply.UberApplier { method applyEntries (line 1185) | func (s *EtcdServer) applyEntries(ep *etcdProgress, apply *toApply) { method ForceSnapshot (line 1211) | func (s *EtcdServer) ForceSnapshot() { method snapshotIfNeededAndCompactRaftLog (line 1215) | func (s *EtcdServer) snapshotIfNeededAndCompactRaftLog(ep *etcdProgres... method shouldSnapshotToDisk (line 1226) | func (s *EtcdServer) shouldSnapshotToDisk(ep *etcdProgress) bool { method shouldSnapshotToMemory (line 1230) | func (s *EtcdServer) shouldSnapshotToMemory(ep *etcdProgress) bool { method hasMultipleVotingMembers (line 1234) | func (s *EtcdServer) hasMultipleVotingMembers() bool { method isLeader (line 1238) | func (s *EtcdServer) isLeader() bool { method MoveLeader (line 1243) | func (s *EtcdServer) MoveLeader(ctx context.Context, lead, transferee ... method TryTransferLeadershipOnShutdown (line 1281) | func (s *EtcdServer) TryTransferLeadershipOnShutdown() error { method HardStop (line 1314) | func (s *EtcdServer) HardStop() { method Stop (line 1329) | func (s *EtcdServer) Stop() { method ReadyNotify (line 1339) | func (s *EtcdServer) ReadyNotify() <-chan struct{} { return s.readych } method stopWithDelay (line 1341) | func (s *EtcdServer) stopWithDelay(d time.Duration, err error) { method StopNotify (line 1354) | func (s *EtcdServer) StopNotify() <-chan struct{} { return s.done } method StoppingNotify (line 1358) | func (s *EtcdServer) StoppingNotify() <-chan struct{} { return s.stopp... method checkMembershipOperationPermission (line 1360) | func (s *EtcdServer) checkMembershipOperationPermission(ctx context.Co... method AddMember (line 1381) | func (s *EtcdServer) AddMember(ctx context.Context, memb membership.Me... method mayAddMember (line 1410) | func (s *EtcdServer) mayAddMember(memb membership.Member) error { method RemoveMember (line 1440) | func (s *EtcdServer) RemoveMember(ctx context.Context, id uint64) ([]*... method PromoteMember (line 1458) | func (s *EtcdServer) PromoteMember(ctx context.Context, id uint64) ([]... method promoteMember (line 1504) | func (s *EtcdServer) promoteMember(ctx context.Context, id uint64) ([]... method mayPromoteMember (line 1536) | func (s *EtcdServer) mayPromoteMember(id types.ID) error { method isLearnerReady (line 1561) | func (s *EtcdServer) isLearnerReady(lg *zap.Logger, id uint64) error { method mayRemoveMember (line 1608) | func (s *EtcdServer) mayRemoveMember(id types.ID) error { method UpdateMember (line 1652) | func (s *EtcdServer) UpdateMember(ctx context.Context, memb membership... method MemberList (line 1669) | func (s *EtcdServer) MemberList(ctx context.Context, r *pb.MemberListR... method setCommittedIndex (line 1682) | func (s *EtcdServer) setCommittedIndex(v uint64) { method getCommittedIndex (line 1686) | func (s *EtcdServer) getCommittedIndex() uint64 { method setAppliedIndex (line 1690) | func (s *EtcdServer) setAppliedIndex(v uint64) { method getAppliedIndex (line 1694) | func (s *EtcdServer) getAppliedIndex() uint64 { method setTerm (line 1698) | func (s *EtcdServer) setTerm(v uint64) { method getTerm (line 1702) | func (s *EtcdServer) getTerm() uint64 { method setLead (line 1706) | func (s *EtcdServer) setLead(v uint64) { method getLead (line 1710) | func (s *EtcdServer) getLead() uint64 { method LeaderChangedNotify (line 1714) | func (s *EtcdServer) LeaderChangedNotify() <-chan struct{} { method FirstCommitInTermNotify (line 1722) | func (s *EtcdServer) FirstCommitInTermNotify() <-chan struct{} { method MemberId (line 1730) | func (s *EtcdServer) MemberId() types.ID { return s.MemberID() } method MemberID (line 1734) | func (s *EtcdServer) MemberID() types.ID { return s.memberID } method Leader (line 1736) | func (s *EtcdServer) Leader() types.ID { return types.ID(s.getLead()) } method Lead (line 1738) | func (s *EtcdServer) Lead() uint64 { return s.getLead() } method CommittedIndex (line 1740) | func (s *EtcdServer) CommittedIndex() uint64 { return s.getCommittedIn... method AppliedIndex (line 1742) | func (s *EtcdServer) AppliedIndex() uint64 { return s.getAppliedIndex() } method Term (line 1744) | func (s *EtcdServer) Term() uint64 { return s.getTerm() } method configure (line 1755) | func (s *EtcdServer) configure(ctx context.Context, cc raftpb.ConfChan... method publishV3 (line 1799) | func (s *EtcdServer) publishV3(timeout time.Duration) { method sendMergedSnap (line 1850) | func (s *EtcdServer) sendMergedSnap(merged snap.Message) { method apply (line 1893) | func (s *EtcdServer) apply( method applyEntryNormal (line 1946) | func (s *EtcdServer) applyEntryNormal(e *raftpb.Entry, shouldApplyV3 m... method applyConfChange (line 2008) | func (s *EtcdServer) applyConfChange(cc raftpb.ConfChange, confState *... method snapshot (line 2084) | func (s *EtcdServer) snapshot(ep *etcdProgress, toDisk bool) { method compactRaftLog (line 2140) | func (s *EtcdServer) compactRaftLog(snapi uint64) { method CutPeer (line 2174) | func (s *EtcdServer) CutPeer(id types.ID) { method MendPeer (line 2182) | func (s *EtcdServer) MendPeer(id types.ID) { method PauseSending (line 2189) | func (s *EtcdServer) PauseSending() { s.r.pauseSending() } method ResumeSending (line 2191) | func (s *EtcdServer) ResumeSending() { s.r.resumeSending() } method ClusterVersion (line 2193) | func (s *EtcdServer) ClusterVersion() *semver.Version { method StorageVersion (line 2200) | func (s *EtcdServer) StorageVersion() *semver.Version { method monitorClusterVersions (line 2214) | func (s *EtcdServer) monitorClusterVersions() { method monitorStorageVersion (line 2237) | func (s *EtcdServer) monitorStorageVersion() { method monitorKVHash (line 2252) | func (s *EtcdServer) monitorKVHash() { method monitorCompactHash (line 2283) | func (s *EtcdServer) monitorCompactHash() { method updateClusterVersionV3 (line 2303) | func (s *EtcdServer) updateClusterVersionV3(ver string) { method monitorDowngrade (line 2340) | func (s *EtcdServer) monitorDowngrade() { method parseProposeCtxErr (line 2360) | func (s *EtcdServer) parseProposeCtxErr(err error, start time.Time) er... method KV (line 2393) | func (s *EtcdServer) KV() mvcc.WatchableKV { return s.kv } method Backend (line 2394) | func (s *EtcdServer) Backend() backend.Backend { method AuthStore (line 2400) | func (s *EtcdServer) AuthStore() auth.AuthStore { return s.authStore } method restoreAlarms (line 2402) | func (s *EtcdServer) restoreAlarms() error { method GoAttach (line 2414) | func (s *EtcdServer) GoAttach(f func()) { method Alarms (line 2433) | func (s *EtcdServer) Alarms() []*pb.AlarmMember { method IsLearner (line 2438) | func (s *EtcdServer) IsLearner() bool { method IsMemberExist (line 2443) | func (s *EtcdServer) IsMemberExist(id types.ID) bool { method raftStatus (line 2448) | func (s *EtcdServer) raftStatus() raft.Status { method Version (line 2452) | func (s *EtcdServer) Version() *serverversion.Manager { method getTxPostLockInsideApplyHook (line 2456) | func (s *EtcdServer) getTxPostLockInsideApplyHook() func() { method CorruptionChecker (line 2465) | func (s *EtcdServer) CorruptionChecker() CorruptionChecker { function NewServer (line 299) | func NewServer(cfg config.ServerConfig) (srv *EtcdServer, err error) { function tickToDur (line 463) | func tickToDur(ticks int, tickMs uint) string { type ServerPeer (line 639) | type ServerPeer interface type ServerPeerV2 (line 654) | type ServerPeerV2 interface type downgradeEnabledHandler (line 662) | type downgradeEnabledHandler struct method ServeHTTP (line 676) | func (h *downgradeEnabledHandler) ServeHTTP(w http.ResponseWriter, r *... type etcdProgress (line 740) | type etcdProgress struct type raftReadyHandler (line 751) | type raftReadyHandler struct function verifySnapshotIndex (line 1165) | func verifySnapshotIndex(snapshot raftpb.Snapshot, cindex uint64) { function verifyConsistentIndexIsLatest (line 1175) | func verifyConsistentIndexIsLatest(snapshot raftpb.Snapshot, cindex uint... type confChangeResponse (line 1746) | type confChangeResponse struct function addFeatureGateMetrics (line 2469) | func addFeatureGateMetrics(fg featuregate.FeatureGate, guageVec *prometh... FILE: server/etcdserver/server_access_control.go type AccessController (line 20) | type AccessController struct method OriginAllowed (line 37) | func (ac *AccessController) OriginAllowed(origin string) bool { method IsHostWhitelisted (line 53) | func (ac *AccessController) IsHostWhitelisted(host string) bool { function NewAccessController (line 28) | func NewAccessController() *AccessController { FILE: server/etcdserver/server_access_control_test.go function TestOriginAllowed (line 23) | func TestOriginAllowed(t *testing.T) { function TestIsHostWhitelisted (line 72) | func TestIsHostWhitelisted(t *testing.T) { FILE: server/etcdserver/server_test.go function TestApplyRepeat (line 73) | func TestApplyRepeat(t *testing.T) { type uberApplierMock (line 140) | type uberApplierMock struct method Apply (line 142) | func (uberApplierMock) Apply(r *pb.InternalRaftRequest, shouldApplyV3 ... function TestApplyConfStateWithRestart (line 146) | func TestApplyConfStateWithRestart(t *testing.T) { function newServer (line 242) | func newServer(t *testing.T, recorder *nodeRecorder) *EtcdServer { function TestApplyConfChangeError (line 262) | func TestApplyConfChangeError(t *testing.T) { function TestApplyConfChangeShouldStop (line 355) | func TestApplyConfChangeShouldStop(t *testing.T) { function TestApplyConfigChangeUpdatesConsistIndex (line 405) | func TestApplyConfigChangeUpdatesConsistIndex(t *testing.T) { function realisticRaftNode (line 467) | func realisticRaftNode(lg *zap.Logger, id uint64, snap *raftpb.Snapshot)... function TestApplyMultiConfChangeShouldStop (line 495) | func TestApplyMultiConfChangeShouldStop(t *testing.T) { function TestSnapshotDisk (line 545) | func TestSnapshotDisk(t *testing.T) { function TestSnapshotMemory (line 595) | func TestSnapshotMemory(t *testing.T) { function TestSnapshotOrdering (line 645) | func TestSnapshotOrdering(t *testing.T) { function TestConcurrentApplyAndSnapshotV3 (line 741) | func TestConcurrentApplyAndSnapshotV3(t *testing.T) { function TestAddMember (line 848) | func TestAddMember(t *testing.T) { function TestProcessIgnoreMismatchMessage (line 895) | func TestProcessIgnoreMismatchMessage(t *testing.T) { function TestRemoveMember (line 946) | func TestRemoveMember(t *testing.T) { function TestUpdateMember (line 992) | func TestUpdateMember(t *testing.T) { function TestPublishV3 (line 1039) | func TestPublishV3(t *testing.T) { function TestPublishV3Stopped (line 1085) | func TestPublishV3Stopped(t *testing.T) { function TestPublishV3Retry (line 1112) | func TestPublishV3Retry(t *testing.T) { function TestUpdateVersionV3 (line 1160) | func TestUpdateVersionV3(t *testing.T) { function TestStopNotify (line 1204) | func TestStopNotify(t *testing.T) { function TestGetOtherPeerURLs (line 1230) | func TestGetOtherPeerURLs(t *testing.T) { type nodeRecorder (line 1269) | type nodeRecorder struct method Tick (line 1275) | func (n *nodeRecorder) Tick() { n.Record(testutil.Action{Name: "Tick"}) } method Campaign (line 1276) | func (n *nodeRecorder) Campaign(ctx context.Context) error { method Propose (line 1281) | func (n *nodeRecorder) Propose(ctx context.Context, data []byte) error { method ProposeConfChange (line 1286) | func (n *nodeRecorder) ProposeConfChange(ctx context.Context, conf raf... method Step (line 1291) | func (n *nodeRecorder) Step(ctx context.Context, msg raftpb.Message) e... method Status (line 1295) | func (n *nodeRecorder) Status() raft.Status ... method Ready (line 1296) | func (n *nodeRecorder) Ready() <-chan raft.Ready ... method TransferLeadership (line 1297) | func (n *nodeRecorder) TransferLeadership(ctx context.Context, lead, t... method ReadIndex (line 1298) | func (n *nodeRecorder) ReadIndex(ctx context.Context, rctx []byte) err... method Advance (line 1299) | func (n *nodeRecorder) Advance() ... method ApplyConfChange (line 1300) | func (n *nodeRecorder) ApplyConfChange(conf raftpb.ConfChangeI) *raftp... method Stop (line 1305) | func (n *nodeRecorder) Stop() { method ReportUnreachable (line 1309) | func (n *nodeRecorder) ReportUnreachable(id uint64) {} method ReportSnapshot (line 1311) | func (n *nodeRecorder) ReportSnapshot(id uint64, status raft.SnapshotS... method Compact (line 1313) | func (n *nodeRecorder) Compact(index uint64, nodes []uint64, d []byte) { method ForgetLeader (line 1317) | func (n *nodeRecorder) ForgetLeader(ctx context.Context) error { function newNodeRecorder (line 1271) | func newNodeRecorder() *nodeRecorder { return &nodeRecorder{&testu... function newNodeRecorderStream (line 1272) | func newNodeRecorderStream() *nodeRecorder { return &nodeRecorder{testut... function newNodeNop (line 1273) | func newNodeNop() raft.Node { return newNodeRecorder() } type readyNode (line 1322) | type readyNode struct method Ready (line 1338) | func (n *readyNode) Ready() <-chan raft.Ready { return n.readyc } function newReadyNode (line 1327) | func newReadyNode() *readyNode { function newNopReadyNode (line 1334) | func newNopReadyNode() *readyNode { type nodeConfChangeCommitterRecorder (line 1340) | type nodeConfChangeCommitterRecorder struct method ProposeConfChange (line 1368) | func (n *nodeConfChangeCommitterRecorder) ProposeConfChange(ctx contex... method Ready (line 1380) | func (n *nodeConfChangeCommitterRecorder) Ready() <-chan raft.Ready { method ApplyConfChange (line 1384) | func (n *nodeConfChangeCommitterRecorder) ApplyConfChange(conf raftpb.... function newNodeConfChangeCommitterRecorder (line 1345) | func newNodeConfChangeCommitterRecorder() *nodeConfChangeCommitterRecord... function newNodeConfChangeCommitterStream (line 1349) | func newNodeConfChangeCommitterStream() *nodeConfChangeCommitterRecorder { function confChangeActionName (line 1353) | func confChangeActionName(conf raftpb.ConfChangeI) string { function newTestCluster (line 1389) | func newTestCluster(tb testing.TB) *membership.RaftCluster { type nopTransporter (line 1393) | type nopTransporter struct method Start (line 1399) | func (s *nopTransporter) Start() error { return... method Handler (line 1400) | func (s *nopTransporter) Handler() http.Handler { return... method Send (line 1401) | func (s *nopTransporter) Send(m []raftpb.Message) {} method SendSnapshot (line 1402) | func (s *nopTransporter) SendSnapshot(m snap.Message) {} method AddRemote (line 1403) | func (s *nopTransporter) AddRemote(id types.ID, us []string) {} method AddPeer (line 1404) | func (s *nopTransporter) AddPeer(id types.ID, us []string) {} method RemovePeer (line 1405) | func (s *nopTransporter) RemovePeer(id types.ID) {} method RemoveAllPeers (line 1406) | func (s *nopTransporter) RemoveAllPeers() {} method UpdatePeer (line 1407) | func (s *nopTransporter) UpdatePeer(id types.ID, us []string) {} method ActiveSince (line 1408) | func (s *nopTransporter) ActiveSince(id types.ID) time.Time { return... method ActivePeers (line 1409) | func (s *nopTransporter) ActivePeers() int { return... method Stop (line 1410) | func (s *nopTransporter) Stop() {} method Pause (line 1411) | func (s *nopTransporter) Pause() {} method Resume (line 1412) | func (s *nopTransporter) Resume() {} function newNopTransporter (line 1395) | func newNopTransporter() rafthttp.Transporter { type snapTransporter (line 1414) | type snapTransporter struct method SendSnapshot (line 1427) | func (s *snapTransporter) SendSnapshot(m snap.Message) { function newSnapTransporter (line 1421) | func newSnapTransporter(lg *zap.Logger, snapDir string) (rafthttp.Transp... type sendMsgAppRespTransporter (line 1434) | type sendMsgAppRespTransporter struct method Send (line 1445) | func (s *sendMsgAppRespTransporter) Send(m []raftpb.Message) { function newSendMsgAppRespTransporter (line 1439) | func newSendMsgAppRespTransporter() (rafthttp.Transporter, <-chan int) { function TestWaitAppliedIndex (line 1455) | func TestWaitAppliedIndex(t *testing.T) { function TestIsActive (line 1510) | func TestIsActive(t *testing.T) { function TestAddFeatureGateMetrics (line 1552) | func TestAddFeatureGateMetrics(t *testing.T) { function TestRequestCurrentIndex_LeaderChangedRace (line 1579) | func TestRequestCurrentIndex_LeaderChangedRace(t *testing.T) { function TestRequestCurrentIndex_UniqueRequestID (line 1599) | func TestRequestCurrentIndex_UniqueRequestID(t *testing.T) { function TestRequestCurrentIndex_Success (line 1623) | func TestRequestCurrentIndex_Success(t *testing.T) { function TestRequestCurrentIndex_WrongRequestID (line 1655) | func TestRequestCurrentIndex_WrongRequestID(t *testing.T) { function TestRequestCurrentIndex_DelayedResponse (line 1698) | func TestRequestCurrentIndex_DelayedResponse(t *testing.T) { function setupTestRequestCurrentIndex (line 1733) | func setupTestRequestCurrentIndex(t *testing.T) (*EtcdServer, *testRaftN... type testRaftNode (line 1751) | type testRaftNode struct method ReadIndex (line 1757) | func (m *testRaftNode) ReadIndex(ctx context.Context, rctx []byte) err... method getRequests (line 1766) | func (m *testRaftNode) getRequests() []uint64 { FILE: server/etcdserver/snapshot_merge.go method createMergedSnapshotMessage (line 31) | func (s *EtcdServer) createMergedSnapshotMessage(m raftpb.Message, snapt... function newSnapshotReaderCloser (line 59) | func newSnapshotReaderCloser(lg *zap.Logger, snapshot backend.Snapshot) ... FILE: server/etcdserver/tracing.go function firstCompareKey (line 20) | func firstCompareKey(c []*pb.Compare) string { function firstOpKey (line 31) | func firstOpKey(ops []*pb.RequestOp) string { function firstOpType (line 50) | func firstOpType(ops []*pb.RequestOp) string { function firstOpLease (line 67) | func firstOpLease(ops []*pb.RequestOp) int64 { FILE: server/etcdserver/txn/delete.go function DeleteRange (line 28) | func DeleteRange(ctx context.Context, lg *zap.Logger, kv mvcc.KV, dr *pb... function deleteRange (line 39) | func deleteRange(ctx context.Context, txnWrite mvcc.TxnWrite, dr *pb.Del... function mkGteRange (line 65) | func mkGteRange(rangeEnd []byte) []byte { FILE: server/etcdserver/txn/metrics.go function ApplySecObserve (line 59) | func ApplySecObserve(version, op string, success bool, latency time.Dura... function RangeSecObserve (line 63) | func RangeSecObserve(success bool, latency time.Duration) { function init (line 67) | func init() { FILE: server/etcdserver/txn/metrics_test.go function TestRangeSecObserve (line 26) | func TestRangeSecObserve(t *testing.T) { FILE: server/etcdserver/txn/put.go function Put (line 29) | func Put(ctx context.Context, lg *zap.Logger, lessor lease.Lessor, kv mv... function put (line 47) | func put(ctx context.Context, txnWrite mvcc.TxnWrite, p *pb.PutRequest, ... function checkPut (line 70) | func checkPut(trace *traceutil.Trace, txnWrite mvcc.ReadView, lessor lea... function checkLease (line 79) | func checkLease(lessor lease.Lessor, p *pb.PutRequest) error { function checkAndGetPrevKV (line 89) | func checkAndGetPrevKV(trace *traceutil.Trace, txnWrite mvcc.ReadView, p... function getPrevKV (line 103) | func getPrevKV(trace *traceutil.Trace, txnWrite mvcc.ReadView, p *pb.Put... FILE: server/etcdserver/txn/range.go function Range (line 31) | func Range(ctx context.Context, lg *zap.Logger, kv mvcc.KV, r *pb.RangeR... function executeRange (line 43) | func executeRange(ctx context.Context, lg *zap.Logger, txnRead mvcc.TxnR... function rangeLimit (line 68) | func rangeLimit(r *pb.RangeRequest) int64 { function filterRangeResults (line 83) | func filterRangeResults(rr *mvcc.RangeResult, r *pb.RangeRequest) { function sortRangeResults (line 102) | func sortRangeResults(rr *mvcc.RangeResult, r *pb.RangeRequest, lg *zap.... function asembleRangeResponse (line 140) | func asembleRangeResponse(rr *mvcc.RangeResult, r *pb.RangeRequest) *pb.... function checkRange (line 158) | func checkRange(rv mvcc.ReadView, req *pb.RangeRequest) error { function pruneKVs (line 170) | func pruneKVs(rr *mvcc.RangeResult, isPrunable func(*mvccpb.KeyValue) bo... type kvSort (line 181) | type kvSort struct method Swap (line 183) | func (s *kvSort) Swap(i, j int) { method Len (line 188) | func (s *kvSort) Len() int { return len(s.kvs) } type kvSortByKey (line 190) | type kvSortByKey struct method Less (line 192) | func (s *kvSortByKey) Less(i, j int) bool { type kvSortByVersion (line 196) | type kvSortByVersion struct method Less (line 198) | func (s *kvSortByVersion) Less(i, j int) bool { type kvSortByCreate (line 202) | type kvSortByCreate struct method Less (line 204) | func (s *kvSortByCreate) Less(i, j int) bool { type kvSortByMod (line 208) | type kvSortByMod struct method Less (line 210) | func (s *kvSortByMod) Less(i, j int) bool { type kvSortByValue (line 214) | type kvSortByValue struct method Less (line 216) | func (s *kvSortByValue) Less(i, j int) bool { FILE: server/etcdserver/txn/txn.go function Txn (line 32) | func Txn(ctx context.Context, lg *zap.Logger, rt *pb.TxnRequest, txnMode... function txn (line 81) | func txn(ctx context.Context, lg *zap.Logger, txnWrite mvcc.TxnWrite, rt... function newTxnResp (line 105) | func newTxnResp(rt *pb.TxnRequest, txnPath []bool) (txnResp *pb.TxnRespo... function executeTxn (line 135) | func executeTxn(ctx context.Context, lg *zap.Logger, txnWrite mvcc.TxnWr... function checkTxn (line 190) | func checkTxn(trace *traceutil.Trace, rv mvcc.ReadView, rt *pb.TxnReques... function compareInt64 (line 219) | func compareInt64(a, b int64) int { function compareToPath (line 230) | func compareToPath(rv mvcc.ReadView, rt *pb.TxnRequest) []bool { function applyCompares (line 246) | func applyCompares(rv mvcc.ReadView, cmps []*pb.Compare) bool { function applyCompare (line 257) | func applyCompare(rv mvcc.ReadView, c *pb.Compare) bool { function compareKV (line 283) | func compareKV(c *pb.Compare, ckv mvccpb.KeyValue) bool { function IsTxnSerializable (line 327) | func IsTxnSerializable(r *pb.TxnRequest) bool { function IsTxnReadonly (line 341) | func IsTxnReadonly(r *pb.TxnRequest) bool { function CheckTxnAuth (line 355) | func CheckTxnAuth(as auth.AuthStore, ai *auth.AuthInfo, rt *pb.TxnReques... function checkTxnPermission (line 359) | func checkTxnPermission(as auth.AuthStore, ai *auth.AuthInfo, rt *pb.Txn... function checkTxnReqsPermission (line 371) | func checkTxnReqsPermission(as auth.AuthStore, ai *auth.AuthInfo, reqs [... FILE: server/etcdserver/txn/txn_test.go type testCase (line 41) | type testCase struct type testSetup (line 48) | type testSetup struct function TestCheckTxn (line 171) | func TestCheckTxn(t *testing.T) { function TestCheckPut (line 244) | func TestCheckPut(t *testing.T) { function TestCheckRange (line 264) | func TestCheckRange(t *testing.T) { function setup (line 284) | func setup(t *testing.T, setup testSetup) (mvcc.KV, lease.Lessor) { function TestReadonlyTxnError (line 310) | func TestReadonlyTxnError(t *testing.T) { function TestWriteTxnPanicWithoutApply (line 342) | func TestWriteTxnPanicWithoutApply(t *testing.T) { function TestCheckTxnAuth (line 385) | func TestCheckTxnAuth(t *testing.T) { function setupAuth (line 613) | func setupAuth(t *testing.T, be backend.Backend) auth.AuthStore { function computeFileHash (line 665) | func computeFileHash(filePath string) (string, error) { FILE: server/etcdserver/txn/util.go function WarnOfExpensiveRequest (line 29) | func WarnOfExpensiveRequest(lg *zap.Logger, warningApplyDuration time.Du... function WarnOfFailedRequest (line 40) | func WarnOfFailedRequest(lg *zap.Logger, now time.Time, reqStringer fmt.... function WarnOfExpensiveReadOnlyTxnRequest (line 55) | func WarnOfExpensiveReadOnlyTxnRequest(lg *zap.Logger, warningApplyDurat... function WarnOfExpensiveReadOnlyRangeRequest (line 80) | func WarnOfExpensiveReadOnlyRangeRequest(lg *zap.Logger, warningApplyDur... function warnOfExpensiveGenericRequest (line 92) | func warnOfExpensiveGenericRequest(lg *zap.Logger, warningApplyDuration ... function isNil (line 105) | func isNil(msg proto.Message) bool { FILE: server/etcdserver/txn/util_bench_test.go function BenchmarkWarnOfExpensiveRequestNoLog (line 27) | func BenchmarkWarnOfExpensiveRequestNoLog(b *testing.B) { FILE: server/etcdserver/txn/util_test.go function TestWarnOfExpensiveReadOnlyTxnRequest (line 29) | func TestWarnOfExpensiveReadOnlyTxnRequest(t *testing.T) { FILE: server/etcdserver/util.go function isConnectedToQuorumSince (line 27) | func isConnectedToQuorumSince(transport rafthttp.Transporter, since time... function isConnectedSince (line 33) | func isConnectedSince(transport rafthttp.Transporter, since time.Time, r... function isConnectedFullySince (line 40) | func isConnectedFullySince(transport rafthttp.Transporter, since time.Ti... function numConnectedSince (line 46) | func numConnectedSince(transport rafthttp.Transporter, since time.Time, ... function longestConnected (line 58) | func longestConnected(tp rafthttp.Transporter, membs []types.ID) (types.... type notifier (line 83) | type notifier struct method notify (line 94) | func (nc *notifier) notify(err error) { function newNotifier (line 88) | func newNotifier() *notifier { FILE: server/etcdserver/util_test.go function TestLongestConnected (line 31) | func TestLongestConnected(t *testing.T) { type nopTransporterWithActiveTime (line 64) | type nopTransporterWithActiveTime struct method Start (line 78) | func (s *nopTransporterWithActiveTime) Start() error ... method Handler (line 79) | func (s *nopTransporterWithActiveTime) Handler() http.Handler ... method Send (line 80) | func (s *nopTransporterWithActiveTime) Send(m []raftpb.Message) ... method SendSnapshot (line 81) | func (s *nopTransporterWithActiveTime) SendSnapshot(m snap.Message) ... method AddRemote (line 82) | func (s *nopTransporterWithActiveTime) AddRemote(id types.ID, us []str... method AddPeer (line 83) | func (s *nopTransporterWithActiveTime) AddPeer(id types.ID, us []strin... method RemovePeer (line 84) | func (s *nopTransporterWithActiveTime) RemovePeer(id types.ID) ... method RemoveAllPeers (line 85) | func (s *nopTransporterWithActiveTime) RemoveAllPeers() ... method UpdatePeer (line 86) | func (s *nopTransporterWithActiveTime) UpdatePeer(id types.ID, us []st... method ActiveSince (line 87) | func (s *nopTransporterWithActiveTime) ActiveSince(id types.ID) time.T... method ActivePeers (line 88) | func (s *nopTransporterWithActiveTime) ActivePeers() int ... method Stop (line 89) | func (s *nopTransporterWithActiveTime) Stop() ... method Pause (line 90) | func (s *nopTransporterWithActiveTime) Pause() ... method Resume (line 91) | func (s *nopTransporterWithActiveTime) Resume() ... method reset (line 92) | func (s *nopTransporterWithActiveTime) reset(am map[types.ID]time.Time... function newNopTransporterWithActiveTime (line 70) | func newNopTransporterWithActiveTime(memberIDs []types.ID) rafthttp.Tran... FILE: server/etcdserver/v3_server.go constant maxGapBetweenApplyAndCommitIndex (line 51) | maxGapBetweenApplyAndCommitIndex = 5000 constant traceThreshold (line 52) | traceThreshold = 100 * time.Millisecond constant readIndexRetryTime (line 53) | readIndexRetryTime = 500 * time.Millisecond constant applyTimeout (line 57) | applyTimeout = time.Second type RaftKV (line 60) | type RaftKV interface type Lessor (line 68) | type Lessor interface type Authenticator (line 85) | type Authenticator interface method Range (line 105) | func (s *EtcdServer) Range(ctx context.Context, r *pb.RangeRequest) (*pb... method Put (line 156) | func (s *EtcdServer) Put(ctx context.Context, r *pb.PutRequest) (*pb.Put... method DeleteRange (line 171) | func (s *EtcdServer) DeleteRange(ctx context.Context, r *pb.DeleteRangeR... method Txn (line 186) | func (s *EtcdServer) Txn(ctx context.Context, r *pb.TxnRequest) (*pb.Txn... method Compact (line 243) | func (s *EtcdServer) Compact(ctx context.Context, r *pb.CompactionReques... method LeaseGrant (line 295) | func (s *EtcdServer) LeaseGrant(ctx context.Context, r *pb.LeaseGrantReq... method waitAppliedIndex (line 319) | func (s *EtcdServer) waitAppliedIndex() error { method LeaseRevoke (line 331) | func (s *EtcdServer) LeaseRevoke(ctx context.Context, r *pb.LeaseRevokeR... method LeaseRenew (line 349) | func (s *EtcdServer) LeaseRenew(ctx context.Context, id lease.LeaseID) (... method checkLeaseRenew (line 435) | func (s *EtcdServer) checkLeaseRenew(ctx context.Context, leaseID lease.... method checkLeaseTimeToLive (line 468) | func (s *EtcdServer) checkLeaseTimeToLive(ctx context.Context, leaseID l... method leaseTimeToLive (line 497) | func (s *EtcdServer) leaseTimeToLive(ctx context.Context, r *pb.LeaseTim... method LeaseTimeToLive (line 559) | func (s *EtcdServer) LeaseTimeToLive(ctx context.Context, r *pb.LeaseTim... method newHeader (line 587) | func (s *EtcdServer) newHeader() *pb.ResponseHeader { method LeaseLeases (line 597) | func (s *EtcdServer) LeaseLeases(ctx context.Context, _ *pb.LeaseLeasesR... method checkLeaseLeases (line 611) | func (s *EtcdServer) checkLeaseLeases(ctx context.Context, leases []*lea... method waitLeader (line 645) | func (s *EtcdServer) waitLeader(ctx context.Context) (*membership.Member... method Alarm (line 665) | func (s *EtcdServer) Alarm(ctx context.Context, r *pb.AlarmRequest) (*pb... method AuthEnable (line 673) | func (s *EtcdServer) AuthEnable(ctx context.Context, r *pb.AuthEnableReq... method AuthDisable (line 681) | func (s *EtcdServer) AuthDisable(ctx context.Context, r *pb.AuthDisableR... method AuthStatus (line 689) | func (s *EtcdServer) AuthStatus(ctx context.Context, r *pb.AuthStatusReq... method Authenticate (line 697) | func (s *EtcdServer) Authenticate(ctx context.Context, r *pb.Authenticat... method UserAdd (line 751) | func (s *EtcdServer) UserAdd(ctx context.Context, r *pb.AuthUserAddReque... method UserDelete (line 768) | func (s *EtcdServer) UserDelete(ctx context.Context, r *pb.AuthUserDelet... method UserChangePassword (line 776) | func (s *EtcdServer) UserChangePassword(ctx context.Context, r *pb.AuthU... method UserGrantRole (line 793) | func (s *EtcdServer) UserGrantRole(ctx context.Context, r *pb.AuthUserGr... method UserGet (line 801) | func (s *EtcdServer) UserGet(ctx context.Context, r *pb.AuthUserGetReque... method UserList (line 809) | func (s *EtcdServer) UserList(ctx context.Context, r *pb.AuthUserListReq... method UserRevokeRole (line 817) | func (s *EtcdServer) UserRevokeRole(ctx context.Context, r *pb.AuthUserR... method RoleAdd (line 825) | func (s *EtcdServer) RoleAdd(ctx context.Context, r *pb.AuthRoleAddReque... method RoleGrantPermission (line 833) | func (s *EtcdServer) RoleGrantPermission(ctx context.Context, r *pb.Auth... method RoleGet (line 841) | func (s *EtcdServer) RoleGet(ctx context.Context, r *pb.AuthRoleGetReque... method RoleList (line 849) | func (s *EtcdServer) RoleList(ctx context.Context, r *pb.AuthRoleListReq... method RoleRevokePermission (line 857) | func (s *EtcdServer) RoleRevokePermission(ctx context.Context, r *pb.Aut... method RoleDelete (line 865) | func (s *EtcdServer) RoleDelete(ctx context.Context, r *pb.AuthRoleDelet... method raftRequestOnce (line 873) | func (s *EtcdServer) raftRequestOnce(ctx context.Context, r pb.InternalR... method raftRequest (line 894) | func (s *EtcdServer) raftRequest(ctx context.Context, r pb.InternalRaftR... method doSerialize (line 899) | func (s *EtcdServer) doSerialize(ctx context.Context, chk func(*auth.Aut... method processInternalRaftRequestOnce (line 923) | func (s *EtcdServer) processInternalRaftRequestOnce(ctx context.Context,... function getRequestType (line 999) | func getRequestType(r *pb.InternalRaftRequest) string { method Watchable (line 1067) | func (s *EtcdServer) Watchable() mvcc.WatchableKV { return s.KV() } method linearizableReadLoop (line 1069) | func (s *EtcdServer) linearizableReadLoop() { function isStopped (line 1121) | func isStopped(err error) bool { method requestCurrentIndex (line 1125) | func (s *EtcdServer) requestCurrentIndex(leaderChangedNotifier <-chan st... function uint64ToBigEndianBytes (line 1209) | func uint64ToBigEndianBytes(number uint64) []byte { method sendReadIndex (line 1215) | func (s *EtcdServer) sendReadIndex(requestIndex uint64) error { method LinearizableReadNotify (line 1233) | func (s *EtcdServer) LinearizableReadNotify(ctx context.Context) error { method linearizableReadNotify (line 1237) | func (s *EtcdServer) linearizableReadNotify(ctx context.Context) error { method AuthInfoFromCtx (line 1259) | func (s *EtcdServer) AuthInfoFromCtx(ctx context.Context) (*auth.AuthInf... method Downgrade (line 1271) | func (s *EtcdServer) Downgrade(ctx context.Context, r *pb.DowngradeReque... method downgradeValidate (line 1284) | func (s *EtcdServer) downgradeValidate(ctx context.Context, v string) (*... method downgradeEnable (line 1305) | func (s *EtcdServer) downgradeEnable(ctx context.Context, r *pb.Downgrad... method downgradeCancel (line 1321) | func (s *EtcdServer) downgradeCancel(ctx context.Context) (*pb.Downgrade... method requireAuthInfo (line 1330) | func (s *EtcdServer) requireAuthInfo(ctx context.Context) error { FILE: server/etcdserver/version/downgrade.go type DowngradeInfo (line 24) | type DowngradeInfo struct method GetTargetVersion (line 32) | func (d *DowngradeInfo) GetTargetVersion() *semver.Version { function isValidDowngrade (line 37) | func isValidDowngrade(verFrom *semver.Version, verTo *semver.Version) bo... function MustDetectDowngrade (line 42) | func MustDetectDowngrade(lg *zap.Logger, sv, cv *semver.Version) { function allowedDowngradeVersion (line 57) | func allowedDowngradeVersion(ver *semver.Version) *semver.Version { function IsValidClusterVersionChange (line 68) | func IsValidClusterVersionChange(verFrom *semver.Version, verTo *semver.... FILE: server/etcdserver/version/downgrade_test.go function TestMustDetectDowngrade (line 29) | func TestMustDetectDowngrade(t *testing.T) { function tryMustDetectDowngrade (line 84) | func tryMustDetectDowngrade(lg *zap.Logger, sv, cv *semver.Version) (err... function TestIsValidDowngrade (line 92) | func TestIsValidDowngrade(t *testing.T) { function TestIsVersionChangable (line 123) | func TestIsVersionChangable(t *testing.T) { FILE: server/etcdserver/version/monitor.go type Monitor (line 28) | type Monitor struct method UpdateClusterVersionIfNeeded (line 55) | func (m *Monitor) UpdateClusterVersionIfNeeded() error { method decideClusterVersion (line 67) | func (m *Monitor) decideClusterVersion() (*semver.Version, error) { method UpdateStorageVersionIfNeeded (line 107) | func (m *Monitor) UpdateStorageVersionIfNeeded() { method CancelDowngradeIfNeeded (line 134) | func (m *Monitor) CancelDowngradeIfNeeded() { method membersMinimalServerVersion (line 155) | func (m *Monitor) membersMinimalServerVersion() *semver.Version { method versionsMatchTarget (line 193) | func (m *Monitor) versionsMatchTarget(targetVersion *semver.Version) b... type Server (line 34) | type Server interface function NewMonitor (line 47) | func NewMonitor(lg *zap.Logger, storage Server) *Monitor { FILE: server/etcdserver/version/monitor_test.go function TestMemberMinimalVersion (line 30) | func TestMemberMinimalVersion(t *testing.T) { function TestDecideStorageVersion (line 69) | func TestDecideStorageVersion(t *testing.T) { function TestVersionMatchTarget (line 118) | func TestVersionMatchTarget(t *testing.T) { function TestUpdateClusterVersionIfNeeded (line 170) | func TestUpdateClusterVersionIfNeeded(t *testing.T) { function TestCancelDowngradeIfNeeded (line 288) | func TestCancelDowngradeIfNeeded(t *testing.T) { function TestUpdateStorageVersionIfNeeded (line 357) | func TestUpdateStorageVersionIfNeeded(t *testing.T) { type storageMock (line 408) | type storageMock struct method UpdateClusterVersion (line 417) | func (s *storageMock) UpdateClusterVersion(version string) { method LinearizableReadNotify (line 421) | func (s *storageMock) LinearizableReadNotify(ctx context.Context) error { method DowngradeEnable (line 425) | func (s *storageMock) DowngradeEnable(ctx context.Context, targetVersi... method DowngradeCancel (line 429) | func (s *storageMock) DowngradeCancel(ctx context.Context) error { method GetClusterVersion (line 434) | func (s *storageMock) GetClusterVersion() *semver.Version { method GetDowngradeInfo (line 438) | func (s *storageMock) GetDowngradeInfo() *DowngradeInfo { method GetMembersVersions (line 442) | func (s *storageMock) GetMembersVersions() map[string]*version.Versions { method GetStorageVersion (line 446) | func (s *storageMock) GetStorageVersion() *semver.Version { method UpdateStorageVersion (line 450) | func (s *storageMock) UpdateStorageVersion(v semver.Version) error { FILE: server/etcdserver/version/version.go type Manager (line 25) | type Manager struct method DowngradeValidate (line 39) | func (m *Manager) DowngradeValidate(ctx context.Context, targetVersion... method DowngradeEnable (line 61) | func (m *Manager) DowngradeEnable(ctx context.Context, targetVersion *... method DowngradeCancel (line 71) | func (m *Manager) DowngradeCancel(ctx context.Context) error { function NewManager (line 31) | func NewManager(lg *zap.Logger, s Server) *Manager { FILE: server/etcdserver/version/version_test.go function TestUpgradeSingleNode (line 32) | func TestUpgradeSingleNode(t *testing.T) { function TestUpgradeThreeNodes (line 45) | func TestUpgradeThreeNodes(t *testing.T) { function TestDowngradeSingleNode (line 62) | func TestDowngradeSingleNode(t *testing.T) { function TestDowngradeThreeNode (line 78) | func TestDowngradeThreeNode(t *testing.T) { function TestNewerMemberCanReconnectDuringDowngrade (line 98) | func TestNewerMemberCanReconnectDuringDowngrade(t *testing.T) { function newCluster (line 124) | func newCluster(lg *zap.Logger, memberCount int, ver semver.Version) *cl... type clusterMock (line 162) | type clusterMock struct method StepMonitors (line 145) | func (c *clusterMock) StepMonitors() { method Version (line 169) | func (c *clusterMock) Version() *Manager { method MembersVersions (line 173) | func (c *clusterMock) MembersVersions() map[string]*version.Versions { method ReplaceMemberBinary (line 186) | func (c *clusterMock) ReplaceMemberBinary(mid int, newServerVersion se... method MemberCrashes (line 191) | func (c *clusterMock) MemberCrashes(mid int) { method MemberReconnects (line 195) | func (c *clusterMock) MemberReconnects(mid int) { type memberMock (line 200) | type memberMock struct method UpdateClusterVersion (line 212) | func (m *memberMock) UpdateClusterVersion(version string) { method LinearizableReadNotify (line 216) | func (m *memberMock) LinearizableReadNotify(ctx context.Context) error { method DowngradeEnable (line 220) | func (m *memberMock) DowngradeEnable(ctx context.Context, targetVersio... method DowngradeCancel (line 228) | func (m *memberMock) DowngradeCancel(context.Context) error { method GetClusterVersion (line 233) | func (m *memberMock) GetClusterVersion() *semver.Version { method GetDowngradeInfo (line 237) | func (m *memberMock) GetDowngradeInfo() *DowngradeInfo { method GetMembersVersions (line 241) | func (m *memberMock) GetMembersVersions() map[string]*version.Versions { method GetStorageVersion (line 245) | func (m *memberMock) GetStorageVersion() *semver.Version { method UpdateStorageVersion (line 249) | func (m *memberMock) UpdateStorageVersion(v semver.Version) error { method TriggerSnapshot (line 254) | func (m *memberMock) TriggerSnapshot() { FILE: server/etcdserver/zap_raft.go function NewRaftLogger (line 27) | func NewRaftLogger(lcfg *zap.Config) (raft.Logger, error) { function NewRaftLoggerZap (line 39) | func NewRaftLoggerZap(lg *zap.Logger) raft.Logger { function NewRaftLoggerFromZapCore (line 46) | func NewRaftLoggerFromZapCore(cr zapcore.Core, syncer zapcore.WriteSynce... type zapRaftLogger (line 52) | type zapRaftLogger struct method Debug (line 57) | func (zl *zapRaftLogger) Debug(args ...any) { method Debugf (line 61) | func (zl *zapRaftLogger) Debugf(format string, args ...any) { method Error (line 65) | func (zl *zapRaftLogger) Error(args ...any) { method Errorf (line 69) | func (zl *zapRaftLogger) Errorf(format string, args ...any) { method Info (line 73) | func (zl *zapRaftLogger) Info(args ...any) { method Infof (line 77) | func (zl *zapRaftLogger) Infof(format string, args ...any) { method Warning (line 81) | func (zl *zapRaftLogger) Warning(args ...any) { method Warningf (line 85) | func (zl *zapRaftLogger) Warningf(format string, args ...any) { method Fatal (line 89) | func (zl *zapRaftLogger) Fatal(args ...any) { method Fatalf (line 93) | func (zl *zapRaftLogger) Fatalf(format string, args ...any) { method Panic (line 97) | func (zl *zapRaftLogger) Panic(args ...any) { method Panicf (line 101) | func (zl *zapRaftLogger) Panicf(format string, args ...any) { FILE: server/etcdserver/zap_raft_test.go function TestNewRaftLogger (line 32) | func TestNewRaftLogger(t *testing.T) { function TestNewRaftLoggerFromZapCore (line 75) | func TestNewRaftLoggerFromZapCore(t *testing.T) { FILE: server/features/etcd_features.go constant StopGRPCServiceOnDefrag (line 42) | StopGRPCServiceOnDefrag featuregate.Feature = "StopGRPCServiceOnDefrag" constant TxnModeWriteWithSharedBuffer (line 47) | TxnModeWriteWithSharedBuffer featuregate.Feature = "TxnModeWriteWithShar... constant InitialCorruptCheck (line 52) | InitialCorruptCheck featuregate.Feature = "InitialCorruptCheck" constant CompactHashCheck (line 57) | CompactHashCheck featuregate.Feature = "CompactHashCheck" constant LeaseCheckpoint (line 62) | LeaseCheckpoint featuregate.Feature = "LeaseCheckpoint" constant LeaseCheckpointPersist (line 70) | LeaseCheckpointPersist featuregate.Feature = "LeaseCheckpointPersist" constant SetMemberLocalAddr (line 76) | SetMemberLocalAddr featuregate.Feature = "SetMemberLocalAddr" constant FastLeaseKeepAlive (line 81) | FastLeaseKeepAlive featuregate.Feature = "FastLeaseKeepAlive" function NewDefaultServerFeatureGate (line 95) | func NewDefaultServerFeatureGate(name string, lg *zap.Logger) featuregat... FILE: server/lease/lease.go type Lease (line 27) | type Lease struct method expired (line 51) | func (l *Lease) expired() bool { method persistTo (line 55) | func (l *Lease) persistTo(b backend.Backend) { method TTL (line 64) | func (l *Lease) TTL() int64 { method SetLeaseItem (line 69) | func (l *Lease) SetLeaseItem(item LeaseItem) { method getRemainingTTL (line 76) | func (l *Lease) getRemainingTTL() int64 { method refresh (line 84) | func (l *Lease) refresh(extend time.Duration) { method forever (line 92) | func (l *Lease) forever() { method Demoted (line 99) | func (l *Lease) Demoted() bool { method Keys (line 106) | func (l *Lease) Keys() []string { method Remaining (line 117) | func (l *Lease) Remaining() time.Duration { function NewLease (line 42) | func NewLease(id LeaseID, ttl int64) *Lease { type LeaseItem (line 126) | type LeaseItem struct type leasesByExpiry (line 131) | type leasesByExpiry method Len (line 133) | func (le leasesByExpiry) Len() int { return len(le) } method Less (line 134) | func (le leasesByExpiry) Less(i, j int) bool { return le[i].Remaining(... method Swap (line 135) | func (le leasesByExpiry) Swap(i, j int) { le[i], le[j] = le[j], l... FILE: server/lease/lease_queue.go type LeaseWithTime (line 25) | type LeaseWithTime struct type LeaseQueue (line 31) | type LeaseQueue method Len (line 33) | func (pq LeaseQueue) Len() int { return len(pq) } method Less (line 35) | func (pq LeaseQueue) Less(i, j int) bool { method Swap (line 39) | func (pq LeaseQueue) Swap(i, j int) { method Push (line 45) | func (pq *LeaseQueue) Push(x any) { method Pop (line 52) | func (pq *LeaseQueue) Pop() any { type LeaseExpiredNotifier (line 63) | type LeaseExpiredNotifier struct method Init (line 75) | func (mq *LeaseExpiredNotifier) Init() { method RegisterOrUpdate (line 83) | func (mq *LeaseExpiredNotifier) RegisterOrUpdate(item *LeaseWithTime) { method Unregister (line 93) | func (mq *LeaseExpiredNotifier) Unregister() *LeaseWithTime { method Peek (line 99) | func (mq *LeaseExpiredNotifier) Peek() *LeaseWithTime { method Len (line 106) | func (mq *LeaseExpiredNotifier) Len() int { function newLeaseExpiredNotifier (line 68) | func newLeaseExpiredNotifier() *LeaseExpiredNotifier { FILE: server/lease/lease_queue_test.go function TestLeaseQueue (line 22) | func TestLeaseQueue(t *testing.T) { FILE: server/lease/leasehttp/http.go function NewHandler (line 40) | func NewHandler(l lease.Lessor, waitch func() <-chan struct{}) http.Hand... type leaseHandler (line 44) | type leaseHandler struct method ServeHTTP (line 49) | func (h *leaseHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... function RenewHTTP (line 158) | func RenewHTTP(ctx context.Context, id lease.LeaseID, url string, rt htt... function TimeToLiveHTTP (line 210) | func TimeToLiveHTTP(ctx context.Context, id lease.LeaseID, keys bool, ur... function readResponse (line 266) | func readResponse(resp *http.Response) (b []byte, err error) { FILE: server/lease/leasehttp/http_test.go function TestRenewHTTP (line 29) | func TestRenewHTTP(t *testing.T) { function TestTimeToLiveHTTP (line 53) | func TestTimeToLiveHTTP(t *testing.T) { function TestRenewHTTPTimeout (line 80) | func TestRenewHTTPTimeout(t *testing.T) { function TestTimeToLiveHTTPTimeout (line 87) | func TestTimeToLiveHTTPTimeout(t *testing.T) { function testApplyTimeout (line 94) | func testApplyTimeout(t *testing.T, f func(*lease.Lease, string) error) { function waitReady (line 117) | func waitReady() <-chan struct{} { function waitNotReady (line 123) | func waitNotReady() <-chan struct{} { FILE: server/lease/leasepb/lease.pb.go constant _ (line 25) | _ = proto.ProtoPackageIsVersion3 type Lease (line 27) | type Lease struct method Reset (line 36) | func (m *Lease) Reset() { *m = Lease{} } method String (line 37) | func (m *Lease) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 38) | func (*Lease) ProtoMessage() {} method Descriptor (line 39) | func (*Lease) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 42) | func (m *Lease) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 45) | func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, err... method XXX_Merge (line 57) | func (m *Lease) XXX_Merge(src proto.Message) { method XXX_Size (line 60) | func (m *Lease) XXX_Size() int { method XXX_DiscardUnknown (line 63) | func (m *Lease) XXX_DiscardUnknown() { method GetID (line 69) | func (m *Lease) GetID() int64 { method GetTTL (line 76) | func (m *Lease) GetTTL() int64 { method GetRemainingTTL (line 83) | func (m *Lease) GetRemainingTTL() int64 { method Marshal (line 213) | func (m *Lease) Marshal() (dAtA []byte, err error) { method MarshalTo (line 223) | func (m *Lease) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 228) | func (m *Lease) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 344) | func (m *Lease) Size() (n int) { method Unmarshal (line 403) | func (m *Lease) Unmarshal(dAtA []byte) error { type LeaseInternalRequest (line 90) | type LeaseInternalRequest struct method Reset (line 97) | func (m *LeaseInternalRequest) Reset() { *m = LeaseInternalReq... method String (line 98) | func (m *LeaseInternalRequest) String() string { return proto.CompactT... method ProtoMessage (line 99) | func (*LeaseInternalRequest) ProtoMessage() {} method Descriptor (line 100) | func (*LeaseInternalRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 103) | func (m *LeaseInternalRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 106) | func (m *LeaseInternalRequest) XXX_Marshal(b []byte, deterministic boo... method XXX_Merge (line 118) | func (m *LeaseInternalRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 121) | func (m *LeaseInternalRequest) XXX_Size() int { method XXX_DiscardUnknown (line 124) | func (m *LeaseInternalRequest) XXX_DiscardUnknown() { method GetLeaseTimeToLiveRequest (line 130) | func (m *LeaseInternalRequest) GetLeaseTimeToLiveRequest() *etcdserver... method Marshal (line 255) | func (m *LeaseInternalRequest) Marshal() (dAtA []byte, err error) { method MarshalTo (line 265) | func (m *LeaseInternalRequest) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 270) | func (m *LeaseInternalRequest) MarshalToSizedBuffer(dAtA []byte) (int,... method Size (line 365) | func (m *LeaseInternalRequest) Size() (n int) { method Unmarshal (line 511) | func (m *LeaseInternalRequest) Unmarshal(dAtA []byte) error { type LeaseInternalResponse (line 137) | type LeaseInternalResponse struct method Reset (line 144) | func (m *LeaseInternalResponse) Reset() { *m = LeaseInternalRe... method String (line 145) | func (m *LeaseInternalResponse) String() string { return proto.Compact... method ProtoMessage (line 146) | func (*LeaseInternalResponse) ProtoMessage() {} method Descriptor (line 147) | func (*LeaseInternalResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 150) | func (m *LeaseInternalResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 153) | func (m *LeaseInternalResponse) XXX_Marshal(b []byte, deterministic bo... method XXX_Merge (line 165) | func (m *LeaseInternalResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 168) | func (m *LeaseInternalResponse) XXX_Size() int { method XXX_DiscardUnknown (line 171) | func (m *LeaseInternalResponse) XXX_DiscardUnknown() { method GetLeaseTimeToLiveResponse (line 177) | func (m *LeaseInternalResponse) GetLeaseTimeToLiveResponse() *etcdserv... method Marshal (line 294) | func (m *LeaseInternalResponse) Marshal() (dAtA []byte, err error) { method MarshalTo (line 304) | func (m *LeaseInternalResponse) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 309) | func (m *LeaseInternalResponse) MarshalToSizedBuffer(dAtA []byte) (int... method Size (line 381) | func (m *LeaseInternalResponse) Size() (n int) { method Unmarshal (line 598) | func (m *LeaseInternalResponse) Unmarshal(dAtA []byte) error { function init (line 184) | func init() { function init (line 190) | func init() { proto.RegisterFile("lease.proto", fileDescriptor_3dd57e402... function encodeVarintLease (line 333) | func encodeVarintLease(dAtA []byte, offset int, v uint64) int { function sovLease (line 397) | func sovLease(x uint64) (n int) { function sozLease (line 400) | func sozLease(x uint64) (n int) { function skipLease (line 685) | func skipLease(dAtA []byte) (n int, err error) { FILE: server/lease/lessor.go constant NoLease (line 37) | NoLease = LeaseID(0) constant MaxLeaseTTL (line 40) | MaxLeaseTTL = 9000000000 type TxnDelete (line 68) | type TxnDelete interface type RangeDeleter (line 74) | type RangeDeleter type Checkpointer (line 78) | type Checkpointer type LeaseID (line 80) | type LeaseID type Lessor (line 83) | type Lessor interface type lessor (line 145) | type lessor struct method isPrimary (line 263) | func (le *lessor) isPrimary() bool { method SetRangeDeleter (line 267) | func (le *lessor) SetRangeDeleter(rd RangeDeleter) { method SetCheckpointer (line 274) | func (le *lessor) SetCheckpointer(cp Checkpointer) { method Grant (line 281) | func (le *lessor) Grant(id LeaseID, ttl int64) (*Lease, error) { method Revoke (line 326) | func (le *lessor) Revoke(id LeaseID) error { method Checkpoint (line 367) | func (le *lessor) Checkpoint(id LeaseID, remainingTTL int64) error { method shouldPersistCheckpoints (line 385) | func (le *lessor) shouldPersistCheckpoints() bool { method Renew (line 396) | func (le *lessor) Renew(id LeaseID) (int64, error) { method Lookup (line 458) | func (le *lessor) Lookup(id LeaseID) *Lease { method unsafeLeases (line 464) | func (le *lessor) unsafeLeases() []*Lease { method Leases (line 472) | func (le *lessor) Leases() []*Lease { method Promote (line 480) | func (le *lessor) Promote(extend time.Duration) { method Demote (line 534) | func (le *lessor) Demote() { method Attach (line 555) | func (le *lessor) Attach(id LeaseID, items []LeaseItem) error { method GetLease (line 573) | func (le *lessor) GetLease(item LeaseItem) LeaseID { method Detach (line 582) | func (le *lessor) Detach(id LeaseID, items []LeaseItem) error { method Recover (line 600) | func (le *lessor) Recover(b backend.Backend, rd RangeDeleter) { method ExpiredLeasesC (line 611) | func (le *lessor) ExpiredLeasesC() <-chan []*Lease { method Stop (line 615) | func (le *lessor) Stop() { method runLoop (line 620) | func (le *lessor) runLoop() { method revokeExpiredLeases (line 640) | func (le *lessor) revokeExpiredLeases() { method checkpointScheduledLeases (line 667) | func (le *lessor) checkpointScheduledLeases() { method clearScheduledLeasesCheckpoints (line 689) | func (le *lessor) clearScheduledLeasesCheckpoints() { method clearLeaseExpiredNotifier (line 693) | func (le *lessor) clearLeaseExpiredNotifier() { method expireExists (line 700) | func (le *lessor) expireExists() (l *Lease, next bool) { method findExpiredLeases (line 728) | func (le *lessor) findExpiredLeases(limit int) []*Lease { method scheduleCheckpointIfNeeded (line 753) | func (le *lessor) scheduleCheckpointIfNeeded(lease *Lease) { method findDueScheduledCheckpoints (line 772) | func (le *lessor) findDueScheduledCheckpoints(checkpointLimit int) []*... method initAndRecover (line 808) | func (le *lessor) initAndRecover() { type cluster (line 194) | type cluster interface type LessorConfig (line 199) | type LessorConfig struct function NewLessor (line 208) | func NewLessor(lg *zap.Logger, b backend.Backend, cluster cluster, cfg L... function newLessor (line 212) | func newLessor(lg *zap.Logger, b backend.Backend, cluster cluster, cfg L... function greaterOrEqual (line 390) | func greaterOrEqual(first, second semver.Version) bool { type FakeLessor (line 839) | type FakeLessor struct method SetRangeDeleter (line 843) | func (fl *FakeLessor) SetRangeDeleter(dr RangeDeleter) {} method SetCheckpointer (line 845) | func (fl *FakeLessor) SetCheckpointer(cp Checkpointer) {} method Grant (line 847) | func (fl *FakeLessor) Grant(id LeaseID, ttl int64) (*Lease, error) { method Revoke (line 852) | func (fl *FakeLessor) Revoke(id LeaseID) error { return nil } method Checkpoint (line 854) | func (fl *FakeLessor) Checkpoint(id LeaseID, remainingTTL int64) error... method Attach (line 856) | func (fl *FakeLessor) Attach(id LeaseID, items []LeaseItem) error { re... method GetLease (line 858) | func (fl *FakeLessor) GetLease(item LeaseItem) LeaseID { re... method Detach (line 859) | func (fl *FakeLessor) Detach(id LeaseID, items []LeaseItem) error { re... method Promote (line 861) | func (fl *FakeLessor) Promote(extend time.Duration) {} method Demote (line 863) | func (fl *FakeLessor) Demote() {} method Renew (line 865) | func (fl *FakeLessor) Renew(id LeaseID) (int64, error) { return 10, nil } method Lookup (line 867) | func (fl *FakeLessor) Lookup(id LeaseID) *Lease { method Leases (line 874) | func (fl *FakeLessor) Leases() []*Lease { return nil } method ExpiredLeasesC (line 876) | func (fl *FakeLessor) ExpiredLeasesC() <-chan []*Lease { return nil } method Recover (line 878) | func (fl *FakeLessor) Recover(b backend.Backend, rd RangeDeleter) {} method Stop (line 880) | func (fl *FakeLessor) Stop() {} type FakeTxnDelete (line 882) | type FakeTxnDelete struct method DeleteRange (line 886) | func (ftd *FakeTxnDelete) DeleteRange(key, end []byte) (n, rev int64) ... method End (line 887) | func (ftd *FakeTxnDelete) End() ... FILE: server/lease/lessor_bench_test.go function BenchmarkLessorGrant1000 (line 27) | func BenchmarkLessorGrant1000(b *testing.B) { benchmarkLessorGrant(100... function BenchmarkLessorGrant100000 (line 28) | func BenchmarkLessorGrant100000(b *testing.B) { benchmarkLessorGrant(100... function BenchmarkLessorRevoke1000 (line 30) | func BenchmarkLessorRevoke1000(b *testing.B) { benchmarkLessorRevoke(1... function BenchmarkLessorRevoke100000 (line 31) | func BenchmarkLessorRevoke100000(b *testing.B) { benchmarkLessorRevoke(1... function BenchmarkLessorRenew1000 (line 33) | func BenchmarkLessorRenew1000(b *testing.B) { benchmarkLessorRenew(100... function BenchmarkLessorRenew100000 (line 34) | func BenchmarkLessorRenew100000(b *testing.B) { benchmarkLessorRenew(100... function BenchmarkLessorFindExpired10000 (line 37) | func BenchmarkLessorFindExpired10000(b *testing.B) { benchmarkLessorFin... function BenchmarkLessorFindExpired100000 (line 38) | func BenchmarkLessorFindExpired100000(b *testing.B) { benchmarkLessorFin... constant minTTL (line 42) | minTTL = 1000 constant maxTTL (line 44) | maxTTL = 2000 function randomTTL (line 47) | func randomTTL(n int, min, max int64) (out []int64) { function demote (line 55) | func demote(le *lessor) { function setUp (line 63) | func setUp(tb testing.TB) (le *lessor, tearDown func()) { function benchmarkLessorGrant (line 82) | func benchmarkLessorGrant(benchSize int, b *testing.B) { function benchmarkLessorRevoke (line 109) | func benchmarkLessorRevoke(benchSize int, b *testing.B) { function benchmarkLessorRenew (line 138) | func benchmarkLessorRenew(benchSize int, b *testing.B) { function benchmarkLessorFindExpired (line 168) | func benchmarkLessorFindExpired(benchSize int, b *testing.B) { FILE: server/lease/lessor_test.go constant minLeaseTTL (line 40) | minLeaseTTL = int64(5) constant minLeaseTTLDuration (line 41) | minLeaseTTLDuration = time.Duration(minLeaseTTL) * time.Second function TestLessorGrant (line 47) | func TestLessorGrant(t *testing.T) { function TestLeaseConcurrentKeys (line 110) | func TestLeaseConcurrentKeys(t *testing.T) { function TestLessorRevoke (line 159) | func TestLessorRevoke(t *testing.T) { function renew (line 212) | func renew(t *testing.T, le *lessor, id LeaseID) int64 { function TestLessorRenew (line 236) | func TestLessorRenew(t *testing.T) { function TestLessorRenewWithCheckpointer (line 266) | func TestLessorRenewWithCheckpointer(t *testing.T) { function TestLessorRenewExtendPileup (line 310) | func TestLessorRenewExtendPileup(t *testing.T) { function TestLessorDetach (line 360) | func TestLessorDetach(t *testing.T) { function TestLessorRecover (line 401) | func TestLessorRecover(t *testing.T) { function TestLessorExpire (line 429) | func TestLessorExpire(t *testing.T) { function TestLessorExpireAndDemote (line 482) | func TestLessorExpireAndDemote(t *testing.T) { function TestLessorMaxTTL (line 533) | func TestLessorMaxTTL(t *testing.T) { function TestLessorCheckpointScheduling (line 548) | func TestLessorCheckpointScheduling(t *testing.T) { function TestLessorCheckpointsRestoredOnPromote (line 584) | func TestLessorCheckpointsRestoredOnPromote(t *testing.T) { function TestLessorCheckpointPersistenceAfterRestart (line 604) | func TestLessorCheckpointPersistenceAfterRestart(t *testing.T) { type fakeDeleter (line 673) | type fakeDeleter struct method End (line 684) | func (fd *fakeDeleter) End() { fd.tx.Unlock() } method DeleteRange (line 686) | func (fd *fakeDeleter) DeleteRange(key, end []byte) (int64, int64) { function newFakeDeleter (line 678) | func newFakeDeleter(be backend.Backend) *fakeDeleter { function NewTestBackend (line 691) | func NewTestBackend(t *testing.T) (string, backend.Backend) { function clusterLatest (line 699) | func clusterLatest() cluster { function clusterV3_5 (line 703) | func clusterV3_5() cluster { function clusterNil (line 707) | func clusterNil() cluster { type fakeCluster (line 711) | type fakeCluster struct method Version (line 715) | func (c fakeCluster) Version() *semver.Version { FILE: server/lease/metrics.go function init (line 55) | func init() { FILE: server/main.go function main (line 30) | func main() { FILE: server/mock/mockstorage/storage_recorder.go type StorageRecorder (line 25) | type StorageRecorder struct method Save (line 38) | func (p *StorageRecorder) Save(st raftpb.HardState, ents []raftpb.Entr... method SaveSnap (line 43) | func (p *StorageRecorder) SaveSnap(st raftpb.Snapshot) error { method Release (line 50) | func (p *StorageRecorder) Release(st raftpb.Snapshot) error { method Sync (line 57) | func (p *StorageRecorder) Sync() error { method Close (line 62) | func (p *StorageRecorder) Close() error { retur... method MinimalEtcdVersion (line 63) | func (p *StorageRecorder) MinimalEtcdVersion() *semver.Version { retur... function NewStorageRecorder (line 30) | func NewStorageRecorder(db string) *StorageRecorder { function NewStorageRecorderStream (line 34) | func NewStorageRecorderStream(db string) *StorageRecorder { FILE: server/mock/mockstore/store_recorder.go type StoreRecorder (line 25) | type StoreRecorder struct type storeRecorder (line 33) | type storeRecorder struct method Version (line 49) | func (s *storeRecorder) Version() int { return 0 } method Index (line 50) | func (s *storeRecorder) Index() uint64 { return 0 } method Get (line 51) | func (s *storeRecorder) Get(path string, recursive, sorted bool) (*v2s... method Set (line 59) | func (s *storeRecorder) Set(path string, dir bool, val string, expireO... method Update (line 67) | func (s *storeRecorder) Update(path, val string, expireOpts v2store.TT... method Create (line 75) | func (s *storeRecorder) Create(path string, dir bool, val string, uniq... method CompareAndSwap (line 83) | func (s *storeRecorder) CompareAndSwap(path, prevVal string, prevIdx u... method Delete (line 91) | func (s *storeRecorder) Delete(path string, dir, recursive bool) (*v2s... method CompareAndDelete (line 99) | func (s *storeRecorder) CompareAndDelete(path, prevVal string, prevIdx... method Watch (line 107) | func (s *storeRecorder) Watch(_ string, _, _ bool, _ uint64) (v2store.... method Save (line 112) | func (s *storeRecorder) Save() ([]byte, error) { method Recovery (line 117) | func (s *storeRecorder) Recovery(b []byte) error { method SaveNoCopy (line 122) | func (s *storeRecorder) SaveNoCopy() ([]byte, error) { method Clone (line 127) | func (s *storeRecorder) Clone() v2store.Store { method JsonStats (line 133) | func (s *storeRecorder) JsonStats() []byte { return nil } method DeleteExpiredKeys (line 137) | func (s *storeRecorder) DeleteExpiredKeys(cutoff time.Time) { method HasTTLKeys (line 144) | func (s *storeRecorder) HasTTLKeys() bool { function NewNop (line 38) | func NewNop() v2store.Store { return &storeRecorder{Recorder: &testutil.... function NewRecorder (line 39) | func NewRecorder() *StoreRecorder { function NewRecorderStream (line 44) | func NewRecorderStream() *StoreRecorder { type errStoreRecorder (line 153) | type errStoreRecorder struct method Get (line 164) | func (s *errStoreRecorder) Get(path string, recursive, sorted bool) (*... method Watch (line 169) | func (s *errStoreRecorder) Watch(path string, recursive, sorted bool, ... function NewErrRecorder (line 158) | func NewErrRecorder(err error) *StoreRecorder { FILE: server/mock/mockwait/wait_recorder.go type WaitRecorder (line 22) | type WaitRecorder struct type waitRecorder (line 27) | type waitRecorder struct method Register (line 37) | func (w *waitRecorder) Register(id uint64) <-chan any { method Trigger (line 42) | func (w *waitRecorder) Trigger(id uint64, x any) { method IsRegistered (line 46) | func (w *waitRecorder) IsRegistered(id uint64) bool { function NewRecorder (line 31) | func NewRecorder() *WaitRecorder { function NewNop (line 35) | func NewNop() wait.Wait { return NewRecorder() } FILE: server/proxy/grpcproxy/adapter/auth_client_adapter.go type as2ac (line 25) | type as2ac struct method AuthEnable (line 31) | func (s *as2ac) AuthEnable(ctx context.Context, in *pb.AuthEnableReque... method AuthDisable (line 35) | func (s *as2ac) AuthDisable(ctx context.Context, in *pb.AuthDisableReq... method AuthStatus (line 39) | func (s *as2ac) AuthStatus(ctx context.Context, in *pb.AuthStatusReque... method Authenticate (line 43) | func (s *as2ac) Authenticate(ctx context.Context, in *pb.AuthenticateR... method RoleAdd (line 47) | func (s *as2ac) RoleAdd(ctx context.Context, in *pb.AuthRoleAddRequest... method RoleDelete (line 51) | func (s *as2ac) RoleDelete(ctx context.Context, in *pb.AuthRoleDeleteR... method RoleGet (line 55) | func (s *as2ac) RoleGet(ctx context.Context, in *pb.AuthRoleGetRequest... method RoleList (line 59) | func (s *as2ac) RoleList(ctx context.Context, in *pb.AuthRoleListReque... method RoleRevokePermission (line 63) | func (s *as2ac) RoleRevokePermission(ctx context.Context, in *pb.AuthR... method RoleGrantPermission (line 67) | func (s *as2ac) RoleGrantPermission(ctx context.Context, in *pb.AuthRo... method UserDelete (line 71) | func (s *as2ac) UserDelete(ctx context.Context, in *pb.AuthUserDeleteR... method UserAdd (line 75) | func (s *as2ac) UserAdd(ctx context.Context, in *pb.AuthUserAddRequest... method UserGet (line 79) | func (s *as2ac) UserGet(ctx context.Context, in *pb.AuthUserGetRequest... method UserList (line 83) | func (s *as2ac) UserList(ctx context.Context, in *pb.AuthUserListReque... method UserGrantRole (line 87) | func (s *as2ac) UserGrantRole(ctx context.Context, in *pb.AuthUserGran... method UserRevokeRole (line 91) | func (s *as2ac) UserRevokeRole(ctx context.Context, in *pb.AuthUserRev... method UserChangePassword (line 95) | func (s *as2ac) UserChangePassword(ctx context.Context, in *pb.AuthUse... function AuthServerToAuthClient (line 27) | func AuthServerToAuthClient(as pb.AuthServer) pb.AuthClient { FILE: server/proxy/grpcproxy/adapter/chan_stream.go type chanServerStream (line 28) | type chanServerStream struct method SendHeader (line 36) | func (ss *chanServerStream) SendHeader(md metadata.MD) error { method SetHeader (line 54) | func (ss *chanServerStream) SetHeader(md metadata.MD) error { method SetTrailer (line 62) | func (ss *chanServerStream) SetTrailer(md metadata.MD) { type chanClientStream (line 67) | type chanClientStream struct method Header (line 73) | func (cs *chanClientStream) Header() (metadata.MD, error) { method Trailer (line 82) | func (cs *chanClientStream) Trailer() metadata.MD { method CloseSend (line 91) | func (cs *chanClientStream) CloseSend() error { type chanStream (line 97) | type chanStream struct method Context (line 104) | func (s *chanStream) Context() context.Context { return s.ctx } method SendMsg (line 106) | func (s *chanStream) SendMsg(m any) error { method RecvMsg (line 118) | func (s *chanStream) RecvMsg(m any) error { function newPipeStream (line 141) | func newPipeStream(ctx context.Context, ssHandler func(chanServerStream)... FILE: server/proxy/grpcproxy/adapter/cluster_client_adapter.go type cls2clc (line 25) | type cls2clc struct method MemberList (line 31) | func (s *cls2clc) MemberList(ctx context.Context, r *pb.MemberListRequ... method MemberAdd (line 35) | func (s *cls2clc) MemberAdd(ctx context.Context, r *pb.MemberAddReques... method MemberUpdate (line 39) | func (s *cls2clc) MemberUpdate(ctx context.Context, r *pb.MemberUpdate... method MemberRemove (line 43) | func (s *cls2clc) MemberRemove(ctx context.Context, r *pb.MemberRemove... method MemberPromote (line 47) | func (s *cls2clc) MemberPromote(ctx context.Context, r *pb.MemberPromo... function ClusterServerToClusterClient (line 27) | func ClusterServerToClusterClient(cls pb.ClusterServer) pb.ClusterClient { FILE: server/proxy/grpcproxy/adapter/election_client_adapter.go type es2ec (line 25) | type es2ec struct method Campaign (line 31) | func (s *es2ec) Campaign(ctx context.Context, r *v3electionpb.Campaign... method Proclaim (line 35) | func (s *es2ec) Proclaim(ctx context.Context, r *v3electionpb.Proclaim... method Leader (line 39) | func (s *es2ec) Leader(ctx context.Context, r *v3electionpb.LeaderRequ... method Resign (line 43) | func (s *es2ec) Resign(ctx context.Context, r *v3electionpb.ResignRequ... method Observe (line 47) | func (s *es2ec) Observe(ctx context.Context, in *v3electionpb.LeaderRe... function ElectionServerToElectionClient (line 27) | func ElectionServerToElectionClient(es v3electionpb.ElectionServer) v3el... type es2ecClientStream (line 55) | type es2ecClientStream struct method Send (line 60) | func (s *es2ecClientStream) Send(rr *v3electionpb.LeaderRequest) error { method Recv (line 64) | func (s *es2ecClientStream) Recv() (*v3electionpb.LeaderResponse, erro... type es2ecServerStream (line 58) | type es2ecServerStream struct method Send (line 72) | func (s *es2ecServerStream) Send(rr *v3electionpb.LeaderResponse) error { method Recv (line 76) | func (s *es2ecServerStream) Recv() (*v3electionpb.LeaderRequest, error) { FILE: server/proxy/grpcproxy/adapter/kv_client_adapter.go type kvs2kvc (line 25) | type kvs2kvc struct method Range (line 31) | func (s *kvs2kvc) Range(ctx context.Context, in *pb.RangeRequest, opts... method Put (line 35) | func (s *kvs2kvc) Put(ctx context.Context, in *pb.PutRequest, opts ...... method DeleteRange (line 39) | func (s *kvs2kvc) DeleteRange(ctx context.Context, in *pb.DeleteRangeR... method Txn (line 43) | func (s *kvs2kvc) Txn(ctx context.Context, in *pb.TxnRequest, opts ...... method Compact (line 47) | func (s *kvs2kvc) Compact(ctx context.Context, in *pb.CompactionReques... function KvServerToKvClient (line 27) | func KvServerToKvClient(kvs pb.KVServer) pb.KVClient { FILE: server/proxy/grpcproxy/adapter/lease_client_adapter.go type ls2lc (line 25) | type ls2lc struct method LeaseGrant (line 33) | func (c *ls2lc) LeaseGrant(ctx context.Context, in *pb.LeaseGrantReque... method LeaseRevoke (line 37) | func (c *ls2lc) LeaseRevoke(ctx context.Context, in *pb.LeaseRevokeReq... method LeaseKeepAlive (line 41) | func (c *ls2lc) LeaseKeepAlive(ctx context.Context, opts ...grpc.CallO... method LeaseTimeToLive (line 48) | func (c *ls2lc) LeaseTimeToLive(ctx context.Context, in *pb.LeaseTimeT... method LeaseLeases (line 52) | func (c *ls2lc) LeaseLeases(ctx context.Context, in *pb.LeaseLeasesReq... function LeaseServerToLeaseClient (line 29) | func LeaseServerToLeaseClient(ls pb.LeaseServer) pb.LeaseClient { type ls2lcClientStream (line 57) | type ls2lcClientStream struct method Send (line 62) | func (s *ls2lcClientStream) Send(rr *pb.LeaseKeepAliveRequest) error { method Recv (line 66) | func (s *ls2lcClientStream) Recv() (*pb.LeaseKeepAliveResponse, error) { type ls2lcServerStream (line 60) | type ls2lcServerStream struct method Send (line 74) | func (s *ls2lcServerStream) Send(rr *pb.LeaseKeepAliveResponse) error { method Recv (line 78) | func (s *ls2lcServerStream) Recv() (*pb.LeaseKeepAliveRequest, error) { FILE: server/proxy/grpcproxy/adapter/lock_client_adapter.go type ls2lsc (line 25) | type ls2lsc struct method Lock (line 31) | func (s *ls2lsc) Lock(ctx context.Context, r *v3lockpb.LockRequest, op... method Unlock (line 35) | func (s *ls2lsc) Unlock(ctx context.Context, r *v3lockpb.UnlockRequest... function LockServerToLockClient (line 27) | func LockServerToLockClient(ls v3lockpb.LockServer) v3lockpb.LockClient { FILE: server/proxy/grpcproxy/adapter/maintenance_client_adapter.go type mts2mtc (line 25) | type mts2mtc struct method Alarm (line 31) | func (s *mts2mtc) Alarm(ctx context.Context, r *pb.AlarmRequest, opts ... method Status (line 35) | func (s *mts2mtc) Status(ctx context.Context, r *pb.StatusRequest, opt... method Defragment (line 39) | func (s *mts2mtc) Defragment(ctx context.Context, dr *pb.DefragmentReq... method Hash (line 43) | func (s *mts2mtc) Hash(ctx context.Context, r *pb.HashRequest, opts ..... method HashKV (line 47) | func (s *mts2mtc) HashKV(ctx context.Context, r *pb.HashKVRequest, opt... method MoveLeader (line 51) | func (s *mts2mtc) MoveLeader(ctx context.Context, r *pb.MoveLeaderRequ... method Downgrade (line 55) | func (s *mts2mtc) Downgrade(ctx context.Context, r *pb.DowngradeReques... method Snapshot (line 59) | func (s *mts2mtc) Snapshot(ctx context.Context, in *pb.SnapshotRequest... function MaintenanceServerToMaintenanceClient (line 27) | func MaintenanceServerToMaintenanceClient(mts pb.MaintenanceServer) pb.M... type ss2scClientStream (line 67) | type ss2scClientStream struct method Send (line 72) | func (s *ss2scClientStream) Send(rr *pb.SnapshotRequest) error { method Recv (line 76) | func (s *ss2scClientStream) Recv() (*pb.SnapshotResponse, error) { type ss2scServerStream (line 70) | type ss2scServerStream struct method Send (line 84) | func (s *ss2scServerStream) Send(rr *pb.SnapshotResponse) error { method Recv (line 88) | func (s *ss2scServerStream) Recv() (*pb.SnapshotRequest, error) { FILE: server/proxy/grpcproxy/adapter/watch_client_adapter.go type ws2wc (line 28) | type ws2wc struct method Watch (line 34) | func (s *ws2wc) Watch(ctx context.Context, opts ...grpc.CallOption) (p... function WatchServerToWatchClient (line 30) | func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient { type ws2wcClientStream (line 42) | type ws2wcClientStream struct method Send (line 47) | func (s *ws2wcClientStream) Send(wr *pb.WatchRequest) error { method Recv (line 51) | func (s *ws2wcClientStream) Recv() (*pb.WatchResponse, error) { type ws2wcServerStream (line 45) | type ws2wcServerStream struct method Send (line 59) | func (s *ws2wcServerStream) Send(wr *pb.WatchResponse) error { method Recv (line 63) | func (s *ws2wcServerStream) Recv() (*pb.WatchRequest, error) { FILE: server/proxy/grpcproxy/auth.go type AuthProxy (line 24) | type AuthProxy struct method AuthEnable (line 34) | func (ap *AuthProxy) AuthEnable(ctx context.Context, r *pb.AuthEnableR... method AuthDisable (line 38) | func (ap *AuthProxy) AuthDisable(ctx context.Context, r *pb.AuthDisabl... method AuthStatus (line 42) | func (ap *AuthProxy) AuthStatus(ctx context.Context, r *pb.AuthStatusR... method Authenticate (line 46) | func (ap *AuthProxy) Authenticate(ctx context.Context, r *pb.Authentic... method RoleAdd (line 50) | func (ap *AuthProxy) RoleAdd(ctx context.Context, r *pb.AuthRoleAddReq... method RoleDelete (line 54) | func (ap *AuthProxy) RoleDelete(ctx context.Context, r *pb.AuthRoleDel... method RoleGet (line 58) | func (ap *AuthProxy) RoleGet(ctx context.Context, r *pb.AuthRoleGetReq... method RoleList (line 62) | func (ap *AuthProxy) RoleList(ctx context.Context, r *pb.AuthRoleListR... method RoleRevokePermission (line 66) | func (ap *AuthProxy) RoleRevokePermission(ctx context.Context, r *pb.A... method RoleGrantPermission (line 70) | func (ap *AuthProxy) RoleGrantPermission(ctx context.Context, r *pb.Au... method UserAdd (line 74) | func (ap *AuthProxy) UserAdd(ctx context.Context, r *pb.AuthUserAddReq... method UserDelete (line 78) | func (ap *AuthProxy) UserDelete(ctx context.Context, r *pb.AuthUserDel... method UserGet (line 82) | func (ap *AuthProxy) UserGet(ctx context.Context, r *pb.AuthUserGetReq... method UserList (line 86) | func (ap *AuthProxy) UserList(ctx context.Context, r *pb.AuthUserListR... method UserGrantRole (line 90) | func (ap *AuthProxy) UserGrantRole(ctx context.Context, r *pb.AuthUser... method UserRevokeRole (line 94) | func (ap *AuthProxy) UserRevokeRole(ctx context.Context, r *pb.AuthUse... method UserChangePassword (line 98) | func (ap *AuthProxy) UserChangePassword(ctx context.Context, r *pb.Aut... function NewAuthProxy (line 30) | func NewAuthProxy(c *clientv3.Client) pb.AuthServer { FILE: server/proxy/grpcproxy/cache/store.go type Cache (line 35) | type Cache interface function keyFunc (line 45) | func keyFunc(req *pb.RangeRequest) string { function NewCache (line 54) | func NewCache(maxCacheEntries int) Cache { type cache (line 65) | type cache struct method Close (line 62) | func (c *cache) Close() {} method Add (line 76) | func (c *cache) Add(req *pb.RangeRequest, resp *pb.RangeResponse) { method Get (line 115) | func (c *cache) Get(req *pb.RangeRequest) (*pb.RangeResponse, error) { method Invalidate (line 133) | func (c *cache) Invalidate(key, endkey []byte) { method Compact (line 160) | func (c *cache) Compact(revision int64) { method Size (line 169) | func (c *cache) Size() int { FILE: server/proxy/grpcproxy/cluster.go constant resolveRetryRate (line 33) | resolveRetryRate = 1 type clusterProxy (line 35) | type clusterProxy struct method establishEndpointWatch (line 95) | func (cp *clusterProxy) establishEndpointWatch(prefix string) { method monitor (line 107) | func (cp *clusterProxy) monitor(wa endpoints.WatchChannel) { method MemberAdd (line 132) | func (cp *clusterProxy) MemberAdd(ctx context.Context, r *pb.MemberAdd... method MemberRemove (line 136) | func (cp *clusterProxy) MemberRemove(ctx context.Context, r *pb.Member... method MemberUpdate (line 140) | func (cp *clusterProxy) MemberUpdate(ctx context.Context, r *pb.Member... method membersFromUpdates (line 144) | func (cp *clusterProxy) membersFromUpdates() ([]*pb.Member, error) { method MemberList (line 163) | func (cp *clusterProxy) MemberList(ctx context.Context, r *pb.MemberLi... method MemberPromote (line 181) | func (cp *clusterProxy) MemberPromote(ctx context.Context, r *pb.Membe... function NewClusterProxy (line 57) | func NewClusterProxy(lg *zap.Logger, c *clientv3.Client, advaddr string,... FILE: server/proxy/grpcproxy/election.go type electionProxy (line 24) | type electionProxy struct method Campaign (line 34) | func (ep *electionProxy) Campaign(ctx context.Context, req *v3election... method Proclaim (line 38) | func (ep *electionProxy) Proclaim(ctx context.Context, req *v3election... method Leader (line 42) | func (ep *electionProxy) Leader(ctx context.Context, req *v3electionpb... method Observe (line 46) | func (ep *electionProxy) Observe(req *v3electionpb.LeaderRequest, s v3... method Resign (line 64) | func (ep *electionProxy) Resign(ctx context.Context, req *v3electionpb... function NewElectionProxy (line 30) | func NewElectionProxy(client *clientv3.Client) v3electionpb.ElectionServ... FILE: server/proxy/grpcproxy/health.go function HandleHealth (line 32) | func HandleHealth(lg *zap.Logger, mux *http.ServeMux, c *clientv3.Client) { function HandleProxyHealth (line 42) | func HandleProxyHealth(lg *zap.Logger, mux *http.ServeMux, c *clientv3.C... function checkHealth (line 51) | func checkHealth(c *clientv3.Client) etcdhttp.Health { function checkProxyHealth (line 64) | func checkProxyHealth(c *clientv3.Client) etcdhttp.Health { FILE: server/proxy/grpcproxy/kv.go type kvProxy (line 26) | type kvProxy struct method Range (line 43) | func (p *kvProxy) Range(ctx context.Context, r *pb.RangeRequest) (*pb.... method Put (line 73) | func (p *kvProxy) Put(ctx context.Context, r *pb.PutRequest) (*pb.PutR... method DeleteRange (line 81) | func (p *kvProxy) DeleteRange(ctx context.Context, r *pb.DeleteRangeRe... method txnToCache (line 89) | func (p *kvProxy) txnToCache(reqs []*pb.RequestOp, resps []*pb.Respons... method Txn (line 105) | func (p *kvProxy) Txn(ctx context.Context, r *pb.TxnRequest) (*pb.TxnR... method Compact (line 129) | func (p *kvProxy) Compact(ctx context.Context, r *pb.CompactionRequest... function NewKvProxy (line 33) | func NewKvProxy(c *clientv3.Client) (pb.KVServer, <-chan struct{}) { function requestOpToOp (line 145) | func requestOpToOp(union *pb.RequestOp) clientv3.Op { function RangeRequestToOp (line 167) | func RangeRequestToOp(r *pb.RangeRequest) clientv3.Op { function PutRequestToOp (line 195) | func PutRequestToOp(r *pb.PutRequest) clientv3.Op { function DelRequestToOp (line 210) | func DelRequestToOp(r *pb.DeleteRangeRequest) clientv3.Op { function TxnRequestToOp (line 221) | func TxnRequestToOp(r *pb.TxnRequest) clientv3.Op { FILE: server/proxy/grpcproxy/leader.go constant lostLeaderKey (line 28) | lostLeaderKey = "__lostleader" constant retryPerSecond (line 29) | retryPerSecond = 10 type leader (line 32) | type leader struct method recvLoop (line 56) | func (l *leader) recvLoop() { method loseLeader (line 82) | func (l *leader) loseLeader() { method gotLeader (line 93) | func (l *leader) gotLeader() { method disconnectNotify (line 103) | func (l *leader) disconnectNotify() <-chan struct{} { return l.disconnc } method stopNotify (line 105) | func (l *leader) stopNotify() <-chan struct{} { return l.donec } method lostNotify (line 109) | func (l *leader) lostNotify() <-chan struct{} { function newLeader (line 42) | func newLeader(ctx context.Context, w clientv3.Watcher) *leader { FILE: server/proxy/grpcproxy/lease.go type leaseProxy (line 35) | type leaseProxy struct method LeaseGrant (line 80) | func (lp *leaseProxy) LeaseGrant(ctx context.Context, cr *pb.LeaseGran... method LeaseRevoke (line 89) | func (lp *leaseProxy) LeaseRevoke(ctx context.Context, rr *pb.LeaseRev... method LeaseTimeToLive (line 98) | func (lp *leaseProxy) LeaseTimeToLive(ctx context.Context, rr *pb.Leas... method LeaseLeases (line 121) | func (lp *leaseProxy) LeaseLeases(ctx context.Context, rr *pb.LeaseLea... method LeaseKeepAlive (line 137) | func (lp *leaseProxy) LeaseKeepAlive(stream pb.Lease_LeaseKeepAliveSer... function NewLeaseProxy (line 55) | func NewLeaseProxy(ctx context.Context, c *clientv3.Client) (pb.LeaseSer... type leaseProxyStream (line 232) | type leaseProxyStream struct method recvLoop (line 249) | func (lps *leaseProxyStream) recvLoop() error { method keepAliveLoop (line 276) | func (lps *leaseProxyStream) keepAliveLoop(leaseID int64, neededResps ... method replyToClient (line 340) | func (lps *leaseProxyStream) replyToClient(r *pb.LeaseKeepAliveRespons... method sendLoop (line 354) | func (lps *leaseProxyStream) sendLoop() error { method close (line 370) | func (lps *leaseProxyStream) close() { type atomicCounter (line 378) | type atomicCounter struct method add (line 382) | func (ac *atomicCounter) add(delta int64) { method get (line 386) | func (ac *atomicCounter) get() int64 { FILE: server/proxy/grpcproxy/lock.go type lockProxy (line 24) | type lockProxy struct method Lock (line 34) | func (lp *lockProxy) Lock(ctx context.Context, req *v3lockpb.LockReque... method Unlock (line 38) | func (lp *lockProxy) Unlock(ctx context.Context, req *v3lockpb.UnlockR... function NewLockProxy (line 30) | func NewLockProxy(client *clientv3.Client) v3lockpb.LockServer { FILE: server/proxy/grpcproxy/maintenance.go type maintenanceProxy (line 26) | type maintenanceProxy struct method Defragment (line 38) | func (mp *maintenanceProxy) Defragment(ctx context.Context, dr *pb.Def... method Snapshot (line 42) | func (mp *maintenanceProxy) Snapshot(sr *pb.SnapshotRequest, stream pb... method Hash (line 68) | func (mp *maintenanceProxy) Hash(ctx context.Context, r *pb.HashReques... method HashKV (line 72) | func (mp *maintenanceProxy) HashKV(ctx context.Context, r *pb.HashKVRe... method Alarm (line 76) | func (mp *maintenanceProxy) Alarm(ctx context.Context, r *pb.AlarmRequ... method Status (line 80) | func (mp *maintenanceProxy) Status(ctx context.Context, r *pb.StatusRe... method MoveLeader (line 84) | func (mp *maintenanceProxy) MoveLeader(ctx context.Context, r *pb.Move... method Downgrade (line 88) | func (mp *maintenanceProxy) Downgrade(ctx context.Context, r *pb.Downg... function NewMaintenanceProxy (line 32) | func NewMaintenanceProxy(c *clientv3.Client) pb.MaintenanceServer { FILE: server/proxy/grpcproxy/metrics.go function init (line 64) | func init() { function HandleMetrics (line 73) | func HandleMetrics(mux *http.ServeMux, c *http.Client, eps []string) { function HandleProxyMetrics (line 104) | func HandleProxyMetrics(mux *http.ServeMux) { function shuffleEndpoints (line 108) | func shuffleEndpoints(r *rand.Rand, eps []string) []string { FILE: server/proxy/grpcproxy/register.go constant registerRetryRate (line 30) | registerRetryRate = 1 function Register (line 35) | func Register(lg *zap.Logger, c *clientv3.Client, prefix string, addr st... function registerSession (line 64) | func registerSession(lg *zap.Logger, c *clientv3.Client, prefix string, ... type meta (line 90) | type meta struct function getMeta (line 94) | func getMeta() string { function decodeMeta (line 100) | func decodeMeta(s string) (meta, error) { FILE: server/proxy/grpcproxy/util.go function getAuthTokenFromClient (line 26) | func getAuthTokenFromClient(ctx context.Context) string { function withClientAuthToken (line 37) | func withClientAuthToken(ctx, ctxWithToken context.Context) context.Cont... type proxyTokenCredential (line 45) | type proxyTokenCredential struct method RequireTransportSecurity (line 49) | func (cred *proxyTokenCredential) RequireTransportSecurity() bool { method GetRequestMetadata (line 53) | func (cred *proxyTokenCredential) GetRequestMetadata(ctx context.Conte... function AuthUnaryClientInterceptor (line 59) | func AuthUnaryClientInterceptor(ctx context.Context, method string, req,... function AuthStreamClientInterceptor (line 68) | func AuthStreamClientInterceptor(ctx context.Context, desc *grpc.StreamD... FILE: server/proxy/grpcproxy/watch.go type watchProxy (line 32) | type watchProxy struct method Watch (line 83) | func (wp *watchProxy) Watch(stream pb.Watch_WatchServer) (err error) { function NewWatchProxy (line 54) | func NewWatchProxy(ctx context.Context, lg *zap.Logger, c *clientv3.Clie... type watchProxyStream (line 171) | type watchProxyStream struct method close (line 194) | func (wps *watchProxyStream) close() { method checkPermissionForWatch (line 213) | func (wps *watchProxyStream) checkPermissionForWatch(key, rangeEnd []b... method recvLoop (line 231) | func (wps *watchProxyStream) recvLoop() error { method sendLoop (line 295) | func (wps *watchProxyStream) sendLoop() { method delete (line 311) | func (wps *watchProxyStream) delete(id int64) { FILE: server/proxy/grpcproxy/watch_broadcast.go type watchBroadcast (line 29) | type watchBroadcast struct method bcast (line 79) | func (wb *watchBroadcast) bcast(wr clientv3.WatchResponse) { method add (line 97) | func (wb *watchBroadcast) add(w *watcher) bool { method delete (line 130) | func (wb *watchBroadcast) delete(w *watcher) { method size (line 143) | func (wb *watchBroadcast) size() int { method empty (line 149) | func (wb *watchBroadcast) empty() bool { return wb.size() == 0 } method stop (line 151) | func (wb *watchBroadcast) stop() { function newWatchBroadcast (line 45) | func newWatchBroadcast(lg *zap.Logger, wp *watchProxy, w *watcher, updat... FILE: server/proxy/grpcproxy/watch_broadcasts.go type watchBroadcasts (line 21) | type watchBroadcasts struct method coalesce (line 53) | func (wbs *watchBroadcasts) coalesce(wb *watchBroadcast) { method add (line 85) | func (wbs *watchBroadcasts) add(w *watcher) { method delete (line 102) | func (wbs *watchBroadcasts) delete(w *watcher) int { method stop (line 119) | func (wbs *watchBroadcasts) stop() { method update (line 130) | func (wbs *watchBroadcasts) update(wb *watchBroadcast) { constant maxCoalesceReceivers (line 34) | maxCoalesceReceivers = 5 function newWatchBroadcasts (line 36) | func newWatchBroadcasts(wp *watchProxy) *watchBroadcasts { FILE: server/proxy/grpcproxy/watch_ranges.go type watchRanges (line 22) | type watchRanges struct method add (line 36) | func (wrs *watchRanges) add(w *watcher) { method delete (line 49) | func (wrs *watchRanges) delete(w *watcher) { method stop (line 62) | func (wrs *watchRanges) stop() { function newWatchRanges (line 29) | func newWatchRanges(wp *watchProxy) *watchRanges { FILE: server/proxy/grpcproxy/watcher.go type watchRange (line 26) | type watchRange struct method valid (line 30) | func (wr *watchRange) valid() bool { type watcher (line 34) | type watcher struct method send (line 55) | func (w *watcher) send(wr clientv3.WatchResponse) { method post (line 120) | func (w *watcher) post(wr *pb.WatchResponse) bool { FILE: server/proxy/tcpproxy/userspace.go type remote (line 28) | type remote struct method inactivate (line 35) | func (r *remote) inactivate() { method tryReactivate (line 41) | func (r *remote) tryReactivate() error { method isActive (line 53) | func (r *remote) isActive() bool { type TCPProxy (line 59) | type TCPProxy struct method Run (line 72) | func (tp *TCPProxy) Run() error { method pick (line 99) | func (tp *TCPProxy) pick() *remote { method serve (line 156) | func (tp *TCPProxy) serve(in net.Conn) { method runMonitor (line 196) | func (tp *TCPProxy) runMonitor() { method Stop (line 224) | func (tp *TCPProxy) Stop() { FILE: server/proxy/tcpproxy/userspace_test.go function TestUserspaceProxy (line 27) | func TestUserspaceProxy(t *testing.T) { function TestUserspaceProxyPriority (line 71) | func TestUserspaceProxyPriority(t *testing.T) { FILE: server/storage/backend.go function newBackend (line 31) | func newBackend(cfg config.ServerConfig, hooks backend.Hooks) backend.Ba... function OpenSnapshotBackend (line 59) | func OpenSnapshotBackend(cfg config.ServerConfig, ss *snap.Snapshotter, ... function OpenBackend (line 71) | func OpenBackend(cfg config.ServerConfig, hooks backend.Hooks) backend.B... function RecoverSnapshotBackend (line 102) | func RecoverSnapshotBackend(cfg config.ServerConfig, oldbe backend.Backe... FILE: server/storage/backend/backend.go type Backend (line 49) | type Backend interface type Snapshot (line 77) | type Snapshot interface type txReadBufferCache (line 86) | type txReadBufferCache struct type backend (line 92) | type backend struct method BatchTx (line 262) | func (b *backend) BatchTx() BatchTx { method SetTxPostLockInsideApplyHook (line 266) | func (b *backend) SetTxPostLockInsideApplyHook(hook func()) { method ReadTx (line 274) | func (b *backend) ReadTx() ReadTx { return b.readTx } method ConcurrentReadTx (line 279) | func (b *backend) ConcurrentReadTx() ReadTx { method ForceCommit (line 355) | func (b *backend) ForceCommit() { method Snapshot (line 359) | func (b *backend) Snapshot() Snapshot { method Hash (line 403) | func (b *backend) Hash(ignores func(bucketName, keyName []byte) bool) ... method Size (line 433) | func (b *backend) Size() int64 { method SizeInUse (line 437) | func (b *backend) SizeInUse() int64 { method run (line 441) | func (b *backend) run() { method Close (line 459) | func (b *backend) Close() error { method Commits (line 468) | func (b *backend) Commits() int64 { method Defrag (line 472) | func (b *backend) Defrag() error { method defrag (line 476) | func (b *backend) defrag() error { method begin (line 678) | func (b *backend) begin(write bool) *bolt.Tx { method unsafeBegin (line 693) | func (b *backend) unsafeBegin(write bool) *bolt.Tx { method OpenReadTxN (line 703) | func (b *backend) OpenReadTxN() int64 { type BackendConfig (line 133) | type BackendConfig struct type BackendConfigOption (line 158) | type BackendConfigOption function DefaultBackendConfig (line 160) | func DefaultBackendConfig(lg *zap.Logger) BackendConfig { function New (line 169) | func New(bcfg BackendConfig) Backend { function WithMmapSize (line 173) | func WithMmapSize(size uint64) BackendConfigOption { function WithTimeout (line 179) | func WithTimeout(timeout time.Duration) BackendConfigOption { function NewDefaultBackend (line 185) | func NewDefaultBackend(lg *zap.Logger, path string, opts ...BackendConfi... function newBackend (line 195) | func newBackend(bcfg BackendConfig) *backend { function defragdb (line 616) | func defragdb(odb, tmpdb *bolt.DB, limit int) error { type snapshot (line 707) | type snapshot struct method Close (line 713) | func (s *snapshot) Close() error { function newBoltLoggerZap (line 719) | func newBoltLoggerZap(bcfg BackendConfig) bolt.Logger { type zapBoltLogger (line 724) | type zapBoltLogger struct method Warning (line 728) | func (zl *zapBoltLogger) Warning(args ...any) { method Warningf (line 732) | func (zl *zapBoltLogger) Warningf(format string, args ...any) { FILE: server/storage/backend/backend_bench_test.go function BenchmarkBackendPut (line 28) | func BenchmarkBackendPut(b *testing.B) { FILE: server/storage/backend/backend_test.go function TestBackendClose (line 34) | func TestBackendClose(t *testing.T) { function TestBackendSnapshot (line 53) | func TestBackendSnapshot(t *testing.T) { function TestBackendBatchIntervalCommit (line 91) | func TestBackendBatchIntervalCommit(t *testing.T) { function TestBackendDefrag (line 127) | func TestBackendDefrag(t *testing.T) { function TestBackendWriteback (line 199) | func TestBackendWriteback(t *testing.T) { function TestConcurrentReadTx (line 275) | func TestConcurrentReadTx(t *testing.T) { function TestBackendWritebackForEach (line 305) | func TestBackendWritebackForEach(t *testing.T) { FILE: server/storage/backend/batch_tx.go type BucketID (line 31) | type BucketID type Bucket (line 33) | type Bucket interface type BatchTx (line 48) | type BatchTx interface type UnsafeReadWriter (line 60) | type UnsafeReadWriter interface type UnsafeWriter (line 65) | type UnsafeWriter interface type batchTx (line 73) | type batchTx struct method Lock (line 82) | func (t *batchTx) Lock() { method lock (line 87) | func (t *batchTx) lock() { method LockInsideApply (line 91) | func (t *batchTx) LockInsideApply() { method LockOutsideApply (line 104) | func (t *batchTx) LockOutsideApply() { method Unlock (line 109) | func (t *batchTx) Unlock() { method UnsafeCreateBucket (line 116) | func (t *batchTx) UnsafeCreateBucket(bucket Bucket) { method UnsafeDeleteBucket (line 127) | func (t *batchTx) UnsafeDeleteBucket(bucket Bucket) { method UnsafePut (line 140) | func (t *batchTx) UnsafePut(bucket Bucket, key []byte, value []byte) { method UnsafeSeqPut (line 145) | func (t *batchTx) UnsafeSeqPut(bucket Bucket, key []byte, value []byte) { method unsafePut (line 149) | func (t *batchTx) unsafePut(bucketType Bucket, key []byte, value []byt... method UnsafeRange (line 174) | func (t *batchTx) UnsafeRange(bucketType Bucket, key, endKey []byte, l... method UnsafeDelete (line 209) | func (t *batchTx) UnsafeDelete(bucketType Bucket, key []byte) { method UnsafeForEach (line 230) | func (t *batchTx) UnsafeForEach(bucket Bucket, visitor func(k, v []byt... method Commit (line 242) | func (t *batchTx) Commit() { method CommitAndStop (line 249) | func (t *batchTx) CommitAndStop() { method safePending (line 255) | func (t *batchTx) safePending() int { method commit (line 261) | func (t *batchTx) commit(stop bool) { function unsafeRange (line 186) | func unsafeRange(c *bolt.Cursor, key, endKey []byte, limit int64) (keys ... function unsafeForEach (line 234) | func unsafeForEach(tx *bolt.Tx, bucket Bucket, visitor func(k, v []byte)... type batchTxBuffered (line 290) | type batchTxBuffered struct method Unlock (line 308) | func (t *batchTxBuffered) Unlock() { method Commit (line 342) | func (t *batchTxBuffered) Commit() { method CommitAndStop (line 348) | func (t *batchTxBuffered) CommitAndStop() { method commit (line 354) | func (t *batchTxBuffered) commit(stop bool) { method unsafeCommit (line 361) | func (t *batchTxBuffered) unsafeCommit(stop bool) { method UnsafePut (line 388) | func (t *batchTxBuffered) UnsafePut(bucket Bucket, key []byte, value [... method UnsafeSeqPut (line 393) | func (t *batchTxBuffered) UnsafeSeqPut(bucket Bucket, key []byte, valu... method UnsafeDelete (line 398) | func (t *batchTxBuffered) UnsafeDelete(bucketType Bucket, key []byte) { method UnsafeDeleteBucket (line 403) | func (t *batchTxBuffered) UnsafeDeleteBucket(bucket Bucket) { function newBatchTxBuffered (line 296) | func newBatchTxBuffered(backend *backend) *batchTxBuffered { FILE: server/storage/backend/batch_tx_test.go function TestBatchTxPut (line 32) | func TestBatchTxPut(t *testing.T) { function TestBatchTxRange (line 61) | func TestBatchTxRange(t *testing.T) { function TestBatchTxDelete (line 132) | func TestBatchTxDelete(t *testing.T) { function TestBatchTxCommit (line 158) | func TestBatchTxCommit(t *testing.T) { function TestBatchTxBatchLimitCommit (line 185) | func TestBatchTxBatchLimitCommit(t *testing.T) { function TestRangeAfterDeleteBucketMatch (line 213) | func TestRangeAfterDeleteBucketMatch(t *testing.T) { function TestRangeAfterDeleteMatch (line 234) | func TestRangeAfterDeleteMatch(t *testing.T) { function TestRangeAfterUnorderedKeyWriteMatch (line 257) | func TestRangeAfterUnorderedKeyWriteMatch(t *testing.T) { function TestRangeAfterAlternatingBucketWriteMatch (line 276) | func TestRangeAfterAlternatingBucketWriteMatch(t *testing.T) { function TestRangeAfterOverwriteMatch (line 304) | func TestRangeAfterOverwriteMatch(t *testing.T) { function TestRangeAfterOverwriteAndDeleteMatch (line 323) | func TestRangeAfterOverwriteAndDeleteMatch(t *testing.T) { function checkRangeResponseMatch (line 351) | func checkRangeResponseMatch(t *testing.T, tx backend.BatchTx, rtx backe... function checkForEach (line 368) | func checkForEach(t *testing.T, tx backend.BatchTx, rtx backend.ReadTx, ... function checkUnsafeForEach (line 378) | func checkUnsafeForEach(t *testing.T, tx backend.UnsafeReader, expectedK... function runWriteback (line 396) | func runWriteback(tb testing.TB, kss, vss [][]string, isSeq bool) { function BenchmarkWritebackSeqBatches1BatchSize10000 (line 421) | func BenchmarkWritebackSeqBatches1BatchSize10000(b *testing.B) { benchma... function BenchmarkWritebackSeqBatches10BatchSize1000 (line 423) | func BenchmarkWritebackSeqBatches10BatchSize1000(b *testing.B) { benchma... function BenchmarkWritebackSeqBatches100BatchSize100 (line 425) | func BenchmarkWritebackSeqBatches100BatchSize100(b *testing.B) { benchma... function BenchmarkWritebackSeqBatches1000BatchSize10 (line 427) | func BenchmarkWritebackSeqBatches1000BatchSize10(b *testing.B) { benchma... function BenchmarkWritebackNonSeqBatches1000BatchSize1 (line 429) | func BenchmarkWritebackNonSeqBatches1000BatchSize1(b *testing.B) { function BenchmarkWritebackNonSeqBatches10000BatchSize1 (line 434) | func BenchmarkWritebackNonSeqBatches10000BatchSize1(b *testing.B) { function BenchmarkWritebackNonSeqBatches100BatchSize10 (line 438) | func BenchmarkWritebackNonSeqBatches100BatchSize10(b *testing.B) { function BenchmarkWritebackNonSeqBatches1000BatchSize10 (line 442) | func BenchmarkWritebackNonSeqBatches1000BatchSize10(b *testing.B) { function benchmarkWriteback (line 446) | func benchmarkWriteback(b *testing.B, batches, batchSize int, isSeq bool) { function shuffleList (line 470) | func shuffleList(l []string, seed int) { FILE: server/storage/backend/config_default.go method mmapSize (line 23) | func (bcfg *BackendConfig) mmapSize() int { return int(bcfg.MmapSize) } FILE: server/storage/backend/config_linux.go method mmapSize (line 34) | func (bcfg *BackendConfig) mmapSize() int { return int(bcfg.MmapSize) } FILE: server/storage/backend/config_windows.go method mmapSize (line 26) | func (bcfg *BackendConfig) mmapSize() int { return 0 } FILE: server/storage/backend/export_test.go function DbFromBackendForTest (line 19) | func DbFromBackendForTest(b Backend) *bolt.DB { function DefragLimitForTest (line 23) | func DefragLimitForTest() int { function CommitsForTest (line 27) | func CommitsForTest(b Backend) int64 { FILE: server/storage/backend/hooks.go type HookFunc (line 17) | type HookFunc type Hooks (line 20) | type Hooks interface type hooks (line 26) | type hooks struct method OnPreCommitUnsafe (line 30) | func (h hooks) OnPreCommitUnsafe(tx UnsafeReadWriter) { function NewHooks (line 34) | func NewHooks(onPreCommitUnsafe HookFunc) Hooks { FILE: server/storage/backend/hooks_test.go function TestBackendPreCommitHook (line 35) | func TestBackendPreCommitHook(t *testing.T) { function TestBackendAutoCommitLimitHook (line 50) | func TestBackendAutoCommitLimitHook(t *testing.T) { function write (line 65) | func write(tx backend.BatchTx, k, v []byte) { function TestBackendAutoCommitBatchIntervalHook (line 71) | func TestBackendAutoCommitBatchIntervalHook(t *testing.T) { function waitUntil (line 97) | func waitUntil(ctx context.Context, tb testing.TB, f func() bool) { function prepareBuckenAndKey (line 108) | func prepareBuckenAndKey(tx backend.BatchTx) { function newTestHooksBackend (line 115) | func newTestHooksBackend(tb testing.TB, baseConfig backend.BackendConfig... function getCommitsKey (line 132) | func getCommitsKey(tb testing.TB, be backend.Backend) string { FILE: server/storage/backend/metrics.go function init (line 95) | func init() { FILE: server/storage/backend/read_tx.go type ReadTx (line 28) | type ReadTx interface type UnsafeReader (line 34) | type UnsafeReader interface type baseReadTx (line 40) | type baseReadTx struct method UnsafeForEach (line 54) | func (baseReadTx *baseReadTx) UnsafeForEach(bucket Bucket, visitor fun... method UnsafeRange (line 78) | func (baseReadTx *baseReadTx) UnsafeRange(bucketType Bucket, key, endK... type readTx (line 124) | type readTx struct method Lock (line 128) | func (rt *readTx) Lock() { rt.mu.Lock() } method Unlock (line 129) | func (rt *readTx) Unlock() { rt.mu.Unlock() } method RLock (line 130) | func (rt *readTx) RLock() { rt.mu.RLock() } method RUnlock (line 131) | func (rt *readTx) RUnlock() { rt.mu.RUnlock() } method reset (line 133) | func (rt *readTx) reset() { type concurrentReadTx (line 140) | type concurrentReadTx struct method Lock (line 144) | func (rt *concurrentReadTx) Lock() {} method Unlock (line 145) | func (rt *concurrentReadTx) Unlock() {} method RLock (line 148) | func (rt *concurrentReadTx) RLock() {} method RUnlock (line 151) | func (rt *concurrentReadTx) RUnlock() { rt.txWg.Done() } FILE: server/storage/backend/testing/betesting.go function NewTmpBackendFromCfg (line 29) | func NewTmpBackendFromCfg(tb testing.TB, bcfg backend.BackendConfig) (ba... function NewTmpBackend (line 41) | func NewTmpBackend(tb testing.TB, batchInterval time.Duration, batchLimi... function NewDefaultTmpBackend (line 47) | func NewDefaultTmpBackend(tb testing.TB) (backend.Backend, string) { function Close (line 51) | func Close(tb testing.TB, b backend.Backend) { FILE: server/storage/backend/tx_buffer.go constant bucketBufferInitialSize (line 25) | bucketBufferInitialSize = 512 type txBuffer (line 28) | type txBuffer struct method reset (line 32) | func (txb *txBuffer) reset() { type txWriteBuffer (line 43) | type txWriteBuffer struct method put (line 50) | func (txw *txWriteBuffer) put(bucket Bucket, k, v []byte) { method putSeq (line 55) | func (txw *txWriteBuffer) putSeq(bucket Bucket, k, v []byte) { method putInternal (line 75) | func (txw *txWriteBuffer) putInternal(bucket Bucket, k, v []byte) { method reset (line 84) | func (txw *txWriteBuffer) reset() { method writeback (line 96) | func (txw *txWriteBuffer) writeback(txr *txReadBuffer) { type txReadBuffer (line 119) | type txReadBuffer struct method Range (line 125) | func (txr *txReadBuffer) Range(bucket Bucket, key, endKey []byte, limi... method ForEach (line 132) | func (txr *txReadBuffer) ForEach(bucket Bucket, visitor func(k, v []by... method unsafeCopy (line 140) | func (txr *txReadBuffer) unsafeCopy() txReadBuffer { type kv (line 153) | type kv struct type bucketBuffer (line 159) | type bucketBuffer struct method Range (line 169) | func (bb *bucketBuffer) Range(key, endKey []byte, limit int64) (keys [... method ForEach (line 195) | func (bb *bucketBuffer) ForEach(visitor func(k, v []byte) error) error { method add (line 204) | func (bb *bucketBuffer) add(k, v []byte) { method merge (line 215) | func (bb *bucketBuffer) merge(bbsrc *bucketBuffer) { method dedupe (line 229) | func (bb *bucketBuffer) dedupe() { method Len (line 244) | func (bb *bucketBuffer) Len() int { return bb.used } method Less (line 245) | func (bb *bucketBuffer) Less(i, j int) bool { method Swap (line 248) | func (bb *bucketBuffer) Swap(i, j int) { bb.buf[i], bb.buf[j] = bb.buf... method CopyUsed (line 250) | func (bb *bucketBuffer) CopyUsed() *bucketBuffer { function newBucketBuffer (line 165) | func newBucketBuffer() *bucketBuffer { FILE: server/storage/backend/tx_buffer_test.go function Test_bucketBuffer_CopyUsed_After_Add (line 24) | func Test_bucketBuffer_CopyUsed_After_Add(t *testing.T) { function Test_bucketBuffer_CopyUsed (line 37) | func Test_bucketBuffer_CopyUsed(t *testing.T) { function TestDedupe (line 94) | func TestDedupe(t *testing.T) { FILE: server/storage/backend/verify.go constant EnvVerifyValueLock (line 28) | EnvVerifyValueLock verify.VerificationType = "lock" function ValidateCalledInsideApply (line 31) | func ValidateCalledInsideApply(lg *zap.Logger) { function ValidateCalledOutSideApply (line 40) | func ValidateCalledOutSideApply(lg *zap.Logger) { function ValidateCalledInsideUnittest (line 49) | func ValidateCalledInsideUnittest(lg *zap.Logger) { function verifyLockEnabled (line 58) | func verifyLockEnabled() bool { function insideApply (line 62) | func insideApply() bool { function insideUnittest (line 67) | func insideUnittest() bool { function VerifyBackendConsistency (line 73) | func VerifyBackendConsistency(b Backend, lg *zap.Logger, skipSafeRangeBu... function unsafeVerifyTxConsistency (line 97) | func unsafeVerifyTxConsistency(b Backend, bucket Bucket) (bool, map[stri... FILE: server/storage/backend/verify_test.go function TestLockVerify (line 26) | func TestLockVerify(t *testing.T) { function handlePanic (line 93) | func handlePanic(f func()) (result any) { function applyEntries (line 101) | func applyEntries(be backend.Backend, f func(tx backend.BatchTx)) { function lockInsideApply (line 105) | func lockInsideApply(tx backend.BatchTx) { tx.LockInsideApply() } function lockOutsideApply (line 106) | func lockOutsideApply(tx backend.BatchTx) { tx.LockOutsideApply() } function lockFromUT (line 107) | func lockFromUT(tx backend.BatchTx) { tx.Lock() } FILE: server/storage/datadir/datadir.go constant memberDirSegment (line 20) | memberDirSegment = "member" constant snapDirSegment (line 21) | snapDirSegment = "snap" constant walDirSegment (line 22) | walDirSegment = "wal" constant backendFileSegment (line 23) | backendFileSegment = "db" function ToBackendFileName (line 26) | func ToBackendFileName(dataDir string) string { function ToSnapDir (line 30) | func ToSnapDir(dataDir string) string { function ToWalDir (line 39) | func ToWalDir(dataDir string) string { function ToWALDir (line 43) | func ToWALDir(dataDir string) string { function ToMemberDir (line 47) | func ToMemberDir(dataDir string) string { FILE: server/storage/datadir/datadir_test.go function TestToBackendFileName (line 25) | func TestToBackendFileName(t *testing.T) { function TestToMemberDir (line 30) | func TestToMemberDir(t *testing.T) { function TestToSnapDir (line 35) | func TestToSnapDir(t *testing.T) { function TestToWALDir (line 40) | func TestToWALDir(t *testing.T) { function TestToWALDirSlash (line 45) | func TestToWALDirSlash(t *testing.T) { FILE: server/storage/hooks.go type BackendHooks (line 28) | type BackendHooks struct method OnPreCommitUnsafe (line 44) | func (bh *BackendHooks) OnPreCommitUnsafe(tx backend.UnsafeReadWriter) { method SetConfState (line 55) | func (bh *BackendHooks) SetConfState(confState *raftpb.ConfState) { function NewBackendHooks (line 40) | func NewBackendHooks(lg *zap.Logger, indexer cindex.ConsistentIndexer) *... FILE: server/storage/metrics.go function init (line 28) | func init() { FILE: server/storage/mvcc/hash.go constant hashStorageMaxSize (line 30) | hashStorageMaxSize = 10 function unsafeHashByRev (line 33) | func unsafeHashByRev(tx backend.UnsafeReader, compactRevision, revision ... type kvHasher (line 42) | type kvHasher struct method WriteKeyValue (line 60) | func (h *kvHasher) WriteKeyValue(k, v []byte) { method Hash (line 92) | func (h *kvHasher) Hash() KeyValueHash { function newKVHasher (line 49) | func newKVHasher(compactRev, rev int64, keep map[Revision]struct{}) kvHa... type KeyValueHash (line 96) | type KeyValueHash struct type HashStorage (line 102) | type HashStorage interface type hashStorage (line 121) | type hashStorage struct method Hash (line 135) | func (s *hashStorage) Hash() (hash uint32, revision int64, err error) { method HashByRev (line 139) | func (s *hashStorage) HashByRev(rev int64) (KeyValueHash, int64, error) { method Store (line 156) | func (s *hashStorage) Store(hash KeyValueHash) { method Hashes (line 173) | func (s *hashStorage) Hashes() []KeyValueHash { function NewHashStorage (line 128) | func NewHashStorage(lg *zap.Logger, s *store) HashStorage { FILE: server/storage/mvcc/hash_test.go function TestHashByRevValue (line 35) | func TestHashByRevValue(t *testing.T) { function TestHashByRevValueLastRevision (line 76) | func TestHashByRevValueLastRevision(t *testing.T) { function putKVs (line 117) | func putKVs(s *store, rev, count int64) { function testHashByRev (line 123) | func testHashByRev(t *testing.T, s *store, rev int64) KeyValueHash { function TestCompactionHash (line 136) | func TestCompactionHash(t *testing.T) { type hashTestCase (line 144) | type hashTestCase struct method Put (line 148) | func (tc hashTestCase) Put(ctx context.Context, key, value string) err... method Delete (line 153) | func (tc hashTestCase) Delete(ctx context.Context, key string) error { method HashByRev (line 158) | func (tc hashTestCase) HashByRev(ctx context.Context, rev int64) (test... method Defrag (line 163) | func (tc hashTestCase) Defrag(ctx context.Context) error { method Compact (line 167) | func (tc hashTestCase) Compact(ctx context.Context, rev int64) error { function TestHasherStore (line 180) | func TestHasherStore(t *testing.T) { function TestHasherStoreFull (line 210) | func TestHasherStoreFull(t *testing.T) { FILE: server/storage/mvcc/index.go type index (line 24) | type index interface type treeIndex (line 39) | type treeIndex struct method Put (line 54) | func (ti *treeIndex) Put(key []byte, rev Revision) { method Get (line 68) | func (ti *treeIndex) Get(key []byte, atRev int64) (modified, created R... method unsafeGet (line 74) | func (ti *treeIndex) unsafeGet(key []byte, atRev int64) (modified, cre... method KeyIndex (line 82) | func (ti *treeIndex) KeyIndex(keyi *keyIndex) *keyIndex { method keyIndex (line 88) | func (ti *treeIndex) keyIndex(keyi *keyIndex) *keyIndex { method unsafeVisit (line 95) | func (ti *treeIndex) unsafeVisit(key, end []byte, f func(ki *keyIndex)... method Revisions (line 112) | func (ti *treeIndex) Revisions(key, end []byte, atRev int64, limit int... method CountRevisions (line 137) | func (ti *treeIndex) CountRevisions(key, end []byte, atRev int64) int { method Range (line 158) | func (ti *treeIndex) Range(key, end []byte, atRev int64) (keys [][]byt... method Tombstone (line 179) | func (ti *treeIndex) Tombstone(key []byte, rev Revision) error { method Compact (line 192) | func (ti *treeIndex) Compact(rev int64) map[Revision]struct{} { method Keep (line 217) | func (ti *treeIndex) Keep(rev int64) map[Revision]struct{} { method Equal (line 228) | func (ti *treeIndex) Equal(bi index) bool { method Insert (line 249) | func (ti *treeIndex) Insert(ki *keyIndex) { function newTreeIndex (line 45) | func newTreeIndex(lg *zap.Logger) index { FILE: server/storage/mvcc/index_bench_test.go function BenchmarkIndexCompact1 (line 23) | func BenchmarkIndexCompact1(b *testing.B) { benchmarkIndexCompact(... function BenchmarkIndexCompact100 (line 24) | func BenchmarkIndexCompact100(b *testing.B) { benchmarkIndexCompact(... function BenchmarkIndexCompact10000 (line 25) | func BenchmarkIndexCompact10000(b *testing.B) { benchmarkIndexCompact(... function BenchmarkIndexCompact100000 (line 26) | func BenchmarkIndexCompact100000(b *testing.B) { benchmarkIndexCompact(... function BenchmarkIndexCompact1000000 (line 27) | func BenchmarkIndexCompact1000000(b *testing.B) { benchmarkIndexCompact(... function benchmarkIndexCompact (line 29) | func benchmarkIndexCompact(b *testing.B, size int) { function BenchmarkIndexPut (line 44) | func BenchmarkIndexPut(b *testing.B) { function BenchmarkIndexGet (line 56) | func BenchmarkIndexGet(b *testing.B) { FILE: server/storage/mvcc/index_test.go function TestIndexGet (line 26) | func TestIndexGet(t *testing.T) { function TestIndexRange (line 65) | func TestIndexRange(t *testing.T) { function TestIndexTombstone (line 124) | func TestIndexTombstone(t *testing.T) { function TestIndexRevision (line 143) | func TestIndexRevision(t *testing.T) { function TestIndexCompactAndKeep (line 237) | func TestIndexCompactAndKeep(t *testing.T) { FILE: server/storage/mvcc/key_index.go type keyIndex (line 73) | type keyIndex struct method put (line 80) | func (ki *keyIndex) put(lg *zap.Logger, main int64, sub int64) { method restore (line 105) | func (ki *keyIndex) restore(lg *zap.Logger, created, modified Revision... method restoreTombstone (line 122) | func (ki *keyIndex) restoreTombstone(lg *zap.Logger, main, sub int64) { method tombstone (line 131) | func (ki *keyIndex) tombstone(lg *zap.Logger, main int64, sub int64) e... method get (line 149) | func (ki *keyIndex) get(lg *zap.Logger, atRev int64) (modified, create... method since (line 172) | func (ki *keyIndex) since(lg *zap.Logger, rev int64) []Revision { method compact (line 215) | func (ki *keyIndex) compact(lg *zap.Logger, atRev int64, available map... method keep (line 238) | func (ki *keyIndex) keep(atRev int64, available map[Revision]struct{}) { method doCompact (line 258) | func (ki *keyIndex) doCompact(atRev int64, available map[Revision]stru... method isEmpty (line 284) | func (ki *keyIndex) isEmpty() bool { method findGeneration (line 291) | func (ki *keyIndex) findGeneration(rev int64) *generation { method Less (line 314) | func (ki *keyIndex) Less(bki *keyIndex) bool { method equal (line 318) | func (ki *keyIndex) equal(b *keyIndex) bool { method String (line 337) | func (ki *keyIndex) String() string { type generation (line 346) | type generation struct method isEmpty (line 352) | func (g *generation) isEmpty() bool { return g == nil || len(g.revs) =... method walk (line 359) | func (g *generation) walk(f func(rev Revision) bool) int { method String (line 370) | func (g *generation) String() string { method equal (line 374) | func (g generation) equal(b generation) bool { FILE: server/storage/mvcc/key_index_test.go function TestRestoreTombstone (line 28) | func TestRestoreTombstone(t *testing.T) { function TestKeyIndexGet (line 68) | func TestKeyIndexGet(t *testing.T) { function TestKeyIndexSince (line 133) | func TestKeyIndexSince(t *testing.T) { function TestKeyIndexPut (line 180) | func TestKeyIndexPut(t *testing.T) { function TestKeyIndexRestore (line 205) | func TestKeyIndexRestore(t *testing.T) { function TestKeyIndexTombstone (line 219) | func TestKeyIndexTombstone(t *testing.T) { function TestKeyIndexCompactAndKeep (line 263) | func TestKeyIndexCompactAndKeep(t *testing.T) { function cloneKeyIndex (line 611) | func cloneKeyIndex(ki *keyIndex) *keyIndex { function cloneGeneration (line 619) | func cloneGeneration(g *generation) *generation { function TestKeyIndexCompactOnFurtherRev (line 630) | func TestKeyIndexCompactOnFurtherRev(t *testing.T) { function TestKeyIndexIsEmpty (line 655) | func TestKeyIndexIsEmpty(t *testing.T) { function TestKeyIndexFindGeneration (line 686) | func TestKeyIndexFindGeneration(t *testing.T) { function TestKeyIndexLess (line 716) | func TestKeyIndexLess(t *testing.T) { function TestGenerationIsEmpty (line 735) | func TestGenerationIsEmpty(t *testing.T) { function TestGenerationWalk (line 752) | func TestGenerationWalk(t *testing.T) { function newTestKeyIndex (line 777) | func newTestKeyIndex(lg *zap.Logger) *keyIndex { FILE: server/storage/mvcc/kv.go type RangeOptions (line 26) | type RangeOptions struct type RangeResult (line 32) | type RangeResult struct type ReadView (line 38) | type ReadView interface type TxnRead (line 60) | type TxnRead interface type WriteView (line 66) | type WriteView interface type TxnWrite (line 85) | type TxnWrite interface type txnReadWrite (line 93) | type txnReadWrite struct method DeleteRange (line 95) | func (trw *txnReadWrite) DeleteRange(key, end []byte) (n, rev int64) {... method Put (line 96) | func (trw *txnReadWrite) Put(key, value []byte, lease lease.LeaseID) (... method Changes (line 99) | func (trw *txnReadWrite) Changes() []mvccpb.KeyValue { return nil } function NewReadOnlyTxnWrite (line 101) | func NewReadOnlyTxnWrite(txn TxnRead) TxnWrite { return &txnReadWrite{tx... type ReadTxMode (line 103) | type ReadTxMode constant ConcurrentReadTxMode (line 107) | ConcurrentReadTxMode = ReadTxMode(1) constant SharedBufReadTxMode (line 109) | SharedBufReadTxMode = ReadTxMode(2) type KV (line 112) | type KV interface type WatchableKV (line 137) | type WatchableKV interface type Watchable (line 143) | type Watchable interface FILE: server/storage/mvcc/kv_test.go type rangeFunc (line 45) | type rangeFunc type putFunc (line 46) | type putFunc type deleteRangeFunc (line 47) | type deleteRangeFunc function TestKVRange (line 79) | func TestKVRange(t *testing.T) { testKVRange(t, normalRangeFunc) } function TestKVTxnRange (line 80) | func TestKVTxnRange(t *testing.T) { testKVRange(t, txnRangeFunc) } function testKVRange (line 82) | func testKVRange(t *testing.T, f rangeFunc) { function TestKVRangeRev (line 145) | func TestKVRangeRev(t *testing.T) { testKVRangeRev(t, normalRangeFunc) } function TestKVTxnRangeRev (line 146) | func TestKVTxnRangeRev(t *testing.T) { testKVRangeRev(t, txnRangeFunc) } function testKVRangeRev (line 148) | func testKVRangeRev(t *testing.T, f rangeFunc) { function TestKVRangeBadRev (line 181) | func TestKVRangeBadRev(t *testing.T) { testKVRangeBadRev(t, normalRan... function TestKVTxnRangeBadRev (line 182) | func TestKVTxnRangeBadRev(t *testing.T) { testKVRangeBadRev(t, txnRangeF... function testKVRangeBadRev (line 184) | func testKVRangeBadRev(t *testing.T, f rangeFunc) { function TestKVRangeLimit (line 214) | func TestKVRangeLimit(t *testing.T) { testKVRangeLimit(t, normalRange... function TestKVTxnRangeLimit (line 215) | func TestKVTxnRangeLimit(t *testing.T) { testKVRangeLimit(t, txnRangeFun... function testKVRangeLimit (line 217) | func testKVRangeLimit(t *testing.T, f rangeFunc) { function TestKVPutMultipleTimes (line 260) | func TestKVPutMultipleTimes(t *testing.T) { testKVPutMultipleTimes(t,... function TestKVTxnPutMultipleTimes (line 261) | func TestKVTxnPutMultipleTimes(t *testing.T) { testKVPutMultipleTimes(t,... function testKVPutMultipleTimes (line 263) | func testKVPutMultipleTimes(t *testing.T, f putFunc) { function TestKVDeleteRange (line 289) | func TestKVDeleteRange(t *testing.T) { testKVDeleteRange(t, normalDel... function TestKVTxnDeleteRange (line 290) | func TestKVTxnDeleteRange(t *testing.T) { testKVDeleteRange(t, txnDelete... function testKVDeleteRange (line 292) | func testKVDeleteRange(t *testing.T, f deleteRangeFunc) { function TestKVDeleteMultipleTimes (line 342) | func TestKVDeleteMultipleTimes(t *testing.T) { testKVDeleteMultipleTi... function TestKVTxnDeleteMultipleTimes (line 343) | func TestKVTxnDeleteMultipleTimes(t *testing.T) { testKVDeleteMultipleTi... function testKVDeleteMultipleTimes (line 345) | func testKVDeleteMultipleTimes(t *testing.T, f deleteRangeFunc) { function TestKVPutWithSameLease (line 365) | func TestKVPutWithSameLease(t *testing.T) { testKVPutWithSameLease(t,... function TestKVTxnPutWithSameLease (line 366) | func TestKVTxnPutWithSameLease(t *testing.T) { testKVPutWithSameLease(t,... function testKVPutWithSameLease (line 368) | func testKVPutWithSameLease(t *testing.T, f putFunc) { function TestKVOperationInSequence (line 401) | func TestKVOperationInSequence(t *testing.T) { function TestKVTxnBlockWriteOperations (line 448) | func TestKVTxnBlockWriteOperations(t *testing.T) { function TestKVTxnNonBlockRange (line 482) | func TestKVTxnNonBlockRange(t *testing.T) { function TestKVTxnOperationInSequence (line 504) | func TestKVTxnOperationInSequence(t *testing.T) { function TestKVCompactReserveLastValue (line 554) | func TestKVCompactReserveLastValue(t *testing.T) { function TestKVCompactBad (line 608) | func TestKVCompactBad(t *testing.T) { function TestKVHash (line 637) | func TestKVHash(t *testing.T) { function TestKVRestore (line 660) | func TestKVRestore(t *testing.T) { function readGaugeInt (line 729) | func readGaugeInt(g prometheus.Gauge) int { function TestKVSnapshot (line 738) | func TestKVSnapshot(t *testing.T) { function TestWatchableKVWatch (line 774) | func TestWatchableKVWatch(t *testing.T) { function cleanup (line 880) | func cleanup(s KV, b backend.Backend) { function put3TestKVs (line 885) | func put3TestKVs(s KV) []mvccpb.KeyValue { FILE: server/storage/mvcc/kv_view.go type readView (line 24) | type readView struct method FirstRev (line 26) | func (rv *readView) FirstRev() int64 { method Rev (line 32) | func (rv *readView) Rev() int64 { method Range (line 38) | func (rv *readView) Range(ctx context.Context, key, end []byte, ro Ran... type writeView (line 44) | type writeView struct method DeleteRange (line 46) | func (wv *writeView) DeleteRange(key, end []byte) (n, rev int64) { method Put (line 52) | func (wv *writeView) Put(key, value []byte, lease lease.LeaseID) (rev ... FILE: server/storage/mvcc/kvstore.go type StoreConfig (line 47) | type StoreConfig struct type store (line 52) | type store struct method compactBarrier (line 136) | func (s *store) compactBarrier(ctx context.Context, ch chan struct{}) { method hash (line 155) | func (s *store) hash() (hash uint32, revision int64, err error) { method hashByRev (line 166) | func (s *store) hashByRev(rev int64) (hash KeyValueHash, currentRev in... method updateCompactRev (line 196) | func (s *store) updateCompactRev(rev int64) (<-chan struct{}, int64, e... method checkPrevCompactionCompleted (line 224) | func (s *store) checkPrevCompactionCompleted() bool { method compact (line 233) | func (s *store) compact(trace *traceutil.Trace, rev, prevCompactRev in... method compactLockfree (line 261) | func (s *store) compactLockfree(rev int64) (<-chan struct{}, error) { method Compact (line 271) | func (s *store) Compact(trace *traceutil.Trace, rev int64) (<-chan str... method Commit (line 285) | func (s *store) Commit() { method Restore (line 291) | func (s *store) Restore(b backend.Backend) error { method restore (line 316) | func (s *store) restore() error { method Close (line 510) | func (s *store) Close() error { method setupMetricsReporter (line 516) | func (s *store) setupMetricsReporter() { method HashStorage (line 543) | func (s *store) HashStorage() HashStorage { function NewStore (line 86) | func NewStore(lg *zap.Logger, b backend.Backend, le lease.Lessor, cfg St... type revKeyValue (line 427) | type revKeyValue struct function restoreIntoIndex (line 433) | func restoreIntoIndex(lg *zap.Logger, idx index) (chan<- revKeyValue, <-... function restoreChunk (line 492) | func restoreChunk(lg *zap.Logger, kvc chan<- revKeyValue, keys, vals [][... FILE: server/storage/mvcc/kvstore_bench_test.go function BenchmarkStorePut (line 30) | func BenchmarkStorePut(b *testing.B) { function BenchmarkStoreRangeKey1 (line 46) | func BenchmarkStoreRangeKey1(b *testing.B) { benchmarkStoreRange(b, 1) } function BenchmarkStoreRangeKey100 (line 47) | func BenchmarkStoreRangeKey100(b *testing.B) { benchmarkStoreRange(b, 10... function benchmarkStoreRange (line 49) | func benchmarkStoreRange(b *testing.B, n int) { function BenchmarkConsistentIndex (line 76) | func BenchmarkConsistentIndex(b *testing.B) { function BenchmarkStorePutUpdate (line 98) | func BenchmarkStorePutUpdate(b *testing.B) { function BenchmarkStoreTxnPut (line 116) | func BenchmarkStoreTxnPut(b *testing.B) { function benchmarkStoreRestore (line 136) | func benchmarkStoreRestore(revsPerKey int, b *testing.B) { function BenchmarkStoreRestoreRevs1 (line 161) | func BenchmarkStoreRestoreRevs1(b *testing.B) { function BenchmarkStoreRestoreRevs10 (line 165) | func BenchmarkStoreRestoreRevs10(b *testing.B) { function BenchmarkStoreRestoreRevs20 (line 169) | func BenchmarkStoreRestoreRevs20(b *testing.B) { FILE: server/storage/mvcc/kvstore_compaction.go method scheduleCompaction (line 28) | func (s *store) scheduleCompaction(compactMainRev, prevCompactRev int64)... FILE: server/storage/mvcc/kvstore_compaction_test.go function TestScheduleCompaction (line 30) | func TestScheduleCompaction(t *testing.T) { function TestCompactAllAndRestore (line 109) | func TestCompactAllAndRestore(t *testing.T) { FILE: server/storage/mvcc/kvstore_test.go function TestStoreRev (line 45) | func TestStoreRev(t *testing.T) { function TestStorePut (line 58) | func TestStorePut(t *testing.T) { function TestStoreRange (line 180) | func TestStoreRange(t *testing.T) { function TestStoreDeleteRange (line 253) | func TestStoreDeleteRange(t *testing.T) { function TestStoreCompact (line 329) | func TestStoreCompact(t *testing.T) { function TestStoreRestore (line 371) | func TestStoreRestore(t *testing.T) { function TestRestoreDelete (line 435) | func TestRestoreDelete(t *testing.T) { function TestRestoreContinueUnfinishedCompaction (line 485) | func TestRestoreContinueUnfinishedCompaction(t *testing.T) { type hashKVResult (line 546) | type hashKVResult struct function TestHashKVWhenCompacting (line 552) | func TestHashKVWhenCompacting(t *testing.T) { function TestHashKVWithCompactedAndFutureRevisions (line 651) | func TestHashKVWithCompactedAndFutureRevisions(t *testing.T) { function TestHashKVZeroRevision (line 684) | func TestHashKVZeroRevision(t *testing.T) { function TestTxnPut (line 711) | func TestTxnPut(t *testing.T) { function TestConcurrentReadNotBlockingWrite (line 733) | func TestConcurrentReadNotBlockingWrite(t *testing.T) { function TestConcurrentReadTxAndWrite (line 795) | func TestConcurrentReadTxAndWrite(t *testing.T) { type kv (line 875) | type kv struct type kvs (line 880) | type kvs method Len (line 882) | func (kvs kvs) Len() int { return len(kvs) } method Less (line 883) | func (kvs kvs) Less(i, j int) bool { return bytes.Compare(kvs[i].key, ... method Swap (line 884) | func (kvs kvs) Swap(i, j int) { kvs[i], kvs[j] = kvs[j], kvs[i] } function merge (line 886) | func merge(dst, src kvs) kvs { function newTestRevBytes (line 903) | func newTestRevBytes(rev Revision) []byte { function newTestBucketKeyBytes (line 908) | func newTestBucketKeyBytes(rev BucketKey) []byte { function newFakeStore (line 913) | func newFakeStore(lg *zap.Logger) *store { function newFakeIndex (line 937) | func newFakeIndex() *fakeIndex { type rangeResp (line 947) | type rangeResp struct type fakeBatchTx (line 952) | type fakeBatchTx struct method LockInsideApply (line 957) | func (b *fakeBatchTx) LockInsideApply() {} method LockOutsideApply (line 958) | func (b *fakeBatchTx) LockOutsideApply() {} method Lock (line 959) | func (b *fakeBatchTx) Lock() {} method Unlock (line 960) | func (b *fakeBatchTx) Unlock() {} method RLock (line 961) | func (b *fakeBatchTx) RLock() {} method RUnlock (line 962) | func (b *fakeBatchTx) RUnlock() {} method UnsafeCreateBucket (line 963) | func (b *fakeBatchTx) UnsafeCreateBucket(bucket backend.Bucket) {} method UnsafeDeleteBucket (line 964) | func (b *fakeBatchTx) UnsafeDeleteBucket(bucket backend.Bucket) {} method UnsafePut (line 965) | func (b *fakeBatchTx) UnsafePut(bucket backend.Bucket, key []byte, val... method UnsafeSeqPut (line 969) | func (b *fakeBatchTx) UnsafeSeqPut(bucket backend.Bucket, key []byte, ... method UnsafeRange (line 973) | func (b *fakeBatchTx) UnsafeRange(bucket backend.Bucket, key, endKey [... method UnsafeDelete (line 979) | func (b *fakeBatchTx) UnsafeDelete(bucket backend.Bucket, key []byte) { method UnsafeForEach (line 983) | func (b *fakeBatchTx) UnsafeForEach(bucket backend.Bucket, visitor fun... method Commit (line 986) | func (b *fakeBatchTx) Commit() {} method CommitAndStop (line 987) | func (b *fakeBatchTx) CommitAndStop() {} type fakeBackend (line 989) | type fakeBackend struct method BatchTx (line 993) | func (b *fakeBackend) BatchTx() backend.BatchTx ... method ReadTx (line 994) | func (b *fakeBackend) ReadTx() backend.ReadTx ... method ConcurrentReadTx (line 995) | func (b *fakeBackend) ConcurrentReadTx() backend.ReadTx ... method Hash (line 996) | func (b *fakeBackend) Hash(func(bucketName, keyName []byte) bool) (uin... method Size (line 997) | func (b *fakeBackend) Size() int64 ... method SizeInUse (line 998) | func (b *fakeBackend) SizeInUse() int64 ... method OpenReadTxN (line 999) | func (b *fakeBackend) OpenReadTxN() int64 ... method Snapshot (line 1000) | func (b *fakeBackend) Snapshot() backend.Snapshot ... method ForceCommit (line 1001) | func (b *fakeBackend) ForceCommit() ... method Defrag (line 1002) | func (b *fakeBackend) Defrag() error ... method Close (line 1003) | func (b *fakeBackend) Close() error ... method SetTxPostLockInsideApplyHook (line 1004) | func (b *fakeBackend) SetTxPostLockInsideApplyHook(func()) ... type indexGetResp (line 1006) | type indexGetResp struct type indexRangeResp (line 1013) | type indexRangeResp struct type indexRangeEventsResp (line 1018) | type indexRangeEventsResp struct type fakeIndex (line 1022) | type fakeIndex struct method Revisions (line 1030) | func (i *fakeIndex) Revisions(key, end []byte, atRev int64, limit int)... method CountRevisions (line 1038) | func (i *fakeIndex) CountRevisions(key, end []byte, atRev int64) int { method Get (line 1043) | func (i *fakeIndex) Get(key []byte, atRev int64) (rev, created Revisio... method Range (line 1049) | func (i *fakeIndex) Range(key, end []byte, atRev int64) ([][]byte, []R... method Put (line 1055) | func (i *fakeIndex) Put(key []byte, rev Revision) { method Tombstone (line 1059) | func (i *fakeIndex) Tombstone(key []byte, rev Revision) error { method RangeSince (line 1064) | func (i *fakeIndex) RangeSince(key, end []byte, rev int64) []Revision { method Compact (line 1070) | func (i *fakeIndex) Compact(rev int64) map[Revision]struct{} { method Keep (line 1075) | func (i *fakeIndex) Keep(rev int64) map[Revision]struct{} { method Equal (line 1079) | func (i *fakeIndex) Equal(b index) bool { return false } method Insert (line 1081) | func (i *fakeIndex) Insert(ki *keyIndex) { method KeyIndex (line 1085) | func (i *fakeIndex) KeyIndex(ki *keyIndex) *keyIndex { function createBytesSlice (line 1090) | func createBytesSlice(bytesN, sliceN int) [][]byte { FILE: server/storage/mvcc/kvstore_txn.go type storeTxnRead (line 30) | type storeTxnRead struct method End (line 134) | func (tr *storeTxnRead) End() { type storeTxnCommon (line 35) | type storeTxnCommon struct method FirstRev (line 65) | func (tr *storeTxnCommon) FirstRev() int64 { return tr.firstRev } method Rev (line 66) | func (tr *storeTxnCommon) Rev() int64 { return tr.rev } method Range (line 68) | func (tr *storeTxnCommon) Range(ctx context.Context, key, end []byte, ... method rangeKeys (line 72) | func (tr *storeTxnCommon) rangeKeys(ctx context.Context, key, end []by... method Read (line 45) | func (s *store) Read(mode ReadTxMode, trace *traceutil.Trace) TxnRead { type storeTxnWrite (line 139) | type storeTxnWrite struct method Rev (line 160) | func (tw *storeTxnWrite) Rev() int64 { return tw.beginRev } method Range (line 162) | func (tw *storeTxnWrite) Range(ctx context.Context, key, end []byte, r... method DeleteRange (line 170) | func (tw *storeTxnWrite) DeleteRange(key, end []byte) (int64, int64) { method Put (line 177) | func (tw *storeTxnWrite) Put(key, value []byte, lease lease.LeaseID) i... method End (line 182) | func (tw *storeTxnWrite) End() { method put (line 196) | func (tw *storeTxnWrite) put(key, value []byte, leaseID lease.LeaseID) { method deleteRange (line 266) | func (tw *storeTxnWrite) deleteRange(key, end []byte) int64 { method delete (line 281) | func (tw *storeTxnWrite) delete(key []byte) { method Changes (line 321) | func (tw *storeTxnWrite) Changes() []mvccpb.KeyValue { return tw.chang... method Write (line 147) | func (s *store) Write(trace *traceutil.Trace) TxnWrite { FILE: server/storage/mvcc/metrics.go function init (line 289) | func init() { function ReportEventReceived (line 318) | func ReportEventReceived(n int) { FILE: server/storage/mvcc/metrics_txn.go type metricsTxnWrite (line 23) | type metricsTxnWrite struct method Range (line 39) | func (tw *metricsTxnWrite) Range(ctx context.Context, key, end []byte,... method DeleteRange (line 44) | func (tw *metricsTxnWrite) DeleteRange(key, end []byte) (n, rev int64) { method Put (line 49) | func (tw *metricsTxnWrite) Put(key, value []byte, lease lease.LeaseID)... method End (line 56) | func (tw *metricsTxnWrite) End() { function newMetricsTxnRead (line 31) | func newMetricsTxnRead(tr TxnRead) TxnRead { function newMetricsTxnWrite (line 35) | func newMetricsTxnWrite(tw TxnWrite) TxnWrite { FILE: server/storage/mvcc/revision.go constant revBytesLen (line 26) | revBytesLen = 8 + 1 + 8 constant markedRevBytesLen (line 30) | markedRevBytesLen = revBytesLen + 1 constant markBytePosition (line 31) | markBytePosition = markedRevBytesLen - 1 constant markTombstone (line 32) | markTombstone byte = 't' type Revision (line 35) | type Revision struct method GreaterThan (line 44) | func (a Revision) GreaterThan(b Revision) bool { function RevToBytes (line 54) | func RevToBytes(rev Revision, bytes []byte) []byte { function BytesToRev (line 58) | func BytesToRev(bytes []byte) Revision { type BucketKey (line 64) | type BucketKey struct function newBucketKey (line 69) | func newBucketKey(main, sub int64, isTombstone bool) BucketKey { function NewRevBytes (line 79) | func NewRevBytes() []byte { function BucketKeyToBytes (line 83) | func BucketKeyToBytes(rev BucketKey, bytes []byte) []byte { function BytesToBucketKey (line 98) | func BytesToBucketKey(bytes []byte) BucketKey { function isTombstone (line 120) | func isTombstone(b []byte) bool { function IsTombstone (line 124) | func IsTombstone(b []byte) bool { FILE: server/storage/mvcc/store.go function UnsafeReadFinishedCompact (line 22) | func UnsafeReadFinishedCompact(tx backend.UnsafeReader) (int64, bool) { function UnsafeReadScheduledCompact (line 30) | func UnsafeReadScheduledCompact(tx backend.UnsafeReader) (int64, bool) { function SetScheduledCompact (line 38) | func SetScheduledCompact(tx backend.BatchTx, value int64) { function UnsafeSetScheduledCompact (line 44) | func UnsafeSetScheduledCompact(tx backend.UnsafeWriter, value int64) { function SetFinishedCompact (line 50) | func SetFinishedCompact(tx backend.BatchTx, value int64) { function UnsafeSetFinishedCompact (line 56) | func UnsafeSetFinishedCompact(tx backend.UnsafeWriter, value int64) { FILE: server/storage/mvcc/store_test.go function TestScheduledCompact (line 32) | func TestScheduledCompact(t *testing.T) { function TestFinishedCompact (line 71) | func TestFinishedCompact(t *testing.T) { FILE: server/storage/mvcc/testutil/hash.go constant CompactionCycle (line 33) | CompactionCycle = 71 function TestCompactionHash (line 36) | func TestCompactionHash(ctx context.Context, t *testing.T, h CompactionH... type CompactionHashTestCase (line 47) | type CompactionHashTestCase interface type KeyValueHash (line 55) | type KeyValueHash struct function testCompactionHash (line 61) | func testCompactionHash(ctx context.Context, t *testing.T, h CompactionH... function PickKey (line 85) | func PickKey(i int64) string { function CorruptBBolt (line 113) | func CorruptBBolt(fpath string) error { FILE: server/storage/mvcc/watchable_store.go function ChanBufLen (line 46) | func ChanBufLen() int { return chanBufLen } type watchable (line 48) | type watchable interface type watchableStore (line 55) | type watchableStore struct method Close (line 111) | func (s *watchableStore) Close() error { method NewWatchStream (line 117) | func (s *watchableStore) NewWatchStream() WatchStream { method watch (line 127) | func (s *watchableStore) watch(key, end []byte, startRev int64, id Wat... method cancelWatcher (line 160) | func (s *watchableStore) cancelWatcher(wa *watcher) { method Restore (line 206) | func (s *watchableStore) Restore(b backend.Backend) error { method syncWatchersLoop (line 223) | func (s *watchableStore) syncWatchersLoop() { method syncVictimsLoop (line 258) | func (s *watchableStore) syncVictimsLoop() { method moveVictims (line 284) | func (s *watchableStore) moveVictims() (moved int) { method syncWatchers (line 345) | func (s *watchableStore) syncWatchers() int { method notify (line 467) | func (s *watchableStore) notify(rev int64, evs []mvccpb.Event) { method addVictim (line 493) | func (s *watchableStore) addVictim(victim watcherBatch) { method rev (line 504) | func (s *watchableStore) rev() int64 { return s.store.Rev() } method progress (line 506) | func (s *watchableStore) progress(w *watcher) { method progressAll (line 510) | func (s *watchableStore) progressAll(watchers map[WatchID]*watcher) bo... method progressIfSync (line 514) | func (s *watchableStore) progressIfSync(watchers map[WatchID]*watcher,... type cancelFunc (line 81) | type cancelFunc function New (line 83) | func New(lg *zap.Logger, b backend.Backend, le lease.Lessor, cfg StoreCo... function newWatchableStore (line 91) | func newWatchableStore(lg *zap.Logger, b backend.Backend, le lease.Lesso... function rangeEvents (line 416) | func rangeEvents(lg *zap.Logger, b backend.Backend, minRev, maxRev int64... type contains (line 438) | type contains interface function kvsToEvents (line 443) | func kvsToEvents(lg *zap.Logger, c contains, revs, vals [][]byte) (evs [... type watcher (line 541) | type watcher struct method send (line 573) | func (w *watcher) send(wr WatchResponse) bool { FILE: server/storage/mvcc/watchable_store_bench_test.go function BenchmarkWatchableStorePut (line 28) | func BenchmarkWatchableStorePut(b *testing.B) { function BenchmarkWatchableStoreTxnPut (line 48) | func BenchmarkWatchableStoreTxnPut(b *testing.B) { function BenchmarkWatchableStoreWatchPutSync (line 69) | func BenchmarkWatchableStoreWatchPutSync(b *testing.B) { function BenchmarkWatchableStoreWatchPutUnsync (line 75) | func BenchmarkWatchableStoreWatchPutUnsync(b *testing.B) { function benchmarkWatchableStoreWatchPut (line 79) | func benchmarkWatchableStoreWatchPut(b *testing.B, synced bool) { function BenchmarkWatchableStoreUnsyncedCancel (line 123) | func BenchmarkWatchableStoreUnsyncedCancel(b *testing.B) { function BenchmarkWatchableStoreSyncedCancel (line 165) | func BenchmarkWatchableStoreSyncedCancel(b *testing.B) { FILE: server/storage/mvcc/watchable_store_test.go function TestWatch (line 37) | func TestWatch(t *testing.T) { function TestNewWatcherCancel (line 56) | func TestNewWatcherCancel(t *testing.T) { function TestNewWatcherCountGauge (line 79) | func TestNewWatcherCountGauge(t *testing.T) { function TestCancelUnsynced (line 249) | func TestCancelUnsynced(t *testing.T) { function TestSyncWatchers (line 298) | func TestSyncWatchers(t *testing.T) { function TestRangeEvents (line 339) | func TestRangeEvents(t *testing.T) { type fakeContains (line 440) | type fakeContains struct method contains (line 442) | func (f fakeContains) contains(string) bool { function TestWatchCompacted (line 447) | func TestWatchCompacted(t *testing.T) { function TestWatchNoEventLossOnCompact (line 482) | func TestWatchNoEventLossOnCompact(t *testing.T) { function TestWatchFutureRev (line 541) | func TestWatchFutureRev(t *testing.T) { function TestWatchRestore (line 578) | func TestWatchRestore(t *testing.T) { function testWatchRestore (line 596) | func testWatchRestore(t *testing.T, delayBeforeRestore, delayAfterRestor... function readEventsForSecond (line 670) | func readEventsForSecond(t *testing.T, ws <-chan WatchResponse) []mvccpb... function TestWatchBatchUnsynced (line 689) | func TestWatchBatchUnsynced(t *testing.T) { function TestNewMapwatcherToEventMap (line 767) | func TestNewMapwatcherToEventMap(t *testing.T) { function TestWatchVictims (line 866) | func TestWatchVictims(t *testing.T) { function TestStressWatchCancelClose (line 945) | func TestStressWatchCancelClose(t *testing.T) { FILE: server/storage/mvcc/watchable_store_txn.go type watchableStoreTxnWrite (line 49) | type watchableStoreTxnWrite struct method End (line 22) | func (tw *watchableStoreTxnWrite) End() { method Write (line 54) | func (s *watchableStore) Write(trace *traceutil.Trace) TxnWrite { FILE: server/storage/mvcc/watcher.go type WatchID (line 35) | type WatchID type FilterFunc (line 38) | type FilterFunc type WatchStream (line 40) | type WatchStream interface type WatchResponse (line 82) | type WatchResponse struct type watchStream (line 102) | type watchStream struct method Watch (line 115) | func (ws *watchStream) Watch(ctx context.Context, id WatchID, key, end... method Chan (line 149) | func (ws *watchStream) Chan() <-chan WatchResponse { method Cancel (line 153) | func (ws *watchStream) Cancel(id WatchID) error { method Close (line 178) | func (ws *watchStream) Close() { method Rev (line 190) | func (ws *watchStream) Rev() int64 { method RequestProgress (line 196) | func (ws *watchStream) RequestProgress(id WatchID) { method RequestProgressAll (line 206) | func (ws *watchStream) RequestProgressAll() bool { FILE: server/storage/mvcc/watcher_bench_test.go function BenchmarkKVWatcherMemoryUsage (line 27) | func BenchmarkKVWatcherMemoryUsage(b *testing.B) { FILE: server/storage/mvcc/watcher_group.go type eventBatch (line 30) | type eventBatch struct method add (line 39) | func (eb *eventBatch) add(ev mvccpb.Event) { type watcherBatch (line 66) | type watcherBatch method add (line 68) | func (wb watcherBatch) add(w *watcher, ev mvccpb.Event) { function newWatcherBatch (line 79) | func newWatcherBatch(wg *watcherGroup, evs []mvccpb.Event) watcherBatch { type watcherSet (line 96) | type watcherSet method add (line 98) | func (w watcherSet) add(wa *watcher) { method union (line 105) | func (w watcherSet) union(ws watcherSet) { method delete (line 111) | func (w watcherSet) delete(wa *watcher) { type watcherSetByKey (line 118) | type watcherSetByKey method add (line 120) | func (w watcherSetByKey) add(wa *watcher) { method delete (line 129) | func (w watcherSetByKey) delete(wa *watcher) bool { type watcherGroup (line 145) | type watcherGroup struct method add (line 163) | func (wg *watcherGroup) add(wa *watcher) { method contains (line 184) | func (wg *watcherGroup) contains(key string) bool { method size (line 190) | func (wg *watcherGroup) size() int { return len(wg.watchers) } method delete (line 193) | func (wg *watcherGroup) delete(wa *watcher) bool { method choose (line 222) | func (wg *watcherGroup) choose(maxWatchers int, curRev, compactRev int... method chooseAll (line 237) | func (wg *watcherGroup) chooseAll(curRev, compactRev int64) int64 { method watcherSetByKey (line 269) | func (wg *watcherGroup) watcherSetByKey(key string) watcherSet { function newWatcherGroup (line 154) | func newWatcherGroup() watcherGroup { FILE: server/storage/mvcc/watcher_test.go function TestWatcherWatchID (line 36) | func TestWatcherWatchID(t *testing.T) { function TestWatcherRequestsCustomID (line 86) | func TestWatcherRequestsCustomID(t *testing.T) { function TestWatcherWatchPrefix (line 123) | func TestWatcherWatchPrefix(t *testing.T) { function TestWatcherWatchWrongRange (line 197) | func TestWatcherWatchWrongRange(t *testing.T) { function TestWatchDeleteRange (line 217) | func TestWatchDeleteRange(t *testing.T) { function TestWatchStreamCancelWatcherByID (line 257) | func TestWatchStreamCancelWatcherByID(t *testing.T) { function TestWatcherRequestProgressBadId (line 292) | func TestWatcherRequestProgressBadId(t *testing.T) { function TestWatcherRequestProgress (line 307) | func TestWatcherRequestProgress(t *testing.T) { function asssertProgressSent (line 363) | func asssertProgressSent(t *testing.T, stream WatchStream, id WatchID, e... function TestWatcherRequestProgressAll (line 381) | func TestWatcherRequestProgressAll(t *testing.T) { function TestWatcherWatchWithFilter (line 420) | func TestWatcherWatchWithFilter(t *testing.T) { FILE: server/storage/quota.go constant DefaultQuotaBytes (line 30) | DefaultQuotaBytes = int64(2 * 1024 * 1024 * 1024) constant MaxQuotaBytes (line 33) | MaxQuotaBytes = int64(8 * 1024 * 1024 * 1024) type Quota (line 39) | type Quota interface type passthroughQuota (line 48) | type passthroughQuota struct method Available (line 50) | func (*passthroughQuota) Available(any) bool { return true } method Cost (line 51) | func (*passthroughQuota) Cost(any) int { return 0 } method Remaining (line 52) | func (*passthroughQuota) Remaining() int64 { return 1 } type BackendQuota (line 54) | type BackendQuota struct method Available (line 126) | func (b *BackendQuota) Available(v any) bool { method Cost (line 136) | func (b *BackendQuota) Cost(v any) int { method Remaining (line 174) | func (b *BackendQuota) Remaining() int64 { constant leaseOverhead (line 61) | leaseOverhead = 64 constant kvOverhead (line 63) | kvOverhead = 256 function NewBackendQuota (line 75) | func NewBackendQuota(lg *zap.Logger, quotaBackendBytesCfg int64, be back... function costPut (line 149) | func costPut(r *pb.PutRequest) int { return kvOverhead + len(r.Key) + le... function costTxnReq (line 151) | func costTxnReq(u *pb.RequestOp) int { function costTxn (line 159) | func costTxn(r *pb.TxnRequest) int { FILE: server/storage/schema/actions.go type action (line 23) | type action interface type setKeyAction (line 29) | type setKeyAction struct method unsafeDo (line 35) | func (a setKeyAction) unsafeDo(tx backend.UnsafeReadWriter) (action, e... type deleteKeyAction (line 41) | type deleteKeyAction struct method unsafeDo (line 46) | func (a deleteKeyAction) unsafeDo(tx backend.UnsafeReadWriter) (action... function restoreFieldValueAction (line 52) | func restoreFieldValueAction(tx backend.UnsafeReader, bucket backend.Buc... type ActionList (line 67) | type ActionList method unsafeExecute (line 71) | func (as ActionList) unsafeExecute(lg *zap.Logger, tx backend.UnsafeRe... method unsafeExecuteInReversedOrder (line 86) | func (as ActionList) unsafeExecuteInReversedOrder(lg *zap.Logger, tx b... FILE: server/storage/schema/actions_test.go function TestActionIsReversible (line 31) | func TestActionIsReversible(t *testing.T) { function TestActionListRevert (line 95) | func TestActionListRevert(t *testing.T) { type brokenAction (line 144) | type brokenAction struct method unsafeDo (line 148) | func (c brokenAction) unsafeDo(tx backend.UnsafeReadWriter) (action, e... function putKeyValues (line 152) | func putKeyValues(tx backend.UnsafeWriter, bucket backend.Bucket, kvs ma... function assertBucketState (line 158) | func assertBucketState(t *testing.T, tx backend.UnsafeReadWriter, bucket... FILE: server/storage/schema/alarm.go type AlarmBackend (line 24) | type AlarmBackend interface type alarmBackend (line 32) | type alarmBackend struct method CreateAlarmBucket (line 44) | func (s *alarmBackend) CreateAlarmBucket() { method MustPutAlarm (line 51) | func (s *alarmBackend) MustPutAlarm(alarm *etcdserverpb.AlarmMember) { method mustUnsafePutAlarm (line 58) | func (s *alarmBackend) mustUnsafePutAlarm(tx backend.UnsafeWriter, ala... method MustDeleteAlarm (line 67) | func (s *alarmBackend) MustDeleteAlarm(alarm *etcdserverpb.AlarmMember) { method mustUnsafeDeleteAlarm (line 74) | func (s *alarmBackend) mustUnsafeDeleteAlarm(tx backend.UnsafeWriter, ... method GetAllAlarms (line 83) | func (s *alarmBackend) GetAllAlarms() ([]*etcdserverpb.AlarmMember, er... method unsafeGetAllAlarms (line 90) | func (s *alarmBackend) unsafeGetAllAlarms(tx backend.UnsafeReader) ([]... method ForceCommit (line 103) | func (s alarmBackend) ForceCommit() { function NewAlarmBackend (line 37) | func NewAlarmBackend(lg *zap.Logger, be backend.Backend) AlarmBackend { FILE: server/storage/schema/auth.go constant revBytesLen (line 28) | revBytesLen = 8 type authBackend (line 36) | type authBackend struct method CreateAuthBuckets (line 50) | func (abe *authBackend) CreateAuthBuckets() { method ForceCommit (line 59) | func (abe *authBackend) ForceCommit() { method ReadTx (line 63) | func (abe *authBackend) ReadTx() auth.AuthReadTx { method BatchTx (line 67) | func (abe *authBackend) BatchTx() auth.AuthBatchTx { function NewAuthBackend (line 43) | func NewAuthBackend(lg *zap.Logger, be backend.Backend) auth.AuthBackend { type authReadTx (line 71) | type authReadTx struct method UnsafeReadAuthEnabled (line 119) | func (atx *authReadTx) UnsafeReadAuthEnabled() bool { method UnsafeReadAuthRevision (line 133) | func (atx *authReadTx) UnsafeReadAuthRevision() uint64 { method RLock (line 146) | func (atx *authReadTx) RLock() { method RUnlock (line 150) | func (atx *authReadTx) RUnlock() { type authBatchTx (line 76) | type authBatchTx struct method UnsafeSaveAuthEnabled (line 86) | func (atx *authBatchTx) UnsafeSaveAuthEnabled(enabled bool) { method UnsafeSaveAuthRevision (line 94) | func (atx *authBatchTx) UnsafeSaveAuthRevision(rev uint64) { method UnsafeReadAuthEnabled (line 100) | func (atx *authBatchTx) UnsafeReadAuthEnabled() bool { method UnsafeReadAuthRevision (line 104) | func (atx *authBatchTx) UnsafeReadAuthRevision() uint64 { method Lock (line 108) | func (atx *authBatchTx) Lock() { method Unlock (line 112) | func (atx *authBatchTx) Unlock() { function unsafeReadAuthEnabled (line 123) | func unsafeReadAuthEnabled(tx backend.UnsafeReader) bool { function unsafeReadAuthRevision (line 137) | func unsafeReadAuthRevision(tx backend.UnsafeReader) uint64 { FILE: server/storage/schema/auth_roles.go function UnsafeCreateAuthRolesBucket (line 24) | func UnsafeCreateAuthRolesBucket(tx backend.UnsafeWriter) { method GetRole (line 28) | func (abe *authBackend) GetRole(roleName string) *authpb.Role { method UnsafeGetRole (line 35) | func (atx *authBatchTx) UnsafeGetRole(roleName string) *authpb.Role { method GetAllRoles (line 39) | func (abe *authBackend) GetAllRoles() []*authpb.Role { method UnsafeGetAllRoles (line 46) | func (atx *authBatchTx) UnsafeGetAllRoles() []*authpb.Role { method UnsafePutRole (line 50) | func (atx *authBatchTx) UnsafePutRole(role *authpb.Role) { method UnsafeDeleteRole (line 63) | func (atx *authBatchTx) UnsafeDeleteRole(rolename string) { method UnsafeGetRole (line 67) | func (atx *authReadTx) UnsafeGetRole(roleName string) *authpb.Role { function unsafeGetRole (line 71) | func unsafeGetRole(lg *zap.Logger, tx backend.UnsafeReader, roleName str... method UnsafeGetAllRoles (line 85) | func (atx *authReadTx) UnsafeGetAllRoles() []*authpb.Role { function unsafeGetAllRoles (line 89) | func unsafeGetAllRoles(lg *zap.Logger, tx backend.UnsafeReader) []*authp... FILE: server/storage/schema/auth_roles_test.go function TestGetAllRoles (line 30) | func TestGetAllRoles(t *testing.T) { function TestGetRole (line 135) | func TestGetRole(t *testing.T) { FILE: server/storage/schema/auth_test.go function TestAuthEnabled (line 30) | func TestAuthEnabled(t *testing.T) { function TestAuthRevision (line 83) | func TestAuthRevision(t *testing.T) { FILE: server/storage/schema/auth_users.go method GetUser (line 24) | func (abe *authBackend) GetUser(username string) *authpb.User { method UnsafeGetUser (line 31) | func (atx *authBatchTx) UnsafeGetUser(username string) *authpb.User { method UnsafeGetAllUsers (line 35) | func (atx *authBatchTx) UnsafeGetAllUsers() []*authpb.User { method UnsafePutUser (line 39) | func (atx *authBatchTx) UnsafePutUser(user *authpb.User) { method UnsafeDeleteUser (line 47) | func (atx *authBatchTx) UnsafeDeleteUser(username string) { method UnsafeGetUser (line 51) | func (atx *authReadTx) UnsafeGetUser(username string) *authpb.User { function unsafeGetUser (line 55) | func unsafeGetUser(lg *zap.Logger, tx backend.UnsafeReader, username str... method GetAllUsers (line 73) | func (abe *authBackend) GetAllUsers() []*authpb.User { method UnsafeGetAllUsers (line 80) | func (atx *authReadTx) UnsafeGetAllUsers() []*authpb.User { function unsafeGetAllUsers (line 84) | func unsafeGetAllUsers(lg *zap.Logger, tx backend.UnsafeReader) []*authp... FILE: server/storage/schema/auth_users_test.go function TestGetAllUsers (line 30) | func TestGetAllUsers(t *testing.T) { function TestGetUser (line 123) | func TestGetUser(t *testing.T) { FILE: server/storage/schema/bucket.go type bucket (line 61) | type bucket struct method ID (line 67) | func (b bucket) ID() backend.BucketID { return b.id } method Name (line 68) | func (b bucket) Name() []byte { return b.name } method String (line 69) | func (b bucket) String() string { return string(b.Name()) } method IsSafeRangeBucket (line 70) | func (b bucket) IsSafeRangeBucket() bool { return b.safeRangeBucket } function DefaultIgnores (line 90) | func DefaultIgnores(bucket, key []byte) bool { function BackendMemberKey (line 98) | func BackendMemberKey(id types.ID) []byte { FILE: server/storage/schema/changes.go type schemaChange (line 19) | type schemaChange interface function addNewField (line 25) | func addNewField(bucket backend.Bucket, fieldName []byte, fieldValue []b... type simpleSchemaChange (line 39) | type simpleSchemaChange struct method upgradeAction (line 44) | func (c simpleSchemaChange) upgradeAction() action { method downgradeAction (line 48) | func (c simpleSchemaChange) downgradeAction() action { FILE: server/storage/schema/changes_test.go function TestUpgradeDowngrade (line 26) | func TestUpgradeDowngrade(t *testing.T) { FILE: server/storage/schema/cindex.go function UnsafeCreateMetaBucket (line 25) | func UnsafeCreateMetaBucket(tx backend.UnsafeWriter) { function CreateMetaBucket (line 30) | func CreateMetaBucket(tx backend.BatchTx) { function UnsafeReadConsistentIndex (line 39) | func UnsafeReadConsistentIndex(tx backend.UnsafeReader) (uint64, uint64) { function ReadConsistentIndex (line 55) | func ReadConsistentIndex(tx backend.ReadTx) (uint64, uint64) { function UnsafeUpdateConsistentIndexForce (line 61) | func UnsafeUpdateConsistentIndexForce(tx backend.UnsafeReadWriter, index... function UnsafeUpdateConsistentIndex (line 65) | func UnsafeUpdateConsistentIndex(tx backend.UnsafeReadWriter, index uint... function unsafeUpdateConsistentIndex (line 69) | func unsafeUpdateConsistentIndex(tx backend.UnsafeReadWriter, index uint... FILE: server/storage/schema/confstate.go function MustUnsafeSaveConfStateToBackend (line 29) | func MustUnsafeSaveConfStateToBackend(lg *zap.Logger, tx backend.UnsafeW... function UnsafeConfStateFromBackend (line 40) | func UnsafeConfStateFromBackend(lg *zap.Logger, tx backend.UnsafeReader)... FILE: server/storage/schema/confstate_test.go function TestConfStateFromBackendInOneTx (line 27) | func TestConfStateFromBackendInOneTx(t *testing.T) { function TestMustUnsafeSaveConfStateToBackend (line 44) | func TestMustUnsafeSaveConfStateToBackend(t *testing.T) { FILE: server/storage/schema/lease.go function UnsafeCreateLeaseBucket (line 25) | func UnsafeCreateLeaseBucket(tx backend.UnsafeWriter) { function MustUnsafeGetAllLeases (line 29) | func MustUnsafeGetAllLeases(tx backend.UnsafeReader) []*leasepb.Lease { function MustUnsafePutLease (line 46) | func MustUnsafePutLease(tx backend.UnsafeWriter, lpb *leasepb.Lease) { function UnsafeDeleteLease (line 56) | func UnsafeDeleteLease(tx backend.UnsafeWriter, lpb *leasepb.Lease) { function MustUnsafeGetLease (line 60) | func MustUnsafeGetLease(tx backend.UnsafeReader, leaseID int64) *leasepb... function leaseIDToBytes (line 73) | func leaseIDToBytes(n int64) []byte { function bytesToLeaseID (line 79) | func bytesToLeaseID(bytes []byte) int64 { FILE: server/storage/schema/lease_test.go function TestLeaseBackend (line 30) | func TestLeaseBackend(t *testing.T) { FILE: server/storage/schema/membership.go constant MemberAttributesSuffix (line 31) | MemberAttributesSuffix = "attributes" constant MemberRaftAttributesSuffix (line 32) | MemberRaftAttributesSuffix = "raftAttributes" type membershipBackend (line 35) | type membershipBackend struct method MustSaveMemberToBackend (line 50) | func (s *membershipBackend) MustSaveMemberToBackend(m *membership.Memb... method TrimClusterFromBackend (line 65) | func (s *membershipBackend) TrimClusterFromBackend() error { method MustDeleteMemberFromBackend (line 73) | func (s *membershipBackend) MustDeleteMemberFromBackend(id types.ID) { method MustReadMembersFromBackend (line 83) | func (s *membershipBackend) MustReadMembersFromBackend() (map[types.ID... method readMembersFromBackend (line 91) | func (s *membershipBackend) readMembersFromBackend() (map[types.ID]*me... method TrimMembershipFromBackend (line 124) | func (s *membershipBackend) TrimMembershipFromBackend() error { method MustSaveClusterVersionToBackend (line 148) | func (s *membershipBackend) MustSaveClusterVersionToBackend(ver *semve... method MustSaveDowngradeToBackend (line 159) | func (s *membershipBackend) MustSaveDowngradeToBackend(downgrade *vers... method MustCreateBackendBuckets (line 171) | func (s *membershipBackend) MustCreateBackendBuckets() { method ClusterVersionFromBackend (line 190) | func (s *membershipBackend) ClusterVersionFromBackend() *semver.Version { method DowngradeInfoFromBackend (line 210) | func (s *membershipBackend) DowngradeInfoFromBackend() *version.Downgr... function NewMembershipBackend (line 43) | func NewMembershipBackend(lg *zap.Logger, be backend.Backend) *membershi... function mustParseMemberIDFromBytes (line 180) | func mustParseMemberIDFromBytes(lg *zap.Logger, key []byte) types.ID { FILE: server/storage/schema/migration.go type migrationPlan (line 27) | type migrationPlan method Execute (line 53) | func (p migrationPlan) Execute(lg *zap.Logger, tx backend.BatchTx) err... method unsafeExecute (line 59) | func (p migrationPlan) unsafeExecute(lg *zap.Logger, tx backend.Unsafe... function newPlan (line 29) | func newPlan(lg *zap.Logger, current semver.Version, target semver.Versi... type migrationStep (line 71) | type migrationStep struct method unsafeExecute (line 94) | func (s migrationStep) unsafeExecute(lg *zap.Logger, tx backend.Unsafe... function newMigrationStep (line 76) | func newMigrationStep(v semver.Version, isUpgrade bool, changes []schema... function trimToMinor (line 106) | func trimToMinor(ver semver.Version) semver.Version { FILE: server/storage/schema/migration_test.go function TestNewPlan (line 33) | func TestNewPlan(t *testing.T) { function TestMigrationStepExecute (line 87) | func TestMigrationStepExecute(t *testing.T) { type actionRecorder (line 196) | type actionRecorder struct method changeMock (line 200) | func (r *actionRecorder) changeMock(name string) schemaChange { method changeError (line 204) | func (r *actionRecorder) changeError(err error) schemaChange { function changeMock (line 208) | func changeMock(recorder *actionRecorder, name string, err error) schema... type actionMock (line 223) | type actionMock struct method unsafeDo (line 229) | func (a actionMock) unsafeDo(tx backend.UnsafeReadWriter) (action, err... FILE: server/storage/schema/schema.go function Validate (line 29) | func Validate(lg *zap.Logger, tx backend.ReadTx) error { function unsafeValidate (line 35) | func unsafeValidate(lg *zap.Logger, tx backend.UnsafeReader) error { function localBinaryVersion (line 46) | func localBinaryVersion() semver.Version { function Migrate (line 53) | func Migrate(lg *zap.Logger, tx backend.BatchTx, w wal.Version, target s... function UnsafeMigrate (line 60) | func UnsafeMigrate(lg *zap.Logger, tx backend.UnsafeReadWriter, w wal.Ve... function DetectSchemaVersion (line 85) | func DetectSchemaVersion(lg *zap.Logger, tx backend.ReadTx) (v semver.Ve... function UnsafeDetectSchemaVersion (line 92) | func UnsafeDetectSchemaVersion(lg *zap.Logger, tx backend.UnsafeReader) ... function schemaChangesForVersion (line 110) | func schemaChangesForVersion(v semver.Version, isUpgrade bool) ([]schema... FILE: server/storage/schema/schema_test.go function TestValidate (line 36) | func TestValidate(t *testing.T) { function TestMigrate (line 104) | func TestMigrate(t *testing.T) { function TestMigrateIsReversible (line 238) | func TestMigrateIsReversible(t *testing.T) { function setupBackendData (line 305) | func setupBackendData(t *testing.T, ver semver.Version, overrideKeys fun... FILE: server/storage/schema/version.go function ReadStorageVersion (line 26) | func ReadStorageVersion(tx backend.ReadTx) *semver.Version { function UnsafeReadStorageVersion (line 34) | func UnsafeReadStorageVersion(tx backend.UnsafeReader) *semver.Version { function ReadStorageVersionFromSnapshot (line 48) | func ReadStorageVersionFromSnapshot(tx *bbolt.Tx) *semver.Version { function UnsafeSetStorageVersion (line 59) | func UnsafeSetStorageVersion(tx backend.UnsafeWriter, v *semver.Version) { function UnsafeClearStorageVersion (line 65) | func UnsafeClearStorageVersion(tx backend.UnsafeWriter) { FILE: server/storage/schema/version_test.go function TestVersion (line 32) | func TestVersion(t *testing.T) { function TestVersionSnapshot (line 81) | func TestVersionSnapshot(t *testing.T) { FILE: server/storage/storage.go type Storage (line 30) | type Storage interface type storage (line 46) | type storage struct method SaveSnap (line 60) | func (st *storage) SaveSnap(snap raftpb.Snapshot) error { method Release (line 83) | func (st *storage) Release(snap raftpb.Snapshot) error { method Save (line 92) | func (st *storage) Save(s raftpb.HardState, ents []raftpb.Entry) error { method Close (line 98) | func (st *storage) Close() error { method Sync (line 104) | func (st *storage) Sync() error { method MinimalEtcdVersion (line 110) | func (st *storage) MinimalEtcdVersion() *semver.Version { function NewStorage (line 55) | func NewStorage(lg *zap.Logger, w *wal.WAL, s *snap.Snapshotter) Storage { FILE: server/storage/util.go function AssertNoV2StoreContent (line 34) | func AssertNoV2StoreContent(lg *zap.Logger, st v2store.Store, deprecatio... function CreateConfigChangeEnts (line 54) | func CreateConfigChangeEnts(lg *zap.Logger, ids []uint64, self uint64, t... function GetEffectiveNodeIDsFromWALEntries (line 118) | func GetEffectiveNodeIDsFromWALEntries(lg *zap.Logger, snap *raftpb.Snap... FILE: server/storage/wal/decoder.go constant minSectorSize (line 32) | minSectorSize = 512 constant frameSizeBytes (line 35) | frameSizeBytes = 8 type Decoder (line 37) | type Decoder interface type decoder (line 44) | type decoder struct method Decode (line 79) | func (d *decoder) Decode(rec *walpb.Record) error { method decodeRecord (line 86) | func (d *decoder) decodeRecord(rec *walpb.Record) error { method isTornEntry (line 168) | func (d *decoder) isTornEntry(data []byte) bool { method UpdateCRC (line 203) | func (d *decoder) UpdateCRC(prevCrc uint32) { method LastCRC (line 207) | func (d *decoder) LastCRC() uint32 { method LastOffset (line 211) | func (d *decoder) LastOffset() int64 { return d.lastValidOff } function NewDecoderAdvanced (line 58) | func NewDecoderAdvanced(continueOnCrcError bool, r ...fileutil.FileReade... function NewDecoder (line 70) | func NewDecoder(r ...fileutil.FileReader) Decoder { function decodeFrameSize (line 155) | func decodeFrameSize(lenField int64) (recBytes int64, padBytes int64) { function MustUnmarshalEntry (line 213) | func MustUnmarshalEntry(d []byte) raftpb.Entry { function MustUnmarshalState (line 219) | func MustUnmarshalState(d []byte) raftpb.HardState { function readInt64 (line 225) | func readInt64(r io.Reader) (int64, error) { FILE: server/storage/wal/encoder.go constant walPageBytes (line 34) | walPageBytes = 8 * minSectorSize type encoder (line 36) | type encoder struct method encode (line 64) | func (e *encoder) encode(rec *walpb.Record) error { method flush (line 108) | func (e *encoder) flush() error { function newEncoder (line 45) | func newEncoder(w io.Writer, prevCrc uint32, pageOffset int) *encoder { function newFileEncoder (line 56) | func newFileEncoder(f *os.File, prevCrc uint32) (*encoder, error) { function encodeFrameSize (line 98) | func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) { function prepareDataWithPadding (line 114) | func prepareDataWithPadding(data []byte) ([]byte, uint64) { function write (line 122) | func write(w io.Writer, uint64buf, data []byte, lenField uint64) error { FILE: server/storage/wal/file_pipeline.go type filePipeline (line 28) | type filePipeline struct method Open (line 62) | func (fp *filePipeline) Open() (f *fileutil.LockedFile, err error) { method Close (line 70) | func (fp *filePipeline) Close() error { method alloc (line 75) | func (fp *filePipeline) alloc() (f *fileutil.LockedFile, err error) { method run (line 90) | func (fp *filePipeline) run() { function newFilePipeline (line 43) | func newFilePipeline(lg *zap.Logger, dir string, fileSize int64) *filePi... FILE: server/storage/wal/file_pipeline_test.go function TestFilePipeline (line 24) | func TestFilePipeline(t *testing.T) { function TestFilePipelineFailPreallocate (line 37) | func TestFilePipelineFailPreallocate(t *testing.T) { FILE: server/storage/wal/metrics.go function init (line 48) | func init() { FILE: server/storage/wal/record_test.go function TestReadRecord (line 35) | func TestReadRecord(t *testing.T) { function TestWriteRecord (line 72) | func TestWriteRecord(t *testing.T) { function createFileWithData (line 97) | func createFileWithData(t *testing.T, bf *bytes.Buffer) (*os.File, error) { FILE: server/storage/wal/repair.go function Repair (line 32) | func Repair(lg *zap.Logger, dirpath string) bool { function openLast (line 109) | func openLast(lg *zap.Logger, dirpath string) (*fileutil.LockedFile, err... FILE: server/storage/wal/repair_test.go type corruptFunc (line 33) | type corruptFunc function TestRepairTruncate (line 36) | func TestRepairTruncate(t *testing.T) { function testRepair (line 49) | func testRepair(t *testing.T, ents [][]raftpb.Entry, corrupt corruptFunc... function makeEnts (line 113) | func makeEnts(ents int) (ret [][]raftpb.Entry) { function TestRepairWriteTearLast (line 122) | func TestRepairWriteTearLast(t *testing.T) { function TestRepairWriteTearMiddle (line 143) | func TestRepairWriteTearMiddle(t *testing.T) { function TestRepairFailDeleteDir (line 166) | func TestRepairFailDeleteDir(t *testing.T) { FILE: server/storage/wal/testing/waltesting.go function NewTmpWAL (line 31) | func NewTmpWAL(tb testing.TB, reqs []etcdserverpb.InternalRaftRequest) (... function Reopen (line 84) | func Reopen(tb testing.TB, walPath string) *wal.WAL { FILE: server/storage/wal/util.go function Exist (line 30) | func Exist(dir string) bool { function searchIndex (line 41) | func searchIndex(lg *zap.Logger, names []string, index uint64) (int, boo... function isValidSeq (line 57) | func isValidSeq(lg *zap.Logger, names []string) bool { function readWALNames (line 72) | func readWALNames(lg *zap.Logger, dirpath string) ([]string, error) { function checkWALNames (line 84) | func checkWALNames(lg *zap.Logger, names []string) []string { function parseWALName (line 102) | func parseWALName(str string) (seq, index uint64, err error) { function walName (line 110) | func walName(seq, index uint64) string { FILE: server/storage/wal/version.go type Version (line 33) | type Version interface function ReadWALVersion (line 40) | func ReadWALVersion(w *WAL) (Version, error) { type walVersion (line 48) | type walVersion struct method MinimalEtcdVersion (line 53) | func (w *walVersion) MinimalEtcdVersion() *semver.Version { function MinimalEtcdVersion (line 60) | func MinimalEtcdVersion(ents []raftpb.Entry) *semver.Version { type Visitor (line 74) | type Visitor function VisitFileDescriptor (line 79) | func VisitFileDescriptor(file protoreflect.FileDescriptor, visitor Visit... function visitEntry (line 97) | func visitEntry(ent raftpb.Entry, visitor Visitor) error { function visitEntryData (line 105) | func visitEntryData(entryType raftpb.EntryType, data []byte, visitor Vis... function visitMessageDescriptor (line 146) | func visitMessageDescriptor(md protoreflect.MessageDescriptor, visitor V... function visitMessage (line 170) | func visitMessage(m protoreflect.Message, visitor Visitor) error { function visitEnumDescriptor (line 194) | func visitEnumDescriptor(enum protoreflect.EnumDescriptor, visitor Visit... function visitEnumNumber (line 210) | func visitEnumNumber(enum protoreflect.EnumDescriptor, number protorefle... function visitEnumValue (line 223) | func visitEnumValue(enum protoreflect.EnumValueDescriptor, visitor Visit... function visitDescriptor (line 235) | func visitDescriptor(md protoreflect.Descriptor, visitor Visitor) error { function maxVersion (line 247) | func maxVersion(a *semver.Version, b *semver.Version) *semver.Version { function etcdVersionFromOptionsString (line 254) | func etcdVersionFromOptionsString(opts string) (*semver.Version, error) { FILE: server/storage/wal/version_test.go function TestEtcdVersionFromEntry (line 34) | func TestEtcdVersionFromEntry(t *testing.T) { function TestEtcdVersionFromMessage (line 119) | func TestEtcdVersionFromMessage(t *testing.T) { function TestEtcdVersionFromFieldOptionsString (line 189) | func TestEtcdVersionFromFieldOptionsString(t *testing.T) { function TestMaxVersion (line 265) | func TestMaxVersion(t *testing.T) { FILE: server/storage/wal/wal.go constant MetadataType (line 39) | MetadataType int64 = iota + 1 constant EntryType (line 40) | EntryType constant StateType (line 41) | StateType constant CrcType (line 42) | CrcType constant SnapshotType (line 43) | SnapshotType constant warnSyncDuration (line 47) | warnSyncDuration = time.Second type WAL (line 72) | type WAL struct method Reopen (line 262) | func (w *WAL) Reopen(lg *zap.Logger, snap walpb.Snapshot) (*WAL, error) { method SetUnsafeNoFsync (line 270) | func (w *WAL) SetUnsafeNoFsync() { method cleanupWAL (line 274) | func (w *WAL) cleanupWAL(lg *zap.Logger) { method renameWAL (line 290) | func (w *WAL) renameWAL(tmpdirpath string) (*WAL, error) { method renameWALUnlock (line 313) | func (w *WAL) renameWALUnlock(tmpdirpath string) (*WAL, error) { method ReadAll (line 470) | func (w *WAL) ReadAll() (metadata []byte, state raftpb.HardState, ents... method cut (line 746) | func (w *WAL) cut() error { method sync (line 830) | func (w *WAL) sync() error { method Sync (line 857) | func (w *WAL) Sync() error { method ReleaseLockTo (line 865) | func (w *WAL) ReleaseLockTo(index uint64) error { method Close (line 909) | func (w *WAL) Close() error { method saveEntry (line 935) | func (w *WAL) saveEntry(e *raftpb.Entry) error { method saveState (line 946) | func (w *WAL) saveState(s *raftpb.HardState) error { method Save (line 956) | func (w *WAL) Save(st raftpb.HardState, ents []raftpb.Entry) error { method SaveSnapshot (line 994) | func (w *WAL) SaveSnapshot(e walpb.Snapshot) error { method saveCrc (line 1015) | func (w *WAL) saveCrc(prevCrc uint32) error { method tail (line 1019) | func (w *WAL) tail() *fileutil.LockedFile { method seq (line 1026) | func (w *WAL) seq() uint64 { function Create (line 100) | func Create(lg *zap.Logger, dirpath string, metadata []byte) (*WAL, erro... function createNewWALFile (line 241) | func createNewWALFile[T *os.File | *fileutil.LockedFile](path string, fo... function Open (line 345) | func Open(lg *zap.Logger, dirpath string, snap walpb.Snapshot) (*WAL, er... function OpenForRead (line 358) | func OpenForRead(lg *zap.Logger, dirpath string, snap walpb.Snapshot) (*... function openAtIndex (line 362) | func openAtIndex(lg *zap.Logger, dirpath string, snap walpb.Snapshot, wr... function selectWALFiles (line 400) | func selectWALFiles(lg *zap.Logger, dirpath string, snap walpb.Snapshot)... function openWALFiles (line 418) | func openWALFiles(lg *zap.Logger, dirpath string, names []string, nameIn... function ValidSnapshotEntries (line 596) | func ValidSnapshotEntries(lg *zap.Logger, walDir string) ([]walpb.Snapsh... function Verify (line 665) | func Verify(lg *zap.Logger, walDir string, snap walpb.Snapshot) (*raftpb... function closeAll (line 1038) | func closeAll(lg *zap.Logger, rcs ...io.ReadCloser) error { FILE: server/storage/wal/wal_bench_test.go function BenchmarkWrite100EntryWithoutBatch (line 26) | func BenchmarkWrite100EntryWithoutBatch(b *testing.B) { benchmarkWriteEn... function BenchmarkWrite100EntryBatch10 (line 27) | func BenchmarkWrite100EntryBatch10(b *testing.B) { benchmarkWriteEn... function BenchmarkWrite100EntryBatch100 (line 28) | func BenchmarkWrite100EntryBatch100(b *testing.B) { benchmarkWriteEn... function BenchmarkWrite100EntryBatch500 (line 29) | func BenchmarkWrite100EntryBatch500(b *testing.B) { benchmarkWriteEn... function BenchmarkWrite100EntryBatch1000 (line 30) | func BenchmarkWrite100EntryBatch1000(b *testing.B) { benchmarkWriteEn... function BenchmarkWrite1000EntryWithoutBatch (line 32) | func BenchmarkWrite1000EntryWithoutBatch(b *testing.B) { benchmarkWriteE... function BenchmarkWrite1000EntryBatch10 (line 33) | func BenchmarkWrite1000EntryBatch10(b *testing.B) { benchmarkWriteE... function BenchmarkWrite1000EntryBatch100 (line 34) | func BenchmarkWrite1000EntryBatch100(b *testing.B) { benchmarkWriteE... function BenchmarkWrite1000EntryBatch500 (line 35) | func BenchmarkWrite1000EntryBatch500(b *testing.B) { benchmarkWriteE... function BenchmarkWrite1000EntryBatch1000 (line 36) | func BenchmarkWrite1000EntryBatch1000(b *testing.B) { benchmarkWriteE... function benchmarkWriteEntry (line 38) | func benchmarkWriteEntry(b *testing.B, size int, batch int) { FILE: server/storage/wal/wal_test.go function TestNew (line 47) | func TestNew(t *testing.T) { function TestCreateNewWALFile (line 102) | func TestCreateNewWALFile(t *testing.T) { function TestCreateFailFromPollutedDir (line 171) | func TestCreateFailFromPollutedDir(t *testing.T) { function TestWalCleanup (line 179) | func TestWalCleanup(t *testing.T) { function TestCreateFailFromNoSpaceLeft (line 200) | func TestCreateFailFromNoSpaceLeft(t *testing.T) { function TestNewForInitedDir (line 213) | func TestNewForInitedDir(t *testing.T) { function TestOpenAtIndex (line 222) | func TestOpenAtIndex(t *testing.T) { function TestVerify (line 267) | func TestVerify(t *testing.T) { function TestCut (line 318) | func TestCut(t *testing.T) { function TestSaveWithCut (line 376) | func TestSaveWithCut(t *testing.T) { function TestRecover (line 433) | func TestRecover(t *testing.T) { function TestSearchIndex (line 507) | func TestSearchIndex(t *testing.T) { function TestScanWalName (line 550) | func TestScanWalName(t *testing.T) { function TestRecoverAfterCut (line 574) | func TestRecoverAfterCut(t *testing.T) { function TestOpenAtUncommittedIndex (line 628) | func TestOpenAtUncommittedIndex(t *testing.T) { function TestOpenForRead (line 658) | func TestOpenForRead(t *testing.T) { function TestOpenWithMaxIndex (line 693) | func TestOpenWithMaxIndex(t *testing.T) { function TestSaveEmpty (line 723) | func TestSaveEmpty(t *testing.T) { function TestReleaseLockTo (line 737) | func TestReleaseLockTo(t *testing.T) { function TestTailWriteNoSlackSpace (line 805) | func TestTailWriteNoSlackSpace(t *testing.T) { function TestRestartCreateWal (line 865) | func TestRestartCreateWal(t *testing.T) { function TestOpenOnTornWrite (line 898) | func TestOpenOnTornWrite(t *testing.T) { function TestRenameFail (line 981) | func TestRenameFail(t *testing.T) { function TestReadAllFail (line 1004) | func TestReadAllFail(t *testing.T) { function TestValidSnapshotEntries (line 1022) | func TestValidSnapshotEntries(t *testing.T) { function TestValidSnapshotEntriesAfterPurgeWal (line 1070) | func TestValidSnapshotEntriesAfterPurgeWal(t *testing.T) { function TestLastRecordLengthExceedFileEnd (line 1120) | func TestLastRecordLengthExceedFileEnd(t *testing.T) { FILE: server/storage/wal/walpb/record.go method Validate (line 24) | func (rec *Record) Validate(crc uint32) error { function ValidateSnapshotForWrite (line 35) | func ValidateSnapshotForWrite(e *Snapshot) error { FILE: server/storage/wal/walpb/record.pb.go constant _ (line 25) | _ = proto.ProtoPackageIsVersion3 type Record (line 27) | type Record struct method Reset (line 36) | func (m *Record) Reset() { *m = Record{} } method String (line 37) | func (m *Record) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 38) | func (*Record) ProtoMessage() {} method Descriptor (line 39) | func (*Record) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 42) | func (m *Record) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 45) | func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, er... method XXX_Merge (line 57) | func (m *Record) XXX_Merge(src proto.Message) { method XXX_Size (line 60) | func (m *Record) XXX_Size() int { method XXX_DiscardUnknown (line 63) | func (m *Record) XXX_DiscardUnknown() { method GetType (line 69) | func (m *Record) GetType() int64 { method GetCrc (line 76) | func (m *Record) GetCrc() uint32 { method GetData (line 83) | func (m *Record) GetData() []byte { method Marshal (line 181) | func (m *Record) Marshal() (dAtA []byte, err error) { method MarshalTo (line 191) | func (m *Record) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 196) | func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 285) | func (m *Record) Size() (n int) { method Unmarshal (line 335) | func (m *Record) Unmarshal(dAtA []byte) error { type Snapshot (line 91) | type Snapshot struct method Reset (line 101) | func (m *Snapshot) Reset() { *m = Snapshot{} } method String (line 102) | func (m *Snapshot) String() string { return proto.CompactTextString(m) } method ProtoMessage (line 103) | func (*Snapshot) ProtoMessage() {} method Descriptor (line 104) | func (*Snapshot) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 107) | func (m *Snapshot) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 110) | func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, ... method XXX_Merge (line 122) | func (m *Snapshot) XXX_Merge(src proto.Message) { method XXX_Size (line 125) | func (m *Snapshot) XXX_Size() int { method XXX_DiscardUnknown (line 128) | func (m *Snapshot) XXX_DiscardUnknown() { method GetIndex (line 134) | func (m *Snapshot) GetIndex() uint64 { method GetTerm (line 141) | func (m *Snapshot) GetTerm() uint64 { method GetConfState (line 148) | func (m *Snapshot) GetConfState() *raftpb.ConfState { method Marshal (line 225) | func (m *Snapshot) Marshal() (dAtA []byte, err error) { method MarshalTo (line 235) | func (m *Snapshot) MarshalTo(dAtA []byte) (int, error) { method MarshalToSizedBuffer (line 240) | func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) { method Size (line 307) | func (m *Snapshot) Size() (n int) { method Unmarshal (line 460) | func (m *Snapshot) Unmarshal(dAtA []byte) error { function init (line 155) | func init() { function init (line 160) | func init() { proto.RegisterFile("record.proto", fileDescriptor_bf94fd91... function encodeVarintRecord (line 274) | func encodeVarintRecord(dAtA []byte, offset int, v uint64) int { function sovRecord (line 329) | func sovRecord(x uint64) (n int) { function sozRecord (line 332) | func sozRecord(x uint64) (n int) { function skipRecord (line 587) | func skipRecord(dAtA []byte) (n int, err error) { FILE: server/storage/wal/walpb/record_test.go function TestSnapshotMetadataCompatibility (line 25) | func TestSnapshotMetadataCompatibility(t *testing.T) { function TestValidateSnapshot (line 34) | func TestValidateSnapshot(t *testing.T) { FILE: server/verify/verify.go constant envVerifyValueStorageWAL (line 32) | envVerifyValueStorageWAL verify.VerificationType = "storage_wal" type Config (line 34) | type Config struct function Verify (line 51) | func Verify(cfg Config) (retErr error) { function VerifyIfEnabled (line 93) | func VerifyIfEnabled(cfg Config) error { function MustVerifyIfEnabled (line 103) | func MustVerifyIfEnabled(cfg Config) { function validateConsistentIndex (line 111) | func validateConsistentIndex(cfg Config, hardstate *raftpb.HardState, sn... function validateWAL (line 134) | func validateWAL(cfg Config) (*walpb.Snapshot, *raftpb.HardState, error) { FILE: tests/antithesis/test-template/entrypoint/main.go constant SLEEP (line 31) | SLEEP = 10 function CheckHealth (line 34) | func CheckHealth() bool { function main (line 70) | func main() { FILE: tests/antithesis/test-template/robustness/common/path.go constant endpointsEnv (line 26) | endpointsEnv = "ETCD_ROBUSTNESS_ENDPOINTS" constant dataPathsEnv (line 27) | dataPathsEnv = "ETCD_ROBUSTNESS_DATA_PATHS" constant reportPathEnv (line 28) | reportPathEnv = "ETCD_ROBUSTNESS_REPORT_PATH" function GetPaths (line 31) | func GetPaths() (hosts []string, reportPath string, dataPaths map[string... FILE: tests/antithesis/test-template/robustness/finally/main.go constant reportFileName (line 35) | reportFileName = "history.html" function main (line 38) | func main() { function validateReports (line 58) | func validateReports(lg *zap.Logger, serversDataPath map[string]string, ... function assertResult (line 76) | func assertResult(result validate.Result, name string) { FILE: tests/antithesis/test-template/robustness/traffic/main.go function main (line 65) | func main() { function runTraffic (line 94) | func runTraffic(ctx context.Context, lg *zap.Logger, tf traffic.Traffic,... function simulateTraffic (line 144) | func simulateTraffic(ctx context.Context, lg *zap.Logger, tf traffic.Tra... function runDefragLoop (line 250) | func runDefragLoop(ctx context.Context, c *client.RecordingClient, perio... function connect (line 271) | func connect(cs *client.ClientSet, endpoints []string) *client.Recording... function closeAfter (line 281) | func closeAfter(ctx context.Context, t time.Duration) <-chan struct{} { FILE: tests/common/alarm_test.go function TestAlarm (line 31) | func TestAlarm(t *testing.T) { function TestAlarmlistOnMemberRestart (line 99) | func TestAlarmlistOnMemberRestart(t *testing.T) { FILE: tests/common/auth_test.go constant PermissionDenied (line 45) | PermissionDenied = "etcdserver: permission denied" constant AuthenticationFailed (line 46) | AuthenticationFailed = "etcdserver: authentication failed, invalid user... constant InvalidAuthManagement (line 47) | InvalidAuthManagement = "etcdserver: invalid auth management" constant testPeerURL (line 49) | testPeerURL = "http://localhost:20011" function TestAuthEnable (line 52) | func TestAuthEnable(t *testing.T) { function TestAuthDisable (line 64) | func TestAuthDisable(t *testing.T) { function TestAuthGracefulDisable (line 98) | func TestAuthGracefulDisable(t *testing.T) { function TestAuthStatus (line 149) | func TestAuthStatus(t *testing.T) { function TestAuthRoleUpdate (line 169) | func TestAuthRoleUpdate(t *testing.T) { function TestAuthUserDeleteDuringOps (line 213) | func TestAuthUserDeleteDuringOps(t *testing.T) { function TestAuthRoleRevokeDuringOps (line 246) | func TestAuthRoleRevokeDuringOps(t *testing.T) { function TestAuthWriteKey (line 308) | func TestAuthWriteKey(t *testing.T) { function TestAuthTxn (line 351) | func TestAuthTxn(t *testing.T) { function TestAuthPrefixPerm (line 447) | func TestAuthPrefixPerm(t *testing.T) { function TestAuthLeaseKeepAlive (line 484) | func TestAuthLeaseKeepAlive(t *testing.T) { function TestAuthRevokeWithDelete (line 511) | func TestAuthRevokeWithDelete(t *testing.T) { function TestAuthLeaseTimeToLiveExpired (line 542) | func TestAuthLeaseTimeToLiveExpired(t *testing.T) { function TestAuthLeaseGrantLeases (line 569) | func TestAuthLeaseGrantLeases(t *testing.T) { function TestAuthMemberAdd (line 614) | func TestAuthMemberAdd(t *testing.T) { function TestAuthCompact (line 632) | func TestAuthCompact(t *testing.T) { function TestAuthLeaseLeases (line 659) | func TestAuthLeaseLeases(t *testing.T) { function TestAuthMemberList (line 710) | func TestAuthMemberList(t *testing.T) { function TestAuthMemberRemove (line 730) | func TestAuthMemberRemove(t *testing.T) { function TestAuthTestInvalidMgmt (line 770) | func TestAuthTestInvalidMgmt(t *testing.T) { function TestAuthLeaseRevoke (line 787) | func TestAuthLeaseRevoke(t *testing.T) { function TestAuthRoleGet (line 818) | func TestAuthRoleGet(t *testing.T) { function TestAuthUserGet (line 844) | func TestAuthUserGet(t *testing.T) { function TestAuthRoleList (line 870) | func TestAuthRoleList(t *testing.T) { function TestAuthJWTExpire (line 887) | func TestAuthJWTExpire(t *testing.T) { function TestAuthJWTOnly (line 910) | func TestAuthJWTOnly(t *testing.T) { function TestAuthRevisionConsistency (line 931) | func TestAuthRevisionConsistency(t *testing.T) { function TestAuthTestCacheReload (line 967) | func TestAuthTestCacheReload(t *testing.T) { function TestAuthLeaseTimeToLive (line 994) | func TestAuthLeaseTimeToLive(t *testing.T) { function TestAuthAlarm (line 1035) | func TestAuthAlarm(t *testing.T) { function mustAbsPath (line 1098) | func mustAbsPath(path string) string { FILE: tests/common/auth_util.go constant rootUserName (line 34) | rootUserName = "root" constant rootRoleName (line 35) | rootRoleName = "root" constant rootPassword (line 36) | rootPassword = "rootPassword" constant testUserName (line 37) | testUserName = "test-user" constant testRoleName (line 38) | testRoleName = "test-role" constant testPassword (line 39) | testPassword = "pass" type authRole (line 54) | type authRole struct type authUser (line 61) | type authUser struct function createRoles (line 67) | func createRoles(c interfaces.Client, roles []authRole) error { function createUsers (line 83) | func createUsers(c interfaces.Client, users []authUser) error { function createSignedJWT (line 99) | func createSignedJWT(keyPath, alg, username string, authRevision uint64)... function setupAuth (line 122) | func setupAuth(c interfaces.Client, roles []authRole, users []authUser) ... function setupAuthAndGetRevision (line 136) | func setupAuthAndGetRevision(c interfaces.Client, roles []authRole, user... function requireRolePermissionEqual (line 159) | func requireRolePermissionEqual(t *testing.T, expectRole authRole, actua... function requireUserRolesEqual (line 166) | func requireUserRolesEqual(t *testing.T, expectUser authUser, actual []s... FILE: tests/common/compact_test.go function TestCompact (line 29) | func TestCompact(t *testing.T) { FILE: tests/common/defrag_test.go function TestDefragOnline (line 28) | func TestDefragOnline(t *testing.T) { FILE: tests/common/e2e_test.go function init (line 31) | func init() { constant minimalE2eEnabledEnvVarName (line 39) | minimalE2eEnabledEnvVarName = "E2E_TEST_MINIMAL" function minimalE2eEnabled (line 42) | func minimalE2eEnabled() bool { function e2eClusterTestCases (line 55) | func e2eClusterTestCases() []testCase { function WithAuth (line 103) | func WithAuth(userName, password string) config.ClientOption { function WithAuthToken (line 107) | func WithAuthToken(token string) config.ClientOption { function WithEndpoints (line 111) | func WithEndpoints(endpoints []string) config.ClientOption { function WithDialTimeout (line 115) | func WithDialTimeout(tio time.Duration) config.ClientOption { function WithHTTP2Debug (line 119) | func WithHTTP2Debug() config.ClusterOption { function WithUnixClient (line 123) | func WithUnixClient() config.ClusterOption { function WithTCPClient (line 127) | func WithTCPClient() config.ClusterOption { FILE: tests/common/endpoint_test.go function TestEndpointStatus (line 29) | func TestEndpointStatus(t *testing.T) { function TestEndpointHashKV (line 42) | func TestEndpointHashKV(t *testing.T) { function TestEndpointHealth (line 74) | func TestEndpointHealth(t *testing.T) { FILE: tests/common/grpc_test.go type clientSocket (line 30) | type clientSocket constant clientSocketTCP (line 33) | clientSocketTCP clientSocket = iota constant clientSocketUnix (line 34) | clientSocketUnix function TestAuthority (line 37) | func TestAuthority(t *testing.T) { FILE: tests/common/hashkv_test.go function TestVerifyHashKVAfterCompact (line 33) | func TestVerifyHashKVAfterCompact(t *testing.T) { function TestVerifyHashKVAfterTwoCompactsOnTombstone (line 80) | func TestVerifyHashKVAfterTwoCompactsOnTombstone(t *testing.T) { function TestVerifyHashKVAfterCompactOnLastTombstone (line 116) | func TestVerifyHashKVAfterCompactOnLastTombstone(t *testing.T) { function TestVerifyHashKVAfterCompactAndDefrag (line 156) | func TestVerifyHashKVAfterCompactAndDefrag(t *testing.T) { function populateDataForHashKV (line 196) | func populateDataForHashKV(t *testing.T, cc intf.Client, keys []string) ... function verifyConsistentHashKVAcrossAllMembers (line 232) | func verifyConsistentHashKVAcrossAllMembers(t *testing.T, cc intf.Client... FILE: tests/common/integration_test.go function init (line 25) | func init() { function integrationClusterTestCases (line 30) | func integrationClusterTestCases() []testCase { function WithAuth (line 47) | func WithAuth(userName, password string) config.ClientOption { function WithAuthToken (line 51) | func WithAuthToken(token string) config.ClientOption { function WithEndpoints (line 55) | func WithEndpoints(endpoints []string) config.ClientOption { function WithHTTP2Debug (line 59) | func WithHTTP2Debug() config.ClusterOption { function WithUnixClient (line 63) | func WithUnixClient() config.ClusterOption { function WithTCPClient (line 67) | func WithTCPClient() config.ClusterOption { FILE: tests/common/kv_test.go function TestKVPut (line 34) | func TestKVPut(t *testing.T) { function TestKVGet (line 59) | func TestKVGet(t *testing.T) { function createKV (line 166) | func createKV(key, val string, createRev, modRev, ver int64) *mvccpb.Key... function dropValue (line 176) | func dropValue(s []*mvccpb.KeyValue) []*mvccpb.KeyValue { function TestKVDelete (line 186) | func TestKVDelete(t *testing.T) { function TestKVGetNoQuorum (line 261) | func TestKVGetNoQuorum(t *testing.T) { FILE: tests/common/lease_test.go function TestLeaseGrantTimeToLive (line 29) | func TestLeaseGrantTimeToLive(t *testing.T) { function TestLeaseGrantAndList (line 53) | func TestLeaseGrantAndList(t *testing.T) { function TestLeaseGrantTimeToLiveExpired (line 120) | func TestLeaseGrantTimeToLiveExpired(t *testing.T) { function TestLeaseGrantKeepAliveOnce (line 173) | func TestLeaseGrantKeepAliveOnce(t *testing.T) { function TestLeaseGrantRevoke (line 218) | func TestLeaseGrantRevoke(t *testing.T) { FILE: tests/common/main_test.go function TestMain (line 29) | func TestMain(m *testing.M) { type testCase (line 33) | type testCase struct FILE: tests/common/maintenance_auth_test.go function TestDefragmentWithNoAuth (line 33) | func TestDefragmentWithNoAuth(t *testing.T) { function TestDefragmentWithInvalidAuth (line 37) | func TestDefragmentWithInvalidAuth(t *testing.T) { function TestDefragmentWithRootAuth (line 41) | func TestDefragmentWithRootAuth(t *testing.T) { function TestDefragmentWithUserAuth (line 45) | func TestDefragmentWithUserAuth(t *testing.T) { function testDefragmentWithAuth (line 49) | func testDefragmentWithAuth(t *testing.T, expectConnectionError, expectO... function TestDowngradeWithNoAuth (line 58) | func TestDowngradeWithNoAuth(t *testing.T) { function TestDowngradeWithInvalidAuth (line 62) | func TestDowngradeWithInvalidAuth(t *testing.T) { function TestDowngradeWithRootAuth (line 66) | func TestDowngradeWithRootAuth(t *testing.T) { function TestDowngradeWithUserAuth (line 70) | func TestDowngradeWithUserAuth(t *testing.T) { function testDowngradeWithAuth (line 74) | func testDowngradeWithAuth(t *testing.T, _expectConnectionError, _expect... function TestHashKVWithNoAuth (line 82) | func TestHashKVWithNoAuth(t *testing.T) { function TestHashKVWithInvalidAuth (line 86) | func TestHashKVWithInvalidAuth(t *testing.T) { function TestHashKVWithRootAuth (line 90) | func TestHashKVWithRootAuth(t *testing.T) { function TestHashKVWithUserAuth (line 94) | func TestHashKVWithUserAuth(t *testing.T) { function testHashKVWithAuth (line 98) | func testHashKVWithAuth(t *testing.T, expectConnectionError, expectOpera... function TestMoveLeaderWithNoAuth (line 108) | func TestMoveLeaderWithNoAuth(t *testing.T) { function TestMoveLeaderWithInvalidAuth (line 112) | func TestMoveLeaderWithInvalidAuth(t *testing.T) { function TestMoveLeaderWithRootAuth (line 116) | func TestMoveLeaderWithRootAuth(t *testing.T) { function TestMoveLeaderWithUserAuth (line 120) | func TestMoveLeaderWithUserAuth(t *testing.T) { function testMoveLeaderWithAuth (line 124) | func testMoveLeaderWithAuth(t *testing.T, _expectConnectionError, _expec... function TestSnapshotWithNoAuth (line 132) | func TestSnapshotWithNoAuth(t *testing.T) { function TestSnapshotWithInvalidAuth (line 136) | func TestSnapshotWithInvalidAuth(t *testing.T) { function TestSnapshotWithRootAuth (line 140) | func TestSnapshotWithRootAuth(t *testing.T) { function TestSnapshotWithUserAuth (line 144) | func TestSnapshotWithUserAuth(t *testing.T) { function testSnapshotWithAuth (line 148) | func testSnapshotWithAuth(t *testing.T, _expectConnectionError, _expectO... function TestStatusWithNoAuth (line 156) | func TestStatusWithNoAuth(t *testing.T) { function TestStatusWithInvalidAuth (line 160) | func TestStatusWithInvalidAuth(t *testing.T) { function TestStatusWithRootAuth (line 164) | func TestStatusWithRootAuth(t *testing.T) { function TestStatusWithUserAuth (line 168) | func TestStatusWithUserAuth(t *testing.T) { function testStatusWithAuth (line 172) | func testStatusWithAuth(t *testing.T, expectConnectionError, expectOpera... function setupAuthForMaintenanceTest (line 179) | func setupAuthForMaintenanceTest(c intf.Client) error { function testMaintenanceOperationWithAuth (line 204) | func testMaintenanceOperationWithAuth(t *testing.T, expectConnectError, ... FILE: tests/common/member_test.go function TestMemberList (line 32) | func TestMemberList(t *testing.T) { function TestMemberAdd (line 67) | func TestMemberAdd(t *testing.T) { function TestMemberRemove (line 153) | func TestMemberRemove(t *testing.T) { function memberToRemove (line 237) | func memberToRemove(ctx context.Context, t *testing.T, client intf.Clien... function getMemberIDToEndpoints (line 261) | func getMemberIDToEndpoints(ctx context.Context, t *testing.T, clus intf... FILE: tests/common/role_test.go function TestRoleAdd_Simple (line 30) | func TestRoleAdd_Simple(t *testing.T) { function TestRoleAdd_Error (line 48) | func TestRoleAdd_Error(t *testing.T) { function TestRootRole (line 65) | func TestRootRole(t *testing.T) { function TestRoleGrantRevokePermission (line 87) | func TestRoleGrantRevokePermission(t *testing.T) { function TestRoleDelete (line 110) | func TestRoleDelete(t *testing.T) { FILE: tests/common/status_test.go function TestStatus (line 28) | func TestStatus(t *testing.T) { FILE: tests/common/txn_test.go type txnReq (line 32) | type txnReq struct function TestTxnSucc (line 40) | func TestTxnSucc(t *testing.T) { function TestTxnFail (line 84) | func TestTxnFail(t *testing.T) { function getRespValues (line 122) | func getRespValues(r *clientv3.TxnResponse) []string { FILE: tests/common/unit_test.go function init (line 24) | func init() { function unitClusterTestCases (line 29) | func unitClusterTestCases() []testCase { function WithAuth (line 36) | func WithAuth(userName, password string) config.ClientOption { function WithAuthToken (line 40) | func WithAuthToken(token string) config.ClientOption { function WithEndpoints (line 44) | func WithEndpoints(endpoints []string) config.ClientOption { function WithHTTP2Debug (line 48) | func WithHTTP2Debug() config.ClusterOption { function WithTCPClient (line 52) | func WithTCPClient() config.ClusterOption { function WithUnixClient (line 56) | func WithUnixClient() config.ClusterOption { FILE: tests/common/user_test.go function TestUserAdd_Simple (line 29) | func TestUserAdd_Simple(t *testing.T) { function TestUserAdd_DuplicateUserNotAllowed (line 89) | func TestUserAdd_DuplicateUserNotAllowed(t *testing.T) { function TestUserList (line 113) | func TestUserList(t *testing.T) { function TestUserDelete (line 144) | func TestUserDelete(t *testing.T) { function TestUserChangePassword (line 181) | func TestUserChangePassword(t *testing.T) { FILE: tests/common/wait_leader_test.go function TestWaitLeader (line 27) | func TestWaitLeader(t *testing.T) { function TestWaitLeader_MemberStop (line 44) | func TestWaitLeader_MemberStop(t *testing.T) { FILE: tests/common/watch_test.go function TestWatch (line 29) | func TestWatch(t *testing.T) { FILE: tests/e2e/cluster_downgrade_test.go type CancellationState (line 42) | type CancellationState constant noCancellation (line 45) | noCancellation CancellationState = iota constant cancelRightBeforeEnable (line 46) | cancelRightBeforeEnable constant cancelRightAfterEnable (line 47) | cancelRightAfterEnable constant cancelAfterDowngrading (line 48) | cancelAfterDowngrading function TestDowngradeUpgradeClusterOf1 (line 51) | func TestDowngradeUpgradeClusterOf1(t *testing.T) { function TestDowngradeUpgrade2InClusterOf3 (line 55) | func TestDowngradeUpgrade2InClusterOf3(t *testing.T) { function TestDowngradeUpgradeClusterOf3 (line 59) | func TestDowngradeUpgradeClusterOf3(t *testing.T) { function TestDowngradeUpgradeClusterOf1WithSnapshot (line 63) | func TestDowngradeUpgradeClusterOf1WithSnapshot(t *testing.T) { function TestDowngradeUpgradeClusterOf3WithSnapshot (line 67) | func TestDowngradeUpgradeClusterOf3WithSnapshot(t *testing.T) { function TestDowngradeCancellationWithoutEnablingClusterOf1 (line 71) | func TestDowngradeCancellationWithoutEnablingClusterOf1(t *testing.T) { function TestDowngradeCancellationRightAfterEnablingClusterOf1 (line 75) | func TestDowngradeCancellationRightAfterEnablingClusterOf1(t *testing.T) { function TestDowngradeCancellationWithoutEnablingClusterOf3 (line 79) | func TestDowngradeCancellationWithoutEnablingClusterOf3(t *testing.T) { function TestDowngradeCancellationRightAfterEnablingClusterOf3 (line 83) | func TestDowngradeCancellationRightAfterEnablingClusterOf3(t *testing.T) { function TestDowngradeCancellationAfterDowngrading1InClusterOf3 (line 87) | func TestDowngradeCancellationAfterDowngrading1InClusterOf3(t *testing.T) { function TestDowngradeCancellationAfterDowngrading2InClusterOf3 (line 91) | func TestDowngradeCancellationAfterDowngrading2InClusterOf3(t *testing.T) { function testDowngradeUpgrade (line 95) | func testDowngradeUpgrade(t *testing.T, numberOfMembersToDowngrade int, ... function newCluster (line 231) | func newCluster(t *testing.T, clusterSize int, snapshotCount uint64) *e2... function generateSnapshot (line 248) | func generateSnapshot(t *testing.T, snapshotCount uint64, cc *e2e.Etcdct... function verifySnapshot (line 260) | func verifySnapshot(t *testing.T, epc *e2e.EtcdProcessCluster) { function verifySnapshotMembers (line 270) | func verifySnapshotMembers(t *testing.T, epc *e2e.EtcdProcessCluster, ex... function getMembersAndKeys (line 288) | func getMembersAndKeys(t *testing.T, cc *e2e.EtcdctlV3) (*clientv3.Membe... function generateIdenticalVersions (line 301) | func generateIdenticalVersions(clusterSize int, ver *semver.Version) []*... function generatePartialCancellationVersions (line 315) | func generatePartialCancellationVersions(clusterSize int, membersToChang... FILE: tests/e2e/cmux_test.go function TestConnectionMultiplexing (line 42) | func TestConnectionMultiplexing(t *testing.T) { function testConnectionMultiplexing (line 104) | func testConnectionMultiplexing(ctx context.Context, t *testing.T, membe... function fetchGRPCGateway (line 143) | func fetchGRPCGateway(endpoint string, httpVersion string, connType e2e.... function validateGrpcgatewayRangeReponse (line 158) | func validateGrpcgatewayRangeReponse(respData []byte) error { function fetchMetrics (line 178) | func fetchMetrics(t *testing.T, endpoint string, httpVersion string, con... function fetchVersion (line 198) | func fetchVersion(endpoint string, httpVersion string, connType e2e.Clie... function fetchHealth (line 208) | func fetchHealth(endpoint string, httpVersion string, connType e2e.Clien... function fetchDebugVars (line 218) | func fetchDebugVars(endpoint string, httpVersion string, connType e2e.Cl... FILE: tests/e2e/corrupt_test.go function TestEtcdCorruptHash (line 38) | func TestEtcdCorruptHash(t *testing.T) { function corruptTest (line 55) | func corruptTest(cx ctlCtx) { function TestInPlaceRecovery (line 99) | func TestInPlaceRecovery(t *testing.T) { function TestPeriodicCheckDetectsCorruption (line 190) | func TestPeriodicCheckDetectsCorruption(t *testing.T) { function TestCompactHashCheckDetectCorruption (line 233) | func TestCompactHashCheckDetectCorruption(t *testing.T) { function TestCompactHashCheckDetectCorruptionWithFeatureGate (line 237) | func TestCompactHashCheckDetectCorruptionWithFeatureGate(t *testing.T) { function testCompactHashCheckDetectCorruption (line 241) | func testCompactHashCheckDetectCorruption(t *testing.T, useFeatureGate b... function TestCompactHashCheckDetectCorruptionInterrupt (line 285) | func TestCompactHashCheckDetectCorruptionInterrupt(t *testing.T) { function TestCompactHashCheckDetectCorruptionInterruptWithFeatureGate (line 289) | func TestCompactHashCheckDetectCorruptionInterruptWithFeatureGate(t *tes... function testCompactHashCheckDetectCorruptionInterrupt (line 293) | func testCompactHashCheckDetectCorruptionInterrupt(t *testing.T, useFeat... function TestCtlV3SerializableRead (line 380) | func TestCtlV3SerializableRead(t *testing.T) { function TestCtlV3LinearizableRead (line 384) | func TestCtlV3LinearizableRead(t *testing.T) { function testCtlV3ReadAfterWrite (line 388) | func testCtlV3ReadAfterWrite(t *testing.T, ops ...clientv3.OpOption) { FILE: tests/e2e/ctl_v3_auth_cluster_test.go function TestAuthCluster (line 31) | func TestAuthCluster(t *testing.T) { function applyTLSWithRootCommonName (line 100) | func applyTLSWithRootCommonName() func() { function createUsers (line 122) | func createUsers(ctx context.Context, t *testing.T, client *e2e.EtcdctlV... FILE: tests/e2e/ctl_v3_auth_no_proxy_test.go function TestCtlV3AuthCertCN (line 32) | func TestCtlV3AuthCertCN(t *testing.T) { function TestCtlV3AuthCertCNAndUsername (line 36) | func TestCtlV3AuthCertCNAndUsername(t *testing.T) { function TestCtlV3AuthCertCNAndUsernameNoPassword (line 40) | func TestCtlV3AuthCertCNAndUsernameNoPassword(t *testing.T) { function TestCtlV3AuthCertCNWithWithConcurrentOperation (line 44) | func TestCtlV3AuthCertCNWithWithConcurrentOperation(t *testing.T) { FILE: tests/e2e/ctl_v3_auth_security_test.go function TestAuth_CVE_2021_28235 (line 29) | func TestAuth_CVE_2021_28235(t *testing.T) { function authTestCVE2021_28235 (line 33) | func authTestCVE2021_28235(cx ctlCtx) { FILE: tests/e2e/ctl_v3_auth_test.go function TestCtlV3AuthMemberUpdate (line 29) | func TestCtlV3AuthMemberUpdate(t *testing.T) { testCtl(t, authTestMember... function TestCtlV3AuthFromKeyPerm (line 30) | func TestCtlV3AuthFromKeyPerm(t *testing.T) { testCtl(t, authTestFromKe... function TestCtlV3AuthAndWatch (line 33) | func TestCtlV3AuthAndWatch(t *testing.T) { testCtl(t, authTestWatch) } function TestCtlV3AuthAndWatchJWT (line 34) | func TestCtlV3AuthAndWatchJWT(t *testing.T) { testCtl(t, authTestWatch, ... function TestCtlV3AuthEndpointHealth (line 37) | func TestCtlV3AuthEndpointHealth(t *testing.T) { function TestCtlV3AuthSnapshot (line 42) | func TestCtlV3AuthSnapshot(t *testing.T) { testCtl(t, authTestSnapshot) } function TestCtlV3AuthSnapshotJWT (line 44) | func TestCtlV3AuthSnapshotJWT(t *testing.T) { function TestCtlV3GetAuthStatus (line 48) | func TestCtlV3GetAuthStatus(t *testing.T) { testCtl(t, authTestGetAuthSt... function ctlV3AuthStatus (line 50) | func ctlV3AuthStatus(cx ctlCtx, expected string) error { function authTestGetAuthStatus (line 55) | func authTestGetAuthStatus(cx ctlCtx) { function authEnable (line 61) | func authEnable(cx ctlCtx) error { function ctlV3AuthEnable (line 75) | func ctlV3AuthEnable(cx ctlCtx) error { function ctlV3PutFailPerm (line 80) | func ctlV3PutFailPerm(cx ctlCtx, key, val string) error { function authSetupTestUser (line 84) | func authSetupTestUser(cx ctlCtx) { function authTestMemberUpdate (line 96) | func authTestMemberUpdate(cx ctlCtx) { function authTestCertCN (line 119) | func authTestCertCN(cx ctlCtx) { function authTestFromKeyPerm (line 141) | func authTestFromKeyPerm(cx ctlCtx) { function authTestWatch (line 201) | func authTestWatch(cx ctlCtx) { function authTestSnapshot (line 272) | func authTestSnapshot(cx ctlCtx) { function authTestEndpointHealth (line 301) | func authTestEndpointHealth(cx ctlCtx) { function certCNAndUsername (line 333) | func certCNAndUsername(cx ctlCtx, noPassword bool) { function authTestCertCNAndUsername (line 369) | func authTestCertCNAndUsername(cx ctlCtx) { function authTestCertCNAndUsernameNoPassword (line 373) | func authTestCertCNAndUsernameNoPassword(cx ctlCtx) { function ctlV3EndpointHealth (line 377) | func ctlV3EndpointHealth(cx ctlCtx) error { function ctlV3User (line 386) | func ctlV3User(cx ctlCtx, args []string, expStr string, stdIn []string) ... FILE: tests/e2e/ctl_v3_completion_test.go function TestCtlV3CompletionBash (line 29) | func TestCtlV3CompletionBash(t *testing.T) { function TestUtlV3CompletionBash (line 33) | func TestUtlV3CompletionBash(t *testing.T) { function testShellCompletion (line 45) | func testShellCompletion(t *testing.T, binPath, shellName string) { FILE: tests/e2e/ctl_v3_defrag_test.go function TestCtlV3DefragOffline (line 26) | func TestCtlV3DefragOffline(t *testing.T) { function maintenanceInitKeys (line 30) | func maintenanceInitKeys(cx ctlCtx) { function ctlV3OfflineDefrag (line 37) | func ctlV3OfflineDefrag(cx ctlCtx) error { function defragOfflineTest (line 43) | func defragOfflineTest(cx ctlCtx) { FILE: tests/e2e/ctl_v3_elect_test.go function TestCtlV3Elect (line 30) | func TestCtlV3Elect(t *testing.T) { function testElect (line 34) | func testElect(cx ctlCtx) { function ctlV3Elect (line 98) | func ctlV3Elect(cx ctlCtx, name, proposal string, expectFailure bool) (*... FILE: tests/e2e/ctl_v3_kv_test.go function TestCtlV3PutTimeout (line 32) | func TestCtlV3PutTimeout(t *testing.T) { testCtl(t, putTest, withDefault... function TestCtlV3PutClientTLSFlagByEnv (line 33) | func TestCtlV3PutClientTLSFlagByEnv(t *testing.T) { function TestCtlV3PutIgnoreValue (line 36) | func TestCtlV3PutIgnoreValue(t *testing.T) { testCtl(t, putTestIgnoreVal... function TestCtlV3PutIgnoreLease (line 37) | func TestCtlV3PutIgnoreLease(t *testing.T) { testCtl(t, putTestIgnoreLea... function TestCtlV3GetTimeout (line 39) | func TestCtlV3GetTimeout(t *testing.T) { testCtl(t, getTest, withDefault... function TestCtlV3GetFormat (line 41) | func TestCtlV3GetFormat(t *testing.T) { testCtl(t, getFormat... function TestCtlV3GetRev (line 42) | func TestCtlV3GetRev(t *testing.T) { testCtl(t, getRevTes... function TestCtlV3GetMinMaxCreateModRev (line 43) | func TestCtlV3GetMinMaxCreateModRev(t *testing.T) { testCtl(t, getMinMax... function TestCtlV3GetKeysOnly (line 44) | func TestCtlV3GetKeysOnly(t *testing.T) { testCtl(t, getKeysOn... function TestCtlV3GetCountOnly (line 45) | func TestCtlV3GetCountOnly(t *testing.T) { testCtl(t, getCountO... function TestCtlV3DelTimeout (line 47) | func TestCtlV3DelTimeout(t *testing.T) { testCtl(t, delTest, withDefault... function TestCtlV3TimeoutWhenNoProcessListensOnEndpoint (line 49) | func TestCtlV3TimeoutWhenNoProcessListensOnEndpoint(t *testing.T) { function TestCtlV3TimeoutWhenTLSClientCertMissing (line 63) | func TestCtlV3TimeoutWhenTLSClientCertMissing(t *testing.T) { function TestCtlV3GetRevokedCRL (line 67) | func TestCtlV3GetRevokedCRL(t *testing.T) { function testGetRevokedCRL (line 77) | func testGetRevokedCRL(cx ctlCtx) { function timeoutWhenTLSClientCertMissingTest (line 86) | func timeoutWhenTLSClientCertMissingTest(cx ctlCtx) { function unusedLocalTCPAddr (line 97) | func unusedLocalTCPAddr(t *testing.T) string { function assertEtcdctlDialTimedout (line 107) | func assertEtcdctlDialTimedout(t *testing.T, cmdArgs []string, envVars m... function putTest (line 123) | func putTest(cx ctlCtx) { function putTestIgnoreValue (line 138) | func putTestIgnoreValue(cx ctlCtx) { function putTestIgnoreLease (line 145) | func putTestIgnoreLease(cx ctlCtx) { function getTest (line 170) | func getTest(cx ctlCtx) { function getFormatTest (line 206) | func getFormatTest(cx ctlCtx) { function getRevTest (line 236) | func getRevTest(cx ctlCtx) { function getMinMaxCreateModRevTest (line 261) | func getMinMaxCreateModRevTest(cx ctlCtx) { function getKeysOnlyTest (line 292) | func getKeysOnlyTest(cx ctlCtx) { function getCountOnlyTest (line 305) | func getCountOnlyTest(cx ctlCtx) { function delTest (line 328) | func delTest(cx ctlCtx) { function ctlV3Put (line 381) | func ctlV3Put(cx ctlCtx, key, value, leaseID string, flags ...string) er... type kv (line 405) | type kv struct function ctlV3Get (line 409) | func ctlV3Get(cx ctlCtx, args []string, kvs ...kv) error { function ctlV3Del (line 422) | func ctlV3Del(cx ctlCtx, args []string, num int) error { FILE: tests/e2e/ctl_v3_lease_test.go function TestCtlV3LeaseKeepAlive (line 27) | func TestCtlV3LeaseKeepAlive(t *testing.T) { function TestCtlV3LeaseKeepAliveDisableFastKeepAlive (line 33) | func TestCtlV3LeaseKeepAliveDisableFastKeepAlive(t *testing.T) { function TestCtlV3LeaseKeepAliveNoTLS (line 39) | func TestCtlV3LeaseKeepAliveNoTLS(t *testing.T) { function TestCtlV3LeaseKeepAliveNoTLSDisableFastKeepAlive (line 45) | func TestCtlV3LeaseKeepAliveNoTLSDisableFastKeepAlive(t *testing.T) { function TestCtlV3LeaseKeepAliveClientTLS (line 51) | func TestCtlV3LeaseKeepAliveClientTLS(t *testing.T) { function TestCtlV3LeaseKeepAliveClientTLSDisableFastKeepAlive (line 57) | func TestCtlV3LeaseKeepAliveClientTLSDisableFastKeepAlive(t *testing.T) { function TestCtlV3LeaseKeepAliveClientAutoTLS (line 63) | func TestCtlV3LeaseKeepAliveClientAutoTLS(t *testing.T) { function TestCtlV3LeaseKeepAliveClientAutoTLSDisableFastKeepAlive (line 69) | func TestCtlV3LeaseKeepAliveClientAutoTLSDisableFastKeepAlive(t *testing... function TestCtlV3LeaseKeepAlivePeerTLS (line 75) | func TestCtlV3LeaseKeepAlivePeerTLS(t *testing.T) { function TestCtlV3LeaseKeepAlivePeerTLSDisableFastKeepAlive (line 81) | func TestCtlV3LeaseKeepAlivePeerTLSDisableFastKeepAlive(t *testing.T) { function enableFastLeaseKeepAlive (line 87) | func enableFastLeaseKeepAlive(cfg *e2e.EtcdProcessClusterConfig) { function disableFastLeaseKeepAlive (line 91) | func disableFastLeaseKeepAlive(cfg *e2e.EtcdProcessClusterConfig) { function leaseTestKeepAlive (line 95) | func leaseTestKeepAlive(cx ctlCtx) { function ctlV3LeaseGrant (line 112) | func ctlV3LeaseGrant(cx ctlCtx, ttl int) (string, error) { function ctlV3LeaseKeepAlive (line 135) | func ctlV3LeaseKeepAlive(cx ctlCtx, leaseID string) error { function ctlV3LeaseRevoke (line 149) | func ctlV3LeaseRevoke(cx ctlCtx, leaseID string) error { FILE: tests/e2e/ctl_v3_lock_test.go function TestCtlV3Lock (line 31) | func TestCtlV3Lock(t *testing.T) { function TestCtlV3LockWithCmd (line 35) | func TestCtlV3LockWithCmd(t *testing.T) { function testLock (line 39) | func testLock(cx ctlCtx) { function testLockWithCmd (line 102) | func testLockWithCmd(cx ctlCtx) { function ctlV3Lock (line 115) | func ctlV3Lock(cx ctlCtx, name string) (*expect.ExpectProcess, <-chan st... function ctlV3LockWithCmd (line 137) | func ctlV3LockWithCmd(cx ctlCtx, execCmd []string, as ...expect.Expected... FILE: tests/e2e/ctl_v3_make_mirror_test.go function TestCtlV3MakeMirror (line 28) | func TestCtlV3MakeMirror(t *testing.T) { testCtl(t, make... function TestCtlV3MakeMirrorModifyDestPrefix (line 29) | func TestCtlV3MakeMirrorModifyDestPrefix(t *testing.T) { testCtl(t, make... function TestCtlV3MakeMirrorNoDestPrefix (line 30) | func TestCtlV3MakeMirrorNoDestPrefix(t *testing.T) { testCtl(t, make... function TestCtlV3MakeMirrorWithWatchRev (line 31) | func TestCtlV3MakeMirrorWithWatchRev(t *testing.T) { testCtl(t, make... function makeMirrorTest (line 33) | func makeMirrorTest(cx ctlCtx) { function makeMirrorModifyDestPrefixTest (line 43) | func makeMirrorModifyDestPrefixTest(cx ctlCtx) { function makeMirrorNoDestPrefixTest (line 54) | func makeMirrorNoDestPrefixTest(cx ctlCtx) { function makeMirrorWithWatchRev (line 66) | func makeMirrorWithWatchRev(cx ctlCtx) { function testMirrorCommand (line 78) | func testMirrorCommand(cx ctlCtx, flags []string, sourcekvs []kv, destkv... FILE: tests/e2e/ctl_v3_member_no_proxy_test.go function TestMemberReplace (line 34) | func TestMemberReplace(t *testing.T) { function TestMemberReplaceWithLearner (line 101) | func TestMemberReplaceWithLearner(t *testing.T) { FILE: tests/e2e/ctl_v3_member_test.go function TestCtlV3MemberList (line 37) | func TestCtlV3MemberList(t *testing.T) { testCtl(t, memberListTes... function TestCtlV3MemberListWithHex (line 38) | func TestCtlV3MemberListWithHex(t *testing.T) { testCtl(t, memberListWit... function TestCtlV3MemberListSerializable (line 39) | func TestCtlV3MemberListSerializable(t *testing.T) { function TestCtlV3MemberAdd (line 46) | func TestCtlV3MemberAdd(t *testing.T) { testCtl(t, memberAddTes... function TestCtlV3MemberAddAsLearner (line 47) | func TestCtlV3MemberAddAsLearner(t *testing.T) { testCtl(t, memberAddAsL... function TestCtlV3MemberUpdate (line 49) | func TestCtlV3MemberUpdate(t *testing.T) { testCtl(t, memberUpdateTest) } function TestCtlV3MemberPromoteWithAuthFromLeader (line 51) | func TestCtlV3MemberPromoteWithAuthFromLeader(t *testing.T) { function TestCtlV3MemberPromoteWithAuthFromFollower (line 55) | func TestCtlV3MemberPromoteWithAuthFromFollower(t *testing.T) { function TestCtlV3MemberUpdateNoTLS (line 59) | func TestCtlV3MemberUpdateNoTLS(t *testing.T) { function TestCtlV3MemberUpdateClientTLS (line 63) | func TestCtlV3MemberUpdateClientTLS(t *testing.T) { function TestCtlV3MemberUpdateClientAutoTLS (line 67) | func TestCtlV3MemberUpdateClientAutoTLS(t *testing.T) { function TestCtlV3MemberUpdatePeerTLS (line 71) | func TestCtlV3MemberUpdatePeerTLS(t *testing.T) { function TestCtlV3ConsistentMemberList (line 78) | func TestCtlV3ConsistentMemberList(t *testing.T) { function memberListTest (line 161) | func memberListTest(cx ctlCtx) { function memberListSerializableTest (line 167) | func memberListSerializableTest(cx ctlCtx) { function ctlV3MemberList (line 181) | func ctlV3MemberList(cx ctlCtx) error { function getMemberList (line 190) | func getMemberList(cx ctlCtx, serializable bool) (etcdserverpb.MemberLis... function memberListWithHexTest (line 217) | func memberListWithHexTest(cx ctlCtx) { function memberAddTest (line 268) | func memberAddTest(cx ctlCtx) { function memberAddAsLearnerTest (line 273) | func memberAddAsLearnerTest(cx ctlCtx) { function memberPromoteWithAuth (line 278) | func memberPromoteWithAuth(fromFollower bool) func(cx ctlCtx) { function ctlV3MemberAdd (line 321) | func ctlV3MemberAdd(cx ctlCtx, peerURL string, isLearner bool) error { function memberUpdateTest (line 331) | func memberUpdateTest(cx ctlCtx) { function ctlV3MemberUpdate (line 340) | func ctlV3MemberUpdate(cx ctlCtx, memberID, peerURL string) error { function TestRemoveNonExistingMember (line 345) | func TestRemoveNonExistingMember(t *testing.T) { FILE: tests/e2e/ctl_v3_move_leader_test.go function TestCtlV3MoveLeaderScenarios (line 33) | func TestCtlV3MoveLeaderScenarios(t *testing.T) { function testCtlV3MoveLeader (line 57) | func testCtlV3MoveLeader(t *testing.T, cfg e2e.EtcdProcessClusterConfig,... function setupEtcdctlTest (line 144) | func setupEtcdctlTest(t *testing.T, cfg *e2e.EtcdProcessClusterConfig, q... FILE: tests/e2e/ctl_v3_role_test.go function TestCtlV3RoleAddTimeout (line 27) | func TestCtlV3RoleAddTimeout(t *testing.T) { testCtl(t, roleAddTest, wit... function roleAddTest (line 29) | func roleAddTest(cx ctlCtx) { function ctlV3Role (line 55) | func ctlV3Role(cx ctlCtx, args []string, expStr string) error { function ctlV3RoleGrantPermission (line 62) | func ctlV3RoleGrantPermission(cx ctlCtx, rolename string, perm grantingP... function ctlV3RoleRevokePermission (line 84) | func ctlV3RoleRevokePermission(cx ctlCtx, rolename string, key, rangeEnd... type grantingPerm (line 108) | type grantingPerm struct function grantingPermToArgs (line 116) | func grantingPermToArgs(perm grantingPerm) []string { FILE: tests/e2e/ctl_v3_snapshot_test.go function TestCtlV3Snapshot (line 41) | func TestCtlV3Snapshot(t *testing.T) { testCtl(t, snapshotTest) } function snapshotTest (line 43) | func snapshotTest(cx ctlCtx) { function TestCtlV3SnapshotCorrupt (line 73) | func TestCtlV3SnapshotCorrupt(t *testing.T) { testCtl(t, snapshotCorrupt... function snapshotCorruptTest (line 75) | func snapshotCorruptTest(cx ctlCtx) { function TestCtlV3SnapshotStatusBeforeRestore (line 103) | func TestCtlV3SnapshotStatusBeforeRestore(t *testing.T) { function snapshotStatusBeforeRestoreTest (line 107) | func snapshotStatusBeforeRestoreTest(cx ctlCtx) { function ctlV3SnapshotSave (line 132) | func ctlV3SnapshotSave(cx ctlCtx, fpath string) error { function getSnapshotStatus (line 137) | func getSnapshotStatus(cx ctlCtx, fpath string) (snapshot.Status, error) { function TestIssue6361 (line 161) | func TestIssue6361(t *testing.T) { testIssue6361(t) } function testIssue6361 (line 165) | func testIssue6361(t *testing.T) { function TestCtlV3SnapshotVersion (line 271) | func TestCtlV3SnapshotVersion(t *testing.T) { function snapshotVersionTest (line 275) | func snapshotVersionTest(cx ctlCtx) { function TestRestoreCompactionRevBump (line 294) | func TestRestoreCompactionRevBump(t *testing.T) { function hasKVs (line 415) | func hasKVs(t *testing.T, ctl *e2e.EtcdctlV3, kvs []testutils.KV, curren... function TestBreakConsistentIndexNewerThanSnapshot (line 428) | func TestBreakConsistentIndexNewerThanSnapshot(t *testing.T) { function copyFile (line 469) | func copyFile(src, dst string) error { FILE: tests/e2e/ctl_v3_test.go function TestCtlV3Version (line 35) | func TestCtlV3Version(t *testing.T) { testCtl(t, versionTest) } function TestClusterVersion (line 37) | func TestClusterVersion(t *testing.T) { function versionTest (line 84) | func versionTest(cx ctlCtx) { function clusterVersionTest (line 90) | func clusterVersionTest(cx ctlCtx, expected string) { function ctlV3Version (line 105) | func ctlV3Version(cx ctlCtx) error { function TestCtlV3DialWithHTTPScheme (line 111) | func TestCtlV3DialWithHTTPScheme(t *testing.T) { function dialWithSchemeTest (line 115) | func dialWithSchemeTest(cx ctlCtx) { type ctlCtx (line 120) | type ctlCtx struct method applyOpts (line 148) | func (cx *ctlCtx) applyOpts(opts []ctlOption) { method getTestTimeout (line 285) | func (cx *ctlCtx) getTestTimeout() time.Duration { method prefixArgs (line 296) | func (cx *ctlCtx) prefixArgs(eps []string) []string { method PrefixArgs (line 334) | func (cx *ctlCtx) PrefixArgs() []string { method PrefixArgsUtl (line 340) | func (cx *ctlCtx) PrefixArgsUtl() []string { type ctlOption (line 146) | type ctlOption function withCfg (line 156) | func withCfg(cfg e2e.EtcdProcessClusterConfig) ctlOption { function withDefaultDialTimeout (line 160) | func withDefaultDialTimeout() ctlOption { function withDialTimeout (line 164) | func withDialTimeout(timeout time.Duration) ctlOption { function withTestTimeout (line 168) | func withTestTimeout(timeout time.Duration) ctlOption { function withQuorum (line 172) | func withQuorum() ctlOption { function withInteractive (line 176) | func withInteractive() ctlOption { function withInitialCorruptCheck (line 180) | func withInitialCorruptCheck() ctlOption { function withCorruptFunc (line 184) | func withCorruptFunc(f func(string) error) ctlOption { function withFlagByEnv (line 188) | func withFlagByEnv() ctlOption { function withMaxConcurrentStreams (line 194) | func withMaxConcurrentStreams(streams uint32) ctlOption { function withLogLevel (line 200) | func withLogLevel(logLevel string) ctlOption { function testCtl (line 206) | func testCtl(t *testing.T, testFunc func(ctlCtx), opts ...ctlOption) { function getDefaultCtlCtx (line 210) | func getDefaultCtlCtx(t *testing.T) ctlCtx { function testCtlWithOffline (line 218) | func testCtlWithOffline(t *testing.T, testFunc func(ctlCtx), testOffline... function runCtlTest (line 245) | func runCtlTest(t *testing.T, testFunc func(ctlCtx), testOfflineFunc fun... function isGRPCTimedout (line 344) | func isGRPCTimedout(err error) bool { FILE: tests/e2e/ctl_v3_watch_test.go type kvExec (line 25) | type kvExec struct function setupWatchArgs (line 30) | func setupWatchArgs(cx ctlCtx, args []string) []string { function ctlV3Watch (line 41) | func ctlV3Watch(cx ctlCtx, args []string, kvs ...kvExec) error { function ctlV3WatchFailPerm (line 72) | func ctlV3WatchFailPerm(cx ctlCtx, args []string) error { function TestCtlV3Watch (line 97) | func TestCtlV3Watch(t *testing.T) { testCtl(t, watchTest) } function TestCtlV3WatchNoTLS (line 98) | func TestCtlV3WatchNoTLS(t *testing.T) { testCtl(t, watchTest, withC... function TestCtlV3WatchClientTLS (line 99) | func TestCtlV3WatchClientTLS(t *testing.T) { testCtl(t, watchTest, withC... function TestCtlV3WatchPeerTLS (line 100) | func TestCtlV3WatchPeerTLS(t *testing.T) { testCtl(t, watchTest, withC... function TestCtlV3WatchTimeout (line 101) | func TestCtlV3WatchTimeout(t *testing.T) { testCtl(t, watchTest, withD... function TestCtlV3WatchInteractive (line 103) | func TestCtlV3WatchInteractive(t *testing.T) { function TestCtlV3WatchInteractiveNoTLS (line 107) | func TestCtlV3WatchInteractiveNoTLS(t *testing.T) { function TestCtlV3WatchInteractiveClientTLS (line 111) | func TestCtlV3WatchInteractiveClientTLS(t *testing.T) { function TestCtlV3WatchInteractivePeerTLS (line 115) | func TestCtlV3WatchInteractivePeerTLS(t *testing.T) { function watchTest (line 119) | func watchTest(cx ctlCtx) { FILE: tests/e2e/defrag_no_space_test.go function TestDefragNoSpace (line 28) | func TestDefragNoSpace(t *testing.T) { FILE: tests/e2e/discovery_v3_test.go function TestClusterOf1UsingV3Discovery_1endpoint (line 29) | func TestClusterOf1UsingV3Discovery_1endpoint(t *testing.T) { function TestClusterOf3UsingV3Discovery_1endpoint (line 33) | func TestClusterOf3UsingV3Discovery_1endpoint(t *testing.T) { function TestTLSClusterOf5UsingV3Discovery_1endpoint (line 37) | func TestTLSClusterOf5UsingV3Discovery_1endpoint(t *testing.T) { function TestClusterOf1UsingV3Discovery_3endpoints (line 41) | func TestClusterOf1UsingV3Discovery_3endpoints(t *testing.T) { function TestClusterOf3UsingV3Discovery_3endpoints (line 45) | func TestClusterOf3UsingV3Discovery_3endpoints(t *testing.T) { function TestTLSClusterOf5UsingV3Discovery_3endpoints (line 49) | func TestTLSClusterOf5UsingV3Discovery_3endpoints(t *testing.T) { function testClusterUsingV3Discovery (line 53) | func testClusterUsingV3Discovery(t *testing.T, discoveryClusterSize, tar... function bootstrapEtcdClusterUsingV3Discovery (line 89) | func bootstrapEtcdClusterUsingV3Discovery(t *testing.T, discoveryEndpoin... FILE: tests/e2e/etcd_config_test.go constant exampleConfigFile (line 36) | exampleConfigFile = "../../etcd.conf.yml.sample" function TestEtcdExampleConfig (line 38) | func TestEtcdExampleConfig(t *testing.T) { function TestEtcdMultiPeer (line 47) | func TestEtcdMultiPeer(t *testing.T) { function TestEtcdUnixPeers (line 89) | func TestEtcdUnixPeers(t *testing.T) { function TestEtcdListenMetricsURLsWithMissingClientTLSInfo (line 111) | func TestEtcdListenMetricsURLsWithMissingClientTLSInfo(t *testing.T) { function TestEtcdPeerCNAuth (line 157) | func TestEtcdPeerCNAuth(t *testing.T) { function TestEtcdPeerMultiCNAuth (line 234) | func TestEtcdPeerMultiCNAuth(t *testing.T) { function TestEtcdPeerNameAuth (line 320) | func TestEtcdPeerNameAuth(t *testing.T) { function TestEtcdPeerLocalAddr (line 394) | func TestEtcdPeerLocalAddr(t *testing.T) { function TestGrpcproxyAndCommonName (line 498) | func TestGrpcproxyAndCommonName(t *testing.T) { function TestGrpcproxyAndListenCipherSuite (line 532) | func TestGrpcproxyAndListenCipherSuite(t *testing.T) { function TestBootstrapDefragFlag (line 568) | func TestBootstrapDefragFlag(t *testing.T) { function TestSnapshotCatchupEntriesFlag (line 582) | func TestSnapshotCatchupEntriesFlag(t *testing.T) { function TestEtcdHealthyWithTinySnapshotCatchupEntries (line 601) | func TestEtcdHealthyWithTinySnapshotCatchupEntries(t *testing.T) { function TestEtcdTLSVersion (line 634) | func TestEtcdTLSVersion(t *testing.T) { function TestEtcdDeprecatedFlags (line 666) | func TestEtcdDeprecatedFlags(t *testing.T) { function TestV2DeprecationEnforceDefaultValue (line 708) | func TestV2DeprecationEnforceDefaultValue(t *testing.T) { function TestEtcdAdvertiseClientUnix (line 734) | func TestEtcdAdvertiseClientUnix(t *testing.T) { FILE: tests/e2e/etcd_grpcproxy_test.go function TestGrpcProxyAutoSync (line 34) | func TestGrpcProxyAutoSync(t *testing.T) { function TestGrpcProxyTLSVersions (line 94) | func TestGrpcProxyTLSVersions(t *testing.T) { function waitForEndpointInLog (line 148) | func waitForEndpointInLog(ctx context.Context, proxyProc *expect.ExpectP... FILE: tests/e2e/etcd_mix_versions_test.go type clusterTestCase (line 30) | type clusterTestCase struct function clusterTestCases (line 35) | func clusterTestCases(size int) []clusterTestCase { function TestMixVersionsSnapshotByAddingMember (line 67) | func TestMixVersionsSnapshotByAddingMember(t *testing.T) { function mixVersionsSnapshotTestByAddingMember (line 83) | func mixVersionsSnapshotTestByAddingMember(t *testing.T, cfg *e2e.EtcdPr... function TestMixVersionsSnapshotByMockingPartition (line 116) | func TestMixVersionsSnapshotByMockingPartition(t *testing.T) { function mixVersionsSnapshotTestByMockPartition (line 125) | func mixVersionsSnapshotTestByMockPartition(t *testing.T, cfg *e2e.EtcdP... function writeKVs (line 168) | func writeKVs(t *testing.T, etcdctl *e2e.EtcdctlV3, startIdx, endIdx int) { function assertKVHash (line 177) | func assertKVHash(t *testing.T, epc *e2e.EtcdProcessCluster) { FILE: tests/e2e/etcd_release_upgrade_test.go function TestReleaseUpgrade (line 39) | func TestReleaseUpgrade(t *testing.T) { function TestReleaseUpgradeWithRestart (line 119) | func TestReleaseUpgradeWithRestart(t *testing.T) { function TestClusterUpgradeAfterPromotingMembers (line 174) | func TestClusterUpgradeAfterPromotingMembers(t *testing.T) { function mustCreateNewClusterByPromotingMembers (line 230) | func mustCreateNewClusterByPromotingMembers(t *testing.T, clusterVersion... function ensureAllMembersAreVotingMembers (line 286) | func ensureAllMembersAreVotingMembers(t *testing.T, epc *e2e.EtcdProcess... FILE: tests/e2e/failover_test.go constant keepaliveTime (line 37) | keepaliveTime = 30 * time.Second constant keepaliveTimeout (line 38) | keepaliveTimeout = 10 * time.Second constant dialTimeout (line 39) | dialTimeout = 20 * time.Second constant clientRuntime (line 41) | clientRuntime = 10 * time.Second constant requestTimeout (line 42) | requestTimeout = 100 * time.Millisecond function TestFailoverOnDefrag (line 45) | func TestFailoverOnDefrag(t *testing.T) { function triggerDefrag (line 201) | func triggerDefrag(t *testing.T, member e2e.EtcdProcess) { FILE: tests/e2e/force_new_cluster_test.go function TestForceNewCluster (line 38) | func TestForceNewCluster(t *testing.T) { function TestForceNewCluster_MemberCount (line 82) | func TestForceNewCluster_MemberCount(t *testing.T) { function TestForceNewCluster_AddLearner_MemberCount (line 118) | func TestForceNewCluster_AddLearner_MemberCount(t *testing.T) { function mustReadMembersFromBoltDB (line 181) | func mustReadMembersFromBoltDB(t *testing.T, dataDir string) []*membersh... FILE: tests/e2e/gateway_test.go function TestGateway (line 29) | func TestGateway(t *testing.T) { function startGateway (line 48) | func startGateway(t *testing.T, endpoints string) *expect.ExpectProcess { FILE: tests/e2e/graceful_shutdown_test.go function TestGracefulShutdown (line 31) | func TestGracefulShutdown(t *testing.T) { function tryShutdownLeader (line 64) | func tryShutdownLeader(ctx context.Context, t *testing.T, members []inte... function getLeader (line 97) | func getLeader(ctx context.Context, t *testing.T, members []interfaces.M... FILE: tests/e2e/http_health_check_test.go constant healthCheckTimeout (line 40) | healthCheckTimeout = 2 * time.Second constant putCommandTimeout (line 41) | putCommandTimeout = 200 * time.Millisecond type healthCheckConfig (line 44) | type healthCheckConfig struct type injectFailure (line 51) | type injectFailure function TestHTTPHealthHandler (line 53) | func TestHTTPHealthHandler(t *testing.T) { function TestHTTPLivezReadyzHandler (line 201) | func TestHTTPLivezReadyzHandler(t *testing.T) { function doHealthCheckAndVerify (line 338) | func doHealthCheckAndVerify(t *testing.T, client *http.Client, url strin... function triggerNoSpaceAlarm (line 363) | func triggerNoSpaceAlarm(ctx context.Context, t *testing.T, clus *e2e.Et... function triggerSlowApply (line 374) | func triggerSlowApply(ctx context.Context, t *testing.T, clus *e2e.EtcdP... function blackhole (line 382) | func blackhole(_ context.Context, t *testing.T, clus *e2e.EtcdProcessClu... function triggerRaftLoopDeadLock (line 390) | func triggerRaftLoopDeadLock(ctx context.Context, t *testing.T, clus *e2... function triggerSlowBufferWriteBackWithAuth (line 395) | func triggerSlowBufferWriteBackWithAuth(ctx context.Context, t *testing.... function triggerCorrupt (line 407) | func triggerCorrupt(ctx context.Context, t *testing.T, clus *e2e.EtcdPro... FILE: tests/e2e/leader_snapshot_no_proxy_test.go function TestRecoverSnapshotBackend (line 36) | func TestRecoverSnapshotBackend(t *testing.T) { FILE: tests/e2e/logging_test.go function TestNoErrorLogsDuringNormalOperations (line 27) | func TestNoErrorLogsDuringNormalOperations(t *testing.T) { FILE: tests/e2e/main_test.go function TestMain (line 25) | func TestMain(m *testing.M) { FILE: tests/e2e/member_no_proxy_test.go function TestReproduce20340 (line 32) | func TestReproduce20340(t *testing.T) { FILE: tests/e2e/metrics_test.go function TestV3MetricsSecure (line 32) | func TestV3MetricsSecure(t *testing.T) { function TestV3MetricsInsecure (line 39) | func TestV3MetricsInsecure(t *testing.T) { function TestV3LearnerMetricRecover (line 46) | func TestV3LearnerMetricRecover(t *testing.T) { function TestV3LearnerMetricApplyFromSnapshotTest (line 52) | func TestV3LearnerMetricApplyFromSnapshotTest(t *testing.T) { function metricsTest (line 58) | func metricsTest(cx ctlCtx) { function learnerMetricRecoverTest (line 81) | func learnerMetricRecoverTest(cx ctlCtx) { function learnerMetricApplyFromSnapshotTest (line 96) | func learnerMetricApplyFromSnapshotTest(cx ctlCtx) { function triggerSnapshot (line 111) | func triggerSnapshot(ctx context.Context, cx ctlCtx) { function expectLearnerMetrics (line 119) | func expectLearnerMetrics(cx ctlCtx) { function expectLearnerMetric (line 124) | func expectLearnerMetric(cx ctlCtx, procIdx int, expectMetric string) { function TestNoMetricsMissing (line 132) | func TestNoMetricsMissing(t *testing.T) { FILE: tests/e2e/promote_experimental_flag_test.go function TestWarningApplyDuration (line 27) | func TestWarningApplyDuration(t *testing.T) { FILE: tests/e2e/reproduce_17780_test.go function TestReproduce17780 (line 31) | func TestReproduce17780(t *testing.T) { FILE: tests/e2e/reproduce_18667_test.go function TestReproduce18667 (line 31) | func TestReproduce18667(t *testing.T) { FILE: tests/e2e/reproduce_19406_test.go function TestReproduce19406 (line 31) | func TestReproduce19406(t *testing.T) { function getEtcdCompactionMetrics (line 88) | func getEtcdCompactionMetrics(t *testing.T, httpEndpoint string) (pauseD... FILE: tests/e2e/reproduce_20271_test.go function TestIssue20271 (line 32) | func TestIssue20271(t *testing.T) { FILE: tests/e2e/runtime_reconfiguration_test.go function TestRuntimeReconfigGrowClusterSize (line 34) | func TestRuntimeReconfigGrowClusterSize(t *testing.T) { function TestRuntimeReconfigDecreaseClusterSize (line 86) | func TestRuntimeReconfigDecreaseClusterSize(t *testing.T) { function TestRuntimeReconfigRollingUpgrade (line 124) | func TestRuntimeReconfigRollingUpgrade(t *testing.T) { function addMember (line 170) | func addMember(ctx context.Context, t *testing.T, epc *e2e.EtcdProcessCl... function addMemberAsLearnerAndPromote (line 176) | func addMemberAsLearnerAndPromote(ctx context.Context, t *testing.T, epc... function removeFirstMember (line 197) | func removeFirstMember(ctx context.Context, t *testing.T, epc *e2e.EtcdP... FILE: tests/e2e/utils.go function newClient (line 44) | func newClient(t *testing.T, entpoints []string, cfg e2e.ClientConfig) *... function tlsInfo (line 70) | func tlsInfo(tb testing.TB, cfg e2e.ClientConfig) (*transport.TLSInfo, e... function fillEtcdWithData (line 88) | func fillEtcdWithData(ctx context.Context, c *clientv3.Client, dbSize in... function curl (line 109) | func curl(endpoint string, method string, curlReq e2e.CURLReq, connType ... function runCommandAndReadJSONOutput (line 118) | func runCommandAndReadJSONOutput(args []string) (map[string]any, error) { function getMemberIDByName (line 133) | func getMemberIDByName(ctx context.Context, c *e2e.EtcdctlV3, name strin... function generateCertsForIPs (line 146) | func generateCertsForIPs(tempDir string, ips []net.IP) (caFile string, c... function saveCertToFile (line 214) | func saveCertToFile(tempDir string, certBytes []byte, key *rsa.PrivateKe... function getLocalIP (line 251) | func getLocalIP() (string, error) { FILE: tests/e2e/utl_migrate_test.go function TestEtctlutlMigrate (line 39) | func TestEtctlutlMigrate(t *testing.T) { FILE: tests/e2e/v2store_deprecation_test.go function TestV2DeprecationNotYet (line 39) | func TestV2DeprecationNotYet(t *testing.T) { function TestV2DeprecationSnapshotMatches (line 51) | func TestV2DeprecationSnapshotMatches(t *testing.T) { function addAndRemoveKeysAndMembers (line 78) | func addAndRemoveKeysAndMembers(ctx context.Context, tb testing.TB, cc *... function TestV2DeprecationSnapshotRecover (line 108) | func TestV2DeprecationSnapshotRecover(t *testing.T) { function runEtcdAndCreateSnapshot (line 146) | func runEtcdAndCreateSnapshot(tb testing.TB, serverVersion e2e.ClusterVe... function filterSnapshotFiles (line 158) | func filterSnapshotFiles(path string) bool { function assertSnapshotsMatch (line 162) | func assertSnapshotsMatch(tb testing.TB, firstDataDir, secondDataDir str... function assertV2StoreMembershipEqual (line 182) | func assertV2StoreMembershipEqual(tb testing.TB, lg *zap.Logger, firstSn... function loadV2StoreData (line 198) | func loadV2StoreData(tb testing.TB, lg *zap.Logger, fpath string) v2stor... function rebuildMembers (line 208) | func rebuildMembers(tb testing.TB, members map[types.ID]*membership.Memb... FILE: tests/e2e/v3_cipher_suite_test.go function TestCurlV3CipherSuitesValid (line 30) | func TestCurlV3CipherSuitesValid(t *testing.T) { testCurlV3CipherSuit... function TestCurlV3CipherSuitesMismatch (line 31) | func TestCurlV3CipherSuitesMismatch(t *testing.T) { testCurlV3CipherSuit... function testCurlV3CipherSuites (line 32) | func testCurlV3CipherSuites(t *testing.T, valid bool) { function cipherSuiteTestValid (line 50) | func cipherSuiteTestValid(cx ctlCtx) { function cipherSuiteTestMismatch (line 60) | func cipherSuiteTestMismatch(cx ctlCtx) { FILE: tests/e2e/v3_curl_auth_test.go function TestCurlV3Auth (line 33) | func TestCurlV3Auth(t *testing.T) { function TestCurlV3AuthClientTLSCertAuth (line 37) | func TestCurlV3AuthClientTLSCertAuth(t *testing.T) { function TestCurlV3AuthUserBasicOperations (line 41) | func TestCurlV3AuthUserBasicOperations(t *testing.T) { function TestCurlV3AuthUserGrantRevokeRoles (line 45) | func TestCurlV3AuthUserGrantRevokeRoles(t *testing.T) { function TestCurlV3AuthRoleBasicOperations (line 49) | func TestCurlV3AuthRoleBasicOperations(t *testing.T) { function TestCurlV3AuthRoleManagePermission (line 53) | func TestCurlV3AuthRoleManagePermission(t *testing.T) { function TestCurlV3AuthEnableDisableStatus (line 57) | func TestCurlV3AuthEnableDisableStatus(t *testing.T) { function testCurlV3Auth (line 61) | func testCurlV3Auth(cx ctlCtx) { function testCurlV3AuthUserBasicOperations (line 159) | func testCurlV3AuthUserBasicOperations(cx ctlCtx) { function testCurlV3AuthUserGrantRevokeRoles (line 231) | func testCurlV3AuthUserGrantRevokeRoles(cx ctlCtx) { function testCurlV3AuthRoleBasicOperations (line 284) | func testCurlV3AuthRoleBasicOperations(cx ctlCtx) { function testCurlV3AuthRoleManagePermission (line 346) | func testCurlV3AuthRoleManagePermission(cx ctlCtx) { function testCurlV3AuthEnableDisableStatus (line 389) | func testCurlV3AuthEnableDisableStatus(cx ctlCtx) { FILE: tests/e2e/v3_curl_cluster_test.go function TestCurlV3ClusterOperations (line 30) | func TestCurlV3ClusterOperations(t *testing.T) { function testCurlV3ClusterOperations (line 34) | func testCurlV3ClusterOperations(cx ctlCtx) { function mustListMembers (line 104) | func mustListMembers(cx ctlCtx) []any { FILE: tests/e2e/v3_curl_election_test.go function TestCurlV3CampaignNoTLS (line 33) | func TestCurlV3CampaignNoTLS(t *testing.T) { function testCurlV3Campaign (line 37) | func testCurlV3Campaign(cx ctlCtx) { function TestCurlV3ProclaimMissiongLeaderKeyNoTLS (line 100) | func TestCurlV3ProclaimMissiongLeaderKeyNoTLS(t *testing.T) { function testCurlV3ProclaimMissiongLeaderKey (line 104) | func testCurlV3ProclaimMissiongLeaderKey(cx ctlCtx) { function TestCurlV3ResignMissiongLeaderKeyNoTLS (line 114) | func TestCurlV3ResignMissiongLeaderKeyNoTLS(t *testing.T) { function testCurlV3ResignMissiongLeaderKey (line 118) | func testCurlV3ResignMissiongLeaderKey(cx ctlCtx) { function TestCurlV3ElectionLeader (line 126) | func TestCurlV3ElectionLeader(t *testing.T) { function testCurlV3ElectionLeader (line 130) | func testCurlV3ElectionLeader(cx ctlCtx) { type campaignResponse (line 140) | type campaignResponse struct function CURLWithExpected (line 149) | func CURLWithExpected(cx ctlCtx, tests []v3cURLTest) error { FILE: tests/e2e/v3_curl_kv_test.go function TestCurlV3KVBasicOperation (line 31) | func TestCurlV3KVBasicOperation(t *testing.T) { function TestCurlV3KVTxn (line 35) | func TestCurlV3KVTxn(t *testing.T) { function TestCurlV3KVCompact (line 39) | func TestCurlV3KVCompact(t *testing.T) { function testCurlV3KV (line 43) | func testCurlV3KV(t *testing.T, f func(ctlCtx)) { function testCurlV3KVBasicOperation (line 78) | func testCurlV3KVBasicOperation(cx ctlCtx) { function testCurlV3KVTxn (line 135) | func testCurlV3KVTxn(cx ctlCtx) { function mustExecuteTxn (line 182) | func mustExecuteTxn(cx ctlCtx, reqData string) (bool, []any) { function testCurlV3KVCompact (line 200) | func testCurlV3KVCompact(cx ctlCtx) { FILE: tests/e2e/v3_curl_lease_test.go function TestCurlV3LeaseGrantNoTLS (line 27) | func TestCurlV3LeaseGrantNoTLS(t *testing.T) { function TestCurlV3LeaseRevokeNoTLS (line 31) | func TestCurlV3LeaseRevokeNoTLS(t *testing.T) { function TestCurlV3LeaseLeasesNoTLS (line 35) | func TestCurlV3LeaseLeasesNoTLS(t *testing.T) { function TestCurlV3LeaseKeepAliveNoTLS (line 39) | func TestCurlV3LeaseKeepAliveNoTLS(t *testing.T) { type v3cURLTest (line 43) | type v3cURLTest struct function testCurlV3LeaseGrant (line 49) | func testCurlV3LeaseGrant(cx ctlCtx) { function testCurlV3LeaseRevoke (line 77) | func testCurlV3LeaseRevoke(cx ctlCtx) { function testCurlV3LeaseLeases (line 95) | func testCurlV3LeaseLeases(cx ctlCtx) { function testCurlV3LeaseKeepAlive (line 113) | func testCurlV3LeaseKeepAlive(cx ctlCtx) { function gwLeaseIDExpected (line 131) | func gwLeaseIDExpected(leaseID int64) string { function gwLeaseTTLWithKeys (line 135) | func gwLeaseTTLWithKeys(cx ctlCtx, leaseID int64) string { function gwLeaseKeepAlive (line 142) | func gwLeaseKeepAlive(cx ctlCtx, leaseID int64) string { function gwLeaseGrant (line 149) | func gwLeaseGrant(cx ctlCtx, leaseID int64, ttl int64) string { function gwLeaseRevoke (line 156) | func gwLeaseRevoke(cx ctlCtx, leaseID int64) string { function gwKVPutLease (line 163) | func gwKVPutLease(cx ctlCtx, k string, v string, leaseID int64) string { FILE: tests/e2e/v3_curl_lock_test.go function TestCurlV3LockOperations (line 29) | func TestCurlV3LockOperations(t *testing.T) { function testCurlV3LockOperations (line 33) | func testCurlV3LockOperations(cx ctlCtx) { FILE: tests/e2e/v3_curl_maintenance_test.go function TestCurlV3MaintenanceAlarmMissiongAlarm (line 28) | func TestCurlV3MaintenanceAlarmMissiongAlarm(t *testing.T) { function testCurlV3MaintenanceAlarmMissiongAlarm (line 32) | func testCurlV3MaintenanceAlarmMissiongAlarm(cx ctlCtx) { function TestCurlV3MaintenanceStatus (line 39) | func TestCurlV3MaintenanceStatus(t *testing.T) { function testCurlV3MaintenanceStatus (line 43) | func testCurlV3MaintenanceStatus(cx ctlCtx) { function TestCurlV3MaintenanceDefragment (line 62) | func TestCurlV3MaintenanceDefragment(t *testing.T) { function testCurlV3MaintenanceDefragment (line 66) | func testCurlV3MaintenanceDefragment(cx ctlCtx) { function TestCurlV3MaintenanceHash (line 76) | func TestCurlV3MaintenanceHash(t *testing.T) { function testCurlV3MaintenanceHash (line 80) | func testCurlV3MaintenanceHash(cx ctlCtx) { function TestCurlV3MaintenanceHashKV (line 97) | func TestCurlV3MaintenanceHashKV(t *testing.T) { function testCurlV3MaintenanceHashKV (line 101) | func testCurlV3MaintenanceHashKV(cx ctlCtx) { function TestCurlV3MaintenanceSnapshot (line 118) | func TestCurlV3MaintenanceSnapshot(t *testing.T) { function testCurlV3MaintenanceSnapshot (line 122) | func testCurlV3MaintenanceSnapshot(cx ctlCtx) { function TestCurlV3MaintenanceMoveleader (line 132) | func TestCurlV3MaintenanceMoveleader(t *testing.T) { function testCurlV3MaintenanceMoveleader (line 136) | func testCurlV3MaintenanceMoveleader(cx ctlCtx) { function TestCurlV3MaintenanceDowngrade (line 146) | func TestCurlV3MaintenanceDowngrade(t *testing.T) { function testCurlV3MaintenanceDowngrade (line 150) | func testCurlV3MaintenanceDowngrade(cx ctlCtx) { FILE: tests/e2e/v3_curl_maxstream_test.go function TestCurlV3_MaxStreams_BelowLimit_NoTLS_Small (line 37) | func TestCurlV3_MaxStreams_BelowLimit_NoTLS_Small(t *testing.T) { function TestCurlV3_MaxStreams_BelowLimit_NoTLS_Medium (line 41) | func TestCurlV3_MaxStreams_BelowLimit_NoTLS_Medium(t *testing.T) { function TestCurlV3_MaxStreamsNoTLS_BelowLimit_Large (line 45) | func TestCurlV3_MaxStreamsNoTLS_BelowLimit_Large(t *testing.T) { function TestCurlV3_MaxStreams_ReachLimit_NoTLS_Small (line 52) | func TestCurlV3_MaxStreams_ReachLimit_NoTLS_Small(t *testing.T) { function TestCurlV3_MaxStreams_ReachLimit_NoTLS_Medium (line 56) | func TestCurlV3_MaxStreams_ReachLimit_NoTLS_Medium(t *testing.T) { function TestCurlV3_MaxStreams_BelowLimit_TLS_Small (line 61) | func TestCurlV3_MaxStreams_BelowLimit_TLS_Small(t *testing.T) { function TestCurlV3_MaxStreams_BelowLimit_TLS_Medium (line 65) | func TestCurlV3_MaxStreams_BelowLimit_TLS_Medium(t *testing.T) { function TestCurlV3_MaxStreams_ReachLimit_TLS_Small (line 69) | func TestCurlV3_MaxStreams_ReachLimit_TLS_Small(t *testing.T) { function TestCurlV3_MaxStreams_ReachLimit_TLS_Medium (line 73) | func TestCurlV3_MaxStreams_ReachLimit_TLS_Medium(t *testing.T) { function testCurlV3MaxStream (line 77) | func testCurlV3MaxStream(t *testing.T, reachLimit bool, opts ...ctlOptio... function submitConcurrentWatch (line 139) | func submitConcurrentWatch(cx ctlCtx, number int, wgDone *sync.WaitGroup... function submitRangeAfterConcurrentWatch (line 199) | func submitRangeAfterConcurrentWatch(cx ctlCtx, expectedValue string) { function setRLimit (line 214) | func setRLimit(nofile uint64) (func() error, error) { FILE: tests/e2e/v3_curl_watch_test.go function TestCurlV3Watch (line 31) | func TestCurlV3Watch(t *testing.T) { function testCurlV3Watch (line 35) | func testCurlV3Watch(cx ctlCtx) { function TestCurlWatchIssue19509 (line 54) | func TestCurlWatchIssue19509(t *testing.T) { FILE: tests/e2e/v3_lease_no_proxy_test.go function TestLeaseRevoke_IgnoreOldLeader (line 36) | func TestLeaseRevoke_IgnoreOldLeader(t *testing.T) { function TestLeaseRevoke_ClientSwitchToOtherMember (line 48) | func TestLeaseRevoke_ClientSwitchToOtherMember(t *testing.T) { function testLeaseRevokeIssue (line 57) | func testLeaseRevokeIssue(t *testing.T, clusterSize int, connectToOneFol... function TestLeaseRevokeDuringRenew (line 169) | func TestLeaseRevokeDuringRenew(t *testing.T) { FILE: tests/e2e/watch_test.go constant watchResponsePeriod (line 40) | watchResponsePeriod = 100 * time.Millisecond constant watchTestDuration (line 41) | watchTestDuration = 5 * time.Second constant readLoadConcurrency (line 42) | readLoadConcurrency = 10 type testCase (line 45) | type testCase struct constant Kilo (line 54) | Kilo = 1000 constant Mega (line 55) | Mega = 1000 * Kilo function TestWatchDelayForPeriodicProgressNotification (line 88) | func TestWatchDelayForPeriodicProgressNotification(t *testing.T) { function TestWatchDelayForManualProgressNotification (line 114) | func TestWatchDelayForManualProgressNotification(t *testing.T) { function TestWatchDelayForEvent (line 151) | func TestWatchDelayForEvent(t *testing.T) { function validateWatchDelay (line 189) | func validateWatchDelay(t *testing.T, watch clientv3.WatchChan, maxWatch... function continuouslyExecuteGetAll (line 214) | func continuouslyExecuteGetAll(ctx context.Context, t *testing.T, g *err... function TestDeleteEventDrop_Issue18089 (line 268) | func TestDeleteEventDrop_Issue18089(t *testing.T) { function TestStartWatcherFromCompactedRevision (line 335) | func TestStartWatcherFromCompactedRevision(t *testing.T) { function testStartWatcherFromCompactedRevision (line 344) | func testStartWatcherFromCompactedRevision(t *testing.T, performCompactO... function TestResumeCompactionOnTombstone (line 494) | func TestResumeCompactionOnTombstone(t *testing.T) { FILE: tests/e2e/zap_logging_test.go function TestServerJsonLogging (line 28) | func TestServerJsonLogging(t *testing.T) { type logEntry (line 68) | type logEntry struct function TestConnectionRejectMessage (line 76) | func TestConnectionRejectMessage(t *testing.T) { FILE: tests/framework/config/client.go type ClientOption (line 28) | type ClientOption type GetOptions (line 30) | type GetOptions struct type PutOptions (line 48) | type PutOptions struct type DeleteOptions (line 53) | type DeleteOptions struct type TxnOptions (line 59) | type TxnOptions struct type CompactOption (line 63) | type CompactOption struct type DefragOption (line 68) | type DefragOption struct type LeaseOption (line 72) | type LeaseOption struct type UserAddOptions (line 76) | type UserAddOptions struct type WatchOptions (line 80) | type WatchOptions struct FILE: tests/framework/config/cluster.go type TLSConfig (line 21) | type TLSConfig constant NoTLS (line 24) | NoTLS TLSConfig = "" constant AutoTLS (line 25) | AutoTLS TLSConfig = "auto-tls" constant ManualTLS (line 26) | ManualTLS TLSConfig = "manual-tls" constant TickDuration (line 28) | TickDuration = 10 * time.Millisecond type ClusterConfig (line 31) | type ClusterConfig struct function DefaultClusterConfig (line 47) | func DefaultClusterConfig() ClusterConfig { function NewClusterConfig (line 54) | func NewClusterConfig(opts ...ClusterOption) ClusterConfig { type ClusterOption (line 62) | type ClusterOption function WithClusterConfig (line 64) | func WithClusterConfig(cfg ClusterConfig) ClusterOption { function WithClusterSize (line 68) | func WithClusterSize(size int) ClusterOption { function WithPeerTLS (line 72) | func WithPeerTLS(tls TLSConfig) ClusterOption { function WithClientTLS (line 76) | func WithClientTLS(tls TLSConfig) ClusterOption { function WithQuotaBackendBytes (line 80) | func WithQuotaBackendBytes(bytes int64) ClusterOption { function WithSnapshotCount (line 84) | func WithSnapshotCount(count uint64) ClusterOption { function WithStrictReconfigCheck (line 88) | func WithStrictReconfigCheck(strict bool) ClusterOption { FILE: tests/framework/e2e/cluster.go constant EtcdProcessBasePort (line 43) | EtcdProcessBasePort = 20000 type ClientConnType (line 45) | type ClientConnType constant ClientNonTLS (line 48) | ClientNonTLS ClientConnType = iota constant ClientTLS (line 49) | ClientTLS constant ClientTLSAndNonTLS (line 50) | ClientTLSAndNonTLS type ClientConfig (line 53) | type ClientConfig struct function NewConfigNoTLS (line 64) | func NewConfigNoTLS() *EtcdProcessClusterConfig { function NewConfigAutoTLS (line 68) | func NewConfigAutoTLS() *EtcdProcessClusterConfig { function NewConfigTLS (line 75) | func NewConfigTLS() *EtcdProcessClusterConfig { function NewConfigClientTLS (line 82) | func NewConfigClientTLS() *EtcdProcessClusterConfig { function NewConfigClientAutoTLS (line 86) | func NewConfigClientAutoTLS() *EtcdProcessClusterConfig { function NewConfigPeerTLS (line 94) | func NewConfigPeerTLS() *EtcdProcessClusterConfig { function NewConfigClientTLSCertAuth (line 100) | func NewConfigClientTLSCertAuth() *EtcdProcessClusterConfig { function NewConfigClientTLSCertAuthWithNoCN (line 108) | func NewConfigClientTLSCertAuthWithNoCN() *EtcdProcessClusterConfig { function NewConfigJWT (line 117) | func NewConfigJWT() *EtcdProcessClusterConfig { function ConfigStandalone (line 125) | func ConfigStandalone(cfg EtcdProcessClusterConfig) *EtcdProcessClusterC... type EtcdProcessCluster (line 131) | type EtcdProcessCluster struct method MinServerVersion (line 702) | func (epc *EtcdProcessCluster) MinServerVersion() (*semver.Version, er... method EndpointsGRPC (line 785) | func (epc *EtcdProcessCluster) EndpointsGRPC() []string { method EndpointsHTTP (line 789) | func (epc *EtcdProcessCluster) EndpointsHTTP() []string { method Endpoints (line 793) | func (epc *EtcdProcessCluster) Endpoints(f func(ep EtcdProcess) []stri... method CloseProc (line 800) | func (epc *EtcdProcessCluster) CloseProc(ctx context.Context, finder f... method StartNewProc (line 863) | func (epc *EtcdProcessCluster) StartNewProc(ctx context.Context, cfg *... method AddMember (line 878) | func (epc *EtcdProcessCluster) AddMember(ctx context.Context, cfg *Etc... method StartNewProcFromConfig (line 913) | func (epc *EtcdProcessCluster) StartNewProcFromConfig(ctx context.Cont... method UpdateProcOptions (line 928) | func (epc *EtcdProcessCluster) UpdateProcOptions(i int, tb testing.TB,... method Start (line 962) | func (epc *EtcdProcessCluster) Start(ctx context.Context) error { method RollingStart (line 966) | func (epc *EtcdProcessCluster) RollingStart(ctx context.Context) error { method Restart (line 970) | func (epc *EtcdProcessCluster) Restart(ctx context.Context) error { method start (line 974) | func (epc *EtcdProcessCluster) start(f func(ep EtcdProcess) error) err... method rollingStart (line 988) | func (epc *EtcdProcessCluster) rollingStart(f func(ep EtcdProcess) err... method Kill (line 1004) | func (epc *EtcdProcessCluster) Kill() (err error) { method Wait (line 1020) | func (epc *EtcdProcessCluster) Wait(ctx context.Context) error { method Stop (line 1036) | func (epc *EtcdProcessCluster) Stop() (err error) { method ConcurrentStop (line 1052) | func (epc *EtcdProcessCluster) ConcurrentStop() (err error) { method Etcdctl (line 1075) | func (epc *EtcdProcessCluster) Etcdctl(opts ...config.ClientOption) *E... method Close (line 1083) | func (epc *EtcdProcessCluster) Close() error { method WaitLeader (line 1112) | func (epc *EtcdProcessCluster) WaitLeader(tb testing.TB) int { method WaitMembersForLeader (line 1120) | func (epc *EtcdProcessCluster) WaitMembersForLeader(ctx context.Contex... method MoveLeader (line 1182) | func (epc *EtcdProcessCluster) MoveLeader(ctx context.Context, tb test... type EtcdProcessClusterConfig (line 138) | type EtcdProcessClusterConfig struct method ClientScheme (line 486) | func (cfg *EtcdProcessClusterConfig) ClientScheme() string { method PeerScheme (line 490) | func (cfg *EtcdProcessClusterConfig) PeerScheme() string { method EtcdAllServerProcessConfigs (line 494) | func (cfg *EtcdProcessClusterConfig) EtcdAllServerProcessConfigs(tb te... method SetInitialOrDiscovery (line 510) | func (cfg *EtcdProcessClusterConfig) SetInitialOrDiscovery(serverCfg *... method EtcdServerProcessConfig (line 523) | func (cfg *EtcdProcessClusterConfig) EtcdServerProcessConfig(tb testin... method binaryPath (line 676) | func (cfg *EtcdProcessClusterConfig) binaryPath(i int) string { method TLSArgs (line 743) | func (cfg *EtcdProcessClusterConfig) TLSArgs() (args []string) { function DefaultConfig (line 182) | func DefaultConfig() *EtcdProcessClusterConfig { function NewConfig (line 193) | func NewConfig(opts ...EPClusterOption) *EtcdProcessClusterConfig { type EPClusterOption (line 201) | type EPClusterOption function WithConfig (line 203) | func WithConfig(cfg *EtcdProcessClusterConfig) EPClusterOption { function WithVersion (line 207) | func WithVersion(version ClusterVersion) EPClusterOption { function WithInitialLeaderIndex (line 211) | func WithInitialLeaderIndex(i int) EPClusterOption { function WithDataDirPath (line 215) | func WithDataDirPath(path string) EPClusterOption { function WithKeepDataDir (line 219) | func WithKeepDataDir(keep bool) EPClusterOption { function WithSnapshotCount (line 223) | func WithSnapshotCount(count uint64) EPClusterOption { function WithSnapshotCatchUpEntries (line 227) | func WithSnapshotCatchUpEntries(count uint64) EPClusterOption { function WithClusterSize (line 233) | func WithClusterSize(size int) EPClusterOption { function WithBasePeerScheme (line 237) | func WithBasePeerScheme(scheme string) EPClusterOption { function WithBasePort (line 241) | func WithBasePort(port int) EPClusterOption { function WithBaseClientScheme (line 245) | func WithBaseClientScheme(scheme string) EPClusterOption { function WithClientConnType (line 249) | func WithClientConnType(clientConnType ClientConnType) EPClusterOption { function WithClientCertAuthority (line 253) | func WithClientCertAuthority(enabled bool) EPClusterOption { function WithIsPeerTLS (line 257) | func WithIsPeerTLS(isPeerTLS bool) EPClusterOption { function WithIsPeerAutoTLS (line 261) | func WithIsPeerAutoTLS(isPeerAutoTLS bool) EPClusterOption { function WithClientAutoTLS (line 265) | func WithClientAutoTLS(isClientAutoTLS bool) EPClusterOption { function WithClientRevokeCerts (line 269) | func WithClientRevokeCerts(isClientCRL bool) EPClusterOption { function WithCN (line 273) | func WithCN(cn bool) EPClusterOption { function WithQuotaBackendBytes (line 277) | func WithQuotaBackendBytes(bytes int64) EPClusterOption { function WithStrictReconfigCheck (line 281) | func WithStrictReconfigCheck(strict bool) EPClusterOption { function WithAuthTokenOpts (line 285) | func WithAuthTokenOpts(token string) EPClusterOption { function WithRollingStart (line 289) | func WithRollingStart(rolling bool) EPClusterOption { function WithDiscoveryEndpoints (line 293) | func WithDiscoveryEndpoints(endpoints []string) EPClusterOption { function WithDiscoveryToken (line 297) | func WithDiscoveryToken(token string) EPClusterOption { function WithLogLevel (line 301) | func WithLogLevel(level string) EPClusterOption { function WithCorruptCheckTime (line 305) | func WithCorruptCheckTime(time time.Duration) EPClusterOption { function WithInitialClusterToken (line 309) | func WithInitialClusterToken(token string) EPClusterOption { function WithInitialCorruptCheck (line 313) | func WithInitialCorruptCheck(enabled bool) EPClusterOption { function WithCompactHashCheckEnabled (line 319) | func WithCompactHashCheckEnabled(enabled bool) EPClusterOption { function WithCompactHashCheckTime (line 325) | func WithCompactHashCheckTime(time time.Duration) EPClusterOption { function WithGoFailEnabled (line 329) | func WithGoFailEnabled(enabled bool) EPClusterOption { function WithGoFailClientTimeout (line 333) | func WithGoFailClientTimeout(dur time.Duration) EPClusterOption { function WithLazyFSEnabled (line 337) | func WithLazyFSEnabled(enabled bool) EPClusterOption { function WithWarningUnaryRequestDuration (line 341) | func WithWarningUnaryRequestDuration(time time.Duration) EPClusterOption { function WithServerFeatureGate (line 345) | func WithServerFeatureGate(featureName string, val bool) EPClusterOption { function WithCompactionBatchLimit (line 353) | func WithCompactionBatchLimit(limit int) EPClusterOption { function WithCompactionSleepInterval (line 357) | func WithCompactionSleepInterval(time time.Duration) EPClusterOption { function WithWatchProcessNotifyInterval (line 361) | func WithWatchProcessNotifyInterval(interval time.Duration) EPClusterOpt... function WithEnvVars (line 365) | func WithEnvVars(ev map[string]string) EPClusterOption { function WithPeerProxy (line 369) | func WithPeerProxy(enabled bool) EPClusterOption { function WithClientHTTPSeparate (line 373) | func WithClientHTTPSeparate(enabled bool) EPClusterOption { function WithForceNewCluster (line 377) | func WithForceNewCluster(enabled bool) EPClusterOption { function WithMetricsURLScheme (line 381) | func WithMetricsURLScheme(scheme string) EPClusterOption { function WithCipherSuites (line 385) | func WithCipherSuites(suites []string) EPClusterOption { function WithExtensiveMetrics (line 389) | func WithExtensiveMetrics() EPClusterOption { function WithEnableDistributedTracing (line 393) | func WithEnableDistributedTracing(addr string) EPClusterOption { function NewEtcdProcessCluster (line 404) | func NewEtcdProcessCluster(ctx context.Context, tb testing.TB, opts ...E... function InitEtcdProcessCluster (line 416) | func InitEtcdProcessCluster(tb testing.TB, cfg *EtcdProcessClusterConfig... function StartEtcdProcessCluster (line 461) | func StartEtcdProcessCluster(ctx context.Context, tb testing.TB, epc *Et... function values (line 717) | func values(cfg embed.Config) map[string]string { function clientURL (line 731) | func clientURL(scheme string, port int, connType ClientConnType) string { function PatchArgs (line 952) | func PatchArgs(args []string, flag, newValue string) error { function findMemberIDByEndpoint (line 1100) | func findMemberIDByEndpoint(members []*etcdserverpb.Member, endpoint str... FILE: tests/framework/e2e/cluster_direct.go function NewEtcdProcess (line 21) | func NewEtcdProcess(tb testing.TB, cfg *EtcdServerProcessConfig) (EtcdPr... FILE: tests/framework/e2e/cluster_proxy.go type proxyEtcdProcess (line 35) | type proxyEtcdProcess struct method EndpointsHTTP (line 59) | func (p *proxyEtcdProcess) EndpointsHTTP() []string { return p.proxyV2... method EndpointsGRPC (line 60) | func (p *proxyEtcdProcess) EndpointsGRPC() []string { return p.proxyV3... method EndpointsMetrics (line 61) | func (p *proxyEtcdProcess) EndpointsMetrics() []string { method Start (line 65) | func (p *proxyEtcdProcess) Start(ctx context.Context) error { method Restart (line 72) | func (p *proxyEtcdProcess) Restart(ctx context.Context) error { method Stop (line 79) | func (p *proxyEtcdProcess) Stop() error { method Close (line 90) | func (p *proxyEtcdProcess) Close() error { method Etcdctl (line 101) | func (p *proxyEtcdProcess) Etcdctl(opts ...config.ClientOption) *Etcdc... function NewEtcdProcess (line 42) | func NewEtcdProcess(t testing.TB, cfg *EtcdServerProcessConfig) (EtcdPro... function NewProxyEtcdProcess (line 46) | func NewProxyEtcdProcess(t testing.TB, cfg *EtcdServerProcessConfig) (*p... type proxyProc (line 109) | type proxyProc struct method endpoints (line 121) | func (pp *proxyProc) endpoints() []string { return []string{pp.ep} } method start (line 123) | func (pp *proxyProc) start() error { method waitReady (line 135) | func (pp *proxyProc) waitReady(ctx context.Context, readyStr string) e... method Stop (line 140) | func (pp *proxyProc) Stop() error { method Close (line 165) | func (pp *proxyProc) Close() error { return pp.Stop() } type proxyV2Proc (line 167) | type proxyV2Proc struct function proxyListenURL (line 172) | func proxyListenURL(cfg *EtcdServerProcessConfig, portOffset int) string { function newProxyV2Proc (line 183) | func newProxyV2Proc(cfg *EtcdServerProcessConfig) *proxyV2Proc { type proxyV3Proc (line 207) | type proxyV3Proc struct method Restart (line 271) | func (v3p *proxyV3Proc) Restart(ctx context.Context) error { method Start (line 278) | func (v3p *proxyV3Proc) Start(ctx context.Context) error { function newProxyV3Proc (line 211) | func newProxyV3Proc(cfg *EtcdServerProcessConfig) *proxyV3Proc { FILE: tests/framework/e2e/cluster_test.go function TestEtcdServerProcessConfig (line 25) | func TestEtcdServerProcessConfig(t *testing.T) { FILE: tests/framework/e2e/config.go type ClusterVersion (line 27) | type ClusterVersion method String (line 36) | func (cv ClusterVersion) String() string { constant CurrentVersion (line 30) | CurrentVersion ClusterVersion = "" constant MinorityLastVersion (line 31) | MinorityLastVersion ClusterVersion = "minority-last-version" constant QuorumLastVersion (line 32) | QuorumLastVersion ClusterVersion = "quorum-last-version" constant LastVersion (line 33) | LastVersion ClusterVersion = "last-version" type ClusterContext (line 43) | type ClusterContext struct function WithHTTP2Debug (line 49) | func WithHTTP2Debug() config.ClusterOption { function WithUnixClient (line 61) | func WithUnixClient() config.ClusterOption { function WithTCPClient (line 69) | func WithTCPClient() config.ClusterOption { function ensureE2EClusterContext (line 77) | func ensureE2EClusterContext(c *config.ClusterConfig) *ClusterContext { function convertFlag (line 109) | func convertFlag(name, value string, ver *semver.Version) string { function convertFlags (line 123) | func convertFlags(args []string, ver *semver.Version) []string { FILE: tests/framework/e2e/curl.go type CURLReq (line 27) | type CURLReq struct method timeoutDuration (line 46) | func (r CURLReq) timeoutDuration() time.Duration { function CURLPrefixArgsCluster (line 57) | func CURLPrefixArgsCluster(cfg *EtcdProcessClusterConfig, member EtcdPro... function CURLPrefixArgs (line 61) | func CURLPrefixArgs(clientURL string, cfg ClientConfig, CN bool, method ... function CURLPost (line 113) | func CURLPost(clus *EtcdProcessCluster, req CURLReq) error { function CURLPut (line 119) | func CURLPut(clus *EtcdProcessCluster, req CURLReq) error { function CURLGet (line 125) | func CURLGet(clus *EtcdProcessCluster, req CURLReq) error { function CURLGetFromMember (line 130) | func CURLGetFromMember(clus *EtcdProcessCluster, member EtcdProcess, req... FILE: tests/framework/e2e/downgrade.go function DowngradeEnable (line 36) | func DowngradeEnable(t *testing.T, epc *EtcdProcessCluster, ver *semver.... function DowngradeCancel (line 56) | func DowngradeCancel(t *testing.T, epc *EtcdProcessCluster) { function ValidateDowngradeInfo (line 86) | func ValidateDowngradeInfo(t *testing.T, clus *EtcdProcessCluster, expec... function DowngradeUpgradeMembers (line 131) | func DowngradeUpgradeMembers(t *testing.T, lg *zap.Logger, clus *EtcdPro... function DowngradeUpgradeMembersByID (line 138) | func DowngradeUpgradeMembersByID(t *testing.T, lg *zap.Logger, clus *Etc... function ValidateMemberVersions (line 215) | func ValidateMemberVersions(t *testing.T, epc *EtcdProcessCluster, expec... function ValidateVersion (line 222) | func ValidateVersion(t *testing.T, cfg *EtcdProcessClusterConfig, member... function OffsetMinor (line 244) | func OffsetMinor(v *semver.Version, offset int) *semver.Version { function majorMinorVersionsEqual (line 257) | func majorMinorVersionsEqual(v1, v2 string) (bool, error) { function compareMemberVersion (line 269) | func compareMemberVersion(expect version.Versions, target version.Versio... function getMemberVersionByCurl (line 302) | func getMemberVersionByCurl(cfg *EtcdProcessClusterConfig, member EtcdPr... FILE: tests/framework/e2e/e2e.go type e2eRunner (line 34) | type e2eRunner struct method TestMain (line 40) | func (e e2eRunner) TestMain(m *testing.M) { method BeforeTest (line 49) | func (e e2eRunner) BeforeTest(tb testing.TB) { method NewCluster (line 53) | func (e e2eRunner) NewCluster(ctx context.Context, tb testing.TB, opts... function NewE2eRunner (line 36) | func NewE2eRunner() intf.TestRunner { type e2eCluster (line 103) | type e2eCluster struct method Client (line 108) | func (c *e2eCluster) Client(opts ...config.ClientOption) (intf.Client,... method Endpoints (line 113) | func (c *e2eCluster) Endpoints() []string { method Members (line 117) | func (c *e2eCluster) Members() (ms []intf.Member) { method TemplateEndpoints (line 124) | func (c *e2eCluster) TemplateEndpoints(tb testing.TB, pattern string) ... method AssertAuthority (line 135) | func (c *e2eCluster) AssertAuthority(tb testing.TB, expectAuthorityPat... type e2eClient (line 150) | type e2eClient struct type e2eMember (line 154) | type e2eMember struct method Client (line 159) | func (m e2eMember) Client() intf.Client { method Start (line 167) | func (m e2eMember) Start(ctx context.Context) error { method Stop (line 171) | func (m e2eMember) Stop() { FILE: tests/framework/e2e/etcd_process.go type EtcdProcess (line 44) | type EtcdProcess interface type LogsExpect (line 66) | type LogsExpect interface type EtcdServerProcess (line 72) | type EtcdServerProcess struct method EndpointsGRPC (line 133) | func (ep *EtcdServerProcess) EndpointsGRPC() []string { return []strin... method EndpointsHTTP (line 134) | func (ep *EtcdServerProcess) EndpointsHTTP() []string { method EndpointsMetrics (line 140) | func (ep *EtcdServerProcess) EndpointsMetrics() []string { return []st... method Etcdctl (line 142) | func (ep *EtcdServerProcess) Etcdctl(opts ...config.ClientOption) *Etc... method Start (line 150) | func (ep *EtcdServerProcess) Start(ctx context.Context) error { method Restart (line 185) | func (ep *EtcdServerProcess) Restart(ctx context.Context) error { method Stop (line 197) | func (ep *EtcdServerProcess) Stop() (err error) { method Close (line 244) | func (ep *EtcdServerProcess) Close() error { method waitReady (line 257) | func (ep *EtcdServerProcess) waitReady(ctx context.Context) error { method Config (line 266) | func (ep *EtcdServerProcess) Config() *EtcdServerProcessConfig { retur... method Logs (line 268) | func (ep *EtcdServerProcess) Logs() LogsExpect { method Kill (line 275) | func (ep *EtcdServerProcess) Kill() error { method Pause (line 283) | func (ep *EtcdServerProcess) Pause() error { method Resume (line 288) | func (ep *EtcdServerProcess) Resume() error { method Wait (line 293) | func (ep *EtcdServerProcess) Wait(ctx context.Context) error { method IsRunning (line 318) | func (ep *EtcdServerProcess) IsRunning() bool { method PeerProxy (line 347) | func (ep *EtcdServerProcess) PeerProxy() proxy.Server { method LazyFS (line 351) | func (ep *EtcdServerProcess) LazyFS() *LazyFS { method Failpoints (line 355) | func (ep *EtcdServerProcess) Failpoints() *BinaryFailpoints { type EtcdServerProcessConfig (line 81) | type EtcdServerProcessConfig struct function NewEtcdServerProcess (line 108) | func NewEtcdServerProcess(tb testing.TB, cfg *EtcdServerProcessConfig) (... function AssertProcessLogs (line 336) | func AssertProcessLogs(t *testing.T, ep EtcdProcess, expectLog string) { type BinaryFailpoints (line 359) | type BinaryFailpoints struct method SetupEnv (line 365) | func (f *BinaryFailpoints) SetupEnv(failpoint, payload string) error { method SetupHTTP (line 373) | func (f *BinaryFailpoints) SetupHTTP(ctx context.Context, failpoint, p... method DeactivateHTTP (line 405) | func (f *BinaryFailpoints) DeactivateHTTP(ctx context.Context, failpoi... method Enabled (line 437) | func (f *BinaryFailpoints) Enabled() bool { method Available (line 442) | func (f *BinaryFailpoints) Available(failpoint string) bool { function failpoints (line 454) | func failpoints(member EtcdProcess) (map[string]string, error) { function fetchFailpointsBody (line 463) | func fetchFailpointsBody(member EtcdProcess) (io.ReadCloser, error) { function parseFailpointsBody (line 484) | func parseFailpointsBody(body io.Reader) (map[string]string, error) { function setGetVersionFromBinary (line 533) | func setGetVersionFromBinary(tb testing.TB, f func(binaryPath string) (*... function CouldSetSnapshotCatchupEntries (line 541) | func CouldSetSnapshotCatchupEntries(execPath string) bool { function IsSnapshotCatchupEntriesFlagAvailable (line 551) | func IsSnapshotCatchupEntriesFlagAvailable(execPath string) bool { FILE: tests/framework/e2e/etcd_spawn.go function SpawnCmd (line 26) | func SpawnCmd(args []string, envVars map[string]string) (*expect.ExpectP... function SpawnNamedCmd (line 30) | func SpawnNamedCmd(processName string, args []string, envVars map[string... function SpawnCmdWithLogger (line 34) | func SpawnCmdWithLogger(lg *zap.Logger, args []string, envVars map[strin... FILE: tests/framework/e2e/etcdctl.go type EtcdctlV3 (line 34) | type EtcdctlV3 struct method DowngradeEnable (line 96) | func (ctl *EtcdctlV3) DowngradeEnable(ctx context.Context, version str... method DowngradeCancel (line 101) | func (ctl *EtcdctlV3) DowngradeCancel(ctx context.Context) error { method Get (line 106) | func (ctl *EtcdctlV3) Get(ctx context.Context, key string, o config.Ge... method Put (line 227) | func (ctl *EtcdctlV3) Put(ctx context.Context, key, value string, opts... method Delete (line 241) | func (ctl *EtcdctlV3) Delete(ctx context.Context, key string, o config... method Txn (line 257) | func (ctl *EtcdctlV3) Txn(ctx context.Context, compares, ifSucess, ifF... method MemberList (line 354) | func (ctl *EtcdctlV3) MemberList(ctx context.Context, serializable boo... method MemberAdd (line 364) | func (ctl *EtcdctlV3) MemberAdd(ctx context.Context, name string, peer... method MemberAddAsLearner (line 370) | func (ctl *EtcdctlV3) MemberAddAsLearner(ctx context.Context, name str... method MemberRemove (line 376) | func (ctl *EtcdctlV3) MemberRemove(ctx context.Context, id uint64) (*c... method MemberPromote (line 382) | func (ctl *EtcdctlV3) MemberPromote(ctx context.Context, id uint64) (*... method MoveLeader (line 390) | func (ctl *EtcdctlV3) MoveLeader(ctx context.Context, transfereeID uin... method cmdArgs (line 395) | func (ctl *EtcdctlV3) cmdArgs(args ...string) []string { method flags (line 403) | func (ctl *EtcdctlV3) flags() map[string]string { method Compact (line 431) | func (ctl *EtcdctlV3) Compact(ctx context.Context, rev int64, o config... method Status (line 444) | func (ctl *EtcdctlV3) Status(ctx context.Context) ([]*clientv3.StatusR... method HashKV (line 460) | func (ctl *EtcdctlV3) HashKV(ctx context.Context, rev int64) ([]*clien... method Health (line 476) | func (ctl *EtcdctlV3) Health(ctx context.Context) error { method Grant (line 487) | func (ctl *EtcdctlV3) Grant(ctx context.Context, ttl int64) (*clientv3... method TimeToLive (line 504) | func (ctl *EtcdctlV3) TimeToLive(ctx context.Context, id clientv3.Leas... method Defragment (line 524) | func (ctl *EtcdctlV3) Defragment(ctx context.Context, o config.DefragO... method Leases (line 537) | func (ctl *EtcdctlV3) Leases(ctx context.Context) (*clientv3.LeaseLeas... method KeepAliveOnce (line 553) | func (ctl *EtcdctlV3) KeepAliveOnce(ctx context.Context, id clientv3.L... method Revoke (line 569) | func (ctl *EtcdctlV3) Revoke(ctx context.Context, id clientv3.LeaseID)... method AlarmList (line 575) | func (ctl *EtcdctlV3) AlarmList(ctx context.Context) (*clientv3.AlarmR... method AlarmDisarm (line 581) | func (ctl *EtcdctlV3) AlarmDisarm(ctx context.Context, _ *clientv3.Ala... method AuthEnable (line 598) | func (ctl *EtcdctlV3) AuthEnable(ctx context.Context) error { method AuthDisable (line 610) | func (ctl *EtcdctlV3) AuthDisable(ctx context.Context) error { method AuthStatus (line 622) | func (ctl *EtcdctlV3) AuthStatus(ctx context.Context) (*clientv3.AuthS... method UserAdd (line 628) | func (ctl *EtcdctlV3) UserAdd(ctx context.Context, name, password stri... method UserGet (line 667) | func (ctl *EtcdctlV3) UserGet(ctx context.Context, name string) (*clie... method UserList (line 673) | func (ctl *EtcdctlV3) UserList(ctx context.Context) (*clientv3.AuthUse... method UserDelete (line 679) | func (ctl *EtcdctlV3) UserDelete(ctx context.Context, name string) (*c... method UserChangePass (line 685) | func (ctl *EtcdctlV3) UserChangePass(ctx context.Context, user, newPas... method UserGrantRole (line 702) | func (ctl *EtcdctlV3) UserGrantRole(ctx context.Context, user string, ... method UserRevokeRole (line 708) | func (ctl *EtcdctlV3) UserRevokeRole(ctx context.Context, user string,... method RoleAdd (line 714) | func (ctl *EtcdctlV3) RoleAdd(ctx context.Context, name string) (*clie... method RoleGrantPermission (line 720) | func (ctl *EtcdctlV3) RoleGrantPermission(ctx context.Context, name st... method RoleGet (line 727) | func (ctl *EtcdctlV3) RoleGet(ctx context.Context, role string) (*clie... method RoleList (line 733) | func (ctl *EtcdctlV3) RoleList(ctx context.Context) (*clientv3.AuthRol... method RoleRevokePermission (line 739) | func (ctl *EtcdctlV3) RoleRevokePermission(ctx context.Context, role s... method RoleDelete (line 745) | func (ctl *EtcdctlV3) RoleDelete(ctx context.Context, role string) (*c... method spawnJSONCmd (line 751) | func (ctl *EtcdctlV3) spawnJSONCmd(ctx context.Context, output any, ar... method Watch (line 765) | func (ctl *EtcdctlV3) Watch(ctx context.Context, key string, opts conf... function NewEtcdctl (line 40) | func NewEtcdctl(cfg ClientConfig, endpoints []string, opts ...config.Cli... function WithAuth (line 67) | func WithAuth(userName, password string) config.ClientOption { function WithAuthToken (line 75) | func WithAuthToken(token string) config.ClientOption { function WithEndpoints (line 82) | func WithEndpoints(endpoints []string) config.ClientOption { function WithDialTimeout (line 89) | func WithDialTimeout(tio time.Duration) config.ClientOption { function parseFieldsGetResponse (line 195) | func parseFieldsGetResponse(lines []string) (*clientv3.GetResponse, erro... function addTxnResponse (line 318) | func addTxnResponse(resp *clientv3.TxnResponse, jsonData string) { FILE: tests/framework/e2e/etcdctl_test.go function Test_addTxnResponse (line 24) | func Test_addTxnResponse(t *testing.T) { FILE: tests/framework/e2e/flags.go type binPath (line 46) | type binPath struct method LazyFSAvailable (line 54) | func (bp *binPath) LazyFSAvailable() bool { function InitFlags (line 65) | func InitFlags() { FILE: tests/framework/e2e/lazyfs.go function newLazyFS (line 28) | func newLazyFS(lg *zap.Logger, dataDir string, tmp TempDirProvider) *Laz... type TempDirProvider (line 36) | type TempDirProvider interface type LazyFS (line 40) | type LazyFS struct method Start (line 49) | func (fs *LazyFS) Start(ctx context.Context) (err error) { method configPath (line 72) | func (fs *LazyFS) configPath() string { method socketPath (line 76) | func (fs *LazyFS) socketPath() string { method config (line 80) | func (fs *LazyFS) config() []byte { method Stop (line 93) | func (fs *LazyFS) Stop() error { method ClearCache (line 105) | func (fs *LazyFS) ClearCache(ctx context.Context) error { FILE: tests/framework/e2e/metrics.go function GetMetrics (line 27) | func GetMetrics(metricsURL string) (map[string]*dto.MetricFamily, error) { FILE: tests/framework/e2e/testing.go function BeforeTest (line 23) | func BeforeTest(tb testing.TB) { FILE: tests/framework/e2e/util.go function WaitReadyExpectProc (line 31) | func WaitReadyExpectProc(ctx context.Context, exproc *expect.ExpectProce... function SpawnWithExpect (line 44) | func SpawnWithExpect(args []string, expected expect.ExpectedResponse) er... function SpawnWithExpectWithEnv (line 48) | func SpawnWithExpectWithEnv(args []string, envVars map[string]string, ex... function SpawnWithExpects (line 52) | func SpawnWithExpects(args []string, envVars map[string]string, xs ...ex... function SpawnWithExpectsContext (line 56) | func SpawnWithExpectsContext(ctx context.Context, args []string, envVars... function SpawnWithExpectLines (line 61) | func SpawnWithExpectLines(ctx context.Context, args []string, envVars ma... function RunUtilCompletion (line 92) | func RunUtilCompletion(args []string, envVars map[string]string) ([]stri... function RandomLeaseID (line 107) | func RandomLeaseID() int64 { function DataMarshal (line 111) | func DataMarshal(data any) (d string, e error) { function CloseWithTimeout (line 119) | func CloseWithTimeout(p *expect.ExpectProcess, d time.Duration) error { function setupScheme (line 133) | func setupScheme(s string, isTLS bool) string { function ToTLS (line 143) | func ToTLS(s string) string { function SkipInShortMode (line 153) | func SkipInShortMode(tb testing.TB) { function mergeEnvVariables (line 157) | func mergeEnvVariables(envVars map[string]string) []string { FILE: tests/framework/integration/bridge.go type Dialer (line 23) | type Dialer interface type Bridge (line 28) | type Bridge interface type bridge (line 39) | type bridge struct method Close (line 68) | func (b *bridge) Close() { method DropConnections (line 80) | func (b *bridge) DropConnections() { method PauseConnections (line 89) | func (b *bridge) PauseConnections() { method UnpauseConnections (line 95) | func (b *bridge) UnpauseConnections() { method serveListen (line 105) | func (b *bridge) serveListen() { method serveConn (line 146) | func (b *bridge) serveConn(bc *bridgeConn) { method Blackhole (line 187) | func (b *bridge) Blackhole() { method Unblackhole (line 193) | func (b *bridge) Unblackhole() { method ioCopy (line 204) | func (b *bridge) ioCopy(dst io.Writer, src io.Reader) (err error) { function newBridge (line 52) | func newBridge(dialer Dialer, listener net.Listener) *bridge { type bridgeConn (line 171) | type bridgeConn struct method Close (line 177) | func (bc *bridgeConn) Close() { method close (line 182) | func (bc *bridgeConn) close() { FILE: tests/framework/integration/cluster.go constant RequestWaitTimeout (line 76) | RequestWaitTimeout = 5 * time.Second constant RequestTimeout (line 77) | RequestTimeout = 20 * time.Second constant ClusterName (line 79) | ClusterName = "etcd" constant BasePort (line 80) | BasePort = 21000 constant URLScheme (line 81) | URLScheme = "unix" constant URLSchemeTLS (line 82) | URLSchemeTLS = "unixs" constant BaseGRPCPort (line 83) | BaseGRPCPort = 30000 type ClusterConfig (line 137) | type ClusterConfig struct type Cluster (line 180) | type Cluster struct method fillClusterForMembers (line 196) | func (c *Cluster) fillClusterForMembers() error { method Launch (line 215) | func (c *Cluster) Launch(t testutil.TB) { method ProtoMembers (line 240) | func (c *Cluster) ProtoMembers() []*pb.Member { method MustNewMember (line 257) | func (c *Cluster) MustNewMember(t testutil.TB) *Member { method addMember (line 296) | func (c *Cluster) addMember(t testutil.TB) types.URLs { method AddMemberByURL (line 328) | func (c *Cluster) AddMemberByURL(t testutil.TB, cc *clientv3.Client, p... method AddMember (line 343) | func (c *Cluster) AddMember(t testutil.TB) types.URLs { method RemoveMember (line 347) | func (c *Cluster) RemoveMember(t testutil.TB, cc *clientv3.Client, id ... method WaitMembersMatch (line 379) | func (c *Cluster) WaitMembersMatch(t testutil.TB, membs []*pb.Member) { method WaitLeader (line 407) | func (c *Cluster) WaitLeader(tb testing.TB) int { method WaitMembersForLeader (line 413) | func (c *Cluster) WaitMembersForLeader(tb testing.TB, membs []*Member)... method waitMembersForLeader (line 439) | func (c *Cluster) waitMembersForLeader(ctx context.Context, tb testing... method WaitNoLeader (line 487) | func (c *Cluster) WaitNoLeader() { c.WaitMembersNoLeader(c.Members) } method WaitMembersNoLeader (line 490) | func (c *Cluster) WaitMembersNoLeader(membs []*Member) { method waitVersion (line 509) | func (c *Cluster) waitVersion() { method TakeClient (line 1405) | func (c *Cluster) TakeClient(idx int) { method Terminate (line 1411) | func (c *Cluster) Terminate(t testutil.TB) { method RandClient (line 1434) | func (c *Cluster) RandClient() *clientv3.Client { method Client (line 1438) | func (c *Cluster) Client(i int) *clientv3.Client { method Endpoints (line 1442) | func (c *Cluster) Endpoints() []string { method ClusterClient (line 1450) | func (c *Cluster) ClusterClient(tb testing.TB, opts ...framecfg.Client... method newClientCfg (line 1497) | func (c *Cluster) newClientCfg() (*clientv3.Config, error) { method NewClientV3 (line 1515) | func (c *Cluster) NewClientV3(memberIndex int) (*clientv3.Client, erro... method GetLearnerMembers (line 1575) | func (c *Cluster) GetLearnerMembers() ([]*pb.Member, error) { method AddAndLaunchLearnerMember (line 1592) | func (c *Cluster) AddAndLaunchLearnerMember(t testutil.TB) { method getMembers (line 1622) | func (c *Cluster) getMembers() []*pb.Member { method waitMembersMatch (line 1659) | func (c *Cluster) waitMembersMatch(t testutil.TB) { method InitializeMemberWithResponse (line 1693) | func (c *Cluster) InitializeMemberWithResponse(t testutil.TB, m *Membe... function SchemeFromTLSInfo (line 188) | func SchemeFromTLSInfo(tls *transport.TLSInfo) string { function isMembersEqual (line 522) | func isMembersEqual(membs []*pb.Member, wmembs []*pb.Member) bool { function NewLocalListener (line 528) | func NewLocalListener(t testutil.TB) net.Listener { function NewListenerWithAddr (line 535) | func NewListenerWithAddr(t testutil.TB, addr string) net.Listener { type Member (line 544) | type Member struct method listenGRPC (line 771) | func (m *Member) listenGRPC() error { method clientScheme (line 806) | func (m *Member) clientScheme() string { method addBridge (line 821) | func (m *Member) addBridge() (Bridge, error) { method Bridge (line 842) | func (m *Member) Bridge() Bridge { method grpcAddr (line 849) | func (m *Member) grpcAddr() (network, host, port string) { method GRPCPortNumber (line 872) | func (m *Member) GRPCPortNumber() string { method ElectionTimeout (line 885) | func (m *Member) ElectionTimeout() time.Duration { method ID (line 889) | func (m *Member) ID() types.ID { return m.Server.MemberID() } method Clone (line 920) | func (m *Member) Clone(t testutil.TB) *Member { method Launch (line 953) | func (m *Member) Launch() error { method RecordedRequests (line 1115) | func (m *Member) RecordedRequests() []grpctesting.RequestInfo { method WaitOK (line 1119) | func (m *Member) WaitOK(t testutil.TB) { method WaitStarted (line 1126) | func (m *Member) WaitStarted(t testutil.TB) { method URL (line 1160) | func (m *Member) URL() string { return m.ClientURLs[0].String() } method Pause (line 1162) | func (m *Member) Pause() { method Resume (line 1167) | func (m *Member) Resume() { method Close (line 1173) | func (m *Member) Close() { method Stop (line 1220) | func (m *Member) Stop(_ testutil.TB) { method StopNotify (line 1249) | func (m *Member) StopNotify() <-chan struct{} { method Restart (line 1254) | func (m *Member) Restart(t testutil.TB) error { method Terminate (line 1292) | func (m *Member) Terminate(t testutil.TB) { method Metric (line 1316) | func (m *Member) Metric(metricName string, expectLabels ...string) (st... method InjectPartition (line 1353) | func (m *Member) InjectPartition(t testutil.TB, others ...*Member) { method RecoverPartition (line 1362) | func (m *Member) RecoverPartition(t testutil.TB, others ...*Member) { method ReadyNotify (line 1370) | func (m *Member) ReadyNotify() <-chan struct{} { type MemberConfig (line 586) | type MemberConfig struct function MustNewMember (line 620) | func MustNewMember(t testutil.TB, mcfg MemberConfig) *Member { function memberLogger (line 751) | func memberLogger(t testutil.TB, name string) (*zap.Logger, *testutils.L... type dialer (line 876) | type dialer struct method Dial (line 881) | func (d dialer) Dial() (net.Conn, error) { function NewClientV3 (line 892) | func NewClientV3(m *Member) (*clientv3.Client, error) { function WaitClientV3 (line 1139) | func WaitClientV3(t testutil.TB, kv clientv3.KV) { function WaitClientV3WithKey (line 1143) | func WaitClientV3WithKey(t testutil.TB, kv clientv3.KV, key string) { function CheckLeaderTransition (line 1240) | func CheckLeaderTransition(m *Member, oldLead uint64) uint64 { type SortableMemberSliceByPeerURLs (line 1374) | type SortableMemberSliceByPeerURLs method Len (line 1376) | func (p SortableMemberSliceByPeerURLs) Len() int { return len(p) } method Less (line 1377) | func (p SortableMemberSliceByPeerURLs) Less(i, j int) bool { method Swap (line 1380) | func (p SortableMemberSliceByPeerURLs) Swap(i, j int) { p[i], p[j] = p... function NewCluster (line 1384) | func NewCluster(t testutil.TB, cfg *ClusterConfig) *Cluster { function WithAuth (line 1468) | func WithAuth(userName, password string) framecfg.ClientOption { function WithAuthToken (line 1476) | func WithAuthToken(token string) framecfg.ClientOption { function WithEndpoints (line 1483) | func WithEndpoints(endpoints []string) framecfg.ClientOption { function WithDialTimeout (line 1490) | func WithDialTimeout(tio time.Duration) framecfg.ClientOption { function makeClients (line 1519) | func makeClients(t testutil.TB, clus *Cluster, clients *[]*clientv3.Clie... function MakeSingleNodeClients (line 1536) | func MakeSingleNodeClients(t testutil.TB, clus *Cluster, clients *[]*cli... function MakeMultiNodeClients (line 1542) | func MakeMultiNodeClients(t testutil.TB, clus *Cluster, clients *[]*clie... function CloseClients (line 1547) | func CloseClients(t testutil.TB, clients []*clientv3.Client) { type GRPCAPI (line 1555) | type GRPCAPI struct type SortableProtoMemberSliceByPeerURLs (line 1684) | type SortableProtoMemberSliceByPeerURLs method Len (line 1686) | func (p SortableProtoMemberSliceByPeerURLs) Len() int { return len(p) } method Less (line 1687) | func (p SortableProtoMemberSliceByPeerURLs) Less(i, j int) bool { method Swap (line 1690) | func (p SortableProtoMemberSliceByPeerURLs) Swap(i, j int) { p[i], p[j... FILE: tests/framework/integration/cluster_direct.go constant ThroughProxy (line 26) | ThroughProxy = false function ToGRPC (line 28) | func ToGRPC(c *clientv3.Client) GRPCAPI { function newClientV3 (line 41) | func newClientV3(cfg clientv3.Config) (*clientv3.Client, error) { FILE: tests/framework/integration/cluster_proxy.go constant ThroughProxy (line 29) | ThroughProxy = true constant proxyNamespace (line 36) | proxyNamespace = "proxy-namespace" type grpcClientProxy (line 38) | type grpcClientProxy struct function ToGRPC (line 47) | func ToGRPC(c *clientv3.Client) GRPCAPI { type proxyCloser (line 90) | type proxyCloser struct method Close (line 99) | func (pc *proxyCloser) Close() error { function newClientV3 (line 109) | func newClientV3(cfg clientv3.Config) (*clientv3.Client, error) { FILE: tests/framework/integration/config.go type ClusterContext (line 19) | type ClusterContext struct function WithHTTP2Debug (line 23) | func WithHTTP2Debug() config.ClusterOption { function WithUnixClient (line 27) | func WithUnixClient() config.ClusterOption { function WithTCPClient (line 35) | func WithTCPClient() config.ClusterOption { function ensureIntegrationClusterContext (line 43) | func ensureIntegrationClusterContext(c *config.ClusterConfig) *ClusterCo... FILE: tests/framework/integration/integration.go type integrationRunner (line 34) | type integrationRunner struct method TestMain (line 40) | func (e integrationRunner) TestMain(m *testing.M) { method BeforeTest (line 44) | func (e integrationRunner) BeforeTest(tb testing.TB) { method NewCluster (line 48) | func (e integrationRunner) NewCluster(ctx context.Context, tb testing.... function NewIntegrationRunner (line 36) | func NewIntegrationRunner() intf.TestRunner { function tlsInfo (line 81) | func tlsInfo(tb testing.TB, cfg config.TLSConfig) (*transport.TLSInfo, e... type integrationCluster (line 98) | type integrationCluster struct method Members (line 104) | func (c *integrationCluster) Members() (ms []intf.Member) { method TemplateEndpoints (line 111) | func (c *integrationCluster) TemplateEndpoints(tb testing.TB, pattern ... method AssertAuthority (line 131) | func (c *integrationCluster) AssertAuthority(tb testing.TB, expectedAu... method Close (line 170) | func (c *integrationCluster) Close() error { method Client (line 175) | func (c *integrationCluster) Client(opts ...config.ClientOption) (intf... function templateAuthority (line 123) | func templateAuthority(tb testing.TB, pattern string, m *Member) string { type integrationMember (line 153) | type integrationMember struct method Client (line 158) | func (m integrationMember) Client() intf.Client { method Start (line 162) | func (m integrationMember) Start(ctx context.Context) error { method Stop (line 166) | func (m integrationMember) Stop() { type integrationClient (line 183) | type integrationClient struct method Get (line 187) | func (c integrationClient) Get(ctx context.Context, key string, o conf... method Put (line 236) | func (c integrationClient) Put(ctx context.Context, key, value string,... method Delete (line 249) | func (c integrationClient) Delete(ctx context.Context, key string, o c... method Compact (line 263) | func (c integrationClient) Compact(ctx context.Context, rev int64, o c... method Status (line 276) | func (c integrationClient) Status(ctx context.Context) ([]*clientv3.St... method HashKV (line 289) | func (c integrationClient) HashKV(ctx context.Context, rev int64) ([]*... method Health (line 302) | func (c integrationClient) Health(ctx context.Context) error { method Defragment (line 314) | func (c integrationClient) Defragment(ctx context.Context, o config.De... method TimeToLive (line 329) | func (c integrationClient) TimeToLive(ctx context.Context, id clientv3... method Leases (line 338) | func (c integrationClient) Leases(ctx context.Context) (*clientv3.Leas... method KeepAliveOnce (line 342) | func (c integrationClient) KeepAliveOnce(ctx context.Context, id clien... method Revoke (line 346) | func (c integrationClient) Revoke(ctx context.Context, id clientv3.Lea... method AuthEnable (line 350) | func (c integrationClient) AuthEnable(ctx context.Context) error { method AuthDisable (line 355) | func (c integrationClient) AuthDisable(ctx context.Context) error { method AuthStatus (line 360) | func (c integrationClient) AuthStatus(ctx context.Context) (*clientv3.... method UserAdd (line 364) | func (c integrationClient) UserAdd(ctx context.Context, name, password... method UserGet (line 370) | func (c integrationClient) UserGet(ctx context.Context, name string) (... method UserList (line 374) | func (c integrationClient) UserList(ctx context.Context) (*clientv3.Au... method UserDelete (line 378) | func (c integrationClient) UserDelete(ctx context.Context, name string... method UserChangePass (line 382) | func (c integrationClient) UserChangePass(ctx context.Context, user, n... method UserGrantRole (line 387) | func (c integrationClient) UserGrantRole(ctx context.Context, user str... method UserRevokeRole (line 391) | func (c integrationClient) UserRevokeRole(ctx context.Context, user st... method RoleAdd (line 395) | func (c integrationClient) RoleAdd(ctx context.Context, name string) (... method RoleGrantPermission (line 399) | func (c integrationClient) RoleGrantPermission(ctx context.Context, na... method RoleGet (line 403) | func (c integrationClient) RoleGet(ctx context.Context, role string) (... method RoleList (line 407) | func (c integrationClient) RoleList(ctx context.Context) (*clientv3.Au... method RoleRevokePermission (line 411) | func (c integrationClient) RoleRevokePermission(ctx context.Context, r... method RoleDelete (line 415) | func (c integrationClient) RoleDelete(ctx context.Context, role string... method Txn (line 419) | func (c integrationClient) Txn(ctx context.Context, compares, ifSucess... method Watch (line 459) | func (c integrationClient) Watch(ctx context.Context, key string, opts... method MemberAdd (line 474) | func (c integrationClient) MemberAdd(ctx context.Context, _ string, pe... method MemberAddAsLearner (line 478) | func (c integrationClient) MemberAddAsLearner(ctx context.Context, _ s... method MemberRemove (line 482) | func (c integrationClient) MemberRemove(ctx context.Context, id uint64... method MemberList (line 486) | func (c integrationClient) MemberList(ctx context.Context, serializabl... function getOps (line 442) | func getOps(ss []string) []clientv3.Op { FILE: tests/framework/integration/testing.go type testOptions (line 36) | type testOptions struct type failpoint (line 42) | type failpoint struct function newTestOptions (line 47) | func newTestOptions(opts ...TestOption) *testOptions { type TestOption (line 55) | type TestOption function WithoutGoLeakDetection (line 58) | func WithoutGoLeakDetection() TestOption { function WithoutSkipInShort (line 62) | func WithoutSkipInShort() TestOption { function WithFailpoint (line 67) | func WithFailpoint(name, payload string) TestOption { function BeforeTestExternal (line 75) | func BeforeTestExternal(t testutil.TB) { function SkipIfNoGoFail (line 79) | func SkipIfNoGoFail(t testutil.TB) { function BeforeTest (line 85) | func BeforeTest(t testutil.TB, opts ...TestOption) { function assertInTestContext (line 130) | func assertInTestContext(t testutil.TB) { function NewEmbedConfig (line 136) | func NewEmbedConfig(tb testing.TB, name string) *embed.Config { function NewClient (line 145) | func NewClient(tb testing.TB, cfg clientv3.Config) (*clientv3.Client, er... FILE: tests/framework/interfaces/interface.go type TestRunner (line 25) | type TestRunner interface type Cluster (line 31) | type Cluster interface type Member (line 39) | type Member interface type Client (line 45) | type Client interface type TemplateEndpoints (line 89) | type TemplateEndpoints interface type AssertAuthority (line 93) | type AssertAuthority interface FILE: tests/framework/testutils/execute.go function ExecuteWithTimeout (line 26) | func ExecuteWithTimeout(t *testing.T, timeout time.Duration, f func()) { function ExecuteUntil (line 32) | func ExecuteUntil(ctx context.Context, t *testing.T, f func()) { FILE: tests/framework/testutils/helpters.go type KV (line 25) | type KV struct function KeysFromGetResponse (line 29) | func KeysFromGetResponse(resp *clientv3.GetResponse) (kvs []string) { function KeyValuesFromGetResponse (line 36) | func KeyValuesFromGetResponse(resp *clientv3.GetResponse) (kvs []KV) { function KeyValuesFromWatchResponse (line 43) | func KeyValuesFromWatchResponse(resp clientv3.WatchResponse) (kvs []KV) { function KeyValuesFromWatchChan (line 50) | func KeyValuesFromWatchChan(wch clientv3.WatchChan, wantedLen int, timeo... function MustClient (line 66) | func MustClient(c intf.Client, err error) intf.Client { FILE: tests/framework/testutils/log_observer.go type LogObserver (line 29) | type LogObserver struct method Expect (line 50) | func (logOb *LogObserver) Expect(ctx context.Context, s string, count ... method ExpectFunc (line 55) | func (logOb *LogObserver) ExpectFunc(ctx context.Context, filter func(... method syncLogs (line 92) | func (logOb *LogObserver) syncLogs() []zapobserver.LoggedEntry { function NewLogObserver (line 38) | func NewLogObserver(level zapcore.LevelEnabler) (zapcore.Core, *LogObser... FILE: tests/framework/testutils/log_observer_test.go function TestLogObserver_Timeout (line 29) | func TestLogObserver_Timeout(t *testing.T) { function TestLogObserver_Expect (line 43) | func TestLogObserver_Expect(t *testing.T) { FILE: tests/framework/testutils/path.go function MustAbsPath (line 19) | func MustAbsPath(path string) string { FILE: tests/framework/unit/unit.go type unitRunner (line 29) | type unitRunner struct method TestMain (line 37) | func (e unitRunner) TestMain(m *testing.M) { method BeforeTest (line 45) | func (e unitRunner) BeforeTest(tb testing.TB) { method NewCluster (line 48) | func (e unitRunner) NewCluster(ctx context.Context, tb testing.TB, opt... function NewUnitRunner (line 33) | func NewUnitRunner() intf.TestRunner { FILE: tests/integration/cache_test.go function TestCacheWithoutPrefixWatch (line 34) | func TestCacheWithoutPrefixWatch(t *testing.T) { function TestWatch (line 51) | func TestWatch(t *testing.T) { function testWatch (line 60) | func testWatch(t *testing.T, kv clientv3.KV, watcher Watcher) { function TestCacheWithPrefixWatch (line 377) | func TestCacheWithPrefixWatch(t *testing.T) { function TestCacheWatchPrefixProgressNotify (line 489) | func TestCacheWatchPrefixProgressNotify(t *testing.T) { function TestCacheWithoutPrefixGet (line 547) | func TestCacheWithoutPrefixGet(t *testing.T) { function TestGet (line 579) | func TestGet(t *testing.T) { function testGet (line 590) | func testGet(t *testing.T, kv clientv3.KV, getReader func() Getter, init... type getTestCase (line 723) | type getTestCase struct function TestCacheWithPrefixGetInScope (line 864) | func TestCacheWithPrefixGetInScope(t *testing.T) { function TestWithPrefixGet (line 883) | func TestWithPrefixGet(t *testing.T) { function testWithPrefixGet (line 892) | func testWithPrefixGet(t *testing.T, cli *clientv3.Client, getReader fun... function TestCacheWithPrefixGetOutOfScope (line 999) | func TestCacheWithPrefixGetOutOfScope(t *testing.T) { function TestCacheLaggingWatcher (line 1052) | func TestCacheLaggingWatcher(t *testing.T) { function TestCacheUnsupportedWatchOptions (line 1139) | func TestCacheUnsupportedWatchOptions(t *testing.T) { function TestCacheUnsupportedGetOptions (line 1186) | func TestCacheUnsupportedGetOptions(t *testing.T) { function generateEvents (line 1227) | func generateEvents(t *testing.T, client *clientv3.Client, prefix string... type Watcher (line 1237) | type Watcher interface type Getter (line 1241) | type Getter interface function collectAndAssertAtomicEvents (line 1245) | func collectAndAssertAtomicEvents(t *testing.T, watch clientv3.WatchChan... function applyEvents (line 1273) | func applyEvents(ctx context.Context, t *testing.T, kv clientv3.KV, evs ... function batchEventsByRevision (line 1281) | func batchEventsByRevision(events []*clientv3.Event) [][]*clientv3.Event { function applyEventBatch (line 1297) | func applyEventBatch(ctx context.Context, t *testing.T, kv clientv3.KV, ... function filterEvents (line 1316) | func filterEvents(evs []*clientv3.Event, pred func(int64) bool) []*clien... function revLessThan (line 1326) | func revLessThan(n int64) func(int64) bool { return func(r int64) bo... function revGreaterEqual (line 1327) | func revGreaterEqual(n int64) func(int64) bool { return func(r int64) bo... FILE: tests/integration/clientv3/cluster_test.go function TestMemberList (line 32) | func TestMemberList(t *testing.T) { function TestMemberAdd (line 50) | func TestMemberAdd(t *testing.T) { function TestMemberAddWithExistingURLs (line 69) | func TestMemberAddWithExistingURLs(t *testing.T) { function TestMemberRemove (line 93) | func TestMemberRemove(t *testing.T) { function TestMemberUpdate (line 131) | func TestMemberUpdate(t *testing.T) { function TestMemberAddUpdateWrongURLs (line 159) | func TestMemberAddUpdateWrongURLs(t *testing.T) { function TestMemberAddForLearner (line 192) | func TestMemberAddForLearner(t *testing.T) { function TestMemberPromote (line 221) | func TestMemberPromote(t *testing.T) { function TestMemberPromoteMemberNotLearner (line 297) | func TestMemberPromoteMemberNotLearner(t *testing.T) { function TestMemberPromoteMemberNotExist (line 333) | func TestMemberPromoteMemberNotExist(t *testing.T) { function TestMaxLearnerInCluster (line 382) | func TestMaxLearnerInCluster(t *testing.T) { FILE: tests/integration/clientv3/concurrency/election_test.go function TestResumeElection (line 31) | func TestResumeElection(t *testing.T) { FILE: tests/integration/clientv3/concurrency/example_election_test.go function mockElectionCampaign (line 28) | func mockElectionCampaign() { function ExampleElection_Campaign (line 33) | func ExampleElection_Campaign() { FILE: tests/integration/clientv3/concurrency/example_mutex_test.go function mockMutexTryLock (line 27) | func mockMutexTryLock() { function ExampleMutex_TryLock (line 34) | func ExampleMutex_TryLock() { function mockMutexLock (line 89) | func mockMutexLock() { function ExampleMutex_Lock (line 95) | func ExampleMutex_Lock() { FILE: tests/integration/clientv3/concurrency/example_stm_test.go function mockSTMApply (line 28) | func mockSTMApply() { function ExampleSTM_apply (line 34) | func ExampleSTM_apply() { FILE: tests/integration/clientv3/concurrency/main_test.go function exampleEndpoints (line 27) | func exampleEndpoints() []string { return lazyCluster.EndpointsGRPC() } function forUnitTestsRunInMockedContext (line 29) | func forUnitTestsRunInMockedContext(_mocking func(), example func()) { function TestMain (line 35) | func TestMain(m *testing.M) { FILE: tests/integration/clientv3/concurrency/mutex_test.go function TestMutexLockSessionExpired (line 28) | func TestMutexLockSessionExpired(t *testing.T) { function TestMutexUnlock (line 63) | func TestMutexUnlock(t *testing.T) { FILE: tests/integration/clientv3/concurrency/session_test.go function TestSessionOptions (line 30) | func TestSessionOptions(t *testing.T) { function TestSessionTTLOptions (line 49) | func TestSessionTTLOptions(t *testing.T) { function TestSessionCtx (line 76) | func TestSessionCtx(t *testing.T) { FILE: tests/integration/clientv3/connectivity/black_hole_test.go function TestBalancerUnderBlackholeKeepAliveWatch (line 36) | func TestBalancerUnderBlackholeKeepAliveWatch(t *testing.T) { function TestBalancerUnderBlackholeNoKeepAlivePut (line 107) | func TestBalancerUnderBlackholeNoKeepAlivePut(t *testing.T) { function TestBalancerUnderBlackholeNoKeepAliveDelete (line 117) | func TestBalancerUnderBlackholeNoKeepAliveDelete(t *testing.T) { function TestBalancerUnderBlackholeNoKeepAliveTxn (line 127) | func TestBalancerUnderBlackholeNoKeepAliveTxn(t *testing.T) { function TestBalancerUnderBlackholeNoKeepAliveLinearizableGet (line 140) | func TestBalancerUnderBlackholeNoKeepAliveLinearizableGet(t *testing.T) { function TestBalancerUnderBlackholeNoKeepAliveSerializableGet (line 150) | func TestBalancerUnderBlackholeNoKeepAliveSerializableGet(t *testing.T) { function testBalancerUnderBlackholeNoKeepAlive (line 162) | func testBalancerUnderBlackholeNoKeepAlive(t *testing.T, op func(*client... FILE: tests/integration/clientv3/connectivity/dial_test.go function TestDialTLSExpired (line 51) | func TestDialTLSExpired(t *testing.T) { function TestDialTLSNoConfig (line 69) | func TestDialTLSNoConfig(t *testing.T) { function TestDialSetEndpointsBeforeFail (line 88) | func TestDialSetEndpointsBeforeFail(t *testing.T) { function TestDialSetEndpointsAfterFail (line 92) | func TestDialSetEndpointsAfterFail(t *testing.T) { function testDialSetEndpoints (line 97) | func testDialSetEndpoints(t *testing.T, setBefore bool) { function TestSwitchSetEndpoints (line 136) | func TestSwitchSetEndpoints(t *testing.T) { function TestRejectOldCluster (line 155) | func TestRejectOldCluster(t *testing.T) { function TestDialForeignEndpoint (line 173) | func TestDialForeignEndpoint(t *testing.T) { function TestSetEndpointAndPut (line 193) | func TestSetEndpointAndPut(t *testing.T) { FILE: tests/integration/clientv3/connectivity/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: tests/integration/clientv3/connectivity/network_partition_test.go function isErrorExpected (line 36) | func isErrorExpected(err error) bool { function TestBalancerUnderNetworkPartitionPut (line 44) | func TestBalancerUnderNetworkPartitionPut(t *testing.T) { function TestBalancerUnderNetworkPartitionDelete (line 54) | func TestBalancerUnderNetworkPartitionDelete(t *testing.T) { function TestBalancerUnderNetworkPartitionTxn (line 64) | func TestBalancerUnderNetworkPartitionTxn(t *testing.T) { function TestBalancerUnderNetworkPartitionLinearizableGetWithLongTimeout (line 80) | func TestBalancerUnderNetworkPartitionLinearizableGetWithLongTimeout(t *... function TestBalancerUnderNetworkPartitionLinearizableGetWithShortTimeout (line 93) | func TestBalancerUnderNetworkPartitionLinearizableGetWithShortTimeout(t ... function TestBalancerUnderNetworkPartitionSerializableGet (line 103) | func TestBalancerUnderNetworkPartitionSerializableGet(t *testing.T) { function testBalancerUnderNetworkPartition (line 110) | func testBalancerUnderNetworkPartition(t *testing.T, op func(*clientv3.C... function TestBalancerUnderNetworkPartitionLinearizableGetLeaderElection (line 162) | func TestBalancerUnderNetworkPartitionLinearizableGetLeaderElection(t *t... function TestBalancerUnderNetworkPartitionWatchLeader (line 201) | func TestBalancerUnderNetworkPartitionWatchLeader(t *testing.T) { function TestBalancerUnderNetworkPartitionWatchFollower (line 205) | func TestBalancerUnderNetworkPartitionWatchFollower(t *testing.T) { function testBalancerUnderNetworkPartitionWatch (line 211) | func testBalancerUnderNetworkPartitionWatch(t *testing.T, isolateLeader ... function TestDropReadUnderNetworkPartition (line 266) | func TestDropReadUnderNetworkPartition(t *testing.T) { FILE: tests/integration/clientv3/connectivity/server_shutdown_test.go function TestBalancerUnderServerShutdownWatch (line 35) | func TestBalancerUnderServerShutdownWatch(t *testing.T) { function TestBalancerUnderServerShutdownPut (line 116) | func TestBalancerUnderServerShutdownPut(t *testing.T) { function TestBalancerUnderServerShutdownDelete (line 123) | func TestBalancerUnderServerShutdownDelete(t *testing.T) { function TestBalancerUnderServerShutdownTxn (line 130) | func TestBalancerUnderServerShutdownTxn(t *testing.T) { function testBalancerUnderServerShutdownMutable (line 143) | func testBalancerUnderServerShutdownMutable(t *testing.T, op func(*clien... function TestBalancerUnderServerShutdownGetLinearizable (line 179) | func TestBalancerUnderServerShutdownGetLinearizable(t *testing.T) { function TestBalancerUnderServerShutdownGetSerializable (line 186) | func TestBalancerUnderServerShutdownGetSerializable(t *testing.T) { function testBalancerUnderServerShutdownImmutable (line 196) | func testBalancerUnderServerShutdownImmutable(t *testing.T, op func(*cli... function TestBalancerUnderServerStopInflightLinearizableGetOnRestart (line 233) | func TestBalancerUnderServerStopInflightLinearizableGetOnRestart(t *test... function TestBalancerUnderServerStopInflightSerializableGetOnRestart (line 247) | func TestBalancerUnderServerStopInflightSerializableGetOnRestart(t *test... type pinTestOpt (line 261) | type pinTestOpt struct function testBalancerUnderServerStopInflightRangeOnRestart (line 268) | func testBalancerUnderServerStopInflightRangeOnRestart(t *testing.T, lin... FILE: tests/integration/clientv3/examples/example_auth_test.go function mockAuth (line 25) | func mockAuth() { function ExampleAuth (line 30) | func ExampleAuth() { FILE: tests/integration/clientv3/examples/example_cluster_test.go function mockClusterMemberList (line 25) | func mockClusterMemberList() { function ExampleCluster_memberList (line 29) | func ExampleCluster_memberList() { function mockClusterMemberAdd (line 49) | func mockClusterMemberAdd() { function ExampleCluster_memberAdd (line 54) | func ExampleCluster_memberAdd() { function mockClusterMemberAddAsLearner (line 84) | func mockClusterMemberAddAsLearner() { function ExampleCluster_memberAddAsLearner (line 89) | func ExampleCluster_memberAddAsLearner() { function mockClusterMemberRemove (line 119) | func mockClusterMemberRemove() {} function ExampleCluster_memberRemove (line 121) | func ExampleCluster_memberRemove() { function mockClusterMemberUpdate (line 150) | func mockClusterMemberUpdate() {} function ExampleCluster_memberUpdate (line 152) | func ExampleCluster_memberUpdate() { FILE: tests/integration/clientv3/examples/example_kv_test.go function mockKVPut (line 27) | func mockKVPut() {} function ExampleKV_put (line 29) | func ExampleKV_put() { function mockKVPutErrorHandling (line 50) | func mockKVPutErrorHandling() { function ExampleKV_putErrorHandling (line 54) | func ExampleKV_putErrorHandling() { function mockKVGet (line 83) | func mockKVGet() { function ExampleKV_get (line 87) | func ExampleKV_get() { function mockKVGetWithRev (line 116) | func mockKVGetWithRev() { function ExampleKV_getWithRev (line 120) | func ExampleKV_getWithRev() { function mockKVGetSortedPrefix (line 153) | func mockKVGetSortedPrefix() { function ExampleKV_getSortedPrefix (line 159) | func ExampleKV_getSortedPrefix() { function mockKVDelete (line 195) | func mockKVDelete() { function ExampleKV_delete (line 199) | func ExampleKV_delete() { function mockKVCompact (line 231) | func mockKVCompact() {} function ExampleKV_compact (line 233) | func ExampleKV_compact() { function mockKVTxn (line 262) | func mockKVTxn() { function ExampleKV_txn (line 266) | func ExampleKV_txn() { function mockKVDo (line 309) | func mockKVDo() {} function ExampleKV_do (line 311) | func ExampleKV_do() { FILE: tests/integration/clientv3/examples/example_lease_test.go function mockLeaseGrant (line 25) | func mockLeaseGrant() { function ExampleLease_grant (line 28) | func ExampleLease_grant() { function mockLeaseRevoke (line 54) | func mockLeaseRevoke() { function ExampleLease_revoke (line 58) | func ExampleLease_revoke() { function mockLeaseKeepAlive (line 94) | func mockLeaseKeepAlive() { function ExampleLease_keepAlive (line 98) | func ExampleLease_keepAlive() { function mockLeaseKeepAliveOnce (line 135) | func mockLeaseKeepAliveOnce() { function ExampleLease_keepAliveOnce (line 139) | func ExampleLease_keepAliveOnce() { FILE: tests/integration/clientv3/examples/example_maintenance_test.go function mockMaintenanceStatus (line 24) | func mockMaintenanceStatus() {} function ExampleMaintenance_status (line 26) | func ExampleMaintenance_status() { function mockMaintenanceDefragment (line 47) | func mockMaintenanceDefragment() {} function ExampleMaintenance_defragment (line 49) | func ExampleMaintenance_defragment() { FILE: tests/integration/clientv3/examples/example_metrics_test.go function mockClientMetrics (line 34) | func mockClientMetrics() { function ExampleClient_metrics (line 38) | func ExampleClient_metrics() { FILE: tests/integration/clientv3/examples/example_test.go function mockConfigInsecure (line 25) | func mockConfigInsecure() {} function ExampleConfig_insecure (line 27) | func ExampleConfig_insecure() { function mockConfigWithTLS (line 49) | func mockConfigWithTLS() {} function ExampleConfig_withTLS (line 51) | func ExampleConfig_withTLS() { FILE: tests/integration/clientv3/examples/example_watch_test.go function mockWatcherWatch (line 26) | func mockWatcherWatch() { function ExampleWatcher_watch (line 30) | func ExampleWatcher_watch() { function mockWatcherWatchWithPrefix (line 51) | func mockWatcherWatchWithPrefix() { function ExampleWatcher_watchWithPrefix (line 55) | func ExampleWatcher_watchWithPrefix() { function mockWatcherWatchWithRange (line 76) | func mockWatcherWatchWithRange() { function ExampleWatcher_watchWithRange (line 82) | func ExampleWatcher_watchWithRange() { function mockWatcherWatchWithProgressNotify (line 124) | func mockWatcherWatchWithProgressNotify() { function ExampleWatcher_watchWithProgressNotify (line 128) | func ExampleWatcher_watchWithProgressNotify() { FILE: tests/integration/clientv3/examples/main_test.go constant dialTimeout (line 29) | dialTimeout = 5 * time.Second constant requestTimeout (line 30) | requestTimeout = 10 * time.Second function exampleEndpoints (line 40) | func exampleEndpoints() []string { return lazyCluster.EndpointsGRPC() } function forUnitTestsRunInMockedContext (line 42) | func forUnitTestsRunInMockedContext(_ func(), example func()) { function TestMain (line 48) | func TestMain(m *testing.M) { FILE: tests/integration/clientv3/experimental/recipes/v3_barrier_test.go function TestBarrierSingleNode (line 28) | func TestBarrierSingleNode(t *testing.T) { function TestBarrierMultiNode (line 35) | func TestBarrierMultiNode(t *testing.T) { function testBarrier (line 42) | func testBarrier(t *testing.T, waiters int, chooseClient func() *clientv... function TestBarrierWaitNonexistentKey (line 87) | func TestBarrierWaitNonexistentKey(t *testing.T) { FILE: tests/integration/clientv3/experimental/recipes/v3_double_barrier_test.go function TestDoubleBarrier (line 32) | func TestDoubleBarrier(t *testing.T) { function TestDoubleBarrierTooManyClients (line 104) | func TestDoubleBarrierTooManyClients(t *testing.T) { function TestDoubleBarrierFailover (line 166) | func TestDoubleBarrierFailover(t *testing.T) { FILE: tests/integration/clientv3/experimental/recipes/v3_lock_test.go function TestMutexLockSingleNode (line 35) | func TestMutexLockSingleNode(t *testing.T) { function TestMutexLockMultiNode (line 46) | func TestMutexLockMultiNode(t *testing.T) { function testMutexLock (line 57) | func testMutexLock(t *testing.T, waiters int, chooseClient func() *clien... function TestMutexTryLockSingleNode (line 102) | func TestMutexTryLockSingleNode(t *testing.T) { function TestMutexTryLockMultiNode (line 112) | func TestMutexTryLockMultiNode(t *testing.T) { function testMutexTryLock (line 122) | func testMutexTryLock(t *testing.T, lockers int, chooseClient func() *cl... function TestMutexSessionRelock (line 174) | func TestMutexSessionRelock(t *testing.T) { function TestMutexWaitsOnCurrentHolder (line 194) | func TestMutexWaitsOnCurrentHolder(t *testing.T) { function BenchmarkMutex4Waiters (line 290) | func BenchmarkMutex4Waiters(b *testing.B) { function TestRWMutexSingleNode (line 300) | func TestRWMutexSingleNode(t *testing.T) { function TestRWMutexMultiNode (line 307) | func TestRWMutexMultiNode(t *testing.T) { function testRWMutex (line 314) | func testRWMutex(t *testing.T, waiters int, chooseClient func() *clientv... FILE: tests/integration/clientv3/experimental/recipes/v3_queue_test.go constant manyQueueClients (line 30) | manyQueueClients = 3 constant queueItemsPerClient (line 31) | queueItemsPerClient = 2 function TestQueueOneReaderOneWriter (line 35) | func TestQueueOneReaderOneWriter(t *testing.T) { function TestQueueManyReaderOneWriter (line 67) | func TestQueueManyReaderOneWriter(t *testing.T) { function TestQueueOneReaderManyWriter (line 71) | func TestQueueOneReaderManyWriter(t *testing.T) { function TestQueueManyReaderManyWriter (line 75) | func TestQueueManyReaderManyWriter(t *testing.T) { function BenchmarkQueue (line 80) | func BenchmarkQueue(b *testing.B) { function TestPrQueueOneReaderOneWriter (line 92) | func TestPrQueueOneReaderOneWriter(t *testing.T) { function TestPrQueueManyReaderManyWriter (line 119) | func TestPrQueueManyReaderManyWriter(t *testing.T) { function BenchmarkPrQueueOneReaderOneWriter (line 130) | func BenchmarkPrQueueOneReaderOneWriter(b *testing.B) { function testQueueNReaderMWriter (line 143) | func testQueueNReaderMWriter(t *testing.T, n int, m int) { function newQueues (line 150) | func newQueues(clus *integration.Cluster, n int) (qs []testQueue) { function newPriorityQueues (line 158) | func newPriorityQueues(clus *integration.Cluster, n int) (qs []testQueue) { function testReadersWriters (line 167) | func testReadersWriters(t *testing.T, rqs []testQueue, wqs []testQueue) { function manyReaders (line 184) | func manyReaders(qs []testQueue, totalReads int, errc chan<- error) { function manyWriters (line 203) | func manyWriters(qs []testQueue, writesEach int, errc chan<- error) { type testQueue (line 217) | type testQueue interface type flatPriorityQueue (line 222) | type flatPriorityQueue struct method Enqueue (line 224) | func (q *flatPriorityQueue) Enqueue(val string) error { method Dequeue (line 229) | func (q *flatPriorityQueue) Dequeue() (string, error) { FILE: tests/integration/clientv3/kv_test.go function TestKVPutError (line 40) | func TestKVPutError(t *testing.T) { function TestKVPutWithLease (line 74) | func TestKVPutWithLease(t *testing.T) { function TestKVPutWithIgnoreValue (line 111) | func TestKVPutWithIgnoreValue(t *testing.T) { function TestKVPutWithIgnoreLease (line 140) | func TestKVPutWithIgnoreLease(t *testing.T) { function TestKVPutWithRequireLeader (line 175) | func TestKVPutWithRequireLeader(t *testing.T) { function TestKVRange (line 217) | func TestKVRange(t *testing.T) { function TestKVGetErrConnClosed (line 278) | func TestKVGetErrConnClosed(t *testing.T) { function TestKVNewAfterClose (line 305) | func TestKVNewAfterClose(t *testing.T) { function TestKVDeleteRange (line 330) | func TestKVDeleteRange(t *testing.T) { function TestKVCompactError (line 379) | func TestKVCompactError(t *testing.T) { function TestKVCompact (line 409) | func TestKVCompact(t *testing.T) { function TestKVGetRetry (line 464) | func TestKVGetRetry(t *testing.T) { function TestKVPutFailGetRetry (line 517) | func TestKVPutFailGetRetry(t *testing.T) { function TestKVGetCancel (line 557) | func TestKVGetCancel(t *testing.T) { function TestKVGetStoppedServerAndClose (line 580) | func TestKVGetStoppedServerAndClose(t *testing.T) { function TestKVPutStoppedServerAndClose (line 598) | func TestKVPutStoppedServerAndClose(t *testing.T) { function TestKVPutAtMostOnce (line 629) | func TestKVPutAtMostOnce(t *testing.T) { function TestKVLargeRequests (line 662) | func TestKVLargeRequests(t *testing.T) { function TestKVForLearner (line 753) | func TestKVForLearner(t *testing.T) { function TestBalancerSupportLearner (line 831) | func TestBalancerSupportLearner(t *testing.T) { FILE: tests/integration/clientv3/lease/lease_test.go function TestLeaseNotFoundError (line 36) | func TestLeaseNotFoundError(t *testing.T) { function TestLeaseGrant (line 48) | func TestLeaseGrant(t *testing.T) { function TestLeaseRevoke (line 70) | func TestLeaseRevoke(t *testing.T) { function TestLeaseKeepAliveOnce (line 94) | func TestLeaseKeepAliveOnce(t *testing.T) { function TestLeaseKeepAlive (line 118) | func TestLeaseKeepAlive(t *testing.T) { function TestLeaseKeepAliveSeconds (line 183) | func TestLeaseKeepAliveSeconds(t *testing.T) { function TestLeaseKeepAliveHandleFailure (line 210) | func TestLeaseKeepAliveHandleFailure(t *testing.T) { type leaseCh (line 261) | type leaseCh struct function TestLeaseKeepAliveNotFound (line 267) | func TestLeaseKeepAliveNotFound(t *testing.T) { function TestLeaseGrantErrConnClosed (line 295) | func TestLeaseGrantErrConnClosed(t *testing.T) { function TestLeaseKeepAliveFullResponseQueue (line 325) | func TestLeaseKeepAliveFullResponseQueue(t *testing.T) { function TestLeaseGrantNewAfterClose (line 359) | func TestLeaseGrantNewAfterClose(t *testing.T) { function TestLeaseRevokeNewAfterClose (line 384) | func TestLeaseRevokeNewAfterClose(t *testing.T) { function TestLeaseKeepAliveCloseAfterDisconnectRevoke (line 417) | func TestLeaseKeepAliveCloseAfterDisconnectRevoke(t *testing.T) { function TestLeaseKeepAliveInitTimeout (line 456) | func TestLeaseKeepAliveInitTimeout(t *testing.T) { function TestLeaseKeepAliveTTLTimeout (line 483) | func TestLeaseKeepAliveTTLTimeout(t *testing.T) { function TestLeaseTimeToLive (line 511) | func TestLeaseTimeToLive(t *testing.T) { function TestLeaseTimeToLiveLeaseNotFound (line 555) | func TestLeaseTimeToLiveLeaseNotFound(t *testing.T) { function TestLeaseLeases (line 580) | func TestLeaseLeases(t *testing.T) { function TestLeaseRenewLostQuorum (line 607) | func TestLeaseRenewLostQuorum(t *testing.T) { function TestLeaseKeepAliveLoopExit (line 649) | func TestLeaseKeepAliveLoopExit(t *testing.T) { function TestV3LeaseFailureOverlap (line 671) | func TestV3LeaseFailureOverlap(t *testing.T) { function TestLeaseWithRequireLeader (line 724) | func TestLeaseWithRequireLeader(t *testing.T) { function getLeaseKeepAliveMetric (line 791) | func getLeaseKeepAliveMetric(t *testing.T, member *integration.Member, g... FILE: tests/integration/clientv3/lease/leasing_test.go function TestLeasingPutGet (line 36) | func TestLeasingPutGet(t *testing.T) { function TestLeasingInterval (line 88) | func TestLeasingInterval(t *testing.T) { function TestLeasingPutInvalidateNew (line 118) | func TestLeasingPutInvalidateNew(t *testing.T) { function TestLeasingPutInvalidateExisting (line 140) | func TestLeasingPutInvalidateExisting(t *testing.T) { function TestLeasingGetNoLeaseTTL (line 165) | func TestLeasingGetNoLeaseTTL(t *testing.T) { function TestLeasingGetSerializable (line 194) | func TestLeasingGetSerializable(t *testing.T) { function TestLeasingPrevKey (line 226) | func TestLeasingPrevKey(t *testing.T) { function TestLeasingRevGet (line 248) | func TestLeasingRevGet(t *testing.T) { function TestLeasingGetWithOpts (line 277) | func TestLeasingGetWithOpts(t *testing.T) { function TestLeasingConcurrentPut (line 318) | func TestLeasingConcurrentPut(t *testing.T) { function TestLeasingDisconnectedGet (line 362) | func TestLeasingDisconnectedGet(t *testing.T) { function TestLeasingDeleteOwner (line 387) | func TestLeasingDeleteOwner(t *testing.T) { function TestLeasingDeleteNonOwner (line 413) | func TestLeasingDeleteNonOwner(t *testing.T) { function TestLeasingOverwriteResponse (line 441) | func TestLeasingOverwriteResponse(t *testing.T) { function TestLeasingOwnerPutResponse (line 470) | func TestLeasingOwnerPutResponse(t *testing.T) { function TestLeasingTxnOwnerGetRange (line 501) | func TestLeasingTxnOwnerGetRange(t *testing.T) { function TestLeasingTxnOwnerGet (line 525) | func TestLeasingTxnOwnerGet(t *testing.T) { function TestLeasingTxnOwnerDeleteRange (line 598) | func TestLeasingTxnOwnerDeleteRange(t *testing.T) { function TestLeasingTxnOwnerDelete (line 627) | func TestLeasingTxnOwnerDelete(t *testing.T) { function TestLeasingTxnOwnerIf (line 651) | func TestLeasingTxnOwnerIf(t *testing.T) { function TestLeasingTxnCancel (line 741) | func TestLeasingTxnCancel(t *testing.T) { function TestLeasingTxnNonOwnerPut (line 772) | func TestLeasingTxnNonOwnerPut(t *testing.T) { function TestLeasingTxnRandIfThenOrElse (line 838) | func TestLeasingTxnRandIfThenOrElse(t *testing.T) { function TestLeasingOwnerPutError (line 936) | func TestLeasingOwnerPutError(t *testing.T) { function TestLeasingOwnerDeleteError (line 955) | func TestLeasingOwnerDeleteError(t *testing.T) { function TestLeasingNonOwnerPutError (line 974) | func TestLeasingNonOwnerPutError(t *testing.T) { function TestLeasingOwnerDeletePrefix (line 990) | func TestLeasingOwnerDeletePrefix(t *testing.T) { function TestLeasingOwnerDeleteFrom (line 994) | func TestLeasingOwnerDeleteFrom(t *testing.T) { function testLeasingOwnerDelete (line 998) | func testLeasingOwnerDelete(t *testing.T, del clientv3.Op) { function TestLeasingDeleteRangeBounds (line 1038) | func TestLeasingDeleteRangeBounds(t *testing.T) { function TestLeasingDeleteRangeContendTxn (line 1077) | func TestLeasingDeleteRangeContendTxn(t *testing.T) { function TestLeaseDeleteRangeContendDel (line 1082) | func TestLeaseDeleteRangeContendDel(t *testing.T) { function testLeasingDeleteRangeContend (line 1087) | func testLeasingDeleteRangeContend(t *testing.T, op clientv3.Op) { function TestLeasingPutGetDeleteConcurrent (line 1142) | func TestLeasingPutGetDeleteConcurrent(t *testing.T) { function TestLeasingReconnectOwnerRevoke (line 1190) | func TestLeasingReconnectOwnerRevoke(t *testing.T) { function TestLeasingReconnectOwnerRevokeCompact (line 1250) | func TestLeasingReconnectOwnerRevokeCompact(t *testing.T) { function TestLeasingReconnectOwnerConsistency (line 1292) | func TestLeasingReconnectOwnerConsistency(t *testing.T) { function TestLeasingTxnAtomicCache (line 1357) | func TestLeasingTxnAtomicCache(t *testing.T) { function TestLeasingReconnectTxn (line 1441) | func TestLeasingReconnectTxn(t *testing.T) { function TestLeasingReconnectNonOwnerGet (line 1474) | func TestLeasingReconnectNonOwnerGet(t *testing.T) { function TestLeasingTxnRangeCmp (line 1518) | func TestLeasingTxnRangeCmp(t *testing.T) { function TestLeasingDo (line 1545) | func TestLeasingDo(t *testing.T) { function TestLeasingTxnOwnerPutBranch (line 1583) | func TestLeasingTxnOwnerPutBranch(t *testing.T) { function makePutTreeOp (line 1618) | func makePutTreeOp(pfx string, v *int, depth int) clientv3.Op { function randCmps (line 1640) | func randCmps(pfx string, dat []*clientv3.PutResponse) (cmps []clientv3.... function TestLeasingSessionExpire (line 1667) | func TestLeasingSessionExpire(t *testing.T) { function TestLeasingSessionExpireCancel (line 1699) | func TestLeasingSessionExpireCancel(t *testing.T) { function waitForLeasingExpire (line 1774) | func waitForLeasingExpire(kv clientv3.KV, lkey string) error { function waitForExpireAck (line 1788) | func waitForExpireAck(t *testing.T, kv clientv3.KV) { FILE: tests/integration/clientv3/lease/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: tests/integration/clientv3/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: tests/integration/clientv3/maintenance_test.go function TestMaintenanceHashKV (line 47) | func TestMaintenanceHashKV(t *testing.T) { function TestCompactionHash (line 78) | func TestCompactionHash(t *testing.T) { type hashTestCase (line 90) | type hashTestCase struct method Put (line 95) | func (tc hashTestCase) Put(ctx context.Context, key, value string) err... method Delete (line 100) | func (tc hashTestCase) Delete(ctx context.Context, key string) error { method HashByRev (line 105) | func (tc hashTestCase) HashByRev(ctx context.Context, rev int64) (test... method Defrag (line 110) | func (tc hashTestCase) Defrag(ctx context.Context) error { method Compact (line 115) | func (tc hashTestCase) Compact(ctx context.Context, rev int64) error { function TestMaintenanceMoveLeader (line 122) | func TestMaintenanceMoveLeader(t *testing.T) { function TestMaintenanceSnapshotCancel (line 151) | func TestMaintenanceSnapshotCancel(t *testing.T) { function TestMaintenanceSnapshotWithVersionTimeout (line 188) | func TestMaintenanceSnapshotWithVersionTimeout(t *testing.T) { function TestMaintenanceSnapshotTimeout (line 200) | func TestMaintenanceSnapshotTimeout(t *testing.T) { function testMaintenanceSnapshotTimeout (line 208) | func testMaintenanceSnapshotTimeout(t *testing.T, snapshot func(context.... function TestMaintenanceSnapshotWithVersionErrorInflight (line 254) | func TestMaintenanceSnapshotWithVersionErrorInflight(t *testing.T) { function TestMaintenanceSnapshotErrorInflight (line 266) | func TestMaintenanceSnapshotErrorInflight(t *testing.T) { function testMaintenanceSnapshotErrorInflight (line 274) | func testMaintenanceSnapshotErrorInflight(t *testing.T, snapshot func(co... function TestMaintenanceSnapshotWithVersionVersion (line 328) | func TestMaintenanceSnapshotWithVersionVersion(t *testing.T) { function TestMaintenanceSnapshotContentDigest (line 349) | func TestMaintenanceSnapshotContentDigest(t *testing.T) { function TestMaintenanceStatus (line 395) | func TestMaintenanceStatus(t *testing.T) { FILE: tests/integration/clientv3/metrics_test.go function TestV3ClientMetrics (line 40) | func TestV3ClientMetrics(t *testing.T) { function sumCountersForMetricAndLabels (line 121) | func sumCountersForMetricAndLabels(t *testing.T, url string, metricName ... function getHTTPBodyAsLines (line 150) | func getHTTPBodyAsLines(t *testing.T, url string) []string { function getHTTPBodyAsBytes (line 168) | func getHTTPBodyAsBytes(t *testing.T, url string) []byte { FILE: tests/integration/clientv3/mirror_auth_test.go function TestMirrorSync_Authenticated (line 32) | func TestMirrorSync_Authenticated(t *testing.T) { FILE: tests/integration/clientv3/mirror_test.go function TestMirrorSync (line 31) | func TestMirrorSync(t *testing.T) { function TestMirrorSyncBase (line 71) | func TestMirrorSyncBase(t *testing.T) { FILE: tests/integration/clientv3/namespace_test.go function TestNamespacePutGet (line 29) | func TestNamespacePutGet(t *testing.T) { function TestNamespaceWatch (line 53) | func TestNamespaceWatch(t *testing.T) { FILE: tests/integration/clientv3/naming/endpoints_test.go function TestEndpointManager (line 29) | func TestEndpointManager(t *testing.T) { function TestEndpointManagerAtomicity (line 85) | func TestEndpointManagerAtomicity(t *testing.T) { function TestEndpointManagerCRUD (line 120) | func TestEndpointManagerCRUD(t *testing.T) { FILE: tests/integration/clientv3/naming/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: tests/integration/clientv3/naming/resolver_test.go function testEtcdGRPCResolver (line 35) | func testEtcdGRPCResolver(t *testing.T, lbPolicy string) { function TestEtcdGrpcResolverPickFirst (line 128) | func TestEtcdGrpcResolverPickFirst(t *testing.T) { function TestEtcdGrpcResolverRoundRobin (line 136) | func TestEtcdGrpcResolverRoundRobin(t *testing.T) { function TestEtcdEndpointManager (line 143) | func TestEtcdEndpointManager(t *testing.T) { FILE: tests/integration/clientv3/ordering_kv_test.go function TestDetectKvOrderViolation (line 30) | func TestDetectKvOrderViolation(t *testing.T) { function TestDetectTxnOrderViolation (line 89) | func TestDetectTxnOrderViolation(t *testing.T) { FILE: tests/integration/clientv3/ordering_util_test.go function TestEndpointSwitchResolvesViolation (line 32) | func TestEndpointSwitchResolvesViolation(t *testing.T) { function TestUnresolvableOrderViolation (line 89) | func TestUnresolvableOrderViolation(t *testing.T) { FILE: tests/integration/clientv3/snapshot/v3_snapshot_test.go function TestSaveSnapshotFilePermissions (line 40) | func TestSaveSnapshotFilePermissions(t *testing.T) { function TestSaveSnapshotVersion (line 54) | func TestSaveSnapshotVersion(t *testing.T) { type kv (line 69) | type kv struct function newEmbedConfig (line 73) | func newEmbedConfig(t *testing.T) *embed.Config { function createSnapshotFile (line 86) | func createSnapshotFile(t *testing.T, cfg *embed.Config, kvs []kv) (vers... function newEmbedURLs (line 118) | func newEmbedURLs(n int) (urls []url.URL) { FILE: tests/integration/clientv3/txn_test.go function TestTxnError (line 32) | func TestTxnError(t *testing.T) { function TestTxnWriteFail (line 56) | func TestTxnWriteFail(t *testing.T) { function TestTxnReadRetry (line 104) | func TestTxnReadRetry(t *testing.T) { function TestTxnSuccess (line 145) | func TestTxnSuccess(t *testing.T) { function TestTxnCompareRange (line 164) | func TestTxnCompareRange(t *testing.T) { function TestTxnNested (line 186) | func TestTxnNested(t *testing.T) { FILE: tests/integration/clientv3/user_test.go function TestUserError (line 30) | func TestUserError(t *testing.T) { function TestAddUserAfterDelete (line 51) | func TestAddUserAfterDelete(t *testing.T) { function TestUserErrorAuth (line 100) | func TestUserErrorAuth(t *testing.T) { function authSetupRoot (line 134) | func authSetupRoot(t *testing.T, auth clientv3.Auth) { function TestGetTokenWithoutAuth (line 147) | func TestGetTokenWithoutAuth(t *testing.T) { FILE: tests/integration/clientv3/util.go function MustWaitPinReady (line 34) | func MustWaitPinReady(t *testing.T, cli *clientv3.Client) { function IsServerCtxTimeout (line 48) | func IsServerCtxTimeout(err error) bool { function IsClientTimeout (line 64) | func IsClientTimeout(err error) bool { function IsCanceled (line 79) | func IsCanceled(err error) bool { function IsUnavailable (line 94) | func IsUnavailable(err error) bool { function populateDataIntoCluster (line 111) | func populateDataIntoCluster(t *testing.T, cluster *integration.Cluster,... FILE: tests/integration/clientv3/watch/v3_watch_restore_test.go function MustFetchNotEmptyMetric (line 32) | func MustFetchNotEmptyMetric(tb testing.TB, member *integration.Member, ... function TestV3WatchRestoreSnapshotUnsync (line 56) | func TestV3WatchRestoreSnapshotUnsync(t *testing.T) { function expectMemberLog (line 179) | func expectMemberLog(t *testing.T, m *integration.Member, timeout time.D... FILE: tests/integration/clientv3/watch/v3_watch_test.go function TestV3WatchFromCurrentRevision (line 42) | func TestV3WatchFromCurrentRevision(t *testing.T) { function TestV3WatchFutureRevision (line 316) | func TestV3WatchFutureRevision(t *testing.T) { function TestV3WatchWrongRange (line 378) | func TestV3WatchWrongRange(t *testing.T) { function TestV3WatchCancelSynced (line 424) | func TestV3WatchCancelSynced(t *testing.T) { function TestV3WatchCancelUnsynced (line 430) | func TestV3WatchCancelUnsynced(t *testing.T) { function testV3WatchCancel (line 435) | func testV3WatchCancel(t *testing.T, startRev int64) { function TestV3WatchCurrentPutOverlap (line 494) | func TestV3WatchCurrentPutOverlap(t *testing.T) { function TestV3WatchEmptyKey (line 579) | func TestV3WatchEmptyKey(t *testing.T) { function TestV3WatchMultipleWatchersSynced (line 619) | func TestV3WatchMultipleWatchersSynced(t *testing.T) { function TestV3WatchMultipleWatchersUnsynced (line 624) | func TestV3WatchMultipleWatchersUnsynced(t *testing.T) { function testV3WatchMultipleWatchers (line 633) | func testV3WatchMultipleWatchers(t *testing.T, startRev int64) { function TestV3WatchMultipleEventsTxnSynced (line 728) | func TestV3WatchMultipleEventsTxnSynced(t *testing.T) { function TestV3WatchMultipleEventsTxnUnsynced (line 733) | func TestV3WatchMultipleEventsTxnUnsynced(t *testing.T) { function testV3WatchMultipleEventsTxn (line 739) | func testV3WatchMultipleEventsTxn(t *testing.T, startRev int64) { type eventsSortByKey (line 817) | type eventsSortByKey method Len (line 819) | func (evs eventsSortByKey) Len() int { return len(evs) } method Swap (line 820) | func (evs eventsSortByKey) Swap(i, j int) { evs[i], evs[j] = evs[j], e... method Less (line 821) | func (evs eventsSortByKey) Less(i, j int) bool { function TestV3WatchMultipleEventsPutUnsynced (line 825) | func TestV3WatchMultipleEventsPutUnsynced(t *testing.T) { function TestV3WatchProgressOnMemberRestart (line 909) | func TestV3WatchProgressOnMemberRestart(t *testing.T) { function TestV3WatchMultipleStreamsSynced (line 1012) | func TestV3WatchMultipleStreamsSynced(t *testing.T) { function TestV3WatchMultipleStreamsUnsynced (line 1017) | func TestV3WatchMultipleStreamsUnsynced(t *testing.T) { function testV3WatchMultipleStreams (line 1023) | func testV3WatchMultipleStreams(t *testing.T, startRev int64) { function waitResponse (line 1099) | func waitResponse(wc pb.Watch_WatchClient, timeout time.Duration) (bool,... function TestWatchWithProgressNotify (line 1120) | func TestWatchWithProgressNotify(t *testing.T) { function TestV3WatchClose (line 1179) | func TestV3WatchClose(t *testing.T) { function TestV3WatchWithFilter (line 1216) | func TestV3WatchWithFilter(t *testing.T) { function TestV3WatchWithPrevKV (line 1279) | func TestV3WatchWithPrevKV(t *testing.T) { function TestV3WatchCancellation (line 1348) | func TestV3WatchCancellation(t *testing.T) { function TestV3WatchCloseCancelRace (line 1388) | func TestV3WatchCloseCancelRace(t *testing.T) { function TestV3WatchProgressWaitsForSync (line 1426) | func TestV3WatchProgressWaitsForSync(t *testing.T) { function TestV3WatchProgressWaitsForSyncNoEvents (line 1492) | func TestV3WatchProgressWaitsForSyncNoEvents(t *testing.T) { function TestV3NoEventsLostOnCompact (line 1538) | func TestV3NoEventsLostOnCompact(t *testing.T) { FILE: tests/integration/clientv3/watch/watch_fragment_test.go function TestWatchFragmentDisable (line 35) | func TestWatchFragmentDisable(t *testing.T) { function TestWatchFragmentDisableWithGRPCLimit (line 45) | func TestWatchFragmentDisableWithGRPCLimit(t *testing.T) { function TestWatchFragmentEnable (line 52) | func TestWatchFragmentEnable(t *testing.T) { function TestWatchFragmentEnableWithGRPCLimit (line 60) | func TestWatchFragmentEnableWithGRPCLimit(t *testing.T) { function testWatchFragment (line 66) | func testWatchFragment(t *testing.T, fragment, exceedRecvLimit bool) { FILE: tests/integration/clientv3/watch/watch_test.go type watcherTest (line 42) | type watcherTest type watchctx (line 44) | type watchctx struct function runWatchTest (line 53) | func runWatchTest(t *testing.T, f watcherTest) { function TestWatchMultiWatcher (line 74) | func TestWatchMultiWatcher(t *testing.T) { function testWatchMultiWatcher (line 78) | func testWatchMultiWatcher(t *testing.T, wctx *watchctx) { function TestWatchRange (line 173) | func TestWatchRange(t *testing.T) { function testWatchRange (line 177) | func testWatchRange(t *testing.T, wctx *watchctx) { function TestWatchReconnRequest (line 186) | func TestWatchReconnRequest(t *testing.T) { function testWatchReconnRequest (line 190) | func testWatchReconnRequest(t *testing.T, wctx *watchctx) { function TestWatchReconnInit (line 229) | func TestWatchReconnInit(t *testing.T) { function testWatchReconnInit (line 233) | func testWatchReconnInit(t *testing.T, wctx *watchctx) { function TestWatchReconnRunning (line 243) | func TestWatchReconnRunning(t *testing.T) { function testWatchReconnRunning (line 247) | func testWatchReconnRunning(t *testing.T, wctx *watchctx) { function TestWatchCancelImmediate (line 259) | func TestWatchCancelImmediate(t *testing.T) { function testWatchCancelImmediate (line 263) | func testWatchCancelImmediate(t *testing.T, wctx *watchctx) { function TestWatchCancelInit (line 276) | func TestWatchCancelInit(t *testing.T) { function testWatchCancelInit (line 280) | func testWatchCancelInit(t *testing.T, wctx *watchctx) { function TestWatchCancelRunning (line 294) | func TestWatchCancelRunning(t *testing.T) { function testWatchCancelRunning (line 298) | func testWatchCancelRunning(t *testing.T, wctx *watchctx) { function putAndWatch (line 323) | func putAndWatch(t *testing.T, wctx *watchctx, key, val string) { function TestWatchResumeAfterDisconnect (line 339) | func TestWatchResumeAfterDisconnect(t *testing.T) { function TestWatchResumeCompacted (line 394) | func TestWatchResumeCompacted(t *testing.T) { function TestWatchCompactRevision (line 467) | func TestWatchCompactRevision(t *testing.T) { function TestWatchWithProgressNotify2 (line 504) | func TestWatchWithProgressNotify2(t *testing.T) { testWatchWithPro... function TestWatchWithProgressNotifyNoEvent (line 505) | func TestWatchWithProgressNotifyNoEvent(t *testing.T) { testWatchWithPro... function testWatchWithProgressNotify (line 507) | func testWatchWithProgressNotify(t *testing.T, watchOnPut bool) { function TestConfigurableWatchProgressNotifyInterval (line 562) | func TestConfigurableWatchProgressNotifyInterval(t *testing.T) { function TestWatchRequestProgress (line 588) | func TestWatchRequestProgress(t *testing.T) { function TestWatchEventType (line 650) | func TestWatchEventType(t *testing.T) { function TestWatchErrConnClosed (line 718) | func TestWatchErrConnClosed(t *testing.T) { function IsCanceled (line 746) | func IsCanceled(err error) bool { function TestWatchAfterClose (line 761) | func TestWatchAfterClose(t *testing.T) { function TestWatchWithRequireLeader (line 787) | func TestWatchWithRequireLeader(t *testing.T) { function TestWatchWithFilter (line 847) | func TestWatchWithFilter(t *testing.T) { function TestWatchWithCreatedNotification (line 884) | func TestWatchWithCreatedNotification(t *testing.T) { function TestWatchWithCreatedNotificationDropConn (line 904) | func TestWatchWithCreatedNotificationDropConn(t *testing.T) { function TestWatchCancelOnServer (line 931) | func TestWatchCancelOnServer(t *testing.T) { function TestWatchOverlapContextCancel (line 995) | func TestWatchOverlapContextCancel(t *testing.T) { function TestWatchOverlapDropConnContextCancel (line 1000) | func TestWatchOverlapDropConnContextCancel(t *testing.T) { function testWatchOverlapContextCancel (line 1007) | func testWatchOverlapContextCancel(t *testing.T, f func(*integration.Clu... function TestWatchCancelAndCloseClient (line 1075) | func TestWatchCancelAndCloseClient(t *testing.T) { function TestWatchStressResumeClose (line 1103) | func TestWatchStressResumeClose(t *testing.T) { function TestWatchCancelDisconnected (line 1123) | func TestWatchCancelDisconnected(t *testing.T) { function TestWatchClose (line 1141) | func TestWatchClose(t *testing.T) { function testWatchClose (line 1145) | func testWatchClose(t *testing.T, wctx *watchctx) { function TestWatch (line 1155) | func TestWatch(t *testing.T) { function collectEvents (line 1211) | func collectEvents(ctx context.Context, watch clientv3.WatchChan) (event... FILE: tests/integration/cluster_test.go function init (line 36) | func init() { function TestClusterOf1 (line 46) | func TestClusterOf1(t *testing.T) { testCluster(t, 1) } function TestClusterOf3 (line 47) | func TestClusterOf3(t *testing.T) { testCluster(t, 3) } function testCluster (line 49) | func testCluster(t *testing.T, size int) { function TestTLSClusterOf3 (line 56) | func TestTLSClusterOf3(t *testing.T) { function TestTLSClusterOf3WithSpecificUsage (line 66) | func TestTLSClusterOf3WithSpecificUsage(t *testing.T) { function TestDoubleClusterSizeOf1 (line 73) | func TestDoubleClusterSizeOf1(t *testing.T) { testDoubleClusterSize(t, 1) } function TestDoubleClusterSizeOf3 (line 74) | func TestDoubleClusterSizeOf3(t *testing.T) { testDoubleClusterSize(t, 3) } function testDoubleClusterSize (line 76) | func testDoubleClusterSize(t *testing.T, size int) { function TestDoubleTLSClusterSizeOf3 (line 87) | func TestDoubleTLSClusterSizeOf3(t *testing.T) { function TestDecreaseClusterSizeOf3 (line 103) | func TestDecreaseClusterSizeOf3(t *testing.T) { testDecreaseClusterSize(... function TestDecreaseClusterSizeOf5 (line 104) | func TestDecreaseClusterSizeOf5(t *testing.T) { testDecreaseClusterSize(... function testDecreaseClusterSize (line 106) | func testDecreaseClusterSize(t *testing.T, size int) { function TestForceNewCluster (line 128) | func TestForceNewCluster(t *testing.T) { function TestAddMemberAfterClusterFullRotation (line 172) | func TestAddMemberAfterClusterFullRotation(t *testing.T) { function TestIssue2681 (line 194) | func TestIssue2681(t *testing.T) { function TestIssue2746 (line 208) | func TestIssue2746(t *testing.T) { testIssue2746(t, 5) } function TestIssue2746WithThree (line 211) | func TestIssue2746WithThree(t *testing.T) { testIssue2746(t, 3) } function testIssue2746 (line 213) | func testIssue2746(t *testing.T, members int) { function TestIssue2904 (line 232) | func TestIssue2904(t *testing.T) { function TestIssue3699 (line 267) | func TestIssue3699(t *testing.T) { function TestRejectUnhealthyAdd (line 322) | func TestRejectUnhealthyAdd(t *testing.T) { function TestRejectUnhealthyRemove (line 358) | func TestRejectUnhealthyRemove(t *testing.T) { function TestRestartRemoved (line 397) | func TestRestartRemoved(t *testing.T) { function clusterMustProgress (line 436) | func clusterMustProgress(t *testing.T, members []*integration.Member) { function TestSpeedyTerminate (line 468) | func TestSpeedyTerminate(t *testing.T) { function TestConcurrentRemoveMember (line 492) | func TestConcurrentRemoveMember(t *testing.T) { function TestConcurrentMoveLeader (line 511) | func TestConcurrentMoveLeader(t *testing.T) { FILE: tests/integration/corrupt_test.go function TestPeriodicCheck (line 32) | func TestPeriodicCheck(t *testing.T) { function testPeriodicCheck (line 54) | func testPeriodicCheck(ctx context.Context, t *testing.T, cc *clientv3.C... function TestPeriodicCheckDetectsCorruption (line 68) | func TestPeriodicCheckDetectsCorruption(t *testing.T) { function TestCompactHashCheck (line 106) | func TestCompactHashCheck(t *testing.T) { function testCompactionHash (line 125) | func testCompactionHash(ctx context.Context, t *testing.T, cc *clientv3.... function TestCompactHashCheckDetectCorruption (line 143) | func TestCompactHashCheckDetectCorruption(t *testing.T) { function TestCompactHashCheckDetectMultipleCorruption (line 180) | func TestCompactHashCheckDetectMultipleCorruption(t *testing.T) { FILE: tests/integration/embed/embed_test.go function TestEmbedEtcd (line 49) | func TestEmbedEtcd(t *testing.T) { function TestEmbedEtcdGracefulStopSecure (line 127) | func TestEmbedEtcdGracefulStopSecure(t *testing.T) { testEmbedEtcdGrac... function TestEmbedEtcdGracefulStopInsecure (line 128) | func TestEmbedEtcdGracefulStopInsecure(t *testing.T) { testEmbedEtcdGrac... function testEmbedEtcdGracefulStop (line 132) | func testEmbedEtcdGracefulStop(t *testing.T, secure bool) { function newEmbedURLs (line 178) | func newEmbedURLs(secure bool, n int) (urls []url.URL) { function setupEmbedCfg (line 190) | func setupEmbedCfg(cfg *embed.Config, curls []url.URL, purls []url.URL) { function TestEmbedEtcdAutoCompactionRetentionRetained (line 204) | func TestEmbedEtcdAutoCompactionRetentionRetained(t *testing.T) { function TestEmbedEtcdStopDuringBootstrapping (line 220) | func TestEmbedEtcdStopDuringBootstrapping(t *testing.T) { FILE: tests/integration/lazy_cluster.go type LazyCluster (line 36) | type LazyCluster interface type lazyCluster (line 56) | type lazyCluster struct method mustLazyInit (line 78) | func (lc *lazyCluster) mustLazyInit() { method Terminate (line 91) | func (lc *lazyCluster) Terminate() { method EndpointsHTTP (line 106) | func (lc *lazyCluster) EndpointsHTTP() []string { method EndpointsGRPC (line 110) | func (lc *lazyCluster) EndpointsGRPC() []string { method Cluster (line 114) | func (lc *lazyCluster) Cluster() *integration.Cluster { method Transport (line 119) | func (lc *lazyCluster) Transport() *http.Transport { method TB (line 124) | func (lc *lazyCluster) TB() testutil.TB { function NewLazyCluster (line 67) | func NewLazyCluster() LazyCluster { function NewLazyClusterWithConfig (line 73) | func NewLazyClusterWithConfig(cfg integration.ClusterConfig) LazyCluster { FILE: tests/integration/main_test.go function TestMain (line 26) | func TestMain(m *testing.M) { FILE: tests/integration/member_test.go function TestPauseMember (line 31) | func TestPauseMember(t *testing.T) { function TestRestartMember (line 49) | func TestRestartMember(t *testing.T) { function TestLaunchDuplicateMemberShouldFail (line 67) | func TestLaunchDuplicateMemberShouldFail(t *testing.T) { function TestSnapshotAndRestartMember (line 83) | func TestSnapshotAndRestartMember(t *testing.T) { function TestRemoveMember (line 117) | func TestRemoveMember(t *testing.T) { function TestRemoveMemberAndWALReplay (line 134) | func TestRemoveMemberAndWALReplay(t *testing.T) { function checkMemberCount (line 171) | func checkMemberCount(t *testing.T, m *integration.Member, expectedMembe... FILE: tests/integration/metrics_test.go function TestMetricDbSizeBoot (line 34) | func TestMetricDbSizeBoot(t *testing.T) { function TestMetricDbSizeDefrag (line 45) | func TestMetricDbSizeDefrag(t *testing.T) { function testMetricDbSizeDefrag (line 50) | func testMetricDbSizeDefrag(t *testing.T, name string) { function TestMetricQuotaBackendBytes (line 131) | func TestMetricQuotaBackendBytes(t *testing.T) { function TestMetricsHealth (line 143) | func TestMetricsHealth(t *testing.T) { function TestMetricsRangeDurationSeconds (line 165) | func TestMetricsRangeDurationSeconds(t *testing.T) { FILE: tests/integration/network_partition_test.go function TestNetworkPartition5MembersLeaderInMinority (line 27) | func TestNetworkPartition5MembersLeaderInMinority(t *testing.T) { function TestNetworkPartition5MembersLeaderInMajority (line 61) | func TestNetworkPartition5MembersLeaderInMajority(t *testing.T) { function testNetworkPartition5MembersLeaderInMajority (line 73) | func testNetworkPartition5MembersLeaderInMajority(t *testing.T) error { function TestNetworkPartition4Members (line 112) | func TestNetworkPartition4Members(t *testing.T) { function getMembersByIndexSlice (line 142) | func getMembersByIndexSlice(clus *integration.Cluster, idxs []int) []*in... function injectPartition (line 150) | func injectPartition(t *testing.T, src, others []*integration.Member) { function recoverPartition (line 156) | func recoverPartition(t *testing.T, src, others []*integration.Member) { FILE: tests/integration/proxy/grpcproxy/cluster_test.go function TestClusterProxyMemberList (line 36) | func TestClusterProxyMemberList(t *testing.T) { type clusterproxyTestServer (line 92) | type clusterproxyTestServer struct method close (line 101) | func (cts *clusterproxyTestServer) close(t *testing.T) { function newClusterProxyServer (line 113) | func newClusterProxyServer(lg *zap.Logger, endpoints []string, prefix st... function deregisterMember (line 146) | func deregisterMember(c *clientv3.Client, prefix, addr string, t *testin... FILE: tests/integration/proxy/grpcproxy/kv_test.go function TestKVProxyRange (line 31) | func TestKVProxyRange(t *testing.T) { type kvproxyTestServer (line 52) | type kvproxyTestServer struct method close (line 59) | func (kts *kvproxyTestServer) close() { function newKVProxyServer (line 65) | func newKVProxyServer(endpoints []string, t *testing.T) *kvproxyTestServ... FILE: tests/integration/proxy/grpcproxy/register_test.go function TestRegister (line 30) | func TestRegister(t *testing.T) { function mustCreateWatcher (line 56) | func mustCreateWatcher(t *testing.T, c *clientv3.Client, prefix string) ... FILE: tests/integration/revision_test.go function TestRevisionMonotonicWithLeaderPartitions (line 33) | func TestRevisionMonotonicWithLeaderPartitions(t *testing.T) { function TestRevisionMonotonicWithPartitions (line 45) | func TestRevisionMonotonicWithPartitions(t *testing.T) { function TestRevisionMonotonicWithLeaderRestarts (line 56) | func TestRevisionMonotonicWithLeaderRestarts(t *testing.T) { function TestRevisionMonotonicWithRestarts (line 68) | func TestRevisionMonotonicWithRestarts(t *testing.T) { function testRevisionMonotonicWithFailures (line 79) | func testRevisionMonotonicWithFailures(t *testing.T, testDuration time.D... function putWorker (line 112) | func putWorker(ctx context.Context, t *testing.T, clus *integration.Clus... function getWorker (line 123) | func getWorker(ctx context.Context, t *testing.T, clus *integration.Clus... function silenceConnectionErrors (line 140) | func silenceConnectionErrors(err error) error { FILE: tests/integration/snapshot/member_test.go function TestSnapshotV3RestoreMultiMemberAdd (line 35) | func TestSnapshotV3RestoreMultiMemberAdd(t *testing.T) { FILE: tests/integration/snapshot/v3_snapshot_test.go function TestSnapshotV3RestoreSingle (line 43) | func TestSnapshotV3RestoreSingle(t *testing.T) { function TestSnapshotV3RestoreMulti (line 100) | func TestSnapshotV3RestoreMulti(t *testing.T) { function TestCorruptedBackupFileCheck (line 130) | func TestCorruptedBackupFileCheck(t *testing.T) { type kv (line 157) | type kv struct function createSnapshotFile (line 162) | func createSnapshotFile(t *testing.T, kvs []kv) string { constant testClusterTkn (line 203) | testClusterTkn = "tkn" function restoreCluster (line 205) | func restoreCluster(t *testing.T, clusterN int, dbPath string) ( function newEmbedURLs (line 270) | func newEmbedURLs(t testutil.TB, n int) (urls []url.URL) { FILE: tests/integration/testing_test.go function TestBeforeTestWithoutLeakDetection (line 23) | func TestBeforeTestWithoutLeakDetection(t *testing.T) { FILE: tests/integration/tracing_test.go function TestTracing (line 43) | func TestTracing(t *testing.T) { function testRPCTracing (line 268) | func testRPCTracing(t *testing.T, wantSpan *v1.Span, clientAction func(c... type traceServer (line 387) | type traceServer struct method Export (line 393) | func (t *traceServer) Export(ctx context.Context, req *traceservice.Ex... FILE: tests/integration/util_test.go function copyTLSFiles (line 26) | func copyTLSFiles(ti transport.TLSInfo, dst string) (transport.TLSInfo, ... function copyFile (line 45) | func copyFile(src, dst string) error { FILE: tests/integration/utl_wal_version_test.go function TestEtcdVersionFromWAL (line 36) | func TestEtcdVersionFromWAL(t *testing.T) { function waitForClusterVersionReady (line 86) | func waitForClusterVersionReady(srv *embed.Etcd) error { FILE: tests/integration/v2store/main_test.go function TestMain (line 23) | func TestMain(m *testing.M) { FILE: tests/integration/v2store/store_tag_test.go function TestStoreRecover (line 28) | func TestStoreRecover(t *testing.T) { FILE: tests/integration/v2store/store_test.go type StoreCloser (line 29) | type StoreCloser interface function TestNewStoreWithNamespaces (line 34) | func TestNewStoreWithNamespaces(t *testing.T) { function TestStoreGetValue (line 44) | func TestStoreGetValue(t *testing.T) { function TestStoreGetSorted (line 58) | func TestStoreGetSorted(t *testing.T) { function TestSet (line 93) | func TestSet(t *testing.T) { function TestStoreCreateValue (line 176) | func TestStoreCreateValue(t *testing.T) { function TestStoreCreateDirectory (line 209) | func TestStoreCreateDirectory(t *testing.T) { function TestStoreCreateFailsIfExists (line 222) | func TestStoreCreateFailsIfExists(t *testing.T) { function TestStoreUpdateValue (line 240) | func TestStoreUpdateValue(t *testing.T) { function TestStoreUpdateFailsIfDirectory (line 289) | func TestStoreUpdateFailsIfDirectory(t *testing.T) { function TestStoreDeleteValue (line 303) | func TestStoreDeleteValue(t *testing.T) { function TestStoreDeleteDirectory (line 319) | func TestStoreDeleteDirectory(t *testing.T) { function TestStoreDeleteDirectoryFailsIfNonRecursiveAndDir (line 355) | func TestStoreDeleteDirectoryFailsIfNonRecursiveAndDir(t *testing.T) { function TestRootRdOnly (line 367) | func TestRootRdOnly(t *testing.T) { function TestStoreCompareAndDeletePrevValue (line 388) | func TestStoreCompareAndDeletePrevValue(t *testing.T) { function TestStoreCompareAndDeletePrevValueFailsIfNotMatch (line 407) | func TestStoreCompareAndDeletePrevValueFailsIfNotMatch(t *testing.T) { function TestStoreCompareAndDeletePrevIndex (line 423) | func TestStoreCompareAndDeletePrevIndex(t *testing.T) { function TestStoreCompareAndDeletePrevIndexFailsIfNotMatch (line 440) | func TestStoreCompareAndDeletePrevIndexFailsIfNotMatch(t *testing.T) { function TestStoreCompareAndDeleteDirectoryFail (line 458) | func TestStoreCompareAndDeleteDirectoryFail(t *testing.T) { function TestStoreCompareAndSwapPrevValue (line 471) | func TestStoreCompareAndSwapPrevValue(t *testing.T) { function TestStoreCompareAndSwapPrevValueFailsIfNotMatch (line 494) | func TestStoreCompareAndSwapPrevValueFailsIfNotMatch(t *testing.T) { function TestStoreCompareAndSwapPrevIndex (line 511) | func TestStoreCompareAndSwapPrevIndex(t *testing.T) { function TestStoreCompareAndSwapPrevIndexFailsIfNotMatch (line 534) | func TestStoreCompareAndSwapPrevIndexFailsIfNotMatch(t *testing.T) { function TestStoreWatchCreate (line 550) | func TestStoreWatchCreate(t *testing.T) { function TestStoreWatchRecursiveCreate (line 571) | func TestStoreWatchRecursiveCreate(t *testing.T) { function TestStoreWatchUpdate (line 586) | func TestStoreWatchUpdate(t *testing.T) { function TestStoreWatchRecursiveUpdate (line 601) | func TestStoreWatchRecursiveUpdate(t *testing.T) { function TestStoreWatchDelete (line 617) | func TestStoreWatchDelete(t *testing.T) { function TestStoreWatchRecursiveDelete (line 632) | func TestStoreWatchRecursiveDelete(t *testing.T) { function TestStoreWatchCompareAndSwap (line 648) | func TestStoreWatchCompareAndSwap(t *testing.T) { function TestStoreWatchRecursiveCompareAndSwap (line 664) | func TestStoreWatchRecursiveCompareAndSwap(t *testing.T) { function TestStoreWatchStream (line 679) | func TestStoreWatchStream(t *testing.T) { function TestStoreWatchCreateWithHiddenKey (line 712) | func TestStoreWatchCreateWithHiddenKey(t *testing.T) { function TestStoreWatchRecursiveCreateWithHiddenKey (line 730) | func TestStoreWatchRecursiveCreateWithHiddenKey(t *testing.T) { function TestStoreWatchUpdateWithHiddenKey (line 753) | func TestStoreWatchUpdateWithHiddenKey(t *testing.T) { function TestStoreWatchRecursiveUpdateWithHiddenKey (line 767) | func TestStoreWatchRecursiveUpdateWithHiddenKey(t *testing.T) { function TestStoreWatchDeleteWithHiddenKey (line 777) | func TestStoreWatchDeleteWithHiddenKey(t *testing.T) { function TestStoreWatchRecursiveDeleteWithHiddenKey (line 793) | func TestStoreWatchRecursiveDeleteWithHiddenKey(t *testing.T) { function TestStoreWatchRecursiveCreateDeeperThanHiddenKey (line 804) | func TestStoreWatchRecursiveCreateDeeperThanHiddenKey(t *testing.T) { function TestStoreWatchSlowConsumer (line 824) | func TestStoreWatchSlowConsumer(t *testing.T) { function nbselect (line 839) | func nbselect(c <-chan *v2store.Event) *v2store.Event { function timeoutSelect (line 849) | func timeoutSelect(t *testing.T, c <-chan *v2store.Event) *v2store.Event { FILE: tests/integration/v3_alarm_test.go function TestV3StorageQuotaApply (line 39) | func TestV3StorageQuotaApply(t *testing.T) { function TestV3AlarmDeactivate (line 130) | func TestV3AlarmDeactivate(t *testing.T) { function TestV3CorruptAlarm (line 161) | func TestV3CorruptAlarm(t *testing.T) { function TestV3CorruptAlarmWithLeaseCorrupted (line 236) | func TestV3CorruptAlarmWithLeaseCorrupted(t *testing.T) { FILE: tests/integration/v3_auth_test.go function TestV3AuthEmptyUserGet (line 35) | func TestV3AuthEmptyUserGet(t *testing.T) { function TestV3AuthEmptyUserPut (line 52) | func TestV3AuthEmptyUserPut(t *testing.T) { function TestV3AuthTokenWithDisable (line 77) | func TestV3AuthTokenWithDisable(t *testing.T) { function TestV3AuthRevision (line 106) | func TestV3AuthRevision(t *testing.T) { function TestV3AuthWithLeaseRevokeWithRoot (line 128) | func TestV3AuthWithLeaseRevokeWithRoot(t *testing.T) { function TestV3AuthWithLeaseRevokeWithRootJWT (line 134) | func TestV3AuthWithLeaseRevokeWithRootJWT(t *testing.T) { function testV3AuthWithLeaseRevokeWithRoot (line 138) | func testV3AuthWithLeaseRevokeWithRoot(t *testing.T, ccfg integration.Cl... type user (line 181) | type user struct function TestV3AuthWithLeaseRevoke (line 189) | func TestV3AuthWithLeaseRevoke(t *testing.T) { function TestV3AuthWithLeaseRenew (line 227) | func TestV3AuthWithLeaseRenew(t *testing.T) { function TestV3AuthWithLeaseAttach (line 307) | func TestV3AuthWithLeaseAttach(t *testing.T) { function authSetupUsers (line 363) | func authSetupUsers(t *testing.T, auth pb.AuthClient, users []user) { function authSetupRoot (line 386) | func authSetupRoot(t *testing.T, auth pb.AuthClient) { function TestV3AuthNonAuthorizedRPCs (line 400) | func TestV3AuthNonAuthorizedRPCs(t *testing.T) { function TestV3AuthNestedTxnPermissionDenied (line 418) | func TestV3AuthNestedTxnPermissionDenied(t *testing.T) { function TestV3AuthOldRevConcurrent (line 484) | func TestV3AuthOldRevConcurrent(t *testing.T) { function TestV3AuthWatchErrorAndWatchId0 (line 522) | func TestV3AuthWatchErrorAndWatchId0(t *testing.T) { FILE: tests/integration/v3_election_test.go function TestElectionWait (line 32) | func TestElectionWait(t *testing.T) { function TestElectionFailover (line 114) | func TestElectionFailover(t *testing.T) { function TestElectionSessionRecampaign (line 170) | func TestElectionSessionRecampaign(t *testing.T) { function TestElectionOnPrefixOfExistingKey (line 200) | func TestElectionOnPrefixOfExistingKey(t *testing.T) { function TestElectionOnSessionRestart (line 222) | func TestElectionOnSessionRestart(t *testing.T) { function TestElectionObserveCompacted (line 259) | func TestElectionObserveCompacted(t *testing.T) { function TestElectionWithAuthEnabled (line 287) | func TestElectionWithAuthEnabled(t *testing.T) { FILE: tests/integration/v3_failover_test.go function TestFailover (line 33) | func TestFailover(t *testing.T) { function createClientBeforeServerDown (line 77) | func createClientBeforeServerDown(t *testing.T, cc *tls.Config, clus *in... function createClientAfterServerDown (line 86) | func createClientAfterServerDown(t *testing.T, cc *tls.Config, clus *int... function createClient (line 91) | func createClient(t *testing.T, cc *tls.Config, clus *integration.Cluste... function putWithRetries (line 104) | func putWithRetries(t *testing.T, cli *clientv3.Client, key, val string,... function getWithRetries (line 129) | func getWithRetries(t *testing.T, cli *clientv3.Client, key, val string,... function shouldRetry (line 156) | func shouldRetry(err error) bool { FILE: tests/integration/v3_grpc_inflight_test.go function TestV3MaintenanceDefragmentInflightRange (line 35) | func TestV3MaintenanceDefragmentInflightRange(t *testing.T) { function TestV3KVInflightRangeRequests (line 64) | func TestV3KVInflightRangeRequests(t *testing.T) { FILE: tests/integration/v3_grpc_test.go function TestV3PutOverwrite (line 45) | func TestV3PutOverwrite(t *testing.T) { function TestV3PutRestart (line 83) | func TestV3PutRestart(t *testing.T) { function TestV3CompactCurrentRev (line 113) | func TestV3CompactCurrentRev(t *testing.T) { function TestV3HashKV (line 139) | func TestV3HashKV(t *testing.T) { function TestV3TxnTooManyOps (line 181) | func TestV3TxnTooManyOps(t *testing.T) { function TestV3TxnDuplicateKeys (line 258) | func TestV3TxnDuplicateKeys(t *testing.T) { function TestV3TxnRevision (line 385) | func TestV3TxnRevision(t *testing.T) { function TestV3TxnCmpHeaderRev (line 428) | func TestV3TxnCmpHeaderRev(t *testing.T) { function TestV3TxnRangeCompare (line 482) | func TestV3TxnRangeCompare(t *testing.T) { function TestV3TxnNestedPath (line 590) | func TestV3TxnNestedPath(t *testing.T) { function TestV3PutIgnoreValue (line 641) | func TestV3PutIgnoreValue(t *testing.T) { function TestV3PutIgnoreLease (line 772) | func TestV3PutIgnoreLease(t *testing.T) { function TestV3PutMissingLease (line 910) | func TestV3PutMissingLease(t *testing.T) { function TestV3DeleteRange (line 989) | func TestV3DeleteRange(t *testing.T) { function TestV3TxnInvalidRange (line 1108) | func TestV3TxnInvalidRange(t *testing.T) { function TestV3TooLargeRequest (line 1155) | func TestV3TooLargeRequest(t *testing.T) { function TestV3Hash (line 1174) | func TestV3Hash(t *testing.T) { function TestV3HashRestart (line 1199) | func TestV3HashRestart(t *testing.T) { function TestV3StorageQuotaAPI (line 1230) | func TestV3StorageQuotaAPI(t *testing.T) { function TestV3RangeRequest (line 1276) | func TestV3RangeRequest(t *testing.T) { function TestTLSGRPCRejectInsecureClient (line 1540) | func TestTLSGRPCRejectInsecureClient(t *testing.T) { function TestTLSGRPCRejectSecureClient (line 1574) | func TestTLSGRPCRejectSecureClient(t *testing.T) { function TestTLSGRPCAcceptSecureAll (line 1592) | func TestTLSGRPCAcceptSecureAll(t *testing.T) { function TestTLSReloadAtomicReplace (line 1613) | func TestTLSReloadAtomicReplace(t *testing.T) { function TestTLSReloadCopy (line 1652) | func TestTLSReloadCopy(t *testing.T) { function TestTLSReloadCopyIPOnly (line 1674) | func TestTLSReloadCopyIPOnly(t *testing.T) { function testTLSReload (line 1693) | func testTLSReload( function TestGRPCRequireLeader (line 1771) | func TestGRPCRequireLeader(t *testing.T) { function TestGRPCStreamRequireLeader (line 1797) | func TestGRPCStreamRequireLeader(t *testing.T) { function TestV3LargeRequests (line 1859) | func TestV3LargeRequests(t *testing.T) { function TestV3AdditionalGRPCOptions (line 1897) | func TestV3AdditionalGRPCOptions(t *testing.T) { function eqErrGRPC (line 1962) | func eqErrGRPC(err1 error, err2 error) bool { function waitForRestart (line 1970) | func waitForRestart(t *testing.T, kvc pb.KVClient) { FILE: tests/integration/v3_kv_test.go function TestKVWithEmptyValue (line 28) | func TestKVWithEmptyValue(t *testing.T) { FILE: tests/integration/v3_leadership_test.go function TestMoveLeader (line 32) | func TestMoveLeader(t *testing.T) { testMoveLeader(t, true) } function TestMoveLeaderService (line 33) | func TestMoveLeaderService(t *testing.T) { testMoveLeader(t, false) } function testMoveLeader (line 35) | func testMoveLeader(t *testing.T, auto bool) { function TestMoveLeaderError (line 99) | func TestMoveLeaderError(t *testing.T) { function TestMoveLeaderToLearnerError (line 118) | func TestMoveLeaderToLearnerError(t *testing.T) { function TestTransferLeadershipWithLearner (line 151) | func TestTransferLeadershipWithLearner(t *testing.T) { function TestFirstCommitNotification (line 184) | func TestFirstCommitNotification(t *testing.T) { function checkFirstCommitNotification (line 237) | func checkFirstCommitNotification( FILE: tests/integration/v3_lease_test.go function TestV3LeasePromote (line 45) | func TestV3LeasePromote(t *testing.T) { function TestV3LeaseRevoke (line 103) | func TestV3LeaseRevoke(t *testing.T) { function TestV3LeaseGrantByID (line 113) | func TestV3LeaseGrantByID(t *testing.T) { function TestV3LeaseNegativeID (line 155) | func TestV3LeaseNegativeID(t *testing.T) { function TestV3LeaseExpire (line 232) | func TestV3LeaseExpire(t *testing.T) { function TestV3LeaseKeepAlive (line 286) | func TestV3LeaseKeepAlive(t *testing.T) { function TestV3LeaseKeepAliveForwardingCatchError (line 320) | func TestV3LeaseKeepAliveForwardingCatchError(t *testing.T) { function setupLeaseForwardingCluster (line 470) | func setupLeaseForwardingCluster(t *testing.T) (*integration.Member, *in... function getLeaseKeepAliveMetric (line 479) | func getLeaseKeepAliveMetric(t *testing.T, member *integration.Member, g... function sleepBeforeServingLeaseRenew (line 492) | func sleepBeforeServingLeaseRenew(t *testing.T, duration time.Duration) { function TestV3LeaseCheckpoint (line 506) | func TestV3LeaseCheckpoint(t *testing.T) { function TestV3LeaseExists (line 612) | func TestV3LeaseExists(t *testing.T) { function TestV3LeaseLeases (line 632) | func TestV3LeaseLeases(t *testing.T) { function TestV3LeaseRenewStress (line 665) | func TestV3LeaseRenewStress(t *testing.T) { function TestV3LeaseRenewStressWithClusterClient (line 672) | func TestV3LeaseRenewStressWithClusterClient(t *testing.T) { function TestV3LeaseTimeToLiveStress (line 679) | func TestV3LeaseTimeToLiveStress(t *testing.T) { function TestV3LeaseTimeToLiveStressWithClusterClient (line 686) | func TestV3LeaseTimeToLiveStressWithClusterClient(t *testing.T) { function testLeaseStress (line 690) | func testLeaseStress(t *testing.T, stresser func(context.Context, pb.Lea... function stressLeaseRenew (line 719) | func stressLeaseRenew(tctx context.Context, lc pb.LeaseClient) (reterr e... function stressLeaseTimeToLive (line 749) | func stressLeaseTimeToLive(tctx context.Context, lc pb.LeaseClient) (ret... function TestV3PutOnNonExistLease (line 768) | func TestV3PutOnNonExistLease(t *testing.T) { function TestV3GetNonExistLease (line 786) | func TestV3GetNonExistLease(t *testing.T) { function TestV3LeaseSwitch (line 821) | func TestV3LeaseSwitch(t *testing.T) { function TestV3LeaseFailover (line 867) | func TestV3LeaseFailover(t *testing.T) { constant fiveMinTTL (line 920) | fiveMinTTL int64 = 300 function TestV3LeaseRecoverAndRevoke (line 923) | func TestV3LeaseRecoverAndRevoke(t *testing.T) { function TestV3LeaseRevokeAndRecover (line 962) | func TestV3LeaseRevokeAndRecover(t *testing.T) { function TestV3LeaseRecoverKeyWithDetachedLease (line 1002) | func TestV3LeaseRecoverKeyWithDetachedLease(t *testing.T) { function TestV3LeaseRecoverKeyWithMultipleLease (line 1044) | func TestV3LeaseRecoverKeyWithMultipleLease(t *testing.T) { function TestV3LeaseTimeToLiveWithLeaderChanged (line 1102) | func TestV3LeaseTimeToLiveWithLeaderChanged(t *testing.T) { function testV3LeaseTimeToLiveWithLeaderChanged (line 1112) | func testV3LeaseTimeToLiveWithLeaderChanged(t *testing.T, fpName string) { function acquireLeaseAndKey (line 1172) | func acquireLeaseAndKey(clus *integration.Cluster, key string) (int64, e... function testLeaseRemoveLeasedKey (line 1193) | func testLeaseRemoveLeasedKey(t *testing.T, act func(*integration.Cluste... function leaseExist (line 1212) | func leaseExist(t *testing.T, clus *integration.Cluster, leaseID int64) ... FILE: tests/integration/v3_stm_test.go function TestSTMConflict (line 33) | func TestSTMConflict(t *testing.T) { function TestSTMPutNewKey (line 106) | func TestSTMPutNewKey(t *testing.T) { function TestSTMAbort (line 133) | func TestSTMAbort(t *testing.T) { function TestSTMSerialize (line 164) | func TestSTMSerialize(t *testing.T) { function TestSTMApplyOnConcurrentDeletion (line 227) | func TestSTMApplyOnConcurrentDeletion(t *testing.T) { function TestSTMSerializableSnapshotPut (line 274) | func TestSTMSerializableSnapshotPut(t *testing.T) { FILE: tests/integration/v3_tls_test.go function TestTLSClientCipherSuitesValid (line 31) | func TestTLSClientCipherSuitesValid(t *testing.T) { testTLSCipherSuit... function TestTLSClientCipherSuitesMismatch (line 32) | func TestTLSClientCipherSuitesMismatch(t *testing.T) { testTLSCipherSuit... function testTLSCipherSuites (line 36) | func testTLSCipherSuites(t *testing.T, valid bool) { function TestTLSMinMaxVersion (line 81) | func TestTLSMinMaxVersion(t *testing.T) { FILE: tests/integration/v3election_grpc_test.go function TestV3ElectionCampaign (line 31) | func TestV3ElectionCampaign(t *testing.T) { function TestV3ElectionObserve (line 84) | func TestV3ElectionObserve(t *testing.T) { FILE: tests/integration/v3lock_grpc_test.go function TestV3LockLockWaiter (line 30) | func TestV3LockLockWaiter(t *testing.T) { FILE: tests/robustness/client/client.go type RecordingClient (line 36) | type RecordingClient struct method Close (line 75) | func (c *RecordingClient) Close() error { method Report (line 79) | func (c *RecordingClient) Report() report.ClientReport { method Do (line 87) | func (c *RecordingClient) Do(ctx context.Context, op clientv3.Op) (cli... method Get (line 91) | func (c *RecordingClient) Get(ctx context.Context, key string, opts ..... method Range (line 96) | func (c *RecordingClient) Range(ctx context.Context, start, end string... method Put (line 116) | func (c *RecordingClient) Put(ctx context.Context, key, value string, ... method Delete (line 126) | func (c *RecordingClient) Delete(ctx context.Context, key string, _ ..... method Txn (line 174) | func (c *RecordingClient) Txn(ctx context.Context) clientv3.Txn { method LeaseGrant (line 178) | func (c *RecordingClient) LeaseGrant(ctx context.Context, ttl int64) (... method LeaseRevoke (line 188) | func (c *RecordingClient) LeaseRevoke(ctx context.Context, leaseID int... method PutWithLease (line 198) | func (c *RecordingClient) PutWithLease(ctx context.Context, key string... method Defragment (line 209) | func (c *RecordingClient) Defragment(ctx context.Context) (*clientv3.D... method Compact (line 219) | func (c *RecordingClient) Compact(ctx context.Context, rev int64, _ ..... method MemberList (line 229) | func (c *RecordingClient) MemberList(ctx context.Context, opts ...clie... method MemberAdd (line 236) | func (c *RecordingClient) MemberAdd(ctx context.Context, peerAddrs []s... method MemberAddAsLearner (line 243) | func (c *RecordingClient) MemberAddAsLearner(ctx context.Context, peer... method MemberRemove (line 250) | func (c *RecordingClient) MemberRemove(ctx context.Context, id uint64)... method MemberUpdate (line 257) | func (c *RecordingClient) MemberUpdate(ctx context.Context, id uint64,... method MemberPromote (line 264) | func (c *RecordingClient) MemberPromote(ctx context.Context, id uint64... method Status (line 271) | func (c *RecordingClient) Status(ctx context.Context, endpoint string)... method Endpoints (line 278) | func (c *RecordingClient) Endpoints() []string { method Watch (line 282) | func (c *RecordingClient) Watch(ctx context.Context, key string, rev i... method watch (line 293) | func (c *RecordingClient) watch(ctx context.Context, request model.Wat... method RequestProgress (line 335) | func (c *RecordingClient) RequestProgress(ctx context.Context) error { type TimedWatchEvent (line 52) | type TimedWatchEvent struct function NewRecordingClient (line 57) | func NewRecordingClient(endpoints []string, ids identity.Provider, baseT... type wrappedTxn (line 136) | type wrappedTxn struct method If (line 146) | func (w *wrappedTxn) If(cs ...clientv3.Cmp) clientv3.Txn { method Then (line 152) | func (w *wrappedTxn) Then(ops ...clientv3.Op) clientv3.Txn { method Else (line 158) | func (w *wrappedTxn) Else(ops ...clientv3.Op) clientv3.Txn { method Commit (line 164) | func (w *wrappedTxn) Commit() (*clientv3.TxnResponse, error) { function ToWatchResponse (line 339) | func ToWatchResponse(r clientv3.WatchResponse, baseTime time.Time) model... function toWatchEvent (line 355) | func toWatchEvent(event clientv3.Event) (watch model.WatchEvent) { type ClientSet (line 380) | type ClientSet struct method NewClient (line 399) | func (cs *ClientSet) NewClient(endpoints []string) (*RecordingClient, ... method Reports (line 413) | func (cs *ClientSet) Reports() []report.ClientReport { method Close (line 426) | func (cs *ClientSet) Close() { method close (line 432) | func (cs *ClientSet) close() { method generateReports (line 442) | func (cs *ClientSet) generateReports() []report.ClientReport { method IdentityProvider (line 450) | func (cs *ClientSet) IdentityProvider() identity.Provider { method BaseTime (line 454) | func (cs *ClientSet) BaseTime() time.Time { function NewSet (line 390) | func NewSet(ids identity.Provider, baseTime time.Time) *ClientSet { FILE: tests/robustness/client/kvhash.go function CheckEndOfTestHashKV (line 28) | func CheckEndOfTestHashKV(ctx context.Context, clus *e2e.EtcdProcessClus... FILE: tests/robustness/client/watch.go type CollectClusterWatchEventsParam (line 26) | type CollectClusterWatchEventsParam struct function CollectClusterWatchEvents (line 34) | func CollectClusterWatchEvents(ctx context.Context, param CollectCluster... type WatchConfig (line 60) | type WatchConfig struct function watchUntilRevision (line 65) | func watchUntilRevision(ctx context.Context, lg *zap.Logger, c *Recordin... FILE: tests/robustness/coverage/contract_test.go function contract (line 25) | func contract(spansByID map[string]*tracev1.Span, span *tracev1.Span) (s... function walk (line 39) | func walk(spansByID map[string]*tracev1.Span, span *tracev1.Span) iter.S... function TestContract (line 49) | func TestContract(t *testing.T) { FILE: tests/robustness/coverage/coverage_test.go type column (line 34) | type column struct type method (line 41) | type method struct type refOp (line 49) | type refOp struct type Row (line 58) | type Row struct constant notMatched (line 62) | notMatched byte = ' ' type leaseRow (line 64) | type leaseRow struct function TestInterfaceUse (line 191) | func TestInterfaceUse(t *testing.T) { function testInterfaceUse (line 206) | func testInterfaceUse(t *testing.T, filename string) { function callsMap (line 318) | func callsMap(spansByID map[string]*tracev1.Span) (map[string][]*tracev1... function spansMap (line 337) | func spansMap(t *testing.T, traces []*tracev1.ResourceSpans) map[string]... function leaseMap (line 384) | func leaseMap(callsByOperationName map[string][]*tracev1.Span) map[int][... function extractPatternFromTxns (line 403) | func extractPatternFromTxns(txns []*tracev1.Span) (string, bool) { function extractPattern (line 424) | func extractPattern(span *tracev1.Span, key string) (string, bool) { function columnsToArgs (line 435) | func columnsToArgs(span *tracev1.Span, cols []column) string { function argsToDescription (line 447) | func argsToDescription(matched string, cols []column) string { function extractMethod (line 455) | func extractMethod(methodToMatched []method, span *tracev1.Span) (string... type Traces (line 464) | type Traces struct method UnmarshalJSON (line 468) | func (t *Traces) UnmarshalJSON(b []byte) error { type Dump (line 472) | type Dump struct function printableCallTable (line 476) | func printableCallTable(callsByOperationName map[string]int) string { function printableMatcherTable (line 496) | func printableMatcherTable(cols []column, res map[Row]int, contract map[... function printableLeaseTable (line 564) | func printableLeaseTable(callCounts map[string]leaseRow) string { FILE: tests/robustness/coverage/key_pattern_test.go function pattern (line 22) | func pattern(key string) (string, bool) { function resourceOrCRD (line 63) | func resourceOrCRD(s string) (string, int) { function TestPatternValid (line 85) | func TestPatternValid(t *testing.T) { function TestPatternInvalid (line 164) | func TestPatternInvalid(t *testing.T) { FILE: tests/robustness/coverage/matchers_test.go type Matcher (line 24) | type Matcher function serviceName (line 26) | func serviceName(trace *tracev1.ResourceSpans) (string, bool) { function isEtcdGRPC (line 35) | func isEtcdGRPC(span *tracev1.Span) bool { function keyIsEqualInt (line 40) | func keyIsEqualInt(key string, want int) Matcher { function intAttrSet (line 52) | func intAttrSet(key string) Matcher { function intAttr (line 59) | func intAttr(span *tracev1.Span, key string) (int, bool) { function keyIsEqualStr (line 68) | func keyIsEqualStr(key string, want string) Matcher { function isRangeEndSet (line 75) | func isRangeEndSet(span *tracev1.Span) bool { function strAttr (line 80) | func strAttr(span *tracev1.Span, key string) (string, bool) { function boolAttrSet (line 95) | func boolAttrSet(key string) Matcher { function boolAttr (line 102) | func boolAttr(span *tracev1.Span, key string) (bool, bool) { function orMatcher (line 111) | func orMatcher(l ...Matcher) Matcher { function andMatcher (line 122) | func andMatcher(l ...Matcher) Matcher { function notMatcher (line 133) | func notMatcher(m Matcher) Matcher { function all (line 139) | func all(_ *tracev1.Span) bool { FILE: tests/robustness/coverage/sort_test.go function sortPatternTable (line 26) | func sortPatternTable(res map[Row]int) []Row { function TestSortPatternTable (line 40) | func TestSortPatternTable(t *testing.T) { FILE: tests/robustness/failpoint/cluster.go type memberReplace (line 45) | type memberReplace struct method Inject (line 47) | func (f memberReplace) Inject(ctx context.Context, t *testing.T, lg *z... method Name (line 138) | func (f memberReplace) Name() string { method Available (line 142) | func (f memberReplace) Available(config e2e.EtcdProcessClusterConfig, ... type memberDowngrade (line 147) | type memberDowngrade struct method Inject (line 149) | func (f memberDowngrade) Inject(ctx context.Context, t *testing.T, lg ... method Name (line 182) | func (f memberDowngrade) Name() string { method Available (line 186) | func (f memberDowngrade) Available(config e2e.EtcdProcessClusterConfig... type memberDowngradeUpgrade (line 204) | type memberDowngradeUpgrade struct method Inject (line 206) | func (f memberDowngradeUpgrade) Inject(ctx context.Context, t *testing... method Name (line 249) | func (f memberDowngradeUpgrade) Name() string { method Available (line 253) | func (f memberDowngradeUpgrade) Available(config e2e.EtcdProcessCluste... method Timeout (line 271) | func (f memberDowngradeUpgrade) Timeout() time.Duration { function getID (line 275) | func getID(ctx context.Context, cc *clientv3.Client, name string) (id ui... function patchArgs (line 298) | func patchArgs(args []string, flag, newValue string) error { FILE: tests/robustness/failpoint/failpoint.go constant triggerTimeout (line 35) | triggerTimeout = time.Minute function PickRandom (line 58) | func PickRandom(clus *e2e.EtcdProcessCluster, profile traffic.Profile) (... function Validate (line 73) | func Validate(clus *e2e.EtcdProcessCluster, failpoint Failpoint, profile... function Inject (line 82) | func Inject(ctx context.Context, t *testing.T, lg *zap.Logger, clus *e2e... function verifyClusterHealth (line 117) | func verifyClusterHealth(ctx context.Context, _ *testing.T, clus *e2e.Et... type Failpoint (line 145) | type Failpoint interface type AvailabilityChecker (line 151) | type AvailabilityChecker interface type TimeoutInterface (line 155) | type TimeoutInterface interface FILE: tests/robustness/failpoint/gofail.go type goPanicFailpoint (line 67) | type goPanicFailpoint struct method Inject (line 81) | func (f goPanicFailpoint) Inject(ctx context.Context, t *testing.T, lg... method pickMember (line 139) | func (f goPanicFailpoint) pickMember(t *testing.T, clus *e2e.EtcdProce... method Available (line 152) | func (f goPanicFailpoint) Available(config e2e.EtcdProcessClusterConfi... method Name (line 166) | func (f goPanicFailpoint) Name() string { type failpointTarget (line 73) | type failpointTarget constant AnyMember (line 76) | AnyMember failpointTarget = "AnyMember" constant Leader (line 77) | Leader failpointTarget = "Leader" constant Follower (line 78) | Follower failpointTarget = "Follower" type killAndGofailSleep (line 170) | type killAndGofailSleep struct method Inject (line 175) | func (f killAndGofailSleep) Inject(ctx context.Context, t *testing.T, ... method Name (line 201) | func (f killAndGofailSleep) Name() string { method Available (line 205) | func (f killAndGofailSleep) Available(config e2e.EtcdProcessClusterCon... type gofailSleepAndDeactivate (line 216) | type gofailSleepAndDeactivate struct method Inject (line 221) | func (f gofailSleepAndDeactivate) Inject(ctx context.Context, t *testi... method Name (line 239) | func (f gofailSleepAndDeactivate) Name() string { method Available (line 243) | func (f gofailSleepAndDeactivate) Available(config e2e.EtcdProcessClus... FILE: tests/robustness/failpoint/kill.go type killFailpoint (line 35) | type killFailpoint struct method Inject (line 37) | func (f killFailpoint) Inject(ctx context.Context, t *testing.T, lg *z... method Name (line 65) | func (f killFailpoint) Name() string { method Available (line 69) | func (f killFailpoint) Available(e2e.EtcdProcessClusterConfig, e2e.Etc... FILE: tests/robustness/failpoint/network.go type blackholePeerNetworkFailpoint (line 39) | type blackholePeerNetworkFailpoint struct method Inject (line 43) | func (f blackholePeerNetworkFailpoint) Inject(ctx context.Context, t *... method Name (line 48) | func (f blackholePeerNetworkFailpoint) Name() string { type triggerBlackhole (line 52) | type triggerBlackhole struct method Trigger (line 56) | func (tb triggerBlackhole) Trigger(ctx context.Context, t *testing.T, ... method Available (line 60) | func (tb triggerBlackhole) Available(config e2e.EtcdProcessClusterConf... function Blackhole (line 69) | func Blackhole(ctx context.Context, t *testing.T, member e2e.EtcdProcess... function waitTillSnapshot (line 90) | func waitTillSnapshot(ctx context.Context, t *testing.T, clus *e2e.EtcdP... function entriesToGuaranteeSnapshot (line 145) | func entriesToGuaranteeSnapshot(config e2e.EtcdProcessClusterConfig) uin... function latestRevisionForEndpoint (line 152) | func latestRevisionForEndpoint(ctx context.Context, c *clientv3.Client) ... type delayPeerNetworkFailpoint (line 160) | type delayPeerNetworkFailpoint struct method Inject (line 166) | func (f delayPeerNetworkFailpoint) Inject(ctx context.Context, t *test... method Name (line 180) | func (f delayPeerNetworkFailpoint) Name() string { method Available (line 184) | func (f delayPeerNetworkFailpoint) Available(config e2e.EtcdProcessClu... type dropPeerNetworkFailpoint (line 188) | type dropPeerNetworkFailpoint struct method Inject (line 193) | func (f dropPeerNetworkFailpoint) Inject(ctx context.Context, t *testi... method modifyPacket (line 207) | func (f dropPeerNetworkFailpoint) modifyPacket(data []byte) []byte { method Name (line 214) | func (f dropPeerNetworkFailpoint) Name() string { method Available (line 218) | func (f dropPeerNetworkFailpoint) Available(config e2e.EtcdProcessClus... FILE: tests/robustness/failpoint/trigger.go type trigger (line 32) | type trigger interface type triggerDefrag (line 37) | type triggerDefrag struct method Trigger (line 39) | func (t triggerDefrag) Trigger(ctx context.Context, _ *testing.T, memb... method Available (line 52) | func (t triggerDefrag) Available(e2e.EtcdProcessClusterConfig, e2e.Etc... type triggerCompact (line 56) | type triggerCompact struct method Trigger (line 60) | func (t triggerCompact) Trigger(ctx context.Context, _ *testing.T, mem... method Available (line 93) | func (t triggerCompact) Available(config e2e.EtcdProcessClusterConfig,... function connectionError (line 110) | func connectionError(err error) bool { FILE: tests/robustness/identity/id.go type Provider (line 19) | type Provider interface function NewIDProvider (line 28) | func NewIDProvider() Provider { type atomicProvider (line 32) | type atomicProvider struct method NewStreamID (line 38) | func (id *atomicProvider) NewStreamID() int { method NewRequestID (line 42) | func (id *atomicProvider) NewRequestID() int { method NewClientID (line 46) | func (id *atomicProvider) NewClientID() int { FILE: tests/robustness/identity/lease_ids.go type LeaseIDStorage (line 21) | type LeaseIDStorage interface function NewLeaseIDStorage (line 27) | func NewLeaseIDStorage() LeaseIDStorage { type atomicClientID2LeaseIDMapper (line 31) | type atomicClientID2LeaseIDMapper struct method LeaseID (line 37) | func (lm *atomicClientID2LeaseIDMapper) LeaseID(clientID int) int64 { method AddLeaseID (line 43) | func (lm *atomicClientID2LeaseIDMapper) AddLeaseID(clientID int, lease... method RemoveLeaseID (line 49) | func (lm *atomicClientID2LeaseIDMapper) RemoveLeaseID(clientID int) { FILE: tests/robustness/main_test.go function TestMain (line 52) | func TestMain(m *testing.M) { function TestRobustnessExploratory (line 56) | func TestRobustnessExploratory(t *testing.T) { function TestRobustnessRegression (line 75) | func TestRobustnessRegression(t *testing.T) { function testRobustness (line 90) | func testRobustness(ctx context.Context, t *testing.T, lg *zap.Logger, s... function runScenario (line 127) | func runScenario(ctx context.Context, t *testing.T, s scenarios.TestScen... function randomizeTime (line 191) | func randomizeTime(base time.Duration, jitter time.Duration) time.Durati... function forcestopCluster (line 196) | func forcestopCluster(clus *e2e.EtcdProcessCluster) error { function testResultsDirectory (line 203) | func testResultsDirectory(t *testing.T) string { function processEndpoints (line 222) | func processEndpoints(clus *e2e.EtcdProcessCluster) []string { FILE: tests/robustness/model/describe.go function describeEtcdResponse (line 28) | func describeEtcdResponse(request EtcdRequest, response MaybeEtcdRespons... function describeEtcdRequest (line 55) | func describeEtcdRequest(request EtcdRequest) string { function describeEtcdState (line 86) | func describeEtcdState(state EtcdState) string { function describeGuaranteedTxn (line 130) | func describeGuaranteedTxn(txn *TxnRequest) string { function describeEtcdConditions (line 155) | func describeEtcdConditions(conds []EtcdCondition) string { function describeEtcdOperations (line 167) | func describeEtcdOperations(ops []EtcdOperation) string { function describeTxnResponse (line 175) | func describeTxnResponse(request *TxnRequest, response *TxnResponse) str... function describeEtcdOperation (line 194) | func describeEtcdOperation(op EtcdOperation) string { function describeRangeRequest (line 210) | func describeRangeRequest(opts RangeOptions, revision int64) string { function describeEtcdOperationResponse (line 234) | func describeEtcdOperationResponse(op EtcdOperation, resp EtcdOperationR... function describeRangeResponse (line 247) | func describeRangeResponse(request RangeOptions, response RangeResponse)... function DescribeOperationMetadata (line 262) | func DescribeOperationMetadata(response MaybeEtcdResponse) string { function describeValueOrHash (line 269) | func describeValueOrHash(value ValueOrHash) string { FILE: tests/robustness/model/describe_test.go function TestModelDescribe (line 26) | func TestModelDescribe(t *testing.T) { function TestDescribeOperationMetadata (line 178) | func TestDescribeOperationMetadata(t *testing.T) { FILE: tests/robustness/model/deterministic.go type EtcdState (line 70) | type EtcdState struct method Equal (line 78) | func (s EtcdState) Equal(other EtcdState) bool { method apply (line 94) | func (s EtcdState) apply(request EtcdRequest, response EtcdResponse) (... method DeepCopy (line 99) | func (s EtcdState) DeepCopy() EtcdState { method Step (line 128) | func (s EtcdState) Step(request EtcdRequest) (EtcdState, MaybeEtcdResp... method stepRange (line 147) | func (s EtcdState) stepRange(request EtcdRequest) (EtcdState, MaybeEtc... method stepTxn (line 161) | func (s EtcdState) stepTxn(request EtcdRequest) (EtcdState, MaybeEtcdR... method stepLeaseGrant (line 225) | func (s EtcdState) stepLeaseGrant(request EtcdRequest) (EtcdState, May... method stepLeaseRevoke (line 239) | func (s EtcdState) stepLeaseRevoke(request EtcdRequest) (EtcdState, Ma... method stepDefragment (line 261) | func (s EtcdState) stepDefragment() (EtcdState, MaybeEtcdResponse) { method stepCompact (line 265) | func (s EtcdState) stepCompact(request EtcdRequest) (EtcdState, MaybeE... method getRange (line 277) | func (s EtcdState) getRange(options RangeOptions) RangeResponse { function freshEtcdState (line 116) | func freshEtcdState() EtcdState { function detachFromOldLease (line 309) | func detachFromOldLease(s EtcdState, key string) EtcdState { function attachToNewLease (line 317) | func attachToNewLease(s EtcdState, leaseID int64, key string) EtcdState { FILE: tests/robustness/model/deterministic_test.go function TestModelDeterministic (line 27) | func TestModelDeterministic(t *testing.T) { type modelTestCase (line 53) | type modelTestCase struct type testOperation (line 58) | type testOperation struct FILE: tests/robustness/model/history.go type AppendableHistory (line 39) | type AppendableHistory struct method AppendRange (line 61) | func (h *AppendableHistory) AppendRange(startKey, endKey string, revis... method AppendPut (line 76) | func (h *AppendableHistory) AppendPut(key, value string, start, end ti... method AppendPutWithLease (line 91) | func (h *AppendableHistory) AppendPutWithLease(key, value string, leas... method AppendLeaseGrant (line 106) | func (h *AppendableHistory) AppendLeaseGrant(start, end time.Duration,... method AppendLeaseRevoke (line 125) | func (h *AppendableHistory) AppendLeaseRevoke(id int64, start, end tim... method AppendDelete (line 140) | func (h *AppendableHistory) AppendDelete(key string, start, end time.D... method AppendTxn (line 157) | func (h *AppendableHistory) AppendTxn(cmp []clientv3.Cmp, clientOnSucc... method appendClientError (line 188) | func (h *AppendableHistory) appendClientError(request EtcdRequest, sta... method appendSuccessful (line 194) | func (h *AppendableHistory) appendSuccessful(request EtcdRequest, star... method AppendDefragment (line 277) | func (h *AppendableHistory) AppendDefragment(start, end time.Duration,... method AppendCompact (line 286) | func (h *AppendableHistory) AppendCompact(rev int64, start, end time.D... method appendFailed (line 303) | func (h *AppendableHistory) appendFailed(request EtcdRequest, start, e... method append (line 322) | func (h *AppendableHistory) append(op porcupine.Operation) { function NewAppendableHistory (line 50) | func NewAppendableHistory(ids identity.Provider) *AppendableHistory { function toEtcdCondition (line 206) | func toEtcdCondition(cmp clientv3.Cmp) (cond EtcdCondition) { function toEtcdOperation (line 220) | func toEtcdOperation(option clientv3.Op) (op EtcdOperation) { function toEtcdOperationResult (line 245) | func toEtcdOperationResult(resp *etcdserverpb.ResponseOp) EtcdOperationR... function getRequest (line 340) | func getRequest(key string) EtcdRequest { function staleGetRequest (line 344) | func staleGetRequest(key string, revision int64) EtcdRequest { function rangeRequest (line 348) | func rangeRequest(start, end string, limit int64) EtcdRequest { function listRequest (line 352) | func listRequest(key string, limit int64) EtcdRequest { function staleListRequest (line 356) | func staleListRequest(key string, limit, revision int64) EtcdRequest { function staleRangeRequest (line 360) | func staleRangeRequest(start, end string, limit, revision int64) EtcdReq... function emptyGetResponse (line 364) | func emptyGetResponse(revision int64) MaybeEtcdResponse { function getResponse (line 368) | func getResponse(key, value string, modRevision, revision int64) MaybeEt... function getResponseWithVer (line 372) | func getResponseWithVer(key, value string, modRevision, ver, revision in... function rangeResponse (line 376) | func rangeResponse(kvs []*mvccpb.KeyValue, count int64, revision int64) ... function rangeResponseWithMemberID (line 380) | func rangeResponseWithMemberID(kvs []*mvccpb.KeyValue, count int64, revi... function failedResponse (line 396) | func failedResponse(err error) MaybeEtcdResponse { function partialResponse (line 400) | func partialResponse(revision int64) MaybeEtcdResponse { function putRequest (line 404) | func putRequest(key, value string) EtcdRequest { function putResponse (line 408) | func putResponse(revision int64) MaybeEtcdResponse { function putResponseWithMemberID (line 412) | func putResponseWithMemberID(revision int64, memberID MemberID) MaybeEtc... function deleteRequest (line 416) | func deleteRequest(key string) EtcdRequest { function deleteResponse (line 420) | func deleteResponse(deleted int64, revision int64) MaybeEtcdResponse { function deleteResponseWithMemberID (line 424) | func deleteResponseWithMemberID(deleted int64, revision int64, memberID ... function compareRevisionAndPutRequest (line 428) | func compareRevisionAndPutRequest(key string, expectedRevision int64, va... function compareRevisionAndPutResponse (line 432) | func compareRevisionAndPutResponse(succeeded bool, revision int64) Maybe... function compareRevision (line 439) | func compareRevision(key string, expectedRevision int64) *EtcdCondition { function putOperation (line 443) | func putOperation(key, value string) *EtcdOperation { function txnRequestSingleOperation (line 447) | func txnRequestSingleOperation(cond *EtcdCondition, onSuccess, onFailure... function txnRequest (line 463) | func txnRequest(conds []EtcdCondition, onSuccess, onFailure []EtcdOperat... function txnPutResponse (line 467) | func txnPutResponse(succeeded bool, revision int64) MaybeEtcdResponse { function txnEmptyResponse (line 471) | func txnEmptyResponse(succeeded bool, revision int64) MaybeEtcdResponse { function txnResponse (line 475) | func txnResponse(result []EtcdOperationResult, succeeded bool, revision ... function txnResponseWithMemberID (line 479) | func txnResponseWithMemberID(result []EtcdOperationResult, succeeded boo... function putWithLeaseRequest (line 483) | func putWithLeaseRequest(key, value string, leaseID int64) EtcdRequest { function leaseGrantRequest (line 487) | func leaseGrantRequest(leaseID int64) EtcdRequest { function leaseGrantResponse (line 491) | func leaseGrantResponse(revision int64) MaybeEtcdResponse { function leaseGrantResponseWithMemberID (line 495) | func leaseGrantResponseWithMemberID(revision int64, memberID MemberID) M... function leaseRevokeRequest (line 499) | func leaseRevokeRequest(leaseID int64) EtcdRequest { function leaseRevokeResponse (line 503) | func leaseRevokeResponse(revision int64) MaybeEtcdResponse { function leaseRevokeResponseWithMemberID (line 507) | func leaseRevokeResponseWithMemberID(revision int64, memberID MemberID) ... function defragmentRequest (line 511) | func defragmentRequest() EtcdRequest { function defragmentResponse (line 515) | func defragmentResponse() MaybeEtcdResponse { function compactRequest (line 519) | func compactRequest(rev int64) EtcdRequest { function compactResponse (line 523) | func compactResponse() MaybeEtcdResponse { type History (line 527) | type History struct method Len (line 531) | func (h History) Len() int { method Operations (line 535) | func (h History) Operations() []porcupine.Operation { method MaxRevision (line 541) | func (h History) MaxRevision() int64 { FILE: tests/robustness/model/history_test.go function TestHistoryAppendSuccess (line 26) | func TestHistoryAppendSuccess(t *testing.T) { function TestHistoryAppendFailure (line 108) | func TestHistoryAppendFailure(t *testing.T) { FILE: tests/robustness/model/non_deterministic.go type nonDeterministicState (line 74) | type nonDeterministicState method Equal (line 76) | func (states nonDeterministicState) Equal(other nonDeterministicState)... method apply (line 98) | func (states nonDeterministicState) apply(request EtcdRequest, respons... method applyFailedRequest (line 114) | func (states nonDeterministicState) applyFailedRequest(request EtcdReq... method applyPersistedRequest (line 127) | func (states nonDeterministicState) applyPersistedRequest(request Etcd... method applyPersistedRequestWithRevision (line 137) | func (states nonDeterministicState) applyPersistedRequestWithRevision(... method applyRequestWithResponse (line 149) | func (states nonDeterministicState) applyRequestWithResponse(request E... FILE: tests/robustness/model/non_deterministic_test.go function TestModelNonDeterministic (line 29) | func TestModelNonDeterministic(t *testing.T) { function TestModelResponseMatch (line 355) | func TestModelResponseMatch(t *testing.T) { FILE: tests/robustness/model/replay.go function NewReplayFromOperations (line 25) | func NewReplayFromOperations(ops []porcupine.Operation) *EtcdReplay { function NewReplay (line 33) | func NewReplay(persistedRequests []EtcdRequest) *EtcdReplay { type EtcdReplay (line 52) | type EtcdReplay struct method StateForRevision (line 57) | func (r *EtcdReplay) StateForRevision(revision int64) (EtcdState, erro... method EventsForWatch (line 64) | func (r *EtcdReplay) EventsForWatch(watch WatchRequest) (events []Pers... function toWatchEvents (line 74) | func toWatchEvents(prevState *EtcdState, request EtcdRequest, response M... type WatchEvent (line 146) | type WatchEvent struct type PersistedEvent (line 151) | type PersistedEvent struct type Event (line 157) | type Event struct method Match (line 163) | func (e Event) Match(request WatchRequest) bool { type WatchRequest (line 170) | type WatchRequest struct FILE: tests/robustness/model/types.go constant RevisionForNonLinearizableResponse (line 31) | RevisionForNonLinearizableResponse = -1 type RequestType (line 33) | type RequestType constant Range (line 36) | Range RequestType = "range" constant Txn (line 37) | Txn RequestType = "txn" constant LeaseGrant (line 38) | LeaseGrant RequestType = "leaseGrant" constant LeaseRevoke (line 39) | LeaseRevoke RequestType = "leaseRevoke" constant Defragment (line 40) | Defragment RequestType = "defragment" constant Compact (line 41) | Compact RequestType = "compact" type EtcdRequest (line 44) | type EtcdRequest struct method IsRead (line 54) | func (r *EtcdRequest) IsRead() bool { type RangeRequest (line 69) | type RangeRequest struct type RangeOptions (line 74) | type RangeOptions struct type PutOptions (line 80) | type PutOptions struct type DeleteOptions (line 86) | type DeleteOptions struct type TxnRequest (line 90) | type TxnRequest struct method AllOperations (line 96) | func (txn *TxnRequest) AllOperations() []EtcdOperation { type EtcdCondition (line 100) | type EtcdCondition struct type EtcdOperation (line 106) | type EtcdOperation struct type OperationType (line 113) | type OperationType constant RangeOperation (line 116) | RangeOperation OperationType = "range-operation" constant PutOperation (line 117) | PutOperation OperationType = "put-operation" constant DeleteOperation (line 118) | DeleteOperation OperationType = "delete-operation" type LeaseGrantRequest (line 121) | type LeaseGrantRequest struct type LeaseRevokeRequest (line 124) | type LeaseRevokeRequest struct type DefragmentRequest (line 127) | type DefragmentRequest struct type MaybeEtcdResponse (line 135) | type MaybeEtcdResponse struct type MemberID (line 144) | type MemberID method MarshalJSON (line 148) | func (m MemberID) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 154) | func (m *MemberID) UnmarshalJSON(data []byte) error { type EtcdResponse (line 168) | type EtcdResponse struct function Match (line 180) | func Match(r1, r2 MaybeEtcdResponse) bool { type TxnResponse (line 196) | type TxnResponse struct type RangeResponse (line 201) | type RangeResponse struct type LeaseGrantResponse (line 206) | type LeaseGrantResponse struct type LeaseRevokeResponse (line 210) | type LeaseRevokeResponse struct type DefragmentResponse (line 211) | type DefragmentResponse struct type EtcdOperationResult (line 214) | type EtcdOperationResult struct type KeyValue (line 219) | type KeyValue struct type EtcdLease (line 226) | type EtcdLease struct method DeepCopy (line 231) | func (el EtcdLease) DeepCopy() EtcdLease { type ValueRevision (line 238) | type ValueRevision struct type ValueOrHash (line 244) | type ValueOrHash struct function ToValueOrHash (line 249) | func ToValueOrHash(value string) ValueOrHash { type CompactResponse (line 261) | type CompactResponse struct type CompactRequest (line 263) | type CompactRequest struct FILE: tests/robustness/model/types_test.go function TestMemberIDMatchesTypesID (line 26) | func TestMemberIDMatchesTypesID(t *testing.T) { function TestMemberIDMatchesTypesIDUnmarshal (line 39) | func TestMemberIDMatchesTypesIDUnmarshal(t *testing.T) { FILE: tests/robustness/model/watch.go type WatchOperation (line 19) | type WatchOperation struct type WatchResponse (line 24) | type WatchResponse struct FILE: tests/robustness/options/cluster_options.go type ClusterOptions (line 26) | type ClusterOptions function WithClusterOptionGroups (line 30) | func WithClusterOptionGroups(input ...ClusterOptions) e2e.EPClusterOption { function WithSubsetOptions (line 40) | func WithSubsetOptions(input ...e2e.EPClusterOption) e2e.EPClusterOption { FILE: tests/robustness/options/cluster_options_test.go function mockRand (line 25) | func mockRand(source rand.Source) func() { function TestWithClusterOptionGroups (line 33) | func TestWithClusterOptionGroups(t *testing.T) { function TestWithOptionsSubset (line 70) | func TestWithOptionsSubset(t *testing.T) { FILE: tests/robustness/options/server_config_options.go function WithSnapshotCount (line 23) | func WithSnapshotCount(input ...uint64) e2e.EPClusterOption { function WithCompactionBatchLimit (line 29) | func WithCompactionBatchLimit(input ...int) e2e.EPClusterOption { function WithSnapshotCatchUpEntries (line 35) | func WithSnapshotCatchUpEntries(input ...uint64) e2e.EPClusterOption { function WithTickMs (line 41) | func WithTickMs(input ...uint) e2e.EPClusterOption { function WithElectionMs (line 47) | func WithElectionMs(input ...uint) e2e.EPClusterOption { function WithWatchProgressNotifyInterval (line 53) | func WithWatchProgressNotifyInterval(input ...time.Duration) e2e.EPClust... function WithVersion (line 59) | func WithVersion(input ...e2e.ClusterVersion) e2e.EPClusterOption { function WithInitialLeaderIndex (line 63) | func WithInitialLeaderIndex(input ...int) e2e.EPClusterOption { FILE: tests/robustness/random/random.go function RandString (line 22) | func RandString(size int) string { function RandRange (line 31) | func RandRange(start, end int64) int64 { type ChoiceWeight (line 35) | type ChoiceWeight struct function PickRandom (line 40) | func PickRandom[T any](choices []ChoiceWeight[T]) T { FILE: tests/robustness/report/client.go type ClientReport (line 32) | type ClientReport struct method WatchEventCount (line 38) | func (r ClientReport) WatchEventCount() int { function persistClientReports (line 48) | func persistClientReports(lg *zap.Logger, path string, reports []ClientR... function LoadClientReports (line 76) | func LoadClientReports(path string) ([]ClientReport, error) { function loadClientReport (line 103) | func loadClientReport(path string) (report ClientReport, err error) { function loadWatchOperations (line 115) | func loadWatchOperations(path string) (operations []model.WatchOperation... function loadKeyValueOperations (line 140) | func loadKeyValueOperations(path string) (operations []porcupine.Operati... function persistWatchOperations (line 178) | func persistWatchOperations(lg *zap.Logger, path string, responses []mod... function persistKeyValueOperations (line 196) | func persistKeyValueOperations(lg *zap.Logger, path string, operations [... function OperationsMaxRevision (line 214) | func OperationsMaxRevision(reports []ClientReport) int64 { FILE: tests/robustness/report/client_test.go function TestPersistLoadClientReports (line 34) | func TestPersistLoadClientReports(t *testing.T) { FILE: tests/robustness/report/failpoint.go type FailpointReport (line 21) | type FailpointReport struct type FailpointInjection (line 26) | type FailpointInjection struct FILE: tests/robustness/report/report.go type TestReport (line 29) | type TestReport struct method Report (line 38) | func (r *TestReport) Report(path string) error { function ServerDataPaths (line 69) | func ServerDataPaths(c *e2e.EtcdProcessCluster) map[string]string { function memberDataDir (line 78) | func memberDataDir(member e2e.EtcdProcess) string { type TrafficDetail (line 86) | type TrafficDetail struct constant trafficDetailFileName (line 90) | trafficDetailFileName = "traffic.json" function persistTrafficDetail (line 92) | func persistTrafficDetail(lg *zap.Logger, p string, td TrafficDetail) er... function LoadTrafficDetail (line 101) | func LoadTrafficDetail(p string) (TrafficDetail, error) { FILE: tests/robustness/report/wal.go function LoadClusterPersistedRequests (line 39) | func LoadClusterPersistedRequests(lg *zap.Logger, path string) ([]model.... function PersistedRequestsCluster (line 53) | func PersistedRequestsCluster(lg *zap.Logger, cluster *e2e.EtcdProcessCl... function PersistedRequests (line 61) | func PersistedRequests(lg *zap.Logger, dataDirs []string) ([]model.EtcdR... function mergeMembersEntries (line 96) | func mergeMembersEntries(minCommitIndex uint64, memberEntries [][]raftpb... function ReadWAL (line 192) | func ReadWAL(lg *zap.Logger, dataDir string) (state raftpb.HardState, en... function parseEntryNormal (line 213) | func parseEntryNormal(ent raftpb.Entry) (*model.EtcdRequest, error) { function toEtcdOperation (line 318) | func toEtcdOperation(op *pb.RequestOp) (operation model.EtcdOperation) { function ReadAllWALEntries (line 353) | func ReadAllWALEntries(lg *zap.Logger, dirpath string) (state raftpb.Har... FILE: tests/robustness/report/wal_test.go function TestMergeMemberEntries (line 29) | func TestMergeMemberEntries(t *testing.T) { function TestWriteReadWAL (line 369) | func TestWriteReadWAL(t *testing.T) { FILE: tests/robustness/scenarios/scenarios.go type TrafficProfile (line 36) | type TrafficProfile struct type TestScenario (line 81) | type TestScenario struct function Exploratory (line 90) | func Exploratory(_ *testing.T) []TestScenario { function Regression (line 180) | func Regression(t *testing.T) []TestScenario { FILE: tests/robustness/traffic/etcd.go type etcdTraffic (line 75) | type etcdTraffic struct method ExpectUniqueRevision (line 81) | func (t etcdTraffic) ExpectUniqueRevision() bool { method Name (line 101) | func (t etcdTraffic) Name() string { method RunKeyValueLoop (line 105) | func (t etcdTraffic) RunKeyValueLoop(ctx context.Context, p RunTraffic... method RunWatchLoop (line 152) | func (t etcdTraffic) RunWatchLoop(ctx context.Context, p RunWatchLoopP... method RunCompactLoop (line 158) | func (t etcdTraffic) RunCompactLoop(ctx context.Context, param RunComp... method pickOperationType (line 365) | func (t etcdTraffic) pickOperationType() model.OperationType { type etcdRequestType (line 85) | type etcdRequestType constant Get (line 88) | Get etcdRequestType = "get" constant StaleGet (line 89) | StaleGet etcdRequestType = "staleGet" constant List (line 90) | List etcdRequestType = "list" constant StaleList (line 91) | StaleList etcdRequestType = "staleList" constant Put (line 92) | Put etcdRequestType = "put" constant Delete (line 93) | Delete etcdRequestType = "delete" constant MultiOpTxn (line 94) | MultiOpTxn etcdRequestType = "multiOpTxn" constant PutWithLease (line 95) | PutWithLease etcdRequestType = "putWithLease" constant LeaseRevoke (line 96) | LeaseRevoke etcdRequestType = "leaseRevoke" constant CompareAndSet (line 97) | CompareAndSet etcdRequestType = "compareAndSet" constant Defragment (line 98) | Defragment etcdRequestType = "defragment" function filterOutNonUniqueEtcdWrites (line 187) | func filterOutNonUniqueEtcdWrites(choices []random.ChoiceWeight[etcdRequ... type etcdTrafficClient (line 196) | type etcdTrafficClient struct method Request (line 205) | func (c etcdTrafficClient) Request(ctx context.Context, request etcdRe... method pickMultiTxnOps (line 331) | func (c etcdTrafficClient) pickMultiTxnOps(keyStore *keyStore) (ops []... FILE: tests/robustness/traffic/key_store.go type keyStore (line 30) | type keyStore struct method GetKey (line 54) | func (k *keyStore) GetKey() string { method GetKeyForDelete (line 63) | func (k *keyStore) GetKeyForDelete() string { method GetKeysForMultiTxnOps (line 75) | func (k *keyStore) GetKeysForMultiTxnOps(ops []model.OperationType) []... method GetPrefix (line 99) | func (k *keyStore) GetPrefix() string { method SyncKeys (line 116) | func (k *keyStore) SyncKeys(resp *clientv3.GetResponse) { method getKeyNum (line 149) | func (k *keyStore) getKeyNum(key string) int { method replaceKey (line 159) | func (k *keyStore) replaceKey(index int) { function NewKeyStore (line 39) | func NewKeyStore(size int, keyPrefix string) *keyStore { FILE: tests/robustness/traffic/kubernetes.go type kubernetesTraffic (line 79) | type kubernetesTraffic struct method ExpectUniqueRevision (line 87) | func (t kubernetesTraffic) ExpectUniqueRevision() bool { method RunKeyValueLoop (line 91) | func (t kubernetesTraffic) RunKeyValueLoop(ctx context.Context, p RunT... method RunWatchLoop (line 139) | func (t kubernetesTraffic) RunWatchLoop(ctx context.Context, p RunWatc... method Read (line 146) | func (t kubernetesTraffic) Read(ctx context.Context, c *client.Recordi... method Get (line 177) | func (t kubernetesTraffic) Get(ctx context.Context, kc kubernetes.Inte... method List (line 183) | func (t kubernetesTraffic) List(ctx context.Context, kc kubernetes.Int... method Write (line 210) | func (t kubernetesTraffic) Write(ctx context.Context, kc kubernetes.In... method Watch (line 263) | func (t kubernetesTraffic) Watch(ctx context.Context, c *client.Record... method generateKey (line 277) | func (t kubernetesTraffic) generateKey() string { method RunCompactLoop (line 281) | func (t kubernetesTraffic) RunCompactLoop(ctx context.Context, param R... function filterOutNonUniqueKubernetesWrites (line 254) | func filterOutNonUniqueKubernetesWrites(choices []random.ChoiceWeight[Ku... constant compactRevKey (line 304) | compactRevKey = "compact_rev_key" function compact (line 307) | func compact(ctx context.Context, client *client.RecordingClient, t, rev... type KubernetesRequestType (line 335) | type KubernetesRequestType constant KubernetesDelete (line 338) | KubernetesDelete KubernetesRequestType = "delete" constant KubernetesUpdate (line 339) | KubernetesUpdate KubernetesRequestType = "update" constant KubernetesCreate (line 340) | KubernetesCreate KubernetesRequestType = "create" constant KubernetesGet (line 341) | KubernetesGet KubernetesRequestType = "get" constant KubernetesGetStale (line 342) | KubernetesGetStale KubernetesRequestType = "get_stale" constant KubernetesGetRev (line 343) | KubernetesGetRev KubernetesRequestType = "get_rev" constant KubernetesListStale (line 344) | KubernetesListStale KubernetesRequestType = "list_stale" constant KubernetesListAndWatch (line 345) | KubernetesListAndWatch KubernetesRequestType = "list_watch" type storage (line 348) | type storage struct method Update (line 362) | func (s *storage) Update(resp clientv3.WatchResponse) { method Reset (line 379) | func (s *storage) Reset(revision int64, kvs []*mvccpb.KeyValue) { method Count (line 392) | func (s *storage) Count() int { method PickRandom (line 398) | func (s *storage) PickRandom() (key string, rev int64) { method pickRandomLocked (line 404) | func (s *storage) pickRandomLocked() (key string, rev int64) { method KeyWithUnrelatedRev (line 420) | func (s *storage) KeyWithUnrelatedRev() (key string, rev int64) { function NewKubernetesStorage (line 356) | func NewKubernetesStorage() *storage { FILE: tests/robustness/traffic/limiter.go function NewConcurrencyLimiter (line 17) | func NewConcurrencyLimiter(size int) ConcurrencyLimiter { type ConcurrencyLimiter (line 23) | type ConcurrencyLimiter interface type concurrencyLimiter (line 28) | type concurrencyLimiter struct method Take (line 32) | func (c *concurrencyLimiter) Take() bool { method Return (line 41) | func (c *concurrencyLimiter) Return() { FILE: tests/robustness/traffic/limiter_test.go function TestLimiter (line 25) | func TestLimiter(t *testing.T) { FILE: tests/robustness/traffic/traffic.go type Range (line 37) | type Range struct method Rand (line 42) | func (r Range) Rand() int64 { function SimulateTraffic (line 93) | func SimulateTraffic(ctx context.Context, t *testing.T, lg *zap.Logger, ... function CalculateWatchStats (line 255) | func CalculateWatchStats(reports []report.ClientReport, start, end time.... type watchStats (line 306) | type watchStats struct method AvgDuration (line 316) | func (ws *watchStats) AvgDuration() time.Duration { method EventsQPS (line 323) | func (ws *watchStats) EventsQPS() float64 { function CalculateStats (line 330) | func CalculateStats(reports []report.ClientReport, start, end time.Durat... type trafficStats (line 349) | type trafficStats struct method SuccessRate (line 354) | func (ts *trafficStats) SuccessRate() float64 { method QPS (line 358) | func (ts *trafficStats) QPS() float64 { type Profile (line 362) | type Profile struct type KeyValue (line 368) | type KeyValue struct type Watch (line 377) | type Watch struct type Compaction (line 383) | type Compaction struct type RunTrafficLoopParam (line 387) | type RunTrafficLoopParam struct type RunCompactLoopParam (line 398) | type RunCompactLoopParam struct type RunWatchLoopParam (line 404) | type RunWatchLoopParam struct type Traffic (line 415) | type Traffic interface function runWatchLoop (line 422) | func runWatchLoop(ctx context.Context, p RunWatchLoopParam, cfg watchLoo... function runWatch (line 441) | func runWatch(ctx context.Context, p RunWatchLoopParam, cfg watchLoopCon... type watchLoopConfig (line 472) | type watchLoopConfig struct function CheckEmptyDatabaseAtStart (line 477) | func CheckEmptyDatabaseAtStart(ctx context.Context, lg *zap.Logger, endp... FILE: tests/robustness/validate/operations.go function validateLinearizableOperationsAndVisualize (line 33) | func validateLinearizableOperationsAndVisualize(lg *zap.Logger, operatio... function validateSerializableOperations (line 61) | func validateSerializableOperations(lg *zap.Logger, operations []porcupi... function validateSerializableOperationsError (line 73) | func validateSerializableOperationsError(lg *zap.Logger, operations []po... function validateSerializableRead (line 85) | func validateSerializableRead(lg *zap.Logger, replay *model.EtcdReplay, ... FILE: tests/robustness/validate/operations_test.go function TestValidateSerializableOperations (line 31) | func TestValidateSerializableOperations(t *testing.T) { function rangeRequest (line 252) | func rangeRequest(start, end string, rev, limit int64) model.EtcdRequest { function rangeResponse (line 266) | func rangeResponse(count int64, kvs ...model.KeyValue) model.MaybeEtcdRe... function errorResponse (line 280) | func errorResponse(err error) model.MaybeEtcdResponse { function keyValueRevision (line 286) | func keyValueRevision(key, value string, rev int64) model.KeyValue { function BenchmarkValidateLinearizableOperations (line 297) | func BenchmarkValidateLinearizableOperations(b *testing.B) { function sequentialSuccessPuts (line 327) | func sequentialSuccessPuts(count int, startRevision int64) []porcupine.O... function concurrentFailedPutsWithRead (line 341) | func concurrentFailedPutsWithRead(b *testing.B, concurrencyCount int) []... function sequentialFailedPuts (line 369) | func sequentialFailedPuts(count int, keyCount int) []porcupine.Operation { function backtrackingHeavy (line 387) | func backtrackingHeavy(b *testing.B) (ops []porcupine.Operation) { function shuffleHistory (line 438) | func shuffleHistory(history []porcupine.Operation, shuffleCount int) [][... function validateShuffles (line 451) | func validateShuffles(b *testing.B, lg *zap.Logger, shuffles [][]porcupi... FILE: tests/robustness/validate/patch_history.go type patchArgs (line 27) | type patchArgs struct function patchLinearizableOperations (line 34) | func patchLinearizableOperations(operations []porcupine.Operation, repor... function watchRevisions (line 78) | func watchRevisions(reports []report.ClientReport) map[model.PutOptions]... function patchOperations (line 102) | func patchOperations( function isUniqueTxn (line 196) | func isUniqueTxn(request *model.TxnRequest, putArgs map[model.PutOptions... function isUniqueOps (line 200) | func isUniqueOps(ops []model.EtcdOperation, putArgs map[model.PutOptions... function hasWriteOperation (line 204) | func hasWriteOperation(ops []model.EtcdOperation) bool { function hasUniqueWriteOperation (line 213) | func hasUniqueWriteOperation(ops []model.EtcdOperation, putArgs map[mode... function uniqueOperationReturnTime (line 234) | func uniqueOperationReturnTime( function countClientPuts (line 341) | func countClientPuts(reports []report.ClientReport) map[model.PutOptions... function countPersistedPuts (line 352) | func countPersistedPuts(requests []model.EtcdRequest) map[model.PutOptio... function countPuts (line 360) | func countPuts(counter map[model.PutOptions]int64, request model.EtcdReq... function countClientDeletes (line 384) | func countClientDeletes(reports []report.ClientReport) map[model.DeleteO... function countPersistedDeletes (line 395) | func countPersistedDeletes(requests []model.EtcdRequest) map[model.Delet... function countDeletes (line 403) | func countDeletes(counter map[model.DeleteOptions]int64, request model.E... function countClientCompacts (line 414) | func countClientCompacts(reports []report.ClientReport) map[model.Compac... function countPersistedCompacts (line 425) | func countPersistedCompacts(requests []model.EtcdRequest) map[model.Comp... function countCompacts (line 433) | func countCompacts(counter map[model.CompactRequest]int64, request model... FILE: tests/robustness/validate/patch_history_test.go constant infinite (line 34) | infinite = math.MaxInt64 function TestPatchHistory (line 36) | func TestPatchHistory(t *testing.T) { function txnResponse (line 570) | func txnResponse(rev int64, result ...model.EtcdOperationResult) model.M... function watchResponse (line 574) | func watchResponse(responseTime int64, events ...model.WatchEvent) []mod... function putEvent (line 587) | func putEvent(key, value string, revision int64) model.WatchEvent { function deleteEvent (line 600) | func deleteEvent(key string, revision int64) model.WatchEvent { function compactRequest (line 612) | func compactRequest(revision int64) model.EtcdRequest { FILE: tests/robustness/validate/result.go type RobustnessResult (line 25) | type RobustnessResult struct method Error (line 45) | func (r RobustnessResult) Error() error { type Result (line 32) | type Result struct method Error (line 73) | func (r Result) Error() error { type ResultStatus (line 37) | type ResultStatus function ResultFromError (line 61) | func ResultFromError(err error) Result { type LinearizationResult (line 83) | type LinearizationResult struct method Visualize (line 90) | func (r *LinearizationResult) Visualize(lg *zap.Logger, path string) e... method AddToVisualization (line 99) | func (r *LinearizationResult) AddToVisualization(serializable []porcup... FILE: tests/robustness/validate/validate.go function ValidateAndReturnVisualize (line 32) | func ValidateAndReturnVisualize(lg *zap.Logger, cfg Config, reports []re... type Config (line 62) | type Config struct function prepareAndCategorizeOperations (line 66) | func prepareAndCategorizeOperations(reports []report.ClientReport) (line... function isLinearizable (line 90) | func isLinearizable(request model.EtcdRequest, response model.MaybeEtcdR... function isSerializable (line 102) | func isSerializable(request model.EtcdRequest, response model.MaybeEtcdR... function checkValidationAssumptions (line 114) | func checkValidationAssumptions(reports []report.ClientReport) error { function validateEmptyDatabaseAtStart (line 127) | func validateEmptyDatabaseAtStart(reports []report.ClientReport) error { function validateNonConcurrentClientRequests (line 143) | func validateNonConcurrentClientRequests(reports []report.ClientReport) ... FILE: tests/robustness/validate/validate_test.go function TestDataReports (line 33) | func TestDataReports(t *testing.T) { function TestValidateAndReturnVisualize (line 65) | func TestValidateAndReturnVisualize(t *testing.T) { function watchEvent (line 191) | func watchEvent(rev int64, isCreate bool, eventType model.OperationType,... function TestValidateWatch (line 195) | func TestValidateWatch(t *testing.T) { function putWatchEvent (line 1989) | func putWatchEvent(key, value string, rev int64, isCreate bool) model.Wa... function deleteWatchEvent (line 1995) | func deleteWatchEvent(key string, rev int64) model.WatchEvent { function putWatchEventWithPrevKV (line 2001) | func putWatchEventWithPrevKV(key, value string, rev int64, isCreate bool... function putWatchEventWithPrevKVV (line 2005) | func putWatchEventWithPrevKVV(key, value string, rev int64, isCreate boo... function deleteWatchEventWithPrevKV (line 2016) | func deleteWatchEventWithPrevKV(key string, rev int64, prevValue string,... function deleteWatchEventWithPrevKVV (line 2020) | func deleteWatchEventWithPrevKVV(key string, rev int64, prevValue string... function putPersistedEvent (line 2031) | func putPersistedEvent(key, value string, rev int64, isCreate bool) mode... function deletePersistedEvent (line 2043) | func deletePersistedEvent(key string, rev int64) model.PersistedEvent { function getRequest (line 2053) | func getRequest(key string) model.EtcdRequest { function getResponse (line 2064) | func getResponse(rev int64) model.MaybeEtcdResponse { function putRequest (line 2068) | func putRequest(key, value string) model.EtcdRequest { function putRequestWithLease (line 2091) | func putRequestWithLease(key, value string, leaseID int64) model.EtcdReq... function deleteRequest (line 2097) | func deleteRequest(key string) model.EtcdRequest { FILE: tests/robustness/validate/watch.go function validateWatch (line 42) | func validateWatch(lg *zap.Logger, cfg Config, reports []report.ClientRe... function validateWatchError (line 54) | func validateWatchError(lg *zap.Logger, cfg Config, reports []report.Cli... function validateFilter (line 97) | func validateFilter(lg *zap.Logger, report report.ClientReport) (err err... function validateBookmarkable (line 111) | func validateBookmarkable(lg *zap.Logger, report report.ClientReport) (e... function validateOrdered (line 139) | func validateOrdered(lg *zap.Logger, report report.ClientReport) (err er... function validateUnique (line 155) | func validateUnique(lg *zap.Logger, expectUniqueRevision bool, report re... function validateAtomic (line 180) | func validateAtomic(lg *zap.Logger, report report.ClientReport) (err err... function validateReliable (line 196) | func validateReliable(lg *zap.Logger, replay *model.EtcdReplay, report r... function validateResumable (line 231) | func validateResumable(lg *zap.Logger, replay *model.EtcdReplay, report ... function validatePrevKV (line 256) | func validatePrevKV(lg *zap.Logger, replay *model.EtcdReplay, report rep... function validateIsCreate (line 291) | func validateIsCreate(lg *zap.Logger, replay *model.EtcdReplay, report r... function firstExpectedRevision (line 312) | func firstExpectedRevision(op model.WatchOperation) int64 { function lastRevision (line 328) | func lastRevision(op model.WatchOperation) int64 { function firstWatchEvent (line 342) | func firstWatchEvent(op model.WatchOperation) *model.WatchEvent { FILE: tools/benchmark/cmd/lease.go function init (line 38) | func init() { function leaseKeepaliveFunc (line 43) | func leaseKeepaliveFunc(cmd *cobra.Command, _ []string) { FILE: tools/benchmark/cmd/mvcc-put.go function init (line 47) | func init() { function createBytesSlice (line 61) | func createBytesSlice(bytesN, sliceN int) [][]byte { function mvccPutFunc (line 72) | func mvccPutFunc(cmd *cobra.Command, _ []string) { FILE: tools/benchmark/cmd/mvcc.go function initMVCC (line 36) | func initMVCC() { function init (line 54) | func init() { function mvccPreRun (line 61) | func mvccPreRun(_ *cobra.Command, _ []string) { FILE: tools/benchmark/cmd/put.go function init (line 60) | func init() { function putFunc (line 74) | func putFunc(cmd *cobra.Command, _ []string) { function compactKV (line 139) | func compactKV(clients []*v3.Client) { function hashKV (line 155) | func hashKV(cmd *cobra.Command, clients []*v3.Client) { FILE: tools/benchmark/cmd/range.go function init (line 48) | func init() { function rangeFunc (line 57) | func rangeFunc(cmd *cobra.Command, args []string) { FILE: tools/benchmark/cmd/root.go function init (line 61) | func init() { FILE: tools/benchmark/cmd/stm.go type stmApply (line 44) | type stmApply function init (line 59) | func init() { function stmFunc (line 72) | func stmFunc(cmd *cobra.Command, _ []string) { function doSTM (line 154) | func doSTM(client *v3.Client, requests <-chan stmApply, results chan<- r... FILE: tools/benchmark/cmd/txn_mixed.go function init (line 53) | func init() { type request (line 67) | type request struct function mixedTxnFunc (line 72) | func mixedTxnFunc(cmd *cobra.Command, _ []string) { FILE: tools/benchmark/cmd/txn_put.go function init (line 47) | func init() { function txnPutFunc (line 58) | func txnPutFunc(cmd *cobra.Command, _ []string) { FILE: tools/benchmark/cmd/util.go function getUsernamePassword (line 36) | func getUsernamePassword(usernameFlag string) (string, string, error) { function mustCreateConn (line 54) | func mustCreateConn() *clientv3.Client { function mustCreateClients (line 90) | func mustCreateClients(totalClients, totalConns uint) []*clientv3.Client { function mustRandBytes (line 103) | func mustRandBytes(n int) []byte { function newReport (line 113) | func newReport(benchmarkOp string) report.Report { function newWeightedReport (line 124) | func newWeightedReport(benchmarkOp string) report.Report { FILE: tools/benchmark/cmd/watch.go type watchedKeys (line 66) | type watchedKeys struct function init (line 77) | func init() { function watchFunc (line 91) | func watchFunc(_ *cobra.Command, _ []string) { function benchMakeWatches (line 110) | func benchMakeWatches(clients []*clientv3.Client, wk *watchedKeys) { function newWatchedKeys (line 163) | func newWatchedKeys() *watchedKeys { function benchPutWatches (line 183) | func benchPutWatches(clients []*clientv3.Client, wk *watchedKeys) { function recvWatchChan (line 238) | func recvWatchChan(wch clientv3.WatchChan, results chan<- report.Result,... FILE: tools/benchmark/cmd/watch_get.go function init (line 45) | func init() { function watchGetFunc (line 52) | func watchGetFunc(cmd *cobra.Command, _ []string) { function doUnsyncWatch (line 104) | func doUnsyncWatch(stream v3.Watcher, rev int64, f func()) { FILE: tools/benchmark/cmd/watch_latency.go function init (line 51) | func init() { function watchLatencyFunc (line 63) | func watchLatencyFunc(cmd *cobra.Command, _ []string) { function setupWatchChannels (line 130) | func setupWatchChannels(key string) []clientv3.WatchChan { FILE: tools/benchmark/main.go function main (line 24) | func main() { FILE: tools/check-grpc-experimental/main.go function main (line 43) | func main() { function loadAllowList (line 133) | func loadAllowList(fpath string) error { function isExperimental (line 151) | func isExperimental(mainFset *token.FileSet, obj types.Object) bool { type cachedFile (line 175) | type cachedFile struct function getParsedFile (line 187) | func getParsedFile(filename string) (*cachedFile, error) { function checkFileForExperimental (line 220) | func checkFileForExperimental(filename string, targetLine int) bool { FILE: tools/etcd-dump-db/backend.go function snapDir (line 33) | func snapDir(dataDir string) string { function getBuckets (line 37) | func getBuckets(dbPath string) (buckets []string, err error) { type decoder (line 55) | type decoder function defaultDecoder (line 67) | func defaultDecoder(k, v []byte) { function keyDecoder (line 71) | func keyDecoder(k, v []byte) { function bytesToLeaseID (line 80) | func bytesToLeaseID(bytes []byte) int64 { function leaseDecoder (line 87) | func leaseDecoder(k, v []byte) { function authDecoder (line 96) | func authDecoder(k, v []byte) { function authRolesDecoder (line 105) | func authRolesDecoder(_, v []byte) { function authUsersDecoder (line 114) | func authUsersDecoder(_, v []byte) { function metaDecoder (line 123) | func metaDecoder(k, v []byte) { function iterateBucket (line 134) | func iterateBucket(dbPath, bucket string, limit uint64, decode bool) (er... function getHash (line 170) | func getHash(dbPath string) (hash uint32, err error) { FILE: tools/etcd-dump-db/main.go function init (line 64) | func init() { function main (line 75) | func main() { function listBucketCommandFunc (line 82) | func listBucketCommandFunc(_ *cobra.Command, args []string) { function iterateBucketCommandFunc (line 103) | func iterateBucketCommandFunc(_ *cobra.Command, args []string) { function scanKeysCommandFunc (line 121) | func scanKeysCommandFunc(_ *cobra.Command, args []string) { function getHashCommandFunc (line 142) | func getHashCommandFunc(_ *cobra.Command, args []string) { FILE: tools/etcd-dump-db/meta.go constant magic (line 19) | magic uint32 = 0xED0CDAED type inBucket (line 21) | type inBucket struct type meta (line 26) | type meta struct function loadPageMeta (line 38) | func loadPageMeta(buf []byte) *meta { FILE: tools/etcd-dump-db/page.go constant pageHeaderSize (line 20) | pageHeaderSize = unsafe.Sizeof(page{}) constant leafPageElementSize (line 21) | leafPageElementSize = unsafe.Sizeof(leafPageElement{}) constant pageMaxAllocSize (line 22) | pageMaxAllocSize = 0xFFFFFFF constant leafPageFlag (line 26) | leafPageFlag = 0x02 type page (line 29) | type page struct method isLeafPage (line 36) | func (p *page) isLeafPage() bool { method leafPageElement (line 45) | func (p *page) leafPageElement(index uint16) *leafPageElement { function loadPage (line 40) | func loadPage(buf []byte) *page { type leafPageElement (line 51) | type leafPageElement struct method key (line 59) | func (n *leafPageElement) key() []byte { method value (line 66) | func (n *leafPageElement) value() []byte { FILE: tools/etcd-dump-db/scan.go function scanKeys (line 25) | func scanKeys(dbPath string, startRev int64) error { function bytesToBucketKey (line 69) | func bytesToBucketKey(key []byte) (rev mvcc.BucketKey, err error) { function readPageAndHWMSize (line 79) | func readPageAndHWMSize(dbPath string) (uint64, uint64, error) { function readPage (line 100) | func readPage(dbPath string, pageSize uint64, pageID uint64) (*page, []b... function exceptionCheck (line 134) | func exceptionCheck(key []byte) bool { FILE: tools/etcd-dump-db/utils.go function unsafeAdd (line 21) | func unsafeAdd(base unsafe.Pointer, offset uintptr) unsafe.Pointer { function unsafeIndex (line 25) | func unsafeIndex(base unsafe.Pointer, offset uintptr, elemsz uintptr, n ... function unsafeByteSlice (line 29) | func unsafeByteSlice(base unsafe.Pointer, offset uintptr, i, j int) []by... FILE: tools/etcd-dump-logs/etcd-dump-log_test.go function TestEtcdDumpLogEntryType (line 37) | func TestEtcdDumpLogEntryType(t *testing.T) { function mustCreateWALLog (line 93) | func mustCreateWALLog(t *testing.T, path string) { function appendConfigChangeEnts (line 119) | func appendConfigChangeEnts(ents *[]raftpb.Entry) { function appendNormalIRREnts (line 135) | func appendNormalIRREnts(ents *[]raftpb.Entry) { function appendUnknownNormalEnts (line 235) | func appendUnknownNormalEnts(ents *[]raftpb.Entry) { FILE: tools/etcd-dump-logs/main.go constant defaultEntryTypes (line 44) | defaultEntryTypes string = "Normal,ConfigChange" constant methodSync (line 45) | methodSync string = "SYNC" constant methodQGet (line 46) | methodQGet string = "QGET" constant methodDelete (line 47) | methodDelete string = "DELETE" constant methodRandom (line 48) | methodRandom string = "RANDOM" function main (line 51) | func main() { function readUsingReadAll (line 115) | func readUsingReadAll(lg *zap.Logger, startFromIndex bool, startIndex *u... function walDir (line 196) | func walDir(dataDir string) string { return filepath.Join(dataDir, "memb... function snapDir (line 198) | func snapDir(dataDir string) string { return filepath.Join(dataDir, "mem... function parseWALMetadata (line 200) | func parseWALMetadata(b []byte) (id, cid types.ID) { function genIDSlice (line 208) | func genIDSlice(a []uint64) []types.ID { type EntryFilter (line 216) | type EntryFilter function passConfChange (line 220) | func passConfChange(entry raftpb.Entry) (bool, string) { function passInternalRaftRequest (line 224) | func passInternalRaftRequest(entry raftpb.Entry) (bool, string) { function passUnknownNormal (line 229) | func passUnknownNormal(entry raftpb.Entry) (bool, string) { function passIRRRange (line 234) | func passIRRRange(entry raftpb.Entry) (bool, string) { function passIRRPut (line 239) | func passIRRPut(entry raftpb.Entry) (bool, string) { function passIRRDeleteRange (line 244) | func passIRRDeleteRange(entry raftpb.Entry) (bool, string) { function passIRRTxn (line 249) | func passIRRTxn(entry raftpb.Entry) (bool, string) { function passIRRCompaction (line 254) | func passIRRCompaction(entry raftpb.Entry) (bool, string) { function passIRRLeaseGrant (line 259) | func passIRRLeaseGrant(entry raftpb.Entry) (bool, string) { function passIRRLeaseRevoke (line 264) | func passIRRLeaseRevoke(entry raftpb.Entry) (bool, string) { function passIRRLeaseCheckpoint (line 269) | func passIRRLeaseCheckpoint(entry raftpb.Entry) (bool, string) { function passRequest (line 274) | func passRequest(entry raftpb.Entry) (bool, string) { type EntryPrinter (line 279) | type EntryPrinter function printInternalRaftRequest (line 285) | func printInternalRaftRequest(entry raftpb.Entry) { function printUnknownNormal (line 296) | func printUnknownNormal(entry raftpb.Entry) { function printConfChange (line 300) | func printConfChange(entry raftpb.Entry) { function evaluateEntrytypeFlag (line 312) | func evaluateEntrytypeFlag(entrytype string) []EntryFilter { function listEntriesType (line 349) | func listEntriesType(entrytype string, streamdecoder string, ents []raft... function parseDecoderOutput (line 425) | func parseDecoderOutput(decoderoutput string) (string, string) { FILE: tools/etcd-dump-logs/raw.go function readRaw (line 33) | func readRaw(fromIndex *uint64, waldir string, out io.Writer) { function printRec (line 84) | func printRec(rec *walpb.Record, fromIndex *uint64, out io.Writer) { FILE: tools/etcd-dump-logs/raw_test.go function Test_readRaw (line 24) | func Test_readRaw(t *testing.T) { FILE: tools/etcd-dump-metrics/etcd.go function newEmbedURLs (line 31) | func newEmbedURLs(n int) (urls []url.URL) { function setupEmbedCfg (line 40) | func setupEmbedCfg(cfg *embed.Config, curls, purls, ics []url.URL) { function getCommand (line 63) | func getCommand(exec, name, dir, cURL, pURL, cluster string) (args []str... function write (line 81) | func write(ep string) { FILE: tools/etcd-dump-metrics/install_darwin.go constant downloadURL (line 30) | downloadURL = `https://storage.googleapis.com/etcd/%s/etcd-%s-darwin-amd... function install (line 32) | func install(ver, dir string) (string, error) { FILE: tools/etcd-dump-metrics/install_linux.go constant downloadURL (line 30) | downloadURL = `https://storage.googleapis.com/etcd/%s/etcd-%s-linux-amd6... function install (line 32) | func install(ver, dir string) (string, error) { FILE: tools/etcd-dump-metrics/install_windows.go function install (line 21) | func install(ver, dir string) (string, error) { FILE: tools/etcd-dump-metrics/main.go function init (line 35) | func init() { function main (line 43) | func main() { FILE: tools/etcd-dump-metrics/metrics.go function fetchMetrics (line 30) | func fetchMetrics(ep string) (lines []string, err error) { function getMetrics (line 49) | func getMetrics(ep string) (m metricSlice) { type metricSlice (line 73) | type metricSlice method String (line 59) | func (mss metricSlice) String() (s string) { method Len (line 75) | func (mss metricSlice) Len() int { method Less (line 79) | func (mss metricSlice) Less(i, j int) bool { method Swap (line 83) | func (mss metricSlice) Swap(i, j int) { type metric (line 87) | type metric struct method String (line 108) | func (m metric) String() (s string) { function parse (line 122) | func parse(lines []string) (mss []metric) { FILE: tools/etcd-dump-metrics/utils.go function aggSort (line 22) | func aggSort(ss []string) (sorted []string) { function sortMap (line 28) | func sortMap(set map[string]struct{}) (sorted []string) { FILE: tools/local-tester/bridge/bridge.go type bridgeConn (line 31) | type bridgeConn struct method String (line 46) | func (b *bridgeConn) String() string { method Close (line 50) | func (b *bridgeConn) Close() { function newBridgeConn (line 37) | func newBridgeConn(in net.Conn, d dispatcher) (*bridgeConn, error) { function bridge (line 55) | func bridge(b *bridgeConn) { function delayBridge (line 61) | func delayBridge(b *bridgeConn, txDelay, rxDelay time.Duration) { function timeBridge (line 66) | func timeBridge(b *bridgeConn) { function blackhole (line 76) | func blackhole(b *bridgeConn) { function readRemoteOnly (line 82) | func readRemoteOnly(b *bridgeConn) { function writeRemoteOnly (line 87) | func writeRemoteOnly(b *bridgeConn) { function corruptReceive (line 92) | func corruptReceive(b *bridgeConn) { function corruptSend (line 98) | func corruptSend(b *bridgeConn) { function makeFetch (line 104) | func makeFetch(c io.Reader) fetchFunc { function makeFetchCorrupt (line 115) | func makeFetchCorrupt(f func() ([]byte, error)) fetchFunc { function makeFetchRand (line 131) | func makeFetchRand(f func() ([]byte, error)) fetchFunc { function makeFetchDelay (line 144) | func makeFetchDelay(f fetchFunc, delay time.Duration) fetchFunc { function randomBlackhole (line 155) | func randomBlackhole(b *bridgeConn) { type config (line 172) | type config struct type acceptFaultFunc (line 192) | type acceptFaultFunc type connFaultFunc (line 193) | type connFaultFunc function main (line 196) | func main() { FILE: tools/local-tester/bridge/dispatch.go type dispatcher (line 33) | type dispatcher interface type fetchFunc (line 38) | type fetchFunc type dispatcherPool (line 40) | type dispatcherPool struct method writeLoop (line 57) | func (d *dispatcherPool) writeLoop() { method flush (line 64) | func (d *dispatcherPool) flush() { method Copy (line 101) | func (d *dispatcherPool) Copy(w io.Writer, f fetchFunc) error { type dispatchPacket (line 46) | type dispatchPacket struct function newDispatcherPool (line 51) | func newDispatcherPool() dispatcher { type dispatcherImmediate (line 126) | type dispatcherImmediate struct method Copy (line 132) | func (d *dispatcherImmediate) Copy(w io.Writer, f fetchFunc) error { function newDispatcherImmediate (line 128) | func newDispatcherImmediate() dispatcher { FILE: tools/proto-annotations/cmd/etcd_version.go function printEtcdVersion (line 44) | func printEtcdVersion() []error { function allEtcdVersionAnnotations (line 72) | func allEtcdVersionAnnotations() (annotations []etcdVersionAnnotation, e... function fileEtcdVersionAnnotations (line 89) | func fileEtcdVersionAnnotations(file protoreflect.FileDescriptor) (annot... type etcdVersionAnnotation (line 98) | type etcdVersionAnnotation struct method Validate (line 103) | func (a etcdVersionAnnotation) Validate() (errs []error) { method PrintLine (line 122) | func (a etcdVersionAnnotation) PrintLine(out io.Writer) error { FILE: tools/proto-annotations/cmd/root.go constant EtcdVersionAnnotation (line 25) | EtcdVersionAnnotation = "etcd_version" function RootCmd (line 28) | func RootCmd() *cobra.Command { function runProtoAnnotation (line 61) | func runProtoAnnotation(annotation string) error { FILE: tools/proto-annotations/main.go function main (line 24) | func main() { FILE: tools/testgrid-analysis/cmd/data.go type TestResultSummary (line 39) | type TestResultSummary struct function fetchTestResultSummaries (line 48) | func fetchTestResultSummaries(dashboard, tab string) []*TestResultSummary { function processRow (line 72) | func processRow(dashboard, tab string, row *apipb.ListRowsResponse_Row, ... function isParentTest (line 123) | func isParentTest(test string, allTests []string) bool { function fetchJSON (line 132) | func fetchJSON(url string) []byte { function intStatusSet (line 144) | func intStatusSet(statuses []statuspb.TestStatus) map[int32]struct{} { function shortenTestName (line 152) | func shortenTestName(fullname string) string { FILE: tools/testgrid-analysis/cmd/flaky.go function init (line 43) | func init() { function flakyFunc (line 55) | func flakyFunc(cmd *cobra.Command, args []string) { FILE: tools/testgrid-analysis/cmd/github.go function createIssues (line 26) | func createIssues(tests []*TestResultSummary, labels []string) { function getOpenIssues (line 33) | func getOpenIssues(labels []string) []*github.Issue { function createIssueIfNonExist (line 57) | func createIssueIfNonExist(t *TestResultSummary, issues []*github.Issue,... FILE: tools/testgrid-analysis/cmd/root.go function Execute (line 34) | func Execute() { function init (line 41) | func init() { FILE: tools/testgrid-analysis/main.go function main (line 19) | func main() {