package
2.5.7+incompatible
Repository: https://github.com/milvus-io/milvus.git
Documentation: pkg.go.dev
# Functions
GetServerInfoFilePath get server info file path, eg: /tmp/milvus/server_id_123456789 Notes: this method will not support Windows OS return file path.
No description provided by the author
GetSessionPrefixByRole get session prefix by role.
No description provided by the author
NewMockSession creates a new instance of MockSession.
Create a new Session object.
NewSessionWithEtcd is a helper to build a Session object.
No description provided by the author
No description provided by the author
No description provided by the author
WithIndexEngineVersion should be only used by querynode.
No description provided by the author
No description provided by the author
WithScalarIndexEngineVersion should be only used by querynode.
No description provided by the author
# Constants
DefaultIDKey default id key for Session.
DefaultServiceRoot default root path used in kv by Session.
SessionAddEvent event type for a new Session Added.
SessionDelEvent event type for a Session deleted.
SessionNoneEvent place holder for zero value.
SessionUpdateEvent event type for a Session stopping.
No description provided by the author
# Structs
No description provided by the author
MockSession is an autogenerated mock type for the SessionInterface type.
MockSession_Disconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Disconnected'.
No description provided by the author
MockSession_ForceActiveStandby_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceActiveStandby'.
MockSession_GetAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAddress'.
MockSession_GetServerID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetServerID'.
MockSession_GetSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSessions'.
MockSession_GetSessionsWithVersionRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSessionsWithVersionRange'.
MockSession_GoingStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GoingStop'.
MockSession_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'.
MockSession_IsTriggerKill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsTriggerKill'.
MockSession_LivenessCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LivenessCheck'.
MockSession_MarshalJSON_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarshalJSON'.
MockSession_ProcessActiveStandBy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessActiveStandBy'.
MockSession_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'.
MockSession_Registered_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Registered'.
MockSession_Revoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Revoke'.
MockSession_SetDisconnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDisconnected'.
MockSession_SetEnableActiveStandBy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEnableActiveStandBy'.
MockSession_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'.
MockSession_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'.
MockSession_UnmarshalJSON_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnmarshalJSON'.
MockSession_UpdateRegistered_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRegistered'.
MockSession_WatchServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchServices'.
MockSession_WatchServicesWithVersionRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchServicesWithVersionRange'.
Session is a struct to store service's session, including ServerID, ServerName, Address.
SessionEvent indicates the changes of other servers.
SessionRaw the persistent part of Session.
# Interfaces
No description provided by the author
# Type aliases
Rewatch defines the behavior outer session watch handles ErrCompacted it should process the current full list of session and returns err if meta error or anything else goes wrong.
SessionEventType session event type.
No description provided by the author