Documentation
¶
Index ¶
- Variables
- func RegisterMilvusBackupServiceServer(s *grpc.Server, srv MilvusBackupServiceServer)
- type BackupInfo
- func (*BackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BackupInfo) GetBackupTimestamp() uint64
- func (x *BackupInfo) GetCollectionBackups() []*CollectionBackupInfo
- func (x *BackupInfo) GetEndTime() int64
- func (x *BackupInfo) GetErrorMessage() string
- func (x *BackupInfo) GetId() string
- func (x *BackupInfo) GetMilvusVersion() string
- func (x *BackupInfo) GetName() string
- func (x *BackupInfo) GetProgress() int32
- func (x *BackupInfo) GetRbacMeta() *RBACMeta
- func (x *BackupInfo) GetSize() int64
- func (x *BackupInfo) GetStartTime() int64
- func (x *BackupInfo) GetStateCode() BackupTaskStateCode
- func (*BackupInfo) ProtoMessage()
- func (x *BackupInfo) ProtoReflect() protoreflect.Message
- func (x *BackupInfo) Reset()
- func (x *BackupInfo) String() string
- type BackupInfoResponse
- func (*BackupInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupInfoResponse) GetCode() ResponseCode
- func (x *BackupInfoResponse) GetData() *BackupInfo
- func (x *BackupInfoResponse) GetMsg() string
- func (x *BackupInfoResponse) GetRequestId() string
- func (*BackupInfoResponse) ProtoMessage()
- func (x *BackupInfoResponse) ProtoReflect() protoreflect.Message
- func (x *BackupInfoResponse) Reset()
- func (x *BackupInfoResponse) String() string
- type BackupTaskStateCode
- func (BackupTaskStateCode) Descriptor() protoreflect.EnumDescriptor
- func (x BackupTaskStateCode) Enum() *BackupTaskStateCode
- func (BackupTaskStateCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupTaskStateCode) Number() protoreflect.EnumNumber
- func (x BackupTaskStateCode) String() string
- func (BackupTaskStateCode) Type() protoreflect.EnumType
- type Binlog
- func (*Binlog) Descriptor() ([]byte, []int)deprecated
- func (x *Binlog) GetEntriesNum() int64
- func (x *Binlog) GetLogPath() string
- func (x *Binlog) GetLogSize() int64
- func (x *Binlog) GetTimestampFrom() uint64
- func (x *Binlog) GetTimestampTo() uint64
- func (*Binlog) ProtoMessage()
- func (x *Binlog) ProtoReflect() protoreflect.Message
- func (x *Binlog) Reset()
- func (x *Binlog) String() string
- type ChannelPosition
- func (*ChannelPosition) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelPosition) GetName() string
- func (x *ChannelPosition) GetPosition() string
- func (*ChannelPosition) ProtoMessage()
- func (x *ChannelPosition) ProtoReflect() protoreflect.Message
- func (x *ChannelPosition) Reset()
- func (x *ChannelPosition) String() string
- type CheckRequest
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetCode() ResponseCode
- func (x *CheckResponse) GetMsg() string
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- type CollectionBackupInfo
- func (*CollectionBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionBackupInfo) GetBackupPhysicalTimestamp() uint64
- func (x *CollectionBackupInfo) GetBackupTimestamp() uint64
- func (x *CollectionBackupInfo) GetChannelCheckpoints() map[string]string
- func (x *CollectionBackupInfo) GetCollectionId() int64
- func (x *CollectionBackupInfo) GetCollectionName() string
- func (x *CollectionBackupInfo) GetConsistencyLevel() ConsistencyLevel
- func (x *CollectionBackupInfo) GetDbName() string
- func (x *CollectionBackupInfo) GetEndTime() int64
- func (x *CollectionBackupInfo) GetErrorMessage() string
- func (x *CollectionBackupInfo) GetHasIndex() bool
- func (x *CollectionBackupInfo) GetId() string
- func (x *CollectionBackupInfo) GetIndexInfos() []*IndexInfo
- func (x *CollectionBackupInfo) GetL0Segments() []*SegmentBackupInfo
- func (x *CollectionBackupInfo) GetLoadState() string
- func (x *CollectionBackupInfo) GetPartitionBackups() []*PartitionBackupInfo
- func (x *CollectionBackupInfo) GetProgress() int32
- func (x *CollectionBackupInfo) GetSchema() *CollectionSchema
- func (x *CollectionBackupInfo) GetShardsNum() int32
- func (x *CollectionBackupInfo) GetSize() int64
- func (x *CollectionBackupInfo) GetStartTime() int64
- func (x *CollectionBackupInfo) GetStateCode() BackupTaskStateCode
- func (*CollectionBackupInfo) ProtoMessage()
- func (x *CollectionBackupInfo) ProtoReflect() protoreflect.Message
- func (x *CollectionBackupInfo) Reset()
- func (x *CollectionBackupInfo) String() string
- type CollectionLevelBackupInfo
- func (*CollectionLevelBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionLevelBackupInfo) GetInfos() []*CollectionBackupInfo
- func (*CollectionLevelBackupInfo) ProtoMessage()
- func (x *CollectionLevelBackupInfo) ProtoReflect() protoreflect.Message
- func (x *CollectionLevelBackupInfo) Reset()
- func (x *CollectionLevelBackupInfo) String() string
- type CollectionSchema
- func (*CollectionSchema) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionSchema) GetAutoID() bool
- func (x *CollectionSchema) GetDescription() string
- func (x *CollectionSchema) GetEnableDynamicField() bool
- func (x *CollectionSchema) GetFields() []*FieldSchema
- func (x *CollectionSchema) GetFunctions() []*FunctionSchema
- func (x *CollectionSchema) GetName() string
- func (x *CollectionSchema) GetProperties() []*KeyValuePair
- func (*CollectionSchema) ProtoMessage()
- func (x *CollectionSchema) ProtoReflect() protoreflect.Message
- func (x *CollectionSchema) Reset()
- func (x *CollectionSchema) String() string
- type ConsistencyLevel
- func (ConsistencyLevel) Descriptor() protoreflect.EnumDescriptor
- func (x ConsistencyLevel) Enum() *ConsistencyLevel
- func (ConsistencyLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConsistencyLevel) Number() protoreflect.EnumNumber
- func (x ConsistencyLevel) String() string
- func (ConsistencyLevel) Type() protoreflect.EnumType
- type CreateBackupRequest
- func (*CreateBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupRequest) GetAsync() bool
- func (x *CreateBackupRequest) GetBackupName() string
- func (x *CreateBackupRequest) GetCollectionNames() []string
- func (x *CreateBackupRequest) GetDbCollections() *_struct.Value
- func (x *CreateBackupRequest) GetForce() bool
- func (x *CreateBackupRequest) GetGcPauseAddress() string
- func (x *CreateBackupRequest) GetGcPauseEnable() bool
- func (x *CreateBackupRequest) GetGcPauseSeconds() int32
- func (x *CreateBackupRequest) GetMetaOnly() bool
- func (x *CreateBackupRequest) GetRbac() bool
- func (x *CreateBackupRequest) GetRequestId() string
- func (*CreateBackupRequest) ProtoMessage()
- func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBackupRequest) Reset()
- func (x *CreateBackupRequest) String() string
- type DataType
- type DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetBackupName() string
- func (x *DeleteBackupRequest) GetRequestId() string
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (x *DeleteBackupRequest) String() string
- type DeleteBackupResponse
- func (*DeleteBackupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupResponse) GetCode() ResponseCode
- func (x *DeleteBackupResponse) GetMsg() string
- func (x *DeleteBackupResponse) GetRequestId() string
- func (*DeleteBackupResponse) ProtoMessage()
- func (x *DeleteBackupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupResponse) Reset()
- func (x *DeleteBackupResponse) String() string
- type FieldBinlog
- func (*FieldBinlog) Descriptor() ([]byte, []int)deprecated
- func (x *FieldBinlog) GetBinlogs() []*Binlog
- func (x *FieldBinlog) GetFieldID() int64
- func (*FieldBinlog) ProtoMessage()
- func (x *FieldBinlog) ProtoReflect() protoreflect.Message
- func (x *FieldBinlog) Reset()
- func (x *FieldBinlog) String() string
- type FieldSchema
- func (*FieldSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FieldSchema) GetAutoID() bool
- func (x *FieldSchema) GetDataType() DataType
- func (x *FieldSchema) GetDefaultValue() *ValueField
- func (x *FieldSchema) GetDefaultValueProto() string
- func (x *FieldSchema) GetDescription() string
- func (x *FieldSchema) GetElementType() DataType
- func (x *FieldSchema) GetFieldID() int64
- func (x *FieldSchema) GetIndexParams() []*KeyValuePair
- func (x *FieldSchema) GetIsDynamic() bool
- func (x *FieldSchema) GetIsFunctionOutput() bool
- func (x *FieldSchema) GetIsPartitionKey() bool
- func (x *FieldSchema) GetIsPrimaryKey() bool
- func (x *FieldSchema) GetName() string
- func (x *FieldSchema) GetNullable() bool
- func (x *FieldSchema) GetState() FieldState
- func (x *FieldSchema) GetTypeParams() []*KeyValuePair
- func (*FieldSchema) ProtoMessage()
- func (x *FieldSchema) ProtoReflect() protoreflect.Message
- func (x *FieldSchema) Reset()
- func (x *FieldSchema) String() string
- type FieldState
- type FunctionSchema
- func (*FunctionSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionSchema) GetDescription() string
- func (x *FunctionSchema) GetId() int64
- func (x *FunctionSchema) GetInputFieldIds() []int64
- func (x *FunctionSchema) GetInputFieldNames() []string
- func (x *FunctionSchema) GetName() string
- func (x *FunctionSchema) GetOutputFieldIds() []int64
- func (x *FunctionSchema) GetOutputFieldNames() []string
- func (x *FunctionSchema) GetParams() []*KeyValuePair
- func (x *FunctionSchema) GetType() FunctionType
- func (*FunctionSchema) ProtoMessage()
- func (x *FunctionSchema) ProtoReflect() protoreflect.Message
- func (x *FunctionSchema) Reset()
- func (x *FunctionSchema) String() string
- type FunctionType
- func (FunctionType) Descriptor() protoreflect.EnumDescriptor
- func (x FunctionType) Enum() *FunctionType
- func (FunctionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FunctionType) Number() protoreflect.EnumNumber
- func (x FunctionType) String() string
- func (FunctionType) Type() protoreflect.EnumType
- type GetBackupRequest
- func (*GetBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackupRequest) GetBackupId() string
- func (x *GetBackupRequest) GetBackupName() string
- func (x *GetBackupRequest) GetBucketName() string
- func (x *GetBackupRequest) GetPath() string
- func (x *GetBackupRequest) GetRequestId() string
- func (x *GetBackupRequest) GetWithoutDetail() bool
- func (*GetBackupRequest) ProtoMessage()
- func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupRequest) Reset()
- func (x *GetBackupRequest) String() string
- type GetRestoreStateRequest
- func (*GetRestoreStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRestoreStateRequest) GetId() string
- func (x *GetRestoreStateRequest) GetRequestId() string
- func (*GetRestoreStateRequest) ProtoMessage()
- func (x *GetRestoreStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetRestoreStateRequest) Reset()
- func (x *GetRestoreStateRequest) String() string
- type GrantEntity
- func (*GrantEntity) Descriptor() ([]byte, []int)deprecated
- func (x *GrantEntity) GetDbName() string
- func (x *GrantEntity) GetGrantor() *GrantorEntity
- func (x *GrantEntity) GetObject() *ObjectEntity
- func (x *GrantEntity) GetObjectName() string
- func (x *GrantEntity) GetRole() *RoleEntity
- func (*GrantEntity) ProtoMessage()
- func (x *GrantEntity) ProtoReflect() protoreflect.Message
- func (x *GrantEntity) Reset()
- func (x *GrantEntity) String() string
- type GrantPrivilegeEntity
- func (*GrantPrivilegeEntity) Descriptor() ([]byte, []int)deprecated
- func (x *GrantPrivilegeEntity) GetEntities() []*GrantorEntity
- func (*GrantPrivilegeEntity) ProtoMessage()
- func (x *GrantPrivilegeEntity) ProtoReflect() protoreflect.Message
- func (x *GrantPrivilegeEntity) Reset()
- func (x *GrantPrivilegeEntity) String() string
- type GrantorEntity
- func (*GrantorEntity) Descriptor() ([]byte, []int)deprecated
- func (x *GrantorEntity) GetPrivilege() *PrivilegeEntity
- func (x *GrantorEntity) GetUser() *UserEntity
- func (*GrantorEntity) ProtoMessage()
- func (x *GrantorEntity) ProtoReflect() protoreflect.Message
- func (x *GrantorEntity) Reset()
- func (x *GrantorEntity) String() string
- type IndexInfo
- func (*IndexInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IndexInfo) GetFieldName() string
- func (x *IndexInfo) GetIndexName() string
- func (x *IndexInfo) GetIndexType() string
- func (x *IndexInfo) GetParams() map[string]string
- func (*IndexInfo) ProtoMessage()
- func (x *IndexInfo) ProtoReflect() protoreflect.Message
- func (x *IndexInfo) Reset()
- func (x *IndexInfo) String() string
- type KeyValuePair
- func (*KeyValuePair) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValuePair) GetKey() string
- func (x *KeyValuePair) GetValue() string
- func (*KeyValuePair) ProtoMessage()
- func (x *KeyValuePair) ProtoReflect() protoreflect.Message
- func (x *KeyValuePair) Reset()
- func (x *KeyValuePair) String() string
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetCollectionName() string
- func (x *ListBackupsRequest) GetRequestId() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetCode() ResponseCode
- func (x *ListBackupsResponse) GetData() []*BackupInfo
- func (x *ListBackupsResponse) GetMsg() string
- func (x *ListBackupsResponse) GetRequestId() string
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (x *ListBackupsResponse) String() string
- type MilvusBackupServiceClient
- type MilvusBackupServiceServer
- type MsgPosition
- func (*MsgPosition) Descriptor() ([]byte, []int)deprecated
- func (x *MsgPosition) GetChannelName() string
- func (x *MsgPosition) GetMsgGroup() string
- func (x *MsgPosition) GetMsgID() []byte
- func (x *MsgPosition) GetTimestamp() uint64
- func (*MsgPosition) ProtoMessage()
- func (x *MsgPosition) ProtoReflect() protoreflect.Message
- func (x *MsgPosition) Reset()
- func (x *MsgPosition) String() string
- type ObjectEntity
- type PartitionBackupInfo
- func (*PartitionBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionBackupInfo) GetCollectionId() int64
- func (x *PartitionBackupInfo) GetLoadState() string
- func (x *PartitionBackupInfo) GetPartitionId() int64
- func (x *PartitionBackupInfo) GetPartitionName() string
- func (x *PartitionBackupInfo) GetSegmentBackups() []*SegmentBackupInfo
- func (x *PartitionBackupInfo) GetSize() int64
- func (*PartitionBackupInfo) ProtoMessage()
- func (x *PartitionBackupInfo) ProtoReflect() protoreflect.Message
- func (x *PartitionBackupInfo) Reset()
- func (x *PartitionBackupInfo) String() string
- type PartitionLevelBackupInfo
- func (*PartitionLevelBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionLevelBackupInfo) GetInfos() []*PartitionBackupInfo
- func (*PartitionLevelBackupInfo) ProtoMessage()
- func (x *PartitionLevelBackupInfo) ProtoReflect() protoreflect.Message
- func (x *PartitionLevelBackupInfo) Reset()
- func (x *PartitionLevelBackupInfo) String() string
- type PrivilegeEntity
- type RBACMeta
- func (*RBACMeta) Descriptor() ([]byte, []int)deprecated
- func (x *RBACMeta) GetGrants() []*GrantEntity
- func (x *RBACMeta) GetRoles() []*RoleEntity
- func (x *RBACMeta) GetUsers() []*UserInfo
- func (*RBACMeta) ProtoMessage()
- func (x *RBACMeta) ProtoReflect() protoreflect.Message
- func (x *RBACMeta) Reset()
- func (x *RBACMeta) String() string
- type ResponseCode
- func (ResponseCode) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseCode) Enum() *ResponseCode
- func (ResponseCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseCode) Number() protoreflect.EnumNumber
- func (x ResponseCode) String() string
- func (ResponseCode) Type() protoreflect.EnumType
- type RestoreBackupRequest
- func (*RestoreBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreBackupRequest) GetAsync() bool
- func (x *RestoreBackupRequest) GetBackupName() string
- func (x *RestoreBackupRequest) GetBucketName() string
- func (x *RestoreBackupRequest) GetCollectionNames() []string
- func (x *RestoreBackupRequest) GetCollectionRenames() map[string]string
- func (x *RestoreBackupRequest) GetCollectionSuffix() string
- func (x *RestoreBackupRequest) GetDbCollections() *_struct.Value
- func (x *RestoreBackupRequest) GetDropExistCollection() bool
- func (x *RestoreBackupRequest) GetDropExistIndex() bool
- func (x *RestoreBackupRequest) GetId() string
- func (x *RestoreBackupRequest) GetMaxShardNum() int32
- func (x *RestoreBackupRequest) GetMetaOnly() bool
- func (x *RestoreBackupRequest) GetPath() string
- func (x *RestoreBackupRequest) GetRbac() bool
- func (x *RestoreBackupRequest) GetRequestId() string
- func (x *RestoreBackupRequest) GetRestoreIndex() bool
- func (x *RestoreBackupRequest) GetSkipCreateCollection() bool
- func (x *RestoreBackupRequest) GetSkipImportDiskQuotaCheck() booldeprecated
- func (x *RestoreBackupRequest) GetSkipParams() *SkipParams
- func (x *RestoreBackupRequest) GetUseAutoIndex() bool
- func (x *RestoreBackupRequest) GetUseV2Restore() bool
- func (*RestoreBackupRequest) ProtoMessage()
- func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreBackupRequest) Reset()
- func (x *RestoreBackupRequest) String() string
- type RestoreBackupResponse
- func (*RestoreBackupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreBackupResponse) GetCode() ResponseCode
- func (x *RestoreBackupResponse) GetData() *RestoreBackupTask
- func (x *RestoreBackupResponse) GetMsg() string
- func (x *RestoreBackupResponse) GetRequestId() string
- func (*RestoreBackupResponse) ProtoMessage()
- func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreBackupResponse) Reset()
- func (x *RestoreBackupResponse) String() string
- type RestoreBackupTask
- func (*RestoreBackupTask) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreBackupTask) GetCollectionRestoreTasks() []*RestoreCollectionTask
- func (x *RestoreBackupTask) GetEndTime() int64
- func (x *RestoreBackupTask) GetErrorMessage() string
- func (x *RestoreBackupTask) GetId() string
- func (x *RestoreBackupTask) GetProgress() int32
- func (x *RestoreBackupTask) GetRestoredSize() int64
- func (x *RestoreBackupTask) GetStartTime() int64
- func (x *RestoreBackupTask) GetStateCode() RestoreTaskStateCode
- func (x *RestoreBackupTask) GetToRestoreSize() int64
- func (*RestoreBackupTask) ProtoMessage()
- func (x *RestoreBackupTask) ProtoReflect() protoreflect.Message
- func (x *RestoreBackupTask) Reset()
- func (x *RestoreBackupTask) String() string
- type RestoreCollectionTask
- func (*RestoreCollectionTask) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreCollectionTask) GetCollBackup() *CollectionBackupInfo
- func (x *RestoreCollectionTask) GetDropExistCollection() bool
- func (x *RestoreCollectionTask) GetDropExistIndex() bool
- func (x *RestoreCollectionTask) GetEndTime() int64
- func (x *RestoreCollectionTask) GetErrorMessage() string
- func (x *RestoreCollectionTask) GetId() string
- func (x *RestoreCollectionTask) GetMaxShardNum() int32
- func (x *RestoreCollectionTask) GetMetaOnly() bool
- func (x *RestoreCollectionTask) GetPartitionRestoreTasks() []*RestorePartitionTask
- func (x *RestoreCollectionTask) GetProgress() int32
- func (x *RestoreCollectionTask) GetRestoreIndex() bool
- func (x *RestoreCollectionTask) GetRestoredSize() int64
- func (x *RestoreCollectionTask) GetSkipCreateCollection() bool
- func (x *RestoreCollectionTask) GetSkipDiskQuotaCheck() booldeprecated
- func (x *RestoreCollectionTask) GetSkipParams() *SkipParams
- func (x *RestoreCollectionTask) GetStartTime() int64
- func (x *RestoreCollectionTask) GetStateCode() RestoreTaskStateCode
- func (x *RestoreCollectionTask) GetTargetCollectionName() string
- func (x *RestoreCollectionTask) GetTargetDbName() string
- func (x *RestoreCollectionTask) GetToRestoreSize() int64
- func (x *RestoreCollectionTask) GetUseAutoIndex() bool
- func (x *RestoreCollectionTask) GetUseV2Restore() bool
- func (*RestoreCollectionTask) ProtoMessage()
- func (x *RestoreCollectionTask) ProtoReflect() protoreflect.Message
- func (x *RestoreCollectionTask) Reset()
- func (x *RestoreCollectionTask) String() string
- type RestorePartitionTask
- func (*RestorePartitionTask) Descriptor() ([]byte, []int)deprecated
- func (x *RestorePartitionTask) GetEndTime() int64
- func (x *RestorePartitionTask) GetErrorMessage() string
- func (x *RestorePartitionTask) GetId() string
- func (x *RestorePartitionTask) GetPartBackup() *PartitionBackupInfo
- func (x *RestorePartitionTask) GetProgress() int32
- func (x *RestorePartitionTask) GetStartTime() int64
- func (x *RestorePartitionTask) GetStateCode() RestoreTaskStateCode
- func (*RestorePartitionTask) ProtoMessage()
- func (x *RestorePartitionTask) ProtoReflect() protoreflect.Message
- func (x *RestorePartitionTask) Reset()
- func (x *RestorePartitionTask) String() string
- type RestoreTaskStateCode
- func (RestoreTaskStateCode) Descriptor() protoreflect.EnumDescriptor
- func (x RestoreTaskStateCode) Enum() *RestoreTaskStateCode
- func (RestoreTaskStateCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RestoreTaskStateCode) Number() protoreflect.EnumNumber
- func (x RestoreTaskStateCode) String() string
- func (RestoreTaskStateCode) Type() protoreflect.EnumType
- type RoleEntity
- type SegmentBackupInfo
- func (*SegmentBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentBackupInfo) GetBackuped() bool
- func (x *SegmentBackupInfo) GetBinlogs() []*FieldBinlog
- func (x *SegmentBackupInfo) GetCollectionId() int64
- func (x *SegmentBackupInfo) GetDeltalogs() []*FieldBinlog
- func (x *SegmentBackupInfo) GetGroupId() int64
- func (x *SegmentBackupInfo) GetIsL0() bool
- func (x *SegmentBackupInfo) GetNumOfRows() int64
- func (x *SegmentBackupInfo) GetPartitionId() int64
- func (x *SegmentBackupInfo) GetSegmentId() int64
- func (x *SegmentBackupInfo) GetSize() int64
- func (x *SegmentBackupInfo) GetStatslogs() []*FieldBinlog
- func (*SegmentBackupInfo) ProtoMessage()
- func (x *SegmentBackupInfo) ProtoReflect() protoreflect.Message
- func (x *SegmentBackupInfo) Reset()
- func (x *SegmentBackupInfo) String() string
- type SegmentLevelBackupInfo
- func (*SegmentLevelBackupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentLevelBackupInfo) GetInfos() []*SegmentBackupInfo
- func (*SegmentLevelBackupInfo) ProtoMessage()
- func (x *SegmentLevelBackupInfo) ProtoReflect() protoreflect.Message
- func (x *SegmentLevelBackupInfo) Reset()
- func (x *SegmentLevelBackupInfo) String() string
- type SkipParams
- func (*SkipParams) Descriptor() ([]byte, []int)deprecated
- func (x *SkipParams) GetCollectionProperties() []string
- func (x *SkipParams) GetFieldIndexParams() []string
- func (x *SkipParams) GetFieldTypeParams() []string
- func (x *SkipParams) GetIndexParams() []string
- func (*SkipParams) ProtoMessage()
- func (x *SkipParams) ProtoReflect() protoreflect.Message
- func (x *SkipParams) Reset()
- func (x *SkipParams) String() string
- type UnimplementedMilvusBackupServiceServer
- func (*UnimplementedMilvusBackupServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (*UnimplementedMilvusBackupServiceServer) CreateBackup(context.Context, *CreateBackupRequest) (*BackupInfoResponse, error)
- func (*UnimplementedMilvusBackupServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error)
- func (*UnimplementedMilvusBackupServiceServer) GetBackup(context.Context, *GetBackupRequest) (*BackupInfoResponse, error)
- func (*UnimplementedMilvusBackupServiceServer) GetRestore(context.Context, *GetRestoreStateRequest) (*RestoreBackupResponse, error)
- func (*UnimplementedMilvusBackupServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- func (*UnimplementedMilvusBackupServiceServer) RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error)
- type UserEntity
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetPassword() string
- func (x *UserInfo) GetRoles() []*RoleEntity
- func (x *UserInfo) GetUser() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type ValueField
- func (*ValueField) Descriptor() ([]byte, []int)deprecated
- func (x *ValueField) GetBoolData() bool
- func (x *ValueField) GetBytesData() []byte
- func (m *ValueField) GetData() isValueField_Data
- func (x *ValueField) GetDoubleData() float64
- func (x *ValueField) GetFloatData() float32
- func (x *ValueField) GetIntData() int32
- func (x *ValueField) GetLongData() int64
- func (x *ValueField) GetStringData() string
- func (*ValueField) ProtoMessage()
- func (x *ValueField) ProtoReflect() protoreflect.Message
- func (x *ValueField) Reset()
- func (x *ValueField) String() string
- type ValueField_BoolData
- type ValueField_BytesData
- type ValueField_DoubleData
- type ValueField_FloatData
- type ValueField_IntData
- type ValueField_LongData
- type ValueField_StringData
Constants ¶
This section is empty.
Variables ¶
var ( ResponseCode_name = map[int32]string{ 0: "Success", 1: "Not_Support", 2: "No_Permission", 3: "Fail", 400: "Parameter_Error", 404: "Request_Object_Not_Found", } ResponseCode_value = map[string]int32{ "Success": 0, "Not_Support": 1, "No_Permission": 2, "Fail": 3, "Parameter_Error": 400, "Request_Object_Not_Found": 404, } )
Enum value maps for ResponseCode.
var ( BackupTaskStateCode_name = map[int32]string{ 0: "BACKUP_INITIAL", 1: "BACKUP_EXECUTING", 2: "BACKUP_SUCCESS", 3: "BACKUP_FAIL", 4: "BACKUP_TIMEOUT", } BackupTaskStateCode_value = map[string]int32{ "BACKUP_INITIAL": 0, "BACKUP_EXECUTING": 1, "BACKUP_SUCCESS": 2, "BACKUP_FAIL": 3, "BACKUP_TIMEOUT": 4, } )
Enum value maps for BackupTaskStateCode.
var ( RestoreTaskStateCode_name = map[int32]string{ 0: "INITIAL", 1: "EXECUTING", 2: "SUCCESS", 3: "FAIL", 4: "TIMEOUT", } RestoreTaskStateCode_value = map[string]int32{ "INITIAL": 0, "EXECUTING": 1, "SUCCESS": 2, "FAIL": 3, "TIMEOUT": 4, } )
Enum value maps for RestoreTaskStateCode.
var ( ConsistencyLevel_name = map[int32]string{ 0: "Strong", 1: "Session", 2: "Bounded", 3: "Eventually", 4: "Customized", } ConsistencyLevel_value = map[string]int32{ "Strong": 0, "Session": 1, "Bounded": 2, "Eventually": 3, "Customized": 4, } )
Enum value maps for ConsistencyLevel.
var ( FunctionType_name = map[int32]string{ 0: "Unknown", 1: "BM25", 2: "TextEmbedding", } FunctionType_value = map[string]int32{ "Unknown": 0, "BM25": 1, "TextEmbedding": 2, } )
Enum value maps for FunctionType.
var ( DataType_name = map[int32]string{ 0: "None", 1: "Bool", 2: "Int8", 3: "Int16", 4: "Int32", 5: "Int64", 10: "Float", 11: "Double", 20: "String", 21: "VarChar", 22: "Array", 23: "Json", 100: "BinaryVector", 101: "FloatVector", 102: "Float16Vector", 103: "BFloat16Vector", 104: "SparseFloatVector", } DataType_value = map[string]int32{ "None": 0, "Bool": 1, "Int8": 2, "Int16": 3, "Int32": 4, "Int64": 5, "Float": 10, "Double": 11, "String": 20, "VarChar": 21, "Array": 22, "Json": 23, "BinaryVector": 100, "FloatVector": 101, "Float16Vector": 102, "BFloat16Vector": 103, "SparseFloatVector": 104, } )
Enum value maps for DataType.
var ( FieldState_name = map[int32]string{ 0: "FieldCreated", 1: "FieldCreating", 2: "FieldDropping", 3: "FieldDropped", } FieldState_value = map[string]int32{ "FieldCreated": 0, "FieldCreating": 1, "FieldDropping": 2, "FieldDropped": 3, } )
Enum value maps for FieldState.
var File_backup_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMilvusBackupServiceServer ¶
func RegisterMilvusBackupServiceServer(s *grpc.Server, srv MilvusBackupServiceServer)
Types ¶
type BackupInfo ¶
type BackupInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StateCode BackupTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.BackupTaskStateCode" json:"state_code"` ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Progress int32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // backup timestamp BackupTimestamp uint64 `protobuf:"varint,8,opt,name=backup_timestamp,json=backupTimestamp,proto3" json:"backup_timestamp,omitempty"` // array of collection backup CollectionBackups []*CollectionBackupInfo `protobuf:"bytes,9,rep,name=collection_backups,json=collectionBackups,proto3" json:"collection_backups,omitempty"` Size int64 `protobuf:"varint,10,opt,name=size,proto3" json:"size"` MilvusVersion string `protobuf:"bytes,11,opt,name=milvus_version,json=milvusVersion,proto3" json:"milvus_version,omitempty"` RbacMeta *RBACMeta `protobuf:"bytes,12,opt,name=rbac_meta,json=rbacMeta,proto3" json:"rbac_meta,omitempty"` // contains filtered or unexported fields }
* root of backup
func (*BackupInfo) Descriptor
deprecated
func (*BackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead.
func (*BackupInfo) GetBackupTimestamp ¶
func (x *BackupInfo) GetBackupTimestamp() uint64
func (*BackupInfo) GetCollectionBackups ¶
func (x *BackupInfo) GetCollectionBackups() []*CollectionBackupInfo
func (*BackupInfo) GetEndTime ¶
func (x *BackupInfo) GetEndTime() int64
func (*BackupInfo) GetErrorMessage ¶
func (x *BackupInfo) GetErrorMessage() string
func (*BackupInfo) GetId ¶
func (x *BackupInfo) GetId() string
func (*BackupInfo) GetMilvusVersion ¶
func (x *BackupInfo) GetMilvusVersion() string
func (*BackupInfo) GetName ¶
func (x *BackupInfo) GetName() string
func (*BackupInfo) GetProgress ¶
func (x *BackupInfo) GetProgress() int32
func (*BackupInfo) GetRbacMeta ¶ added in v0.4.21
func (x *BackupInfo) GetRbacMeta() *RBACMeta
func (*BackupInfo) GetSize ¶
func (x *BackupInfo) GetSize() int64
func (*BackupInfo) GetStartTime ¶
func (x *BackupInfo) GetStartTime() int64
func (*BackupInfo) GetStateCode ¶
func (x *BackupInfo) GetStateCode() BackupTaskStateCode
func (*BackupInfo) ProtoMessage ¶
func (*BackupInfo) ProtoMessage()
func (*BackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *BackupInfo) ProtoReflect() protoreflect.Message
func (*BackupInfo) Reset ¶
func (x *BackupInfo) Reset()
func (*BackupInfo) String ¶
func (x *BackupInfo) String() string
type BackupInfoResponse ¶
type BackupInfoResponse struct { // uuid of the request to response RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // response code. 0 means success. others are fail Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` // error msg if fail Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // backup info entity Data *BackupInfo `protobuf:"bytes,4,opt,name=data,proto3" json:"data"` // contains filtered or unexported fields }
* BackupInfoResponse
func (*BackupInfoResponse) Descriptor
deprecated
func (*BackupInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupInfoResponse.ProtoReflect.Descriptor instead.
func (*BackupInfoResponse) GetCode ¶
func (x *BackupInfoResponse) GetCode() ResponseCode
func (*BackupInfoResponse) GetData ¶
func (x *BackupInfoResponse) GetData() *BackupInfo
func (*BackupInfoResponse) GetMsg ¶
func (x *BackupInfoResponse) GetMsg() string
func (*BackupInfoResponse) GetRequestId ¶
func (x *BackupInfoResponse) GetRequestId() string
func (*BackupInfoResponse) ProtoMessage ¶
func (*BackupInfoResponse) ProtoMessage()
func (*BackupInfoResponse) ProtoReflect ¶ added in v0.5.0
func (x *BackupInfoResponse) ProtoReflect() protoreflect.Message
func (*BackupInfoResponse) Reset ¶
func (x *BackupInfoResponse) Reset()
func (*BackupInfoResponse) String ¶
func (x *BackupInfoResponse) String() string
type BackupTaskStateCode ¶
type BackupTaskStateCode int32
const ( BackupTaskStateCode_BACKUP_INITIAL BackupTaskStateCode = 0 BackupTaskStateCode_BACKUP_EXECUTING BackupTaskStateCode = 1 BackupTaskStateCode_BACKUP_SUCCESS BackupTaskStateCode = 2 BackupTaskStateCode_BACKUP_FAIL BackupTaskStateCode = 3 BackupTaskStateCode_BACKUP_TIMEOUT BackupTaskStateCode = 4 )
func (BackupTaskStateCode) Descriptor ¶ added in v0.5.0
func (BackupTaskStateCode) Descriptor() protoreflect.EnumDescriptor
func (BackupTaskStateCode) Enum ¶ added in v0.5.0
func (x BackupTaskStateCode) Enum() *BackupTaskStateCode
func (BackupTaskStateCode) EnumDescriptor
deprecated
func (BackupTaskStateCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupTaskStateCode.Descriptor instead.
func (BackupTaskStateCode) Number ¶ added in v0.5.0
func (x BackupTaskStateCode) Number() protoreflect.EnumNumber
func (BackupTaskStateCode) String ¶
func (x BackupTaskStateCode) String() string
func (BackupTaskStateCode) Type ¶ added in v0.5.0
func (BackupTaskStateCode) Type() protoreflect.EnumType
type Binlog ¶
type Binlog struct { EntriesNum int64 `protobuf:"varint,1,opt,name=entries_num,json=entriesNum,proto3" json:"entries_num,omitempty"` TimestampFrom uint64 `protobuf:"varint,2,opt,name=timestamp_from,json=timestampFrom,proto3" json:"timestamp_from,omitempty"` TimestampTo uint64 `protobuf:"varint,3,opt,name=timestamp_to,json=timestampTo,proto3" json:"timestamp_to,omitempty"` LogPath string `protobuf:"bytes,4,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` LogSize int64 `protobuf:"varint,5,opt,name=log_size,json=logSize,proto3" json:"log_size"` // contains filtered or unexported fields }
func (*Binlog) Descriptor
deprecated
func (*Binlog) GetEntriesNum ¶
func (*Binlog) GetLogPath ¶
func (*Binlog) GetLogSize ¶
func (*Binlog) GetTimestampFrom ¶
func (*Binlog) GetTimestampTo ¶
func (*Binlog) ProtoMessage ¶
func (*Binlog) ProtoMessage()
func (*Binlog) ProtoReflect ¶ added in v0.5.0
func (x *Binlog) ProtoReflect() protoreflect.Message
type ChannelPosition ¶
type ChannelPosition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
func (*ChannelPosition) Descriptor
deprecated
func (*ChannelPosition) Descriptor() ([]byte, []int)
Deprecated: Use ChannelPosition.ProtoReflect.Descriptor instead.
func (*ChannelPosition) GetName ¶
func (x *ChannelPosition) GetName() string
func (*ChannelPosition) GetPosition ¶
func (x *ChannelPosition) GetPosition() string
func (*ChannelPosition) ProtoMessage ¶
func (*ChannelPosition) ProtoMessage()
func (*ChannelPosition) ProtoReflect ¶ added in v0.5.0
func (x *ChannelPosition) ProtoReflect() protoreflect.Message
func (*ChannelPosition) Reset ¶
func (x *ChannelPosition) Reset()
func (*ChannelPosition) String ¶
func (x *ChannelPosition) String() string
type CheckRequest ¶
type CheckRequest struct {
// contains filtered or unexported fields
}
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶ added in v0.5.0
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { // response code. 0 means success. others are fail Code ResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` // error msg if fail Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetCode ¶
func (x *CheckResponse) GetCode() ResponseCode
func (*CheckResponse) GetMsg ¶
func (x *CheckResponse) GetMsg() string
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶ added in v0.5.0
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type CollectionBackupInfo ¶
type CollectionBackupInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StateCode BackupTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.BackupTaskStateCode" json:"state_code"` ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Progress int32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress"` CollectionId int64 `protobuf:"varint,7,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` DbName string `protobuf:"bytes,8,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` CollectionName string `protobuf:"bytes,9,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` Schema *CollectionSchema `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty"` ShardsNum int32 `protobuf:"varint,11,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"` ConsistencyLevel ConsistencyLevel `` /* 153-byte string literal not displayed */ PartitionBackups []*PartitionBackupInfo `protobuf:"bytes,13,rep,name=partition_backups,json=partitionBackups,proto3" json:"partition_backups,omitempty"` // logical time of backup, used for restore BackupTimestamp uint64 `protobuf:"varint,14,opt,name=backup_timestamp,json=backupTimestamp,proto3" json:"backup_timestamp,omitempty"` Size int64 `protobuf:"varint,15,opt,name=size,proto3" json:"size"` HasIndex bool `protobuf:"varint,16,opt,name=has_index,json=hasIndex,proto3" json:"has_index"` IndexInfos []*IndexInfo `protobuf:"bytes,17,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"` LoadState string `protobuf:"bytes,18,opt,name=load_state,json=loadState,proto3" json:"load_state,omitempty"` // physical unix time of backup BackupPhysicalTimestamp uint64 `` /* 134-byte string literal not displayed */ ChannelCheckpoints map[string]string `` /* 204-byte string literal not displayed */ L0Segments []*SegmentBackupInfo `protobuf:"bytes,21,rep,name=l0_segments,json=l0Segments,proto3" json:"l0_segments,omitempty"` // contains filtered or unexported fields }
* lite version of Collection info
func (*CollectionBackupInfo) Descriptor
deprecated
func (*CollectionBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use CollectionBackupInfo.ProtoReflect.Descriptor instead.
func (*CollectionBackupInfo) GetBackupPhysicalTimestamp ¶
func (x *CollectionBackupInfo) GetBackupPhysicalTimestamp() uint64
func (*CollectionBackupInfo) GetBackupTimestamp ¶
func (x *CollectionBackupInfo) GetBackupTimestamp() uint64
func (*CollectionBackupInfo) GetChannelCheckpoints ¶
func (x *CollectionBackupInfo) GetChannelCheckpoints() map[string]string
func (*CollectionBackupInfo) GetCollectionId ¶
func (x *CollectionBackupInfo) GetCollectionId() int64
func (*CollectionBackupInfo) GetCollectionName ¶
func (x *CollectionBackupInfo) GetCollectionName() string
func (*CollectionBackupInfo) GetConsistencyLevel ¶
func (x *CollectionBackupInfo) GetConsistencyLevel() ConsistencyLevel
func (*CollectionBackupInfo) GetDbName ¶
func (x *CollectionBackupInfo) GetDbName() string
func (*CollectionBackupInfo) GetEndTime ¶
func (x *CollectionBackupInfo) GetEndTime() int64
func (*CollectionBackupInfo) GetErrorMessage ¶
func (x *CollectionBackupInfo) GetErrorMessage() string
func (*CollectionBackupInfo) GetHasIndex ¶
func (x *CollectionBackupInfo) GetHasIndex() bool
func (*CollectionBackupInfo) GetId ¶
func (x *CollectionBackupInfo) GetId() string
func (*CollectionBackupInfo) GetIndexInfos ¶
func (x *CollectionBackupInfo) GetIndexInfos() []*IndexInfo
func (*CollectionBackupInfo) GetL0Segments ¶ added in v0.4.15
func (x *CollectionBackupInfo) GetL0Segments() []*SegmentBackupInfo
func (*CollectionBackupInfo) GetLoadState ¶
func (x *CollectionBackupInfo) GetLoadState() string
func (*CollectionBackupInfo) GetPartitionBackups ¶
func (x *CollectionBackupInfo) GetPartitionBackups() []*PartitionBackupInfo
func (*CollectionBackupInfo) GetProgress ¶
func (x *CollectionBackupInfo) GetProgress() int32
func (*CollectionBackupInfo) GetSchema ¶
func (x *CollectionBackupInfo) GetSchema() *CollectionSchema
func (*CollectionBackupInfo) GetShardsNum ¶
func (x *CollectionBackupInfo) GetShardsNum() int32
func (*CollectionBackupInfo) GetSize ¶
func (x *CollectionBackupInfo) GetSize() int64
func (*CollectionBackupInfo) GetStartTime ¶
func (x *CollectionBackupInfo) GetStartTime() int64
func (*CollectionBackupInfo) GetStateCode ¶
func (x *CollectionBackupInfo) GetStateCode() BackupTaskStateCode
func (*CollectionBackupInfo) ProtoMessage ¶
func (*CollectionBackupInfo) ProtoMessage()
func (*CollectionBackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *CollectionBackupInfo) ProtoReflect() protoreflect.Message
func (*CollectionBackupInfo) Reset ¶
func (x *CollectionBackupInfo) Reset()
func (*CollectionBackupInfo) String ¶
func (x *CollectionBackupInfo) String() string
type CollectionLevelBackupInfo ¶
type CollectionLevelBackupInfo struct { Infos []*CollectionBackupInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` // contains filtered or unexported fields }
* For level storage
func (*CollectionLevelBackupInfo) Descriptor
deprecated
func (*CollectionLevelBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use CollectionLevelBackupInfo.ProtoReflect.Descriptor instead.
func (*CollectionLevelBackupInfo) GetInfos ¶
func (x *CollectionLevelBackupInfo) GetInfos() []*CollectionBackupInfo
func (*CollectionLevelBackupInfo) ProtoMessage ¶
func (*CollectionLevelBackupInfo) ProtoMessage()
func (*CollectionLevelBackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *CollectionLevelBackupInfo) ProtoReflect() protoreflect.Message
func (*CollectionLevelBackupInfo) Reset ¶
func (x *CollectionLevelBackupInfo) Reset()
func (*CollectionLevelBackupInfo) String ¶
func (x *CollectionLevelBackupInfo) String() string
type CollectionSchema ¶
type CollectionSchema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` AutoID bool `protobuf:"varint,3,opt,name=autoID,proto3" json:"autoID,omitempty"` // deprecated later, keep compatible with c++ part now Fields []*FieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` EnableDynamicField bool `protobuf:"varint,5,opt,name=enable_dynamic_field,json=enableDynamicField,proto3" json:"enable_dynamic_field,omitempty"` // mark whether this table has the dynamic field function enabled. Properties []*KeyValuePair `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` Functions []*FunctionSchema `protobuf:"bytes,7,rep,name=functions,proto3" json:"functions,omitempty"` // contains filtered or unexported fields }
* @brief Collection schema
func (*CollectionSchema) Descriptor
deprecated
func (*CollectionSchema) Descriptor() ([]byte, []int)
Deprecated: Use CollectionSchema.ProtoReflect.Descriptor instead.
func (*CollectionSchema) GetAutoID ¶
func (x *CollectionSchema) GetAutoID() bool
func (*CollectionSchema) GetDescription ¶
func (x *CollectionSchema) GetDescription() string
func (*CollectionSchema) GetEnableDynamicField ¶
func (x *CollectionSchema) GetEnableDynamicField() bool
func (*CollectionSchema) GetFields ¶
func (x *CollectionSchema) GetFields() []*FieldSchema
func (*CollectionSchema) GetFunctions ¶ added in v0.5.0
func (x *CollectionSchema) GetFunctions() []*FunctionSchema
func (*CollectionSchema) GetName ¶
func (x *CollectionSchema) GetName() string
func (*CollectionSchema) GetProperties ¶ added in v0.5.0
func (x *CollectionSchema) GetProperties() []*KeyValuePair
func (*CollectionSchema) ProtoMessage ¶
func (*CollectionSchema) ProtoMessage()
func (*CollectionSchema) ProtoReflect ¶ added in v0.5.0
func (x *CollectionSchema) ProtoReflect() protoreflect.Message
func (*CollectionSchema) Reset ¶
func (x *CollectionSchema) Reset()
func (*CollectionSchema) String ¶
func (x *CollectionSchema) String() string
type ConsistencyLevel ¶
type ConsistencyLevel int32
const ( ConsistencyLevel_Strong ConsistencyLevel = 0 ConsistencyLevel_Session ConsistencyLevel = 1 // default in PyMilvus ConsistencyLevel_Bounded ConsistencyLevel = 2 ConsistencyLevel_Eventually ConsistencyLevel = 3 ConsistencyLevel_Customized ConsistencyLevel = 4 // Users pass their own `guarantee_timestamp`. )
func (ConsistencyLevel) Descriptor ¶ added in v0.5.0
func (ConsistencyLevel) Descriptor() protoreflect.EnumDescriptor
func (ConsistencyLevel) Enum ¶ added in v0.5.0
func (x ConsistencyLevel) Enum() *ConsistencyLevel
func (ConsistencyLevel) EnumDescriptor
deprecated
func (ConsistencyLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConsistencyLevel.Descriptor instead.
func (ConsistencyLevel) Number ¶ added in v0.5.0
func (x ConsistencyLevel) Number() protoreflect.EnumNumber
func (ConsistencyLevel) String ¶
func (x ConsistencyLevel) String() string
func (ConsistencyLevel) Type ¶ added in v0.5.0
func (ConsistencyLevel) Type() protoreflect.EnumType
type CreateBackupRequest ¶
type CreateBackupRequest struct { // uuid of request, will generate one if not set RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // backup name, will generate one if not set BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` // collection names to backup, empty to backup all CollectionNames []string `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` // async or not Async bool `protobuf:"varint,4,opt,name=async,proto3" json:"async,omitempty"` // database and collections to backup. A json string. To support database. 2023.7.7 DbCollections *_struct.Value `protobuf:"bytes,5,opt,name=db_collections,json=dbCollections,proto3" json:"db_collections,omitempty"` // force backup skip flush, Should make sure data has been stored into disk when using it Force bool `protobuf:"varint,6,opt,name=force,proto3" json:"force,omitempty"` // only backup meta, including collection schema and index info MetaOnly bool `protobuf:"varint,7,opt,name=meta_only,json=metaOnly,proto3" json:"meta_only,omitempty"` // if true, stop GC to avoid the data compacted and GCed during backup, use it when the data to backup is very large. GcPauseEnable bool `protobuf:"varint,8,opt,name=gc_pause_enable,json=gcPauseEnable,proto3" json:"gc_pause_enable,omitempty"` // gc pause seconds, set it larger than the time cost of backup GcPauseSeconds int32 `protobuf:"varint,9,opt,name=gc_pause_seconds,json=gcPauseSeconds,proto3" json:"gc_pause_seconds,omitempty"` // gc pause API address GcPauseAddress string `protobuf:"bytes,10,opt,name=gc_pause_address,json=gcPauseAddress,proto3" json:"gc_pause_address,omitempty"` // whether backup RBAC Rbac bool `protobuf:"varint,11,opt,name=rbac,proto3" json:"rbac,omitempty"` // contains filtered or unexported fields }
* Create Backup in milvus
func (*CreateBackupRequest) Descriptor
deprecated
func (*CreateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupRequest) GetAsync ¶
func (x *CreateBackupRequest) GetAsync() bool
func (*CreateBackupRequest) GetBackupName ¶
func (x *CreateBackupRequest) GetBackupName() string
func (*CreateBackupRequest) GetCollectionNames ¶
func (x *CreateBackupRequest) GetCollectionNames() []string
func (*CreateBackupRequest) GetDbCollections ¶
func (x *CreateBackupRequest) GetDbCollections() *_struct.Value
func (*CreateBackupRequest) GetForce ¶
func (x *CreateBackupRequest) GetForce() bool
func (*CreateBackupRequest) GetGcPauseAddress ¶
func (x *CreateBackupRequest) GetGcPauseAddress() string
func (*CreateBackupRequest) GetGcPauseEnable ¶
func (x *CreateBackupRequest) GetGcPauseEnable() bool
func (*CreateBackupRequest) GetGcPauseSeconds ¶
func (x *CreateBackupRequest) GetGcPauseSeconds() int32
func (*CreateBackupRequest) GetMetaOnly ¶
func (x *CreateBackupRequest) GetMetaOnly() bool
func (*CreateBackupRequest) GetRbac ¶ added in v0.4.21
func (x *CreateBackupRequest) GetRbac() bool
func (*CreateBackupRequest) GetRequestId ¶
func (x *CreateBackupRequest) GetRequestId() string
func (*CreateBackupRequest) ProtoMessage ¶
func (*CreateBackupRequest) ProtoMessage()
func (*CreateBackupRequest) ProtoReflect ¶ added in v0.5.0
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupRequest) Reset ¶
func (x *CreateBackupRequest) Reset()
func (*CreateBackupRequest) String ¶
func (x *CreateBackupRequest) String() string
type DataType ¶
type DataType int32
* @brief Field data type
const ( DataType_None DataType = 0 DataType_Bool DataType = 1 DataType_Int8 DataType = 2 DataType_Int16 DataType = 3 DataType_Int32 DataType = 4 DataType_Int64 DataType = 5 DataType_Float DataType = 10 DataType_Double DataType = 11 DataType_String DataType = 20 DataType_VarChar DataType = 21 // variable-length strings with a specified maximum length DataType_Array DataType = 22 DataType_Json DataType = 23 DataType_BinaryVector DataType = 100 DataType_FloatVector DataType = 101 DataType_Float16Vector DataType = 102 DataType_BFloat16Vector DataType = 103 DataType_SparseFloatVector DataType = 104 )
func (DataType) Descriptor ¶ added in v0.5.0
func (DataType) Descriptor() protoreflect.EnumDescriptor
func (DataType) EnumDescriptor
deprecated
func (DataType) Number ¶ added in v0.5.0
func (x DataType) Number() protoreflect.EnumNumber
func (DataType) Type ¶ added in v0.5.0
func (DataType) Type() protoreflect.EnumType
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { // uuid of request, will generate one if not set RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // backup name BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteBackupRequest) Descriptor
deprecated
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetBackupName ¶
func (x *DeleteBackupRequest) GetBackupName() string
func (*DeleteBackupRequest) GetRequestId ¶
func (x *DeleteBackupRequest) GetRequestId() string
func (*DeleteBackupRequest) ProtoMessage ¶
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶ added in v0.5.0
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶
func (x *DeleteBackupRequest) String() string
type DeleteBackupResponse ¶
type DeleteBackupResponse struct { // uuid of the request to response RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // response code. 0 means success. others are fail Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` // error msg if fail Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteBackupResponse) Descriptor
deprecated
func (*DeleteBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupResponse.ProtoReflect.Descriptor instead.
func (*DeleteBackupResponse) GetCode ¶
func (x *DeleteBackupResponse) GetCode() ResponseCode
func (*DeleteBackupResponse) GetMsg ¶
func (x *DeleteBackupResponse) GetMsg() string
func (*DeleteBackupResponse) GetRequestId ¶
func (x *DeleteBackupResponse) GetRequestId() string
func (*DeleteBackupResponse) ProtoMessage ¶
func (*DeleteBackupResponse) ProtoMessage()
func (*DeleteBackupResponse) ProtoReflect ¶ added in v0.5.0
func (x *DeleteBackupResponse) ProtoReflect() protoreflect.Message
func (*DeleteBackupResponse) Reset ¶
func (x *DeleteBackupResponse) Reset()
func (*DeleteBackupResponse) String ¶
func (x *DeleteBackupResponse) String() string
type FieldBinlog ¶
type FieldBinlog struct { FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` Binlogs []*Binlog `protobuf:"bytes,2,rep,name=binlogs,proto3" json:"binlogs,omitempty"` // contains filtered or unexported fields }
copied from milvus data_coord.proto
func (*FieldBinlog) Descriptor
deprecated
func (*FieldBinlog) Descriptor() ([]byte, []int)
Deprecated: Use FieldBinlog.ProtoReflect.Descriptor instead.
func (*FieldBinlog) GetBinlogs ¶
func (x *FieldBinlog) GetBinlogs() []*Binlog
func (*FieldBinlog) GetFieldID ¶
func (x *FieldBinlog) GetFieldID() int64
func (*FieldBinlog) ProtoMessage ¶
func (*FieldBinlog) ProtoMessage()
func (*FieldBinlog) ProtoReflect ¶ added in v0.5.0
func (x *FieldBinlog) ProtoReflect() protoreflect.Message
func (*FieldBinlog) Reset ¶
func (x *FieldBinlog) Reset()
func (*FieldBinlog) String ¶
func (x *FieldBinlog) String() string
type FieldSchema ¶
type FieldSchema struct { FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsPrimaryKey bool `protobuf:"varint,3,opt,name=is_primary_key,json=isPrimaryKey,proto3" json:"is_primary_key,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` DataType DataType `protobuf:"varint,5,opt,name=data_type,json=dataType,proto3,enum=milvus.proto.backup.DataType" json:"data_type,omitempty"` TypeParams []*KeyValuePair `protobuf:"bytes,6,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` IndexParams []*KeyValuePair `protobuf:"bytes,7,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` AutoID bool `protobuf:"varint,8,opt,name=autoID,proto3" json:"autoID,omitempty"` State FieldState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.backup.FieldState" json:"state,omitempty"` // To keep compatible with older version, the default state is `Created`. ElementType DataType `` // For array type, the element type is stored here /* 130-byte string literal not displayed */ DefaultValue *ValueField `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // default_value only support scalars except array and json for now IsDynamic bool `protobuf:"varint,12,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` // mark whether this field is the dynamic field IsPartitionKey bool `protobuf:"varint,13,opt,name=is_partition_key,json=isPartitionKey,proto3" json:"is_partition_key,omitempty"` // enable logic partitions Nullable bool `protobuf:"varint,14,opt,name=nullable,proto3" json:"nullable,omitempty"` DefaultValueProto string `protobuf:"bytes,15,opt,name=default_value_proto,json=defaultValueProto,proto3" json:"default_value_proto,omitempty"` // json not support marshall oneof, so use proto string IsFunctionOutput bool `protobuf:"varint,16,opt,name=is_function_output,json=isFunctionOutput,proto3" json:"is_function_output,omitempty"` // contains filtered or unexported fields }
func (*FieldSchema) Descriptor
deprecated
func (*FieldSchema) Descriptor() ([]byte, []int)
Deprecated: Use FieldSchema.ProtoReflect.Descriptor instead.
func (*FieldSchema) GetAutoID ¶
func (x *FieldSchema) GetAutoID() bool
func (*FieldSchema) GetDataType ¶
func (x *FieldSchema) GetDataType() DataType
func (*FieldSchema) GetDefaultValue ¶
func (x *FieldSchema) GetDefaultValue() *ValueField
func (*FieldSchema) GetDefaultValueProto ¶ added in v0.4.25
func (x *FieldSchema) GetDefaultValueProto() string
func (*FieldSchema) GetDescription ¶
func (x *FieldSchema) GetDescription() string
func (*FieldSchema) GetElementType ¶
func (x *FieldSchema) GetElementType() DataType
func (*FieldSchema) GetFieldID ¶
func (x *FieldSchema) GetFieldID() int64
func (*FieldSchema) GetIndexParams ¶
func (x *FieldSchema) GetIndexParams() []*KeyValuePair
func (*FieldSchema) GetIsDynamic ¶
func (x *FieldSchema) GetIsDynamic() bool
func (*FieldSchema) GetIsFunctionOutput ¶ added in v0.5.0
func (x *FieldSchema) GetIsFunctionOutput() bool
func (*FieldSchema) GetIsPartitionKey ¶
func (x *FieldSchema) GetIsPartitionKey() bool
func (*FieldSchema) GetIsPrimaryKey ¶
func (x *FieldSchema) GetIsPrimaryKey() bool
func (*FieldSchema) GetName ¶
func (x *FieldSchema) GetName() string
func (*FieldSchema) GetNullable ¶ added in v0.4.25
func (x *FieldSchema) GetNullable() bool
func (*FieldSchema) GetState ¶
func (x *FieldSchema) GetState() FieldState
func (*FieldSchema) GetTypeParams ¶
func (x *FieldSchema) GetTypeParams() []*KeyValuePair
func (*FieldSchema) ProtoMessage ¶
func (*FieldSchema) ProtoMessage()
func (*FieldSchema) ProtoReflect ¶ added in v0.5.0
func (x *FieldSchema) ProtoReflect() protoreflect.Message
func (*FieldSchema) Reset ¶
func (x *FieldSchema) Reset()
func (*FieldSchema) String ¶
func (x *FieldSchema) String() string
type FieldState ¶
type FieldState int32
const ( FieldState_FieldCreated FieldState = 0 FieldState_FieldCreating FieldState = 1 FieldState_FieldDropping FieldState = 2 FieldState_FieldDropped FieldState = 3 )
func (FieldState) Descriptor ¶ added in v0.5.0
func (FieldState) Descriptor() protoreflect.EnumDescriptor
func (FieldState) Enum ¶ added in v0.5.0
func (x FieldState) Enum() *FieldState
func (FieldState) EnumDescriptor
deprecated
func (FieldState) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldState.Descriptor instead.
func (FieldState) Number ¶ added in v0.5.0
func (x FieldState) Number() protoreflect.EnumNumber
func (FieldState) String ¶
func (x FieldState) String() string
func (FieldState) Type ¶ added in v0.5.0
func (FieldState) Type() protoreflect.EnumType
type FunctionSchema ¶ added in v0.5.0
type FunctionSchema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Type FunctionType `protobuf:"varint,4,opt,name=type,proto3,enum=milvus.proto.backup.FunctionType" json:"type,omitempty"` InputFieldNames []string `protobuf:"bytes,5,rep,name=input_field_names,json=inputFieldNames,proto3" json:"input_field_names,omitempty"` InputFieldIds []int64 `protobuf:"varint,6,rep,packed,name=input_field_ids,json=inputFieldIds,proto3" json:"input_field_ids,omitempty"` OutputFieldNames []string `protobuf:"bytes,7,rep,name=output_field_names,json=outputFieldNames,proto3" json:"output_field_names,omitempty"` OutputFieldIds []int64 `protobuf:"varint,8,rep,packed,name=output_field_ids,json=outputFieldIds,proto3" json:"output_field_ids,omitempty"` Params []*KeyValuePair `protobuf:"bytes,9,rep,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*FunctionSchema) Descriptor
deprecated
added in
v0.5.0
func (*FunctionSchema) Descriptor() ([]byte, []int)
Deprecated: Use FunctionSchema.ProtoReflect.Descriptor instead.
func (*FunctionSchema) GetDescription ¶ added in v0.5.0
func (x *FunctionSchema) GetDescription() string
func (*FunctionSchema) GetId ¶ added in v0.5.0
func (x *FunctionSchema) GetId() int64
func (*FunctionSchema) GetInputFieldIds ¶ added in v0.5.0
func (x *FunctionSchema) GetInputFieldIds() []int64
func (*FunctionSchema) GetInputFieldNames ¶ added in v0.5.0
func (x *FunctionSchema) GetInputFieldNames() []string
func (*FunctionSchema) GetName ¶ added in v0.5.0
func (x *FunctionSchema) GetName() string
func (*FunctionSchema) GetOutputFieldIds ¶ added in v0.5.0
func (x *FunctionSchema) GetOutputFieldIds() []int64
func (*FunctionSchema) GetOutputFieldNames ¶ added in v0.5.0
func (x *FunctionSchema) GetOutputFieldNames() []string
func (*FunctionSchema) GetParams ¶ added in v0.5.0
func (x *FunctionSchema) GetParams() []*KeyValuePair
func (*FunctionSchema) GetType ¶ added in v0.5.0
func (x *FunctionSchema) GetType() FunctionType
func (*FunctionSchema) ProtoMessage ¶ added in v0.5.0
func (*FunctionSchema) ProtoMessage()
func (*FunctionSchema) ProtoReflect ¶ added in v0.5.0
func (x *FunctionSchema) ProtoReflect() protoreflect.Message
func (*FunctionSchema) Reset ¶ added in v0.5.0
func (x *FunctionSchema) Reset()
func (*FunctionSchema) String ¶ added in v0.5.0
func (x *FunctionSchema) String() string
type FunctionType ¶ added in v0.5.0
type FunctionType int32
const ( FunctionType_Unknown FunctionType = 0 FunctionType_BM25 FunctionType = 1 FunctionType_TextEmbedding FunctionType = 2 )
func (FunctionType) Descriptor ¶ added in v0.5.0
func (FunctionType) Descriptor() protoreflect.EnumDescriptor
func (FunctionType) Enum ¶ added in v0.5.0
func (x FunctionType) Enum() *FunctionType
func (FunctionType) EnumDescriptor
deprecated
added in
v0.5.0
func (FunctionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FunctionType.Descriptor instead.
func (FunctionType) Number ¶ added in v0.5.0
func (x FunctionType) Number() protoreflect.EnumNumber
func (FunctionType) String ¶ added in v0.5.0
func (x FunctionType) String() string
func (FunctionType) Type ¶ added in v0.5.0
func (FunctionType) Type() protoreflect.EnumType
type GetBackupRequest ¶
type GetBackupRequest struct { // uuid of request, will generate one if not set RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // backup name to query, backup_name or backup_id is needed BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` // backup to query BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // if bucket_name and path is set. will override bucket/path in config. BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // if bucket_name and path is set. will override bucket/path in config. Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // if true, return simple response without too much detail to display WithoutDetail bool `protobuf:"varint,6,opt,name=without_detail,json=withoutDetail,proto3" json:"without_detail,omitempty"` // contains filtered or unexported fields }
func (*GetBackupRequest) Descriptor
deprecated
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetBackupId ¶
func (x *GetBackupRequest) GetBackupId() string
func (*GetBackupRequest) GetBackupName ¶
func (x *GetBackupRequest) GetBackupName() string
func (*GetBackupRequest) GetBucketName ¶
func (x *GetBackupRequest) GetBucketName() string
func (*GetBackupRequest) GetPath ¶
func (x *GetBackupRequest) GetPath() string
func (*GetBackupRequest) GetRequestId ¶
func (x *GetBackupRequest) GetRequestId() string
func (*GetBackupRequest) GetWithoutDetail ¶
func (x *GetBackupRequest) GetWithoutDetail() bool
func (*GetBackupRequest) ProtoMessage ¶
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset ¶
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶
func (x *GetBackupRequest) String() string
type GetRestoreStateRequest ¶
type GetRestoreStateRequest struct { // uuid of request, will generate one if not set RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // restore task id to query Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRestoreStateRequest) Descriptor
deprecated
func (*GetRestoreStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRestoreStateRequest.ProtoReflect.Descriptor instead.
func (*GetRestoreStateRequest) GetId ¶
func (x *GetRestoreStateRequest) GetId() string
func (*GetRestoreStateRequest) GetRequestId ¶
func (x *GetRestoreStateRequest) GetRequestId() string
func (*GetRestoreStateRequest) ProtoMessage ¶
func (*GetRestoreStateRequest) ProtoMessage()
func (*GetRestoreStateRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetRestoreStateRequest) ProtoReflect() protoreflect.Message
func (*GetRestoreStateRequest) Reset ¶
func (x *GetRestoreStateRequest) Reset()
func (*GetRestoreStateRequest) String ¶
func (x *GetRestoreStateRequest) String() string
type GrantEntity ¶ added in v0.4.21
type GrantEntity struct { // role Role *RoleEntity `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // object Object *ObjectEntity `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // object name ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // privilege Grantor *GrantorEntity `protobuf:"bytes,4,opt,name=grantor,proto3" json:"grantor,omitempty"` // db name DbName string `protobuf:"bytes,5,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` // contains filtered or unexported fields }
func (*GrantEntity) Descriptor
deprecated
added in
v0.4.21
func (*GrantEntity) Descriptor() ([]byte, []int)
Deprecated: Use GrantEntity.ProtoReflect.Descriptor instead.
func (*GrantEntity) GetDbName ¶ added in v0.4.21
func (x *GrantEntity) GetDbName() string
func (*GrantEntity) GetGrantor ¶ added in v0.4.21
func (x *GrantEntity) GetGrantor() *GrantorEntity
func (*GrantEntity) GetObject ¶ added in v0.4.21
func (x *GrantEntity) GetObject() *ObjectEntity
func (*GrantEntity) GetObjectName ¶ added in v0.4.21
func (x *GrantEntity) GetObjectName() string
func (*GrantEntity) GetRole ¶ added in v0.4.21
func (x *GrantEntity) GetRole() *RoleEntity
func (*GrantEntity) ProtoMessage ¶ added in v0.4.21
func (*GrantEntity) ProtoMessage()
func (*GrantEntity) ProtoReflect ¶ added in v0.5.0
func (x *GrantEntity) ProtoReflect() protoreflect.Message
func (*GrantEntity) Reset ¶ added in v0.4.21
func (x *GrantEntity) Reset()
func (*GrantEntity) String ¶ added in v0.4.21
func (x *GrantEntity) String() string
type GrantPrivilegeEntity ¶ added in v0.4.21
type GrantPrivilegeEntity struct { Entities []*GrantorEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*GrantPrivilegeEntity) Descriptor
deprecated
added in
v0.4.21
func (*GrantPrivilegeEntity) Descriptor() ([]byte, []int)
Deprecated: Use GrantPrivilegeEntity.ProtoReflect.Descriptor instead.
func (*GrantPrivilegeEntity) GetEntities ¶ added in v0.4.21
func (x *GrantPrivilegeEntity) GetEntities() []*GrantorEntity
func (*GrantPrivilegeEntity) ProtoMessage ¶ added in v0.4.21
func (*GrantPrivilegeEntity) ProtoMessage()
func (*GrantPrivilegeEntity) ProtoReflect ¶ added in v0.5.0
func (x *GrantPrivilegeEntity) ProtoReflect() protoreflect.Message
func (*GrantPrivilegeEntity) Reset ¶ added in v0.4.21
func (x *GrantPrivilegeEntity) Reset()
func (*GrantPrivilegeEntity) String ¶ added in v0.4.21
func (x *GrantPrivilegeEntity) String() string
type GrantorEntity ¶ added in v0.4.21
type GrantorEntity struct { User *UserEntity `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Privilege *PrivilegeEntity `protobuf:"bytes,2,opt,name=privilege,proto3" json:"privilege,omitempty"` // contains filtered or unexported fields }
func (*GrantorEntity) Descriptor
deprecated
added in
v0.4.21
func (*GrantorEntity) Descriptor() ([]byte, []int)
Deprecated: Use GrantorEntity.ProtoReflect.Descriptor instead.
func (*GrantorEntity) GetPrivilege ¶ added in v0.4.21
func (x *GrantorEntity) GetPrivilege() *PrivilegeEntity
func (*GrantorEntity) GetUser ¶ added in v0.4.21
func (x *GrantorEntity) GetUser() *UserEntity
func (*GrantorEntity) ProtoMessage ¶ added in v0.4.21
func (*GrantorEntity) ProtoMessage()
func (*GrantorEntity) ProtoReflect ¶ added in v0.5.0
func (x *GrantorEntity) ProtoReflect() protoreflect.Message
func (*GrantorEntity) Reset ¶ added in v0.4.21
func (x *GrantorEntity) Reset()
func (*GrantorEntity) String ¶ added in v0.4.21
func (x *GrantorEntity) String() string
type IndexInfo ¶
type IndexInfo struct { FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` IndexType string `protobuf:"bytes,3,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"` Params map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IndexInfo) Descriptor
deprecated
func (*IndexInfo) GetFieldName ¶
func (*IndexInfo) GetIndexName ¶
func (*IndexInfo) GetIndexType ¶
func (*IndexInfo) ProtoMessage ¶
func (*IndexInfo) ProtoMessage()
func (*IndexInfo) ProtoReflect ¶ added in v0.5.0
func (x *IndexInfo) ProtoReflect() protoreflect.Message
type KeyValuePair ¶
type KeyValuePair struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
copied from milvus common.proto
func (*KeyValuePair) Descriptor
deprecated
func (*KeyValuePair) Descriptor() ([]byte, []int)
Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead.
func (*KeyValuePair) GetKey ¶
func (x *KeyValuePair) GetKey() string
func (*KeyValuePair) GetValue ¶
func (x *KeyValuePair) GetValue() string
func (*KeyValuePair) ProtoMessage ¶
func (*KeyValuePair) ProtoMessage()
func (*KeyValuePair) ProtoReflect ¶ added in v0.5.0
func (x *KeyValuePair) ProtoReflect() protoreflect.Message
func (*KeyValuePair) Reset ¶
func (x *KeyValuePair) Reset()
func (*KeyValuePair) String ¶
func (x *KeyValuePair) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { // uuid of request, will generate one if not set RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // if collection_name is set, will only return backups contains this collection CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // contains filtered or unexported fields }
func (*ListBackupsRequest) Descriptor
deprecated
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetCollectionName ¶
func (x *ListBackupsRequest) GetCollectionName() string
func (*ListBackupsRequest) GetRequestId ¶
func (x *ListBackupsRequest) GetRequestId() string
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶ added in v0.5.0
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶
type ListBackupsResponse struct { // uuid of the request to response RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // response code. 0 means success. others are fail Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` // error msg if fail Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // backup info entities Data []*BackupInfo `protobuf:"bytes,4,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*ListBackupsResponse) Descriptor
deprecated
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetCode ¶
func (x *ListBackupsResponse) GetCode() ResponseCode
func (*ListBackupsResponse) GetData ¶
func (x *ListBackupsResponse) GetData() []*BackupInfo
func (*ListBackupsResponse) GetMsg ¶
func (x *ListBackupsResponse) GetMsg() string
func (*ListBackupsResponse) GetRequestId ¶
func (x *ListBackupsResponse) GetRequestId() string
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶ added in v0.5.0
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (x *ListBackupsResponse) String() string
type MilvusBackupServiceClient ¶
type MilvusBackupServiceClient interface { // Create backup CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*BackupInfoResponse, error) // Get backup with the chosen name GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*BackupInfoResponse, error) // List backups that contains the given collection name, if collection is not given, return all backups in the cluster ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) // Delete backup by given backup name DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*DeleteBackupResponse, error) // Restore backup to milvus, return backup restore report RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) // Get restore state by given id GetRestore(ctx context.Context, in *GetRestoreStateRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) // Check connections Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) }
MilvusBackupServiceClient is the client API for MilvusBackupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMilvusBackupServiceClient ¶
func NewMilvusBackupServiceClient(cc grpc.ClientConnInterface) MilvusBackupServiceClient
type MilvusBackupServiceServer ¶
type MilvusBackupServiceServer interface { // Create backup CreateBackup(context.Context, *CreateBackupRequest) (*BackupInfoResponse, error) // Get backup with the chosen name GetBackup(context.Context, *GetBackupRequest) (*BackupInfoResponse, error) // List backups that contains the given collection name, if collection is not given, return all backups in the cluster ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) // Delete backup by given backup name DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error) // Restore backup to milvus, return backup restore report RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error) // Get restore state by given id GetRestore(context.Context, *GetRestoreStateRequest) (*RestoreBackupResponse, error) // Check connections Check(context.Context, *CheckRequest) (*CheckResponse, error) }
MilvusBackupServiceServer is the server API for MilvusBackupService service.
type MsgPosition ¶
type MsgPosition struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` MsgID []byte `protobuf:"bytes,2,opt,name=msgID,proto3" json:"msgID,omitempty"` MsgGroup string `protobuf:"bytes,3,opt,name=msgGroup,proto3" json:"msgGroup,omitempty"` Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*MsgPosition) Descriptor
deprecated
func (*MsgPosition) Descriptor() ([]byte, []int)
Deprecated: Use MsgPosition.ProtoReflect.Descriptor instead.
func (*MsgPosition) GetChannelName ¶
func (x *MsgPosition) GetChannelName() string
func (*MsgPosition) GetMsgGroup ¶
func (x *MsgPosition) GetMsgGroup() string
func (*MsgPosition) GetMsgID ¶
func (x *MsgPosition) GetMsgID() []byte
func (*MsgPosition) GetTimestamp ¶
func (x *MsgPosition) GetTimestamp() uint64
func (*MsgPosition) ProtoMessage ¶
func (*MsgPosition) ProtoMessage()
func (*MsgPosition) ProtoReflect ¶ added in v0.5.0
func (x *MsgPosition) ProtoReflect() protoreflect.Message
func (*MsgPosition) Reset ¶
func (x *MsgPosition) Reset()
func (*MsgPosition) String ¶
func (x *MsgPosition) String() string
type ObjectEntity ¶ added in v0.4.21
type ObjectEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ObjectEntity) Descriptor
deprecated
added in
v0.4.21
func (*ObjectEntity) Descriptor() ([]byte, []int)
Deprecated: Use ObjectEntity.ProtoReflect.Descriptor instead.
func (*ObjectEntity) GetName ¶ added in v0.4.21
func (x *ObjectEntity) GetName() string
func (*ObjectEntity) ProtoMessage ¶ added in v0.4.21
func (*ObjectEntity) ProtoMessage()
func (*ObjectEntity) ProtoReflect ¶ added in v0.5.0
func (x *ObjectEntity) ProtoReflect() protoreflect.Message
func (*ObjectEntity) Reset ¶ added in v0.4.21
func (x *ObjectEntity) Reset()
func (*ObjectEntity) String ¶ added in v0.4.21
func (x *ObjectEntity) String() string
type PartitionBackupInfo ¶
type PartitionBackupInfo struct { PartitionId int64 `protobuf:"varint,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` PartitionName string `protobuf:"bytes,2,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` CollectionId int64 `protobuf:"varint,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // array of segment backup SegmentBackups []*SegmentBackupInfo `protobuf:"bytes,4,rep,name=segment_backups,json=segmentBackups,proto3" json:"segment_backups,omitempty"` Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size"` LoadState string `protobuf:"bytes,6,opt,name=load_state,json=loadState,proto3" json:"load_state,omitempty"` // contains filtered or unexported fields }
func (*PartitionBackupInfo) Descriptor
deprecated
func (*PartitionBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use PartitionBackupInfo.ProtoReflect.Descriptor instead.
func (*PartitionBackupInfo) GetCollectionId ¶
func (x *PartitionBackupInfo) GetCollectionId() int64
func (*PartitionBackupInfo) GetLoadState ¶
func (x *PartitionBackupInfo) GetLoadState() string
func (*PartitionBackupInfo) GetPartitionId ¶
func (x *PartitionBackupInfo) GetPartitionId() int64
func (*PartitionBackupInfo) GetPartitionName ¶
func (x *PartitionBackupInfo) GetPartitionName() string
func (*PartitionBackupInfo) GetSegmentBackups ¶
func (x *PartitionBackupInfo) GetSegmentBackups() []*SegmentBackupInfo
func (*PartitionBackupInfo) GetSize ¶
func (x *PartitionBackupInfo) GetSize() int64
func (*PartitionBackupInfo) ProtoMessage ¶
func (*PartitionBackupInfo) ProtoMessage()
func (*PartitionBackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *PartitionBackupInfo) ProtoReflect() protoreflect.Message
func (*PartitionBackupInfo) Reset ¶
func (x *PartitionBackupInfo) Reset()
func (*PartitionBackupInfo) String ¶
func (x *PartitionBackupInfo) String() string
type PartitionLevelBackupInfo ¶
type PartitionLevelBackupInfo struct { Infos []*PartitionBackupInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` // contains filtered or unexported fields }
* For level storage
func (*PartitionLevelBackupInfo) Descriptor
deprecated
func (*PartitionLevelBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use PartitionLevelBackupInfo.ProtoReflect.Descriptor instead.
func (*PartitionLevelBackupInfo) GetInfos ¶
func (x *PartitionLevelBackupInfo) GetInfos() []*PartitionBackupInfo
func (*PartitionLevelBackupInfo) ProtoMessage ¶
func (*PartitionLevelBackupInfo) ProtoMessage()
func (*PartitionLevelBackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *PartitionLevelBackupInfo) ProtoReflect() protoreflect.Message
func (*PartitionLevelBackupInfo) Reset ¶
func (x *PartitionLevelBackupInfo) Reset()
func (*PartitionLevelBackupInfo) String ¶
func (x *PartitionLevelBackupInfo) String() string
type PrivilegeEntity ¶ added in v0.4.21
type PrivilegeEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PrivilegeEntity) Descriptor
deprecated
added in
v0.4.21
func (*PrivilegeEntity) Descriptor() ([]byte, []int)
Deprecated: Use PrivilegeEntity.ProtoReflect.Descriptor instead.
func (*PrivilegeEntity) GetName ¶ added in v0.4.21
func (x *PrivilegeEntity) GetName() string
func (*PrivilegeEntity) ProtoMessage ¶ added in v0.4.21
func (*PrivilegeEntity) ProtoMessage()
func (*PrivilegeEntity) ProtoReflect ¶ added in v0.5.0
func (x *PrivilegeEntity) ProtoReflect() protoreflect.Message
func (*PrivilegeEntity) Reset ¶ added in v0.4.21
func (x *PrivilegeEntity) Reset()
func (*PrivilegeEntity) String ¶ added in v0.4.21
func (x *PrivilegeEntity) String() string
type RBACMeta ¶ added in v0.4.21
type RBACMeta struct { // user Users []*UserInfo `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // role Roles []*RoleEntity `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // (role, object, previledge) Grants []*GrantEntity `protobuf:"bytes,3,rep,name=grants,proto3" json:"grants,omitempty"` // contains filtered or unexported fields }
func (*RBACMeta) Descriptor
deprecated
added in
v0.4.21
func (*RBACMeta) GetGrants ¶ added in v0.4.21
func (x *RBACMeta) GetGrants() []*GrantEntity
func (*RBACMeta) GetRoles ¶ added in v0.4.21
func (x *RBACMeta) GetRoles() []*RoleEntity
func (*RBACMeta) ProtoMessage ¶ added in v0.4.21
func (*RBACMeta) ProtoMessage()
func (*RBACMeta) ProtoReflect ¶ added in v0.5.0
func (x *RBACMeta) ProtoReflect() protoreflect.Message
type ResponseCode ¶
type ResponseCode int32
const ( ResponseCode_Success ResponseCode = 0 ResponseCode_Not_Support ResponseCode = 1 ResponseCode_No_Permission ResponseCode = 2 ResponseCode_Fail ResponseCode = 3 ResponseCode_Parameter_Error ResponseCode = 400 ResponseCode_Request_Object_Not_Found ResponseCode = 404 )
func (ResponseCode) Descriptor ¶ added in v0.5.0
func (ResponseCode) Descriptor() protoreflect.EnumDescriptor
func (ResponseCode) Enum ¶ added in v0.5.0
func (x ResponseCode) Enum() *ResponseCode
func (ResponseCode) EnumDescriptor
deprecated
func (ResponseCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseCode.Descriptor instead.
func (ResponseCode) Number ¶ added in v0.5.0
func (x ResponseCode) Number() protoreflect.EnumNumber
func (ResponseCode) String ¶
func (x ResponseCode) String() string
func (ResponseCode) Type ¶ added in v0.5.0
func (ResponseCode) Type() protoreflect.EnumType
type RestoreBackupRequest ¶
type RestoreBackupRequest struct { // uuid of request, will generate one if not set RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // backup name to restore BackupName string `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"` // collections to restore CollectionNames []string `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` // Support two ways to rename the collections while recover // 1, set a suffix CollectionSuffix string `protobuf:"bytes,4,opt,name=collection_suffix,json=collectionSuffix,proto3" json:"collection_suffix,omitempty"` // 2, give a map to rename the collections, if not given, use the original name. // collection_renames has higher priority than collection_suffix CollectionRenames map[string]string `` /* 200-byte string literal not displayed */ // execute asynchronously or not Async bool `protobuf:"varint,6,opt,name=async,proto3" json:"async,omitempty"` // if bucket_name and path is set. will override bucket/path in config. BucketName string `protobuf:"bytes,7,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // if bucket_name and path is set. will override bucket/path in config. Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` // database and collections to restore. A json string. for example: {"db1":["collection1"],"db2":["collection2","collection3"]} DbCollections *_struct.Value `protobuf:"bytes,9,opt,name=db_collections,json=dbCollections,proto3" json:"db_collections,omitempty"` // if true only restore meta, not restore data MetaOnly bool `protobuf:"varint,10,opt,name=metaOnly,proto3" json:"metaOnly,omitempty"` // if true restore index info RestoreIndex bool `protobuf:"varint,11,opt,name=restoreIndex,proto3" json:"restoreIndex,omitempty"` // if true use autoindex when restore vector index UseAutoIndex bool `protobuf:"varint,12,opt,name=useAutoIndex,proto3" json:"useAutoIndex,omitempty"` // if true, drop existing target collection before create DropExistCollection bool `protobuf:"varint,13,opt,name=dropExistCollection,proto3" json:"dropExistCollection,omitempty"` // if true, drop existing index of target collection before create DropExistIndex bool `protobuf:"varint,14,opt,name=dropExistIndex,proto3" json:"dropExistIndex,omitempty"` // if true, will skip collection, use when collection exist, restore index or data SkipCreateCollection bool `protobuf:"varint,15,opt,name=skipCreateCollection,proto3" json:"skipCreateCollection,omitempty"` Id string `protobuf:"bytes,16,opt,name=id,proto3" json:"id,omitempty"` // if true, skip the diskQuota in Import // // Deprecated: Marked as deprecated in backup.proto. SkipImportDiskQuotaCheck bool `protobuf:"varint,17,opt,name=skipImportDiskQuotaCheck,proto3" json:"skipImportDiskQuotaCheck,omitempty"` // whether restore RBAC Rbac bool `protobuf:"varint,18,opt,name=rbac,proto3" json:"rbac,omitempty"` // target max shard number MaxShardNum int32 `protobuf:"varint,19,opt,name=maxShardNum,proto3" json:"maxShardNum,omitempty"` // if key is set, will skip the params in restore process SkipParams *SkipParams `protobuf:"bytes,20,opt,name=skipParams,proto3" json:"skipParams,omitempty"` UseV2Restore bool `protobuf:"varint,21,opt,name=useV2Restore,proto3" json:"useV2Restore,omitempty"` // contains filtered or unexported fields }
func (*RestoreBackupRequest) Descriptor
deprecated
func (*RestoreBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.
func (*RestoreBackupRequest) GetAsync ¶
func (x *RestoreBackupRequest) GetAsync() bool
func (*RestoreBackupRequest) GetBackupName ¶
func (x *RestoreBackupRequest) GetBackupName() string
func (*RestoreBackupRequest) GetBucketName ¶
func (x *RestoreBackupRequest) GetBucketName() string
func (*RestoreBackupRequest) GetCollectionNames ¶
func (x *RestoreBackupRequest) GetCollectionNames() []string
func (*RestoreBackupRequest) GetCollectionRenames ¶
func (x *RestoreBackupRequest) GetCollectionRenames() map[string]string
func (*RestoreBackupRequest) GetCollectionSuffix ¶
func (x *RestoreBackupRequest) GetCollectionSuffix() string
func (*RestoreBackupRequest) GetDbCollections ¶
func (x *RestoreBackupRequest) GetDbCollections() *_struct.Value
func (*RestoreBackupRequest) GetDropExistCollection ¶
func (x *RestoreBackupRequest) GetDropExistCollection() bool
func (*RestoreBackupRequest) GetDropExistIndex ¶
func (x *RestoreBackupRequest) GetDropExistIndex() bool
func (*RestoreBackupRequest) GetId ¶ added in v0.4.14
func (x *RestoreBackupRequest) GetId() string
func (*RestoreBackupRequest) GetMaxShardNum ¶ added in v0.4.24
func (x *RestoreBackupRequest) GetMaxShardNum() int32
func (*RestoreBackupRequest) GetMetaOnly ¶
func (x *RestoreBackupRequest) GetMetaOnly() bool
func (*RestoreBackupRequest) GetPath ¶
func (x *RestoreBackupRequest) GetPath() string
func (*RestoreBackupRequest) GetRbac ¶ added in v0.4.21
func (x *RestoreBackupRequest) GetRbac() bool
func (*RestoreBackupRequest) GetRequestId ¶
func (x *RestoreBackupRequest) GetRequestId() string
func (*RestoreBackupRequest) GetRestoreIndex ¶
func (x *RestoreBackupRequest) GetRestoreIndex() bool
func (*RestoreBackupRequest) GetSkipCreateCollection ¶
func (x *RestoreBackupRequest) GetSkipCreateCollection() bool
func (*RestoreBackupRequest) GetSkipImportDiskQuotaCheck
deprecated
added in
v0.4.19
func (x *RestoreBackupRequest) GetSkipImportDiskQuotaCheck() bool
Deprecated: Marked as deprecated in backup.proto.
func (*RestoreBackupRequest) GetSkipParams ¶ added in v0.5.0
func (x *RestoreBackupRequest) GetSkipParams() *SkipParams
func (*RestoreBackupRequest) GetUseAutoIndex ¶
func (x *RestoreBackupRequest) GetUseAutoIndex() bool
func (*RestoreBackupRequest) GetUseV2Restore ¶ added in v0.5.0
func (x *RestoreBackupRequest) GetUseV2Restore() bool
func (*RestoreBackupRequest) ProtoMessage ¶
func (*RestoreBackupRequest) ProtoMessage()
func (*RestoreBackupRequest) ProtoReflect ¶ added in v0.5.0
func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message
func (*RestoreBackupRequest) Reset ¶
func (x *RestoreBackupRequest) Reset()
func (*RestoreBackupRequest) String ¶
func (x *RestoreBackupRequest) String() string
type RestoreBackupResponse ¶
type RestoreBackupResponse struct { // uuid of the request to response RequestId string `protobuf:"bytes,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // response code. 0 means success. others are fail Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=milvus.proto.backup.ResponseCode" json:"code,omitempty"` // error msg if fail Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // restore task info entity Data *RestoreBackupTask `protobuf:"bytes,4,opt,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*RestoreBackupResponse) Descriptor
deprecated
func (*RestoreBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
func (*RestoreBackupResponse) GetCode ¶
func (x *RestoreBackupResponse) GetCode() ResponseCode
func (*RestoreBackupResponse) GetData ¶
func (x *RestoreBackupResponse) GetData() *RestoreBackupTask
func (*RestoreBackupResponse) GetMsg ¶
func (x *RestoreBackupResponse) GetMsg() string
func (*RestoreBackupResponse) GetRequestId ¶
func (x *RestoreBackupResponse) GetRequestId() string
func (*RestoreBackupResponse) ProtoMessage ¶
func (*RestoreBackupResponse) ProtoMessage()
func (*RestoreBackupResponse) ProtoReflect ¶ added in v0.5.0
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message
func (*RestoreBackupResponse) Reset ¶
func (x *RestoreBackupResponse) Reset()
func (*RestoreBackupResponse) String ¶
func (x *RestoreBackupResponse) String() string
type RestoreBackupTask ¶
type RestoreBackupTask struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StateCode RestoreTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.RestoreTaskStateCode" json:"state_code"` ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` CollectionRestoreTasks []*RestoreCollectionTask `` /* 129-byte string literal not displayed */ RestoredSize int64 `protobuf:"varint,7,opt,name=restored_size,json=restoredSize,proto3" json:"restored_size"` ToRestoreSize int64 `protobuf:"varint,8,opt,name=to_restore_size,json=toRestoreSize,proto3" json:"to_restore_size"` Progress int32 `protobuf:"varint,9,opt,name=progress,proto3" json:"progress"` // contains filtered or unexported fields }
func (*RestoreBackupTask) Descriptor
deprecated
func (*RestoreBackupTask) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupTask.ProtoReflect.Descriptor instead.
func (*RestoreBackupTask) GetCollectionRestoreTasks ¶
func (x *RestoreBackupTask) GetCollectionRestoreTasks() []*RestoreCollectionTask
func (*RestoreBackupTask) GetEndTime ¶
func (x *RestoreBackupTask) GetEndTime() int64
func (*RestoreBackupTask) GetErrorMessage ¶
func (x *RestoreBackupTask) GetErrorMessage() string
func (*RestoreBackupTask) GetId ¶
func (x *RestoreBackupTask) GetId() string
func (*RestoreBackupTask) GetProgress ¶
func (x *RestoreBackupTask) GetProgress() int32
func (*RestoreBackupTask) GetRestoredSize ¶
func (x *RestoreBackupTask) GetRestoredSize() int64
func (*RestoreBackupTask) GetStartTime ¶
func (x *RestoreBackupTask) GetStartTime() int64
func (*RestoreBackupTask) GetStateCode ¶
func (x *RestoreBackupTask) GetStateCode() RestoreTaskStateCode
func (*RestoreBackupTask) GetToRestoreSize ¶
func (x *RestoreBackupTask) GetToRestoreSize() int64
func (*RestoreBackupTask) ProtoMessage ¶
func (*RestoreBackupTask) ProtoMessage()
func (*RestoreBackupTask) ProtoReflect ¶ added in v0.5.0
func (x *RestoreBackupTask) ProtoReflect() protoreflect.Message
func (*RestoreBackupTask) Reset ¶
func (x *RestoreBackupTask) Reset()
func (*RestoreBackupTask) String ¶
func (x *RestoreBackupTask) String() string
type RestoreCollectionTask ¶
type RestoreCollectionTask struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StateCode RestoreTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.RestoreTaskStateCode" json:"state_code"` ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` CollBackup *CollectionBackupInfo `protobuf:"bytes,6,opt,name=coll_backup,json=collBackup,proto3" json:"coll_backup,omitempty"` TargetCollectionName string `protobuf:"bytes,7,opt,name=target_collection_name,json=targetCollectionName,proto3" json:"target_collection_name,omitempty"` PartitionRestoreTasks []*RestorePartitionTask `` /* 126-byte string literal not displayed */ RestoredSize int64 `protobuf:"varint,9,opt,name=restored_size,json=restoredSize,proto3" json:"restored_size"` ToRestoreSize int64 `protobuf:"varint,10,opt,name=to_restore_size,json=toRestoreSize,proto3" json:"to_restore_size"` Progress int32 `protobuf:"varint,11,opt,name=progress,proto3" json:"progress"` TargetDbName string `protobuf:"bytes,12,opt,name=target_db_name,json=targetDbName,proto3" json:"target_db_name,omitempty"` // if true only restore meta MetaOnly bool `protobuf:"varint,13,opt,name=metaOnly,proto3" json:"metaOnly,omitempty"` // if true restore index info RestoreIndex bool `protobuf:"varint,14,opt,name=restoreIndex,proto3" json:"restoreIndex,omitempty"` // if true use autoindex when restore vector index UseAutoIndex bool `protobuf:"varint,15,opt,name=useAutoIndex,proto3" json:"useAutoIndex,omitempty"` // if true drop the collections DropExistCollection bool `protobuf:"varint,16,opt,name=dropExistCollection,proto3" json:"dropExistCollection,omitempty"` // if true drop index info DropExistIndex bool `protobuf:"varint,17,opt,name=dropExistIndex,proto3" json:"dropExistIndex,omitempty"` // if true will skip create collections SkipCreateCollection bool `protobuf:"varint,18,opt,name=skipCreateCollection,proto3" json:"skipCreateCollection,omitempty"` // Deprecated: Marked as deprecated in backup.proto. SkipDiskQuotaCheck bool `protobuf:"varint,19,opt,name=skipDiskQuotaCheck,proto3" json:"skipDiskQuotaCheck,omitempty"` // when restore, skip disk quota check will always be true // target max shard number MaxShardNum int32 `protobuf:"varint,20,opt,name=maxShardNum,proto3" json:"maxShardNum,omitempty"` SkipParams *SkipParams `protobuf:"bytes,21,opt,name=skipParams,proto3" json:"skipParams,omitempty"` UseV2Restore bool `protobuf:"varint,22,opt,name=useV2Restore,proto3" json:"useV2Restore,omitempty"` // contains filtered or unexported fields }
func (*RestoreCollectionTask) Descriptor
deprecated
func (*RestoreCollectionTask) Descriptor() ([]byte, []int)
Deprecated: Use RestoreCollectionTask.ProtoReflect.Descriptor instead.
func (*RestoreCollectionTask) GetCollBackup ¶
func (x *RestoreCollectionTask) GetCollBackup() *CollectionBackupInfo
func (*RestoreCollectionTask) GetDropExistCollection ¶
func (x *RestoreCollectionTask) GetDropExistCollection() bool
func (*RestoreCollectionTask) GetDropExistIndex ¶
func (x *RestoreCollectionTask) GetDropExistIndex() bool
func (*RestoreCollectionTask) GetEndTime ¶
func (x *RestoreCollectionTask) GetEndTime() int64
func (*RestoreCollectionTask) GetErrorMessage ¶
func (x *RestoreCollectionTask) GetErrorMessage() string
func (*RestoreCollectionTask) GetId ¶
func (x *RestoreCollectionTask) GetId() string
func (*RestoreCollectionTask) GetMaxShardNum ¶ added in v0.4.24
func (x *RestoreCollectionTask) GetMaxShardNum() int32
func (*RestoreCollectionTask) GetMetaOnly ¶
func (x *RestoreCollectionTask) GetMetaOnly() bool
func (*RestoreCollectionTask) GetPartitionRestoreTasks ¶
func (x *RestoreCollectionTask) GetPartitionRestoreTasks() []*RestorePartitionTask
func (*RestoreCollectionTask) GetProgress ¶
func (x *RestoreCollectionTask) GetProgress() int32
func (*RestoreCollectionTask) GetRestoreIndex ¶
func (x *RestoreCollectionTask) GetRestoreIndex() bool
func (*RestoreCollectionTask) GetRestoredSize ¶
func (x *RestoreCollectionTask) GetRestoredSize() int64
func (*RestoreCollectionTask) GetSkipCreateCollection ¶
func (x *RestoreCollectionTask) GetSkipCreateCollection() bool
func (*RestoreCollectionTask) GetSkipDiskQuotaCheck
deprecated
added in
v0.4.19
func (x *RestoreCollectionTask) GetSkipDiskQuotaCheck() bool
Deprecated: Marked as deprecated in backup.proto.
func (*RestoreCollectionTask) GetSkipParams ¶ added in v0.5.0
func (x *RestoreCollectionTask) GetSkipParams() *SkipParams
func (*RestoreCollectionTask) GetStartTime ¶
func (x *RestoreCollectionTask) GetStartTime() int64
func (*RestoreCollectionTask) GetStateCode ¶
func (x *RestoreCollectionTask) GetStateCode() RestoreTaskStateCode
func (*RestoreCollectionTask) GetTargetCollectionName ¶
func (x *RestoreCollectionTask) GetTargetCollectionName() string
func (*RestoreCollectionTask) GetTargetDbName ¶
func (x *RestoreCollectionTask) GetTargetDbName() string
func (*RestoreCollectionTask) GetToRestoreSize ¶
func (x *RestoreCollectionTask) GetToRestoreSize() int64
func (*RestoreCollectionTask) GetUseAutoIndex ¶
func (x *RestoreCollectionTask) GetUseAutoIndex() bool
func (*RestoreCollectionTask) GetUseV2Restore ¶ added in v0.5.0
func (x *RestoreCollectionTask) GetUseV2Restore() bool
func (*RestoreCollectionTask) ProtoMessage ¶
func (*RestoreCollectionTask) ProtoMessage()
func (*RestoreCollectionTask) ProtoReflect ¶ added in v0.5.0
func (x *RestoreCollectionTask) ProtoReflect() protoreflect.Message
func (*RestoreCollectionTask) Reset ¶
func (x *RestoreCollectionTask) Reset()
func (*RestoreCollectionTask) String ¶
func (x *RestoreCollectionTask) String() string
type RestorePartitionTask ¶
type RestorePartitionTask struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StateCode RestoreTaskStateCode `protobuf:"varint,2,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.backup.RestoreTaskStateCode" json:"state_code"` ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Progress int32 `protobuf:"varint,6,opt,name=progress,proto3" json:"progress"` PartBackup *PartitionBackupInfo `protobuf:"bytes,7,opt,name=part_backup,json=partBackup,proto3" json:"part_backup,omitempty"` // contains filtered or unexported fields }
func (*RestorePartitionTask) Descriptor
deprecated
func (*RestorePartitionTask) Descriptor() ([]byte, []int)
Deprecated: Use RestorePartitionTask.ProtoReflect.Descriptor instead.
func (*RestorePartitionTask) GetEndTime ¶
func (x *RestorePartitionTask) GetEndTime() int64
func (*RestorePartitionTask) GetErrorMessage ¶
func (x *RestorePartitionTask) GetErrorMessage() string
func (*RestorePartitionTask) GetId ¶
func (x *RestorePartitionTask) GetId() string
func (*RestorePartitionTask) GetPartBackup ¶
func (x *RestorePartitionTask) GetPartBackup() *PartitionBackupInfo
func (*RestorePartitionTask) GetProgress ¶
func (x *RestorePartitionTask) GetProgress() int32
func (*RestorePartitionTask) GetStartTime ¶
func (x *RestorePartitionTask) GetStartTime() int64
func (*RestorePartitionTask) GetStateCode ¶
func (x *RestorePartitionTask) GetStateCode() RestoreTaskStateCode
func (*RestorePartitionTask) ProtoMessage ¶
func (*RestorePartitionTask) ProtoMessage()
func (*RestorePartitionTask) ProtoReflect ¶ added in v0.5.0
func (x *RestorePartitionTask) ProtoReflect() protoreflect.Message
func (*RestorePartitionTask) Reset ¶
func (x *RestorePartitionTask) Reset()
func (*RestorePartitionTask) String ¶
func (x *RestorePartitionTask) String() string
type RestoreTaskStateCode ¶
type RestoreTaskStateCode int32
const ( RestoreTaskStateCode_INITIAL RestoreTaskStateCode = 0 RestoreTaskStateCode_EXECUTING RestoreTaskStateCode = 1 RestoreTaskStateCode_SUCCESS RestoreTaskStateCode = 2 RestoreTaskStateCode_FAIL RestoreTaskStateCode = 3 RestoreTaskStateCode_TIMEOUT RestoreTaskStateCode = 4 )
func (RestoreTaskStateCode) Descriptor ¶ added in v0.5.0
func (RestoreTaskStateCode) Descriptor() protoreflect.EnumDescriptor
func (RestoreTaskStateCode) Enum ¶ added in v0.5.0
func (x RestoreTaskStateCode) Enum() *RestoreTaskStateCode
func (RestoreTaskStateCode) EnumDescriptor
deprecated
func (RestoreTaskStateCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RestoreTaskStateCode.Descriptor instead.
func (RestoreTaskStateCode) Number ¶ added in v0.5.0
func (x RestoreTaskStateCode) Number() protoreflect.EnumNumber
func (RestoreTaskStateCode) String ¶
func (x RestoreTaskStateCode) String() string
func (RestoreTaskStateCode) Type ¶ added in v0.5.0
func (RestoreTaskStateCode) Type() protoreflect.EnumType
type RoleEntity ¶ added in v0.4.21
type RoleEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RoleEntity) Descriptor
deprecated
added in
v0.4.21
func (*RoleEntity) Descriptor() ([]byte, []int)
Deprecated: Use RoleEntity.ProtoReflect.Descriptor instead.
func (*RoleEntity) GetName ¶ added in v0.4.21
func (x *RoleEntity) GetName() string
func (*RoleEntity) ProtoMessage ¶ added in v0.4.21
func (*RoleEntity) ProtoMessage()
func (*RoleEntity) ProtoReflect ¶ added in v0.5.0
func (x *RoleEntity) ProtoReflect() protoreflect.Message
func (*RoleEntity) Reset ¶ added in v0.4.21
func (x *RoleEntity) Reset()
func (*RoleEntity) String ¶ added in v0.4.21
func (x *RoleEntity) String() string
type SegmentBackupInfo ¶
type SegmentBackupInfo struct { SegmentId int64 `protobuf:"varint,1,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` CollectionId int64 `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` PartitionId int64 `protobuf:"varint,3,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` NumOfRows int64 `protobuf:"varint,4,opt,name=num_of_rows,json=numOfRows,proto3" json:"num_of_rows,omitempty"` Binlogs []*FieldBinlog `protobuf:"bytes,5,rep,name=binlogs,proto3" json:"binlogs,omitempty"` Statslogs []*FieldBinlog `protobuf:"bytes,6,rep,name=statslogs,proto3" json:"statslogs,omitempty"` Deltalogs []*FieldBinlog `protobuf:"bytes,7,rep,name=deltalogs,proto3" json:"deltalogs,omitempty"` Size int64 `protobuf:"varint,8,opt,name=size,proto3" json:"size"` // separate segments into multi groups by size, // segments in one group will be copied into one directory during backup // and will bulkinsert in one call during restore GroupId int64 `protobuf:"varint,9,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Backuped bool `protobuf:"varint,10,opt,name=backuped,proto3" json:"backuped,omitempty"` IsL0 bool `protobuf:"varint,11,opt,name=is_l0,json=isL0,proto3" json:"is_l0,omitempty"` // contains filtered or unexported fields }
* lite version of datapb.SegmentInfo
func (*SegmentBackupInfo) Descriptor
deprecated
func (*SegmentBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use SegmentBackupInfo.ProtoReflect.Descriptor instead.
func (*SegmentBackupInfo) GetBackuped ¶ added in v0.4.14
func (x *SegmentBackupInfo) GetBackuped() bool
func (*SegmentBackupInfo) GetBinlogs ¶
func (x *SegmentBackupInfo) GetBinlogs() []*FieldBinlog
func (*SegmentBackupInfo) GetCollectionId ¶
func (x *SegmentBackupInfo) GetCollectionId() int64
func (*SegmentBackupInfo) GetDeltalogs ¶
func (x *SegmentBackupInfo) GetDeltalogs() []*FieldBinlog
func (*SegmentBackupInfo) GetGroupId ¶
func (x *SegmentBackupInfo) GetGroupId() int64
func (*SegmentBackupInfo) GetIsL0 ¶ added in v0.4.15
func (x *SegmentBackupInfo) GetIsL0() bool
func (*SegmentBackupInfo) GetNumOfRows ¶
func (x *SegmentBackupInfo) GetNumOfRows() int64
func (*SegmentBackupInfo) GetPartitionId ¶
func (x *SegmentBackupInfo) GetPartitionId() int64
func (*SegmentBackupInfo) GetSegmentId ¶
func (x *SegmentBackupInfo) GetSegmentId() int64
func (*SegmentBackupInfo) GetSize ¶
func (x *SegmentBackupInfo) GetSize() int64
func (*SegmentBackupInfo) GetStatslogs ¶
func (x *SegmentBackupInfo) GetStatslogs() []*FieldBinlog
func (*SegmentBackupInfo) ProtoMessage ¶
func (*SegmentBackupInfo) ProtoMessage()
func (*SegmentBackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *SegmentBackupInfo) ProtoReflect() protoreflect.Message
func (*SegmentBackupInfo) Reset ¶
func (x *SegmentBackupInfo) Reset()
func (*SegmentBackupInfo) String ¶
func (x *SegmentBackupInfo) String() string
type SegmentLevelBackupInfo ¶
type SegmentLevelBackupInfo struct { Infos []*SegmentBackupInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` // contains filtered or unexported fields }
* For level storage
func (*SegmentLevelBackupInfo) Descriptor
deprecated
func (*SegmentLevelBackupInfo) Descriptor() ([]byte, []int)
Deprecated: Use SegmentLevelBackupInfo.ProtoReflect.Descriptor instead.
func (*SegmentLevelBackupInfo) GetInfos ¶
func (x *SegmentLevelBackupInfo) GetInfos() []*SegmentBackupInfo
func (*SegmentLevelBackupInfo) ProtoMessage ¶
func (*SegmentLevelBackupInfo) ProtoMessage()
func (*SegmentLevelBackupInfo) ProtoReflect ¶ added in v0.5.0
func (x *SegmentLevelBackupInfo) ProtoReflect() protoreflect.Message
func (*SegmentLevelBackupInfo) Reset ¶
func (x *SegmentLevelBackupInfo) Reset()
func (*SegmentLevelBackupInfo) String ¶
func (x *SegmentLevelBackupInfo) String() string
type SkipParams ¶ added in v0.5.0
type SkipParams struct { CollectionProperties []string `protobuf:"bytes,1,rep,name=collectionProperties,proto3" json:"collectionProperties,omitempty"` FieldIndexParams []string `protobuf:"bytes,2,rep,name=fieldIndexParams,proto3" json:"fieldIndexParams,omitempty"` FieldTypeParams []string `protobuf:"bytes,3,rep,name=fieldTypeParams,proto3" json:"fieldTypeParams,omitempty"` IndexParams []string `protobuf:"bytes,4,rep,name=indexParams,proto3" json:"indexParams,omitempty"` // contains filtered or unexported fields }
func (*SkipParams) Descriptor
deprecated
added in
v0.5.0
func (*SkipParams) Descriptor() ([]byte, []int)
Deprecated: Use SkipParams.ProtoReflect.Descriptor instead.
func (*SkipParams) GetCollectionProperties ¶ added in v0.5.0
func (x *SkipParams) GetCollectionProperties() []string
func (*SkipParams) GetFieldIndexParams ¶ added in v0.5.0
func (x *SkipParams) GetFieldIndexParams() []string
func (*SkipParams) GetFieldTypeParams ¶ added in v0.5.0
func (x *SkipParams) GetFieldTypeParams() []string
func (*SkipParams) GetIndexParams ¶ added in v0.5.0
func (x *SkipParams) GetIndexParams() []string
func (*SkipParams) ProtoMessage ¶ added in v0.5.0
func (*SkipParams) ProtoMessage()
func (*SkipParams) ProtoReflect ¶ added in v0.5.0
func (x *SkipParams) ProtoReflect() protoreflect.Message
func (*SkipParams) Reset ¶ added in v0.5.0
func (x *SkipParams) Reset()
func (*SkipParams) String ¶ added in v0.5.0
func (x *SkipParams) String() string
type UnimplementedMilvusBackupServiceServer ¶
type UnimplementedMilvusBackupServiceServer struct { }
UnimplementedMilvusBackupServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMilvusBackupServiceServer) Check ¶
func (*UnimplementedMilvusBackupServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (*UnimplementedMilvusBackupServiceServer) CreateBackup ¶
func (*UnimplementedMilvusBackupServiceServer) CreateBackup(context.Context, *CreateBackupRequest) (*BackupInfoResponse, error)
func (*UnimplementedMilvusBackupServiceServer) DeleteBackup ¶
func (*UnimplementedMilvusBackupServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error)
func (*UnimplementedMilvusBackupServiceServer) GetBackup ¶
func (*UnimplementedMilvusBackupServiceServer) GetBackup(context.Context, *GetBackupRequest) (*BackupInfoResponse, error)
func (*UnimplementedMilvusBackupServiceServer) GetRestore ¶
func (*UnimplementedMilvusBackupServiceServer) GetRestore(context.Context, *GetRestoreStateRequest) (*RestoreBackupResponse, error)
func (*UnimplementedMilvusBackupServiceServer) ListBackups ¶
func (*UnimplementedMilvusBackupServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (*UnimplementedMilvusBackupServiceServer) RestoreBackup ¶
func (*UnimplementedMilvusBackupServiceServer) RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error)
type UserEntity ¶ added in v0.4.21
type UserEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UserEntity) Descriptor
deprecated
added in
v0.4.21
func (*UserEntity) Descriptor() ([]byte, []int)
Deprecated: Use UserEntity.ProtoReflect.Descriptor instead.
func (*UserEntity) GetName ¶ added in v0.4.21
func (x *UserEntity) GetName() string
func (*UserEntity) ProtoMessage ¶ added in v0.4.21
func (*UserEntity) ProtoMessage()
func (*UserEntity) ProtoReflect ¶ added in v0.5.0
func (x *UserEntity) ProtoReflect() protoreflect.Message
func (*UserEntity) Reset ¶ added in v0.4.21
func (x *UserEntity) Reset()
func (*UserEntity) String ¶ added in v0.4.21
func (x *UserEntity) String() string
type UserInfo ¶ added in v0.4.21
type UserInfo struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Roles []*RoleEntity `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
added in
v0.4.21
func (*UserInfo) GetPassword ¶ added in v0.4.21
func (*UserInfo) GetRoles ¶ added in v0.4.21
func (x *UserInfo) GetRoles() []*RoleEntity
func (*UserInfo) ProtoMessage ¶ added in v0.4.21
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶ added in v0.5.0
func (x *UserInfo) ProtoReflect() protoreflect.Message
type ValueField ¶
type ValueField struct { // Types that are assignable to Data: // // *ValueField_BoolData // *ValueField_IntData // *ValueField_LongData // *ValueField_FloatData // *ValueField_DoubleData // *ValueField_StringData // *ValueField_BytesData Data isValueField_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ValueField) Descriptor
deprecated
func (*ValueField) Descriptor() ([]byte, []int)
Deprecated: Use ValueField.ProtoReflect.Descriptor instead.
func (*ValueField) GetBoolData ¶
func (x *ValueField) GetBoolData() bool
func (*ValueField) GetBytesData ¶
func (x *ValueField) GetBytesData() []byte
func (*ValueField) GetData ¶
func (m *ValueField) GetData() isValueField_Data
func (*ValueField) GetDoubleData ¶
func (x *ValueField) GetDoubleData() float64
func (*ValueField) GetFloatData ¶
func (x *ValueField) GetFloatData() float32
func (*ValueField) GetIntData ¶
func (x *ValueField) GetIntData() int32
func (*ValueField) GetLongData ¶
func (x *ValueField) GetLongData() int64
func (*ValueField) GetStringData ¶
func (x *ValueField) GetStringData() string
func (*ValueField) ProtoMessage ¶
func (*ValueField) ProtoMessage()
func (*ValueField) ProtoReflect ¶ added in v0.5.0
func (x *ValueField) ProtoReflect() protoreflect.Message
func (*ValueField) Reset ¶
func (x *ValueField) Reset()
func (*ValueField) String ¶
func (x *ValueField) String() string
type ValueField_BoolData ¶
type ValueField_BoolData struct {
BoolData bool `protobuf:"varint,1,opt,name=bool_data,json=boolData,proto3,oneof"`
}
type ValueField_BytesData ¶
type ValueField_BytesData struct {
BytesData []byte `protobuf:"bytes,7,opt,name=bytes_data,json=bytesData,proto3,oneof"`
}
type ValueField_DoubleData ¶
type ValueField_DoubleData struct {
DoubleData float64 `protobuf:"fixed64,5,opt,name=double_data,json=doubleData,proto3,oneof"`
}
type ValueField_FloatData ¶
type ValueField_FloatData struct {
FloatData float32 `protobuf:"fixed32,4,opt,name=float_data,json=floatData,proto3,oneof"`
}
type ValueField_IntData ¶
type ValueField_IntData struct {
IntData int32 `protobuf:"varint,2,opt,name=int_data,json=intData,proto3,oneof"`
}
type ValueField_LongData ¶
type ValueField_LongData struct {
LongData int64 `protobuf:"varint,3,opt,name=long_data,json=longData,proto3,oneof"`
}
type ValueField_StringData ¶
type ValueField_StringData struct {
StringData string `protobuf:"bytes,6,opt,name=string_data,json=stringData,proto3,oneof"`
}