go mod vendor
+ move k8s.io/apimachinery fork from go.work to go.mod (and include it in vendor)
This commit is contained in:
22
vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go
generated
vendored
Normal file
22
vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (C) MongoDB, Inc. 2022-present.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
// not use this file except in compliance with the License. You may obtain
|
||||
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
package driver
|
||||
|
||||
// LegacyOperationKind indicates if an operation is a legacy find, getMore, or killCursors. This is used
|
||||
// in Operation.Execute, which will create legacy OP_QUERY, OP_GET_MORE, or OP_KILL_CURSORS instead
|
||||
// of sending them as a command.
|
||||
type LegacyOperationKind uint
|
||||
|
||||
// These constants represent the three different kinds of legacy operations.
|
||||
const (
|
||||
LegacyNone LegacyOperationKind = iota
|
||||
LegacyFind
|
||||
LegacyGetMore
|
||||
LegacyKillCursors
|
||||
LegacyListCollections
|
||||
LegacyListIndexes
|
||||
)
|
Reference in New Issue
Block a user