package
2.5.7+incompatible
Repository: https://github.com/milvus-io/milvus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
AuthenticationInterceptor verify based on kv pair <"authorization": "token"> in header.
No description provided by the author
No description provided by the author
DatabaseInterceptor fill dbname into request based on kv pair <"dbname": "xx"> in header.
No description provided by the author
DeregisterSubLabel must add the sub-labels here if using other labels for the sub-labels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetFailedResponse returns failed response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetRequestInfo returns collection name and rateType of request and return tokens needed.
No description provided by the author
No description provided by the author
No description provided by the author
IDs2Expr converts ids slices to bool expresion with specified field name.
InitMetaCache initializes globalMetaCache.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMetaCache creates a MetaCache with provided RootCoord and QueryNode.
No description provided by the author
NewMockCache creates a new instance of MockCache.
NewMockChannelsMgr creates a new instance of MockChannelsMgr.
NewMockLBBalancer creates a new instance of MockLBBalancer.
NewMockLBPolicy creates a new instance of MockLBPolicy.
NewMockShardClientManager creates a new instance of MockShardClientManager.
NewProxy returns a Proxy struct.
No description provided by the author
No description provided by the author
No description provided by the author
NewSimpleLimiter returns a new SimpleLimiter.
NewTaskCondition creates a TaskCondition with provided context.
No description provided by the author
No description provided by the author
No description provided by the author
RateLimitInterceptor returns a new unary server interceptors that performs request rate limiting.
No description provided by the author
RepeatedKeyValToMap transfer the kv pairs to map.
No description provided by the author
RoundRobinPolicy do the query with multiple dml channels if request failed, it finds shard leader for failed dml channels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnaryServerInterceptor returns a new unary server interceptors that performs per-request privilege access.
No description provided by the author
ValidateCollectionAlias returns true if collAlias is a valid alias name for collection, otherwise returns false.
No description provided by the author
No description provided by the author
ValidateFieldAutoID call after validatePrimaryKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultArithmeticIndexType name of default index type for scalar field.
DefaultStringIndexType name of default index type for varChar/string field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
sub -> role name, like admin, public obj -> contact object with object name, like Global-*, Collection-col1 act -> privilege, like CreateCollection, DescribeCollection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AlterAliasTask is the task to alter alias.
No description provided by the author
No description provided by the author
No description provided by the author
CreateAliasTask contains task information of CreateAlias.
No description provided by the author
DescribeAliasTask is the task to describe alias.
No description provided by the author
DropAliasTask is the task to drop alias.
No description provided by the author
No description provided by the author
No description provided by the author
ListAliasesTask is the task to list aliases.
No description provided by the author
No description provided by the author
MetaCache implements Cache, provides collection meta cache based on internal RootCoord.
MetaCacheCasbinAdapter is the implementation of `persist.Adapter` with Cache Since the usage shall be read-only, it implements only `LoadPolicy` for now.
MockCache is an autogenerated mock type for the Cache type.
MockCache_AllocID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocID'.
MockCache_DeprecateShardCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeprecateShardCache'.
No description provided by the author
MockCache_GetCollectionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionID'.
MockCache_GetCollectionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionInfo'.
MockCache_GetCollectionName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionName'.
MockCache_GetCollectionSchema_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCollectionSchema'.
MockCache_GetCredentialInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCredentialInfo'.
MockCache_GetDatabaseInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatabaseInfo'.
MockCache_GetPartitionID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPartitionID'.
MockCache_GetPartitionInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPartitionInfo'.
MockCache_GetPartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPartitions'.
MockCache_GetPartitionsIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPartitionsIndex'.
MockCache_GetPrivilegeInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPrivilegeInfo'.
MockCache_GetShards_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetShards'.
MockCache_GetUserRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserRole'.
MockCache_HasDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasDatabase'.
MockCache_InitPolicyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitPolicyInfo'.
MockCache_InvalidateShardLeaderCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InvalidateShardLeaderCache'.
MockCache_ListShardLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListShardLocation'.
MockCache_RefreshPolicyInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshPolicyInfo'.
MockCache_RemoveCollection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCollection'.
MockCache_RemoveCollectionsByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCollectionsByID'.
MockCache_RemoveCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCredential'.
MockCache_RemoveDatabase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveDatabase'.
MockCache_UpdateCredential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCredential'.
MockChannelsMgr is an autogenerated mock type for the channelsMgr type.
No description provided by the author
MockChannelsMgr_getChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'getChannels'.
MockChannelsMgr_getOrCreateDmlStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'getOrCreateDmlStream'.
MockChannelsMgr_getVChannels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'getVChannels'.
MockChannelsMgr_removeAllDMLStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'removeAllDMLStream'.
MockChannelsMgr_removeDMLStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'removeDMLStream'.
MockLBBalancer is an autogenerated mock type for the LBBalancer type.
MockLBBalancer_CancelWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelWorkload'.
MockLBBalancer_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'.
No description provided by the author
MockLBBalancer_RegisterNodeInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterNodeInfo'.
MockLBBalancer_SelectNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectNode'.
MockLBBalancer_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'.
MockLBBalancer_UpdateCostMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCostMetrics'.
MockLBPolicy is an autogenerated mock type for the LBPolicy type.
MockLBPolicy_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'.
MockLBPolicy_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'.
MockLBPolicy_ExecuteWithRetry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteWithRetry'.
No description provided by the author
MockLBPolicy_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'.
MockLBPolicy_UpdateCostMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCostMetrics'.
MockShardClientManager is an autogenerated mock type for the shardClientMgr type.
MockShardClientManager_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'.
No description provided by the author
MockShardClientManager_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'.
MockShardClientManager_SetClientCreatorFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClientCreatorFunc'.
PrivilegeCache is a cache for privilege enforce result version provides version control when any policy updates.
Proxy of milvus.
No description provided by the author
No description provided by the author
No description provided by the author
SimpleLimiter is implemented based on Limiter interface.
TaskCondition implements Condition interface for tasks.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Cache is the interface for system meta data cache go:generate mockery --name=Cache --filename=mock_cache_test.go --outpkg=proxy --output=.
Condition defines the interface of variable condition.
DataCoord is a narrowed interface of DataCoordinator which only provide AssignSegmentID method.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Timestamp is alias of typeutil.Timestamp.
UniqueID is alias of typeutil.UniqueID.