Documentation
¶
Index ¶
Constants ¶
View Source
const HTTPS = "https"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶
type CLI struct {
Globals
Qdrant MigrateFromQdrantCmd `cmd:"" help:"Migrate data from a Qdrant database to Qdrant."`
}
type Globals ¶
type Globals struct {
Debug bool `help:"Enable debug mode."`
Trace bool `help:"Enable trace mode."`
SkipTlsVerification bool `help:"Skip TLS verification."`
Version kong.VersionFlag `name:"version" help:"Print version information and quit"`
}
type MigrateFromQdrantCmd ¶
type MigrateFromQdrantCmd struct {
SourceUrl string `help:"Source GRPC URL, e.g. https://your-qdrant-hostname:6334" required:"true"`
SourceCollection string `help:"Source collection" required:"true"`
SourceAPIKey string `help:"Source API key" env:"SOURCE_API_KEY"`
TargetUrl string `help:"Target GRPC URL, e.g. https://your-qdrant-hostname:6334" required:"true"`
TargetCollection string `help:"Target collection" required:"true"`
TargetAPIKey string `help:"Target API key" env:"TARGET_API_KEY"`
BatchSize uint32 `short:"b" help:"Batch size" default:"50"`
CreateTargetCollection bool `short:"c" help:"Create the target collection if it does not exist" default:"false"`
MigrationMarker string `short:"m" help:"Migration marker to resume the migration" optional:"true"`
// contains filtered or unexported fields
}
func (*MigrateFromQdrantCmd) Parse ¶
func (r *MigrateFromQdrantCmd) Parse() error
func (*MigrateFromQdrantCmd) Run ¶
func (r *MigrateFromQdrantCmd) Run(globals *Globals) error
func (*MigrateFromQdrantCmd) Validate ¶
func (r *MigrateFromQdrantCmd) Validate() error
Click to show internal directories.
Click to hide internal directories.