Versions in this module Expand all Collapse all v0 v0.1.0 Aug 26, 2022 Changes in this version + type AccessTarget struct + func NewAccessTarget(t mockConstructorTestingTNewAccessTarget) *AccessTarget + func (_m *AccessTarget) Name() string + type Agency struct + func NewAgency(t mockConstructorTestingTNewAgency) *Agency + func (_m *Agency) Connection() driver.Connection + func (_m *Agency) ReadKey(ctx context.Context, key []string, value interface{}) error + func (_m *Agency) RegisterChangeCallback(ctx context.Context, key []string, cbURL string) error + func (_m *Agency) RemoveKey(ctx context.Context, key []string, condition ...agency.WriteCondition) error + func (_m *Agency) RemoveKeyIfEqualTo(ctx context.Context, key []string, oldValue interface{}) error + func (_m *Agency) UnregisterChangeCallback(ctx context.Context, key []string, cbURL string) error + func (_m *Agency) WriteKey(ctx context.Context, key []string, value interface{}, ttl time.Duration, ...) error + func (_m *Agency) WriteKeyIfEmpty(ctx context.Context, key []string, value interface{}, ttl time.Duration) error + func (_m *Agency) WriteKeyIfEqualTo(ctx context.Context, key []string, newValue interface{}, oldValue interface{}, ...) error + func (_m *Agency) WriteTransaction(ctx context.Context, transaction agency.Transaction) error + type ArangoSearchAnalyzer struct + func NewArangoSearchAnalyzer(t mockConstructorTestingTNewArangoSearchAnalyzer) *ArangoSearchAnalyzer + func (_m *ArangoSearchAnalyzer) Database() driver.Database + func (_m *ArangoSearchAnalyzer) Definition() driver.ArangoSearchAnalyzerDefinition + func (_m *ArangoSearchAnalyzer) Name() string + func (_m *ArangoSearchAnalyzer) Properties() driver.ArangoSearchAnalyzerProperties + func (_m *ArangoSearchAnalyzer) Remove(ctx context.Context, force bool) error + func (_m *ArangoSearchAnalyzer) Type() driver.ArangoSearchAnalyzerType + func (_m *ArangoSearchAnalyzer) UniqueName() string + type ArangoSearchView struct + func NewArangoSearchView(t mockConstructorTestingTNewArangoSearchView) *ArangoSearchView + func (_m *ArangoSearchView) ArangoSearchView() (driver.ArangoSearchView, error) + func (_m *ArangoSearchView) Database() driver.Database + func (_m *ArangoSearchView) Name() string + func (_m *ArangoSearchView) Properties(ctx context.Context) (driver.ArangoSearchViewProperties, error) + func (_m *ArangoSearchView) Remove(ctx context.Context) error + func (_m *ArangoSearchView) SetProperties(ctx context.Context, options driver.ArangoSearchViewProperties) error + func (_m *ArangoSearchView) Type() driver.ViewType + type Authentication struct + func NewAuthentication(t mockConstructorTestingTNewAuthentication) *Authentication + func (_m *Authentication) Get(property string) string + func (_m *Authentication) Type() driver.AuthenticationType + type Batch struct + func NewBatch(t mockConstructorTestingTNewBatch) *Batch + func (_m *Batch) BatchID() string + func (_m *Batch) Delete(ctx context.Context) error + func (_m *Batch) Extend(ctx context.Context, ttl time.Duration) error + func (_m *Batch) LastTick() driver.Tick + type BodyBuilder struct + func NewBodyBuilder(t mockConstructorTestingTNewBodyBuilder) *BodyBuilder + func (_m *BodyBuilder) Clone() driver.BodyBuilder + func (_m *BodyBuilder) GetBody() []byte + func (_m *BodyBuilder) GetContentType() string + func (_m *BodyBuilder) SetBody(body ...interface{}) error + func (_m *BodyBuilder) SetBodyArray(bodyArray interface{}, mergeArray []map[string]interface{}) error + func (_m *BodyBuilder) SetBodyImportArray(bodyArray interface{}) error + type Client struct + func NewClient(t mockConstructorTestingTNewClient) *Client + func (_m *Client) AccessibleDatabases(ctx context.Context) ([]driver.Database, error) + func (_m *Client) Backup() driver.ClientBackup + func (_m *Client) Cluster(ctx context.Context) (driver.Cluster, error) + func (_m *Client) Connection() driver.Connection + func (_m *Client) CreateDatabase(ctx context.Context, name string, options *driver.CreateDatabaseOptions) (driver.Database, error) + func (_m *Client) CreateUser(ctx context.Context, name string, options *driver.UserOptions) (driver.User, error) + func (_m *Client) Database(ctx context.Context, name string) (driver.Database, error) + func (_m *Client) DatabaseExists(ctx context.Context, name string) (bool, error) + func (_m *Client) Databases(ctx context.Context) ([]driver.Database, error) + func (_m *Client) Foxx() driver.FoxxService + func (_m *Client) Logs(ctx context.Context) (driver.ServerLogs, error) + func (_m *Client) Replication() driver.Replication + func (_m *Client) ServerID(ctx context.Context) (string, error) + func (_m *Client) ServerMode(ctx context.Context) (driver.ServerMode, error) + func (_m *Client) ServerRole(ctx context.Context) (driver.ServerRole, error) + func (_m *Client) SetServerMode(ctx context.Context, mode driver.ServerMode) error + func (_m *Client) Shutdown(ctx context.Context, removeFromCluster bool) error + func (_m *Client) ShutdownInfoV2(ctx context.Context) (driver.ShutdownInfo, error) + func (_m *Client) ShutdownV2(ctx context.Context, removeFromCluster bool, graceful bool) error + func (_m *Client) Statistics(ctx context.Context) (driver.ServerStatistics, error) + func (_m *Client) SynchronizeEndpoints(ctx context.Context) error + func (_m *Client) SynchronizeEndpoints2(ctx context.Context, dbname string) error + func (_m *Client) User(ctx context.Context, name string) (driver.User, error) + func (_m *Client) UserExists(ctx context.Context, name string) (bool, error) + func (_m *Client) Users(ctx context.Context) ([]driver.User, error) + func (_m *Client) Version(ctx context.Context) (driver.VersionInfo, error) + type ClientAdminBackup struct + func NewClientAdminBackup(t mockConstructorTestingTNewClientAdminBackup) *ClientAdminBackup + func (_m *ClientAdminBackup) Backup() driver.ClientBackup + type ClientBackup struct + func NewClientBackup(t mockConstructorTestingTNewClientBackup) *ClientBackup + func (_m *ClientBackup) Abort(ctx context.Context, job driver.BackupTransferJobID) error + func (_m *ClientBackup) Create(ctx context.Context, opt *driver.BackupCreateOptions) (driver.BackupID, driver.BackupCreateResponse, error) + func (_m *ClientBackup) Delete(ctx context.Context, id driver.BackupID) error + func (_m *ClientBackup) Download(ctx context.Context, id driver.BackupID, remoteRepository string, ...) (driver.BackupTransferJobID, error) + func (_m *ClientBackup) List(ctx context.Context, opt *driver.BackupListOptions) (map[driver.BackupID]driver.BackupMeta, error) + func (_m *ClientBackup) Progress(ctx context.Context, job driver.BackupTransferJobID) (driver.BackupTransferProgressReport, error) + func (_m *ClientBackup) Restore(ctx context.Context, id driver.BackupID, opt *driver.BackupRestoreOptions) error + func (_m *ClientBackup) Upload(ctx context.Context, id driver.BackupID, remoteRepository string, ...) (driver.BackupTransferJobID, error) + type ClientCluster struct + func NewClientCluster(t mockConstructorTestingTNewClientCluster) *ClientCluster + func (_m *ClientCluster) Cluster(ctx context.Context) (driver.Cluster, error) + type ClientDatabases struct + func NewClientDatabases(t mockConstructorTestingTNewClientDatabases) *ClientDatabases + func (_m *ClientDatabases) AccessibleDatabases(ctx context.Context) ([]driver.Database, error) + func (_m *ClientDatabases) CreateDatabase(ctx context.Context, name string, options *driver.CreateDatabaseOptions) (driver.Database, error) + func (_m *ClientDatabases) Database(ctx context.Context, name string) (driver.Database, error) + func (_m *ClientDatabases) DatabaseExists(ctx context.Context, name string) (bool, error) + func (_m *ClientDatabases) Databases(ctx context.Context) ([]driver.Database, error) + type ClientFoxx struct + func NewClientFoxx(t mockConstructorTestingTNewClientFoxx) *ClientFoxx + func (_m *ClientFoxx) Foxx() driver.FoxxService + type ClientReplication struct + func NewClientReplication(t mockConstructorTestingTNewClientReplication) *ClientReplication + func (_m *ClientReplication) Replication() driver.Replication + type ClientServerAdmin struct + func NewClientServerAdmin(t mockConstructorTestingTNewClientServerAdmin) *ClientServerAdmin + func (_m *ClientServerAdmin) Logs(ctx context.Context) (driver.ServerLogs, error) + func (_m *ClientServerAdmin) ServerMode(ctx context.Context) (driver.ServerMode, error) + func (_m *ClientServerAdmin) SetServerMode(ctx context.Context, mode driver.ServerMode) error + func (_m *ClientServerAdmin) Shutdown(ctx context.Context, removeFromCluster bool) error + func (_m *ClientServerAdmin) ShutdownInfoV2(ctx context.Context) (driver.ShutdownInfo, error) + func (_m *ClientServerAdmin) ShutdownV2(ctx context.Context, removeFromCluster bool, graceful bool) error + func (_m *ClientServerAdmin) Statistics(ctx context.Context) (driver.ServerStatistics, error) + type ClientServerInfo struct + func NewClientServerInfo(t mockConstructorTestingTNewClientServerInfo) *ClientServerInfo + func (_m *ClientServerInfo) ServerID(ctx context.Context) (string, error) + func (_m *ClientServerInfo) ServerRole(ctx context.Context) (driver.ServerRole, error) + func (_m *ClientServerInfo) Version(ctx context.Context) (driver.VersionInfo, error) + type ClientUsers struct + func NewClientUsers(t mockConstructorTestingTNewClientUsers) *ClientUsers + func (_m *ClientUsers) CreateUser(ctx context.Context, name string, options *driver.UserOptions) (driver.User, error) + func (_m *ClientUsers) User(ctx context.Context, name string) (driver.User, error) + func (_m *ClientUsers) UserExists(ctx context.Context, name string) (bool, error) + func (_m *ClientUsers) Users(ctx context.Context) ([]driver.User, error) + type Cluster struct + func NewCluster(t mockConstructorTestingTNewCluster) *Cluster + func (_m *Cluster) CleanOutServer(ctx context.Context, serverID string) error + func (_m *Cluster) DatabaseInventory(ctx context.Context, db driver.Database) (driver.DatabaseInventory, error) + func (_m *Cluster) Health(ctx context.Context) (driver.ClusterHealth, error) + func (_m *Cluster) IsCleanedOut(ctx context.Context, serverID string) (bool, error) + func (_m *Cluster) MoveShard(ctx context.Context, col driver.Collection, shard driver.ShardID, ...) error + func (_m *Cluster) RemoveServer(ctx context.Context, serverID driver.ServerID) error + func (_m *Cluster) ResignServer(ctx context.Context, serverID string) error + type Collection struct + func NewCollection(t mockConstructorTestingTNewCollection) *Collection + func (_m *Collection) Count(ctx context.Context) (int64, error) + func (_m *Collection) CreateDocument(ctx context.Context, document interface{}) (driver.DocumentMeta, error) + func (_m *Collection) CreateDocuments(ctx context.Context, documents interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *Collection) Database() driver.Database + func (_m *Collection) DocumentExists(ctx context.Context, key string) (bool, error) + func (_m *Collection) EnsureFullTextIndex(ctx context.Context, fields []string, ...) (driver.Index, bool, error) + func (_m *Collection) EnsureGeoIndex(ctx context.Context, fields []string, options *driver.EnsureGeoIndexOptions) (driver.Index, bool, error) + func (_m *Collection) EnsureHashIndex(ctx context.Context, fields []string, options *driver.EnsureHashIndexOptions) (driver.Index, bool, error) + func (_m *Collection) EnsurePersistentIndex(ctx context.Context, fields []string, ...) (driver.Index, bool, error) + func (_m *Collection) EnsureSkipListIndex(ctx context.Context, fields []string, ...) (driver.Index, bool, error) + func (_m *Collection) EnsureTTLIndex(ctx context.Context, field string, expireAfter int, ...) (driver.Index, bool, error) + func (_m *Collection) EnsureZKDIndex(ctx context.Context, fields []string, options *driver.EnsureZKDIndexOptions) (driver.Index, bool, error) + func (_m *Collection) ImportDocuments(ctx context.Context, documents interface{}, ...) (driver.ImportDocumentStatistics, error) + func (_m *Collection) Index(ctx context.Context, name string) (driver.Index, error) + func (_m *Collection) IndexExists(ctx context.Context, name string) (bool, error) + func (_m *Collection) Indexes(ctx context.Context) ([]driver.Index, error) + func (_m *Collection) Load(ctx context.Context) error + func (_m *Collection) Name() string + func (_m *Collection) Properties(ctx context.Context) (driver.CollectionProperties, error) + func (_m *Collection) ReadDocument(ctx context.Context, key string, result interface{}) (driver.DocumentMeta, error) + func (_m *Collection) ReadDocuments(ctx context.Context, keys []string, results interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *Collection) Remove(ctx context.Context) error + func (_m *Collection) RemoveDocument(ctx context.Context, key string) (driver.DocumentMeta, error) + func (_m *Collection) RemoveDocuments(ctx context.Context, keys []string) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *Collection) ReplaceDocument(ctx context.Context, key string, document interface{}) (driver.DocumentMeta, error) + func (_m *Collection) ReplaceDocuments(ctx context.Context, keys []string, documents interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *Collection) Revision(ctx context.Context) (string, error) + func (_m *Collection) SetProperties(ctx context.Context, options driver.SetCollectionPropertiesOptions) error + func (_m *Collection) Shards(ctx context.Context, details bool) (driver.CollectionShards, error) + func (_m *Collection) Statistics(ctx context.Context) (driver.CollectionStatistics, error) + func (_m *Collection) Status(ctx context.Context) (driver.CollectionStatus, error) + func (_m *Collection) Truncate(ctx context.Context) error + func (_m *Collection) Unload(ctx context.Context) error + func (_m *Collection) UpdateDocument(ctx context.Context, key string, update interface{}) (driver.DocumentMeta, error) + func (_m *Collection) UpdateDocuments(ctx context.Context, keys []string, updates interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + type CollectionDocuments struct + func NewCollectionDocuments(t mockConstructorTestingTNewCollectionDocuments) *CollectionDocuments + func (_m *CollectionDocuments) CreateDocument(ctx context.Context, document interface{}) (driver.DocumentMeta, error) + func (_m *CollectionDocuments) CreateDocuments(ctx context.Context, documents interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *CollectionDocuments) DocumentExists(ctx context.Context, key string) (bool, error) + func (_m *CollectionDocuments) ImportDocuments(ctx context.Context, documents interface{}, ...) (driver.ImportDocumentStatistics, error) + func (_m *CollectionDocuments) ReadDocument(ctx context.Context, key string, result interface{}) (driver.DocumentMeta, error) + func (_m *CollectionDocuments) ReadDocuments(ctx context.Context, keys []string, results interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *CollectionDocuments) RemoveDocument(ctx context.Context, key string) (driver.DocumentMeta, error) + func (_m *CollectionDocuments) RemoveDocuments(ctx context.Context, keys []string) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *CollectionDocuments) ReplaceDocument(ctx context.Context, key string, document interface{}) (driver.DocumentMeta, error) + func (_m *CollectionDocuments) ReplaceDocuments(ctx context.Context, keys []string, documents interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + func (_m *CollectionDocuments) UpdateDocument(ctx context.Context, key string, update interface{}) (driver.DocumentMeta, error) + func (_m *CollectionDocuments) UpdateDocuments(ctx context.Context, keys []string, updates interface{}) (driver.DocumentMetaSlice, driver.ErrorSlice, error) + type CollectionIndexes struct + func NewCollectionIndexes(t mockConstructorTestingTNewCollectionIndexes) *CollectionIndexes + func (_m *CollectionIndexes) EnsureFullTextIndex(ctx context.Context, fields []string, ...) (driver.Index, bool, error) + func (_m *CollectionIndexes) EnsureGeoIndex(ctx context.Context, fields []string, options *driver.EnsureGeoIndexOptions) (driver.Index, bool, error) + func (_m *CollectionIndexes) EnsureHashIndex(ctx context.Context, fields []string, options *driver.EnsureHashIndexOptions) (driver.Index, bool, error) + func (_m *CollectionIndexes) EnsurePersistentIndex(ctx context.Context, fields []string, ...) (driver.Index, bool, error) + func (_m *CollectionIndexes) EnsureSkipListIndex(ctx context.Context, fields []string, ...) (driver.Index, bool, error) + func (_m *CollectionIndexes) EnsureTTLIndex(ctx context.Context, field string, expireAfter int, ...) (driver.Index, bool, error) + func (_m *CollectionIndexes) EnsureZKDIndex(ctx context.Context, fields []string, options *driver.EnsureZKDIndexOptions) (driver.Index, bool, error) + func (_m *CollectionIndexes) Index(ctx context.Context, name string) (driver.Index, error) + func (_m *CollectionIndexes) IndexExists(ctx context.Context, name string) (bool, error) + func (_m *CollectionIndexes) Indexes(ctx context.Context) ([]driver.Index, error) + type Connection struct + func NewConnection(t mockConstructorTestingTNewConnection) *Connection + func (_m *Connection) Do(ctx context.Context, req driver.Request) (driver.Response, error) + func (_m *Connection) Endpoints() []string + func (_m *Connection) NewRequest(method string, path string) (driver.Request, error) + func (_m *Connection) Protocols() driver.ProtocolSet + func (_m *Connection) SetAuthentication(_a0 driver.Authentication) (driver.Connection, error) + func (_m *Connection) Unmarshal(data driver.RawObject, result interface{}) error + func (_m *Connection) UpdateEndpoints(endpoints []string) error + type Cursor struct + func NewCursor(t mockConstructorTestingTNewCursor) *Cursor + func (_m *Cursor) Close() error + func (_m *Cursor) Count() int64 + func (_m *Cursor) Extra() driver.QueryExtra + func (_m *Cursor) HasMore() bool + func (_m *Cursor) ReadDocument(ctx context.Context, result interface{}) (driver.DocumentMeta, error) + func (_m *Cursor) Statistics() driver.QueryStatistics + type Database struct + func NewDatabase(t mockConstructorTestingTNewDatabase) *Database + func (_m *Database) AbortTransaction(ctx context.Context, tid driver.TransactionID, ...) error + func (_m *Database) Analyzer(ctx context.Context, name string) (driver.ArangoSearchAnalyzer, error) + func (_m *Database) Analyzers(ctx context.Context) ([]driver.ArangoSearchAnalyzer, error) + func (_m *Database) BeginTransaction(ctx context.Context, cols driver.TransactionCollections, ...) (driver.TransactionID, error) + func (_m *Database) Collection(ctx context.Context, name string) (driver.Collection, error) + func (_m *Database) CollectionExists(ctx context.Context, name string) (bool, error) + func (_m *Database) Collections(ctx context.Context) ([]driver.Collection, error) + func (_m *Database) CommitTransaction(ctx context.Context, tid driver.TransactionID, ...) error + func (_m *Database) CreateArangoSearchView(ctx context.Context, name string, options *driver.ArangoSearchViewProperties) (driver.ArangoSearchView, error) + func (_m *Database) CreateCollection(ctx context.Context, name string, options *driver.CreateCollectionOptions) (driver.Collection, error) + func (_m *Database) CreateGraph(ctx context.Context, name string, options *driver.CreateGraphOptions) (driver.Graph, error) + func (_m *Database) CreateGraphV2(ctx context.Context, name string, options *driver.CreateGraphOptions) (driver.Graph, error) + func (_m *Database) EngineInfo(ctx context.Context) (driver.EngineInfo, error) + func (_m *Database) EnsureAnalyzer(ctx context.Context, analyzer driver.ArangoSearchAnalyzerDefinition) (bool, driver.ArangoSearchAnalyzer, error) + func (_m *Database) Graph(ctx context.Context, name string) (driver.Graph, error) + func (_m *Database) GraphExists(ctx context.Context, name string) (bool, error) + func (_m *Database) Graphs(ctx context.Context) ([]driver.Graph, error) + func (_m *Database) Info(ctx context.Context) (driver.DatabaseInfo, error) + func (_m *Database) Name() string + func (_m *Database) Query(ctx context.Context, query string, bindVars map[string]interface{}) (driver.Cursor, error) + func (_m *Database) Remove(ctx context.Context) error + func (_m *Database) Transaction(ctx context.Context, action string, options *driver.TransactionOptions) (interface{}, error) + func (_m *Database) TransactionStatus(ctx context.Context, tid driver.TransactionID) (driver.TransactionStatusRecord, error) + func (_m *Database) ValidateQuery(ctx context.Context, query string) error + func (_m *Database) View(ctx context.Context, name string) (driver.View, error) + func (_m *Database) ViewExists(ctx context.Context, name string) (bool, error) + func (_m *Database) Views(ctx context.Context) ([]driver.View, error) + type DatabaseArangoSearchAnalyzers struct + func NewDatabaseArangoSearchAnalyzers(t mockConstructorTestingTNewDatabaseArangoSearchAnalyzers) *DatabaseArangoSearchAnalyzers + func (_m *DatabaseArangoSearchAnalyzers) Analyzer(ctx context.Context, name string) (driver.ArangoSearchAnalyzer, error) + func (_m *DatabaseArangoSearchAnalyzers) Analyzers(ctx context.Context) ([]driver.ArangoSearchAnalyzer, error) + func (_m *DatabaseArangoSearchAnalyzers) EnsureAnalyzer(ctx context.Context, analyzer driver.ArangoSearchAnalyzerDefinition) (bool, driver.ArangoSearchAnalyzer, error) + type DatabaseCollections struct + func NewDatabaseCollections(t mockConstructorTestingTNewDatabaseCollections) *DatabaseCollections + func (_m *DatabaseCollections) Collection(ctx context.Context, name string) (driver.Collection, error) + func (_m *DatabaseCollections) CollectionExists(ctx context.Context, name string) (bool, error) + func (_m *DatabaseCollections) Collections(ctx context.Context) ([]driver.Collection, error) + func (_m *DatabaseCollections) CreateCollection(ctx context.Context, name string, options *driver.CreateCollectionOptions) (driver.Collection, error) + type DatabaseGraphs struct + func NewDatabaseGraphs(t mockConstructorTestingTNewDatabaseGraphs) *DatabaseGraphs + func (_m *DatabaseGraphs) CreateGraph(ctx context.Context, name string, options *driver.CreateGraphOptions) (driver.Graph, error) + func (_m *DatabaseGraphs) CreateGraphV2(ctx context.Context, name string, options *driver.CreateGraphOptions) (driver.Graph, error) + func (_m *DatabaseGraphs) Graph(ctx context.Context, name string) (driver.Graph, error) + func (_m *DatabaseGraphs) GraphExists(ctx context.Context, name string) (bool, error) + func (_m *DatabaseGraphs) Graphs(ctx context.Context) ([]driver.Graph, error) + type DatabaseStreamingTransactions struct + func NewDatabaseStreamingTransactions(t mockConstructorTestingTNewDatabaseStreamingTransactions) *DatabaseStreamingTransactions + func (_m *DatabaseStreamingTransactions) AbortTransaction(ctx context.Context, tid driver.TransactionID, ...) error + func (_m *DatabaseStreamingTransactions) BeginTransaction(ctx context.Context, cols driver.TransactionCollections, ...) (driver.TransactionID, error) + func (_m *DatabaseStreamingTransactions) CommitTransaction(ctx context.Context, tid driver.TransactionID, ...) error + func (_m *DatabaseStreamingTransactions) TransactionStatus(ctx context.Context, tid driver.TransactionID) (driver.TransactionStatusRecord, error) + type DatabaseViews struct + func NewDatabaseViews(t mockConstructorTestingTNewDatabaseViews) *DatabaseViews + func (_m *DatabaseViews) CreateArangoSearchView(ctx context.Context, name string, options *driver.ArangoSearchViewProperties) (driver.ArangoSearchView, error) + func (_m *DatabaseViews) View(ctx context.Context, name string) (driver.View, error) + func (_m *DatabaseViews) ViewExists(ctx context.Context, name string) (bool, error) + func (_m *DatabaseViews) Views(ctx context.Context) ([]driver.View, error) + type FoxxService struct + func NewFoxxService(t mockConstructorTestingTNewFoxxService) *FoxxService + func (_m *FoxxService) InstallFoxxService(ctx context.Context, zipFile string, options driver.FoxxCreateOptions) error + func (_m *FoxxService) UninstallFoxxService(ctx context.Context, options driver.FoxxDeleteOptions) error + type Graph struct + func NewGraph(t mockConstructorTestingTNewGraph) *Graph + func (_m *Graph) CreateEdgeCollection(ctx context.Context, collection string, constraints driver.VertexConstraints) (driver.Collection, error) + func (_m *Graph) CreateEdgeCollectionWithOptions(ctx context.Context, collection string, constraints driver.VertexConstraints, ...) (driver.Collection, error) + func (_m *Graph) CreateVertexCollection(ctx context.Context, collection string) (driver.Collection, error) + func (_m *Graph) CreateVertexCollectionWithOptions(ctx context.Context, collection string, ...) (driver.Collection, error) + func (_m *Graph) EdgeCollection(ctx context.Context, name string) (driver.Collection, driver.VertexConstraints, error) + func (_m *Graph) EdgeCollectionExists(ctx context.Context, name string) (bool, error) + func (_m *Graph) EdgeCollections(ctx context.Context) ([]driver.Collection, []driver.VertexConstraints, error) + func (_m *Graph) EdgeDefinitions() []driver.EdgeDefinition + func (_m *Graph) ID() string + func (_m *Graph) IsDisjoint() bool + func (_m *Graph) IsSatellite() bool + func (_m *Graph) IsSmart() bool + func (_m *Graph) Key() driver.DocumentID + func (_m *Graph) MinReplicationFactor() int + func (_m *Graph) Name() string + func (_m *Graph) NumberOfShards() int + func (_m *Graph) OrphanCollections() []string + func (_m *Graph) Remove(ctx context.Context) error + func (_m *Graph) ReplicationFactor() int + func (_m *Graph) Rev() string + func (_m *Graph) SetVertexConstraints(ctx context.Context, collection string, constraints driver.VertexConstraints) error + func (_m *Graph) SmartGraphAttribute() string + func (_m *Graph) VertexCollection(ctx context.Context, name string) (driver.Collection, error) + func (_m *Graph) VertexCollectionExists(ctx context.Context, name string) (bool, error) + func (_m *Graph) VertexCollections(ctx context.Context) ([]driver.Collection, error) + func (_m *Graph) WriteConcern() int + type GraphEdgeCollections struct + func NewGraphEdgeCollections(t mockConstructorTestingTNewGraphEdgeCollections) *GraphEdgeCollections + func (_m *GraphEdgeCollections) CreateEdgeCollection(ctx context.Context, collection string, constraints driver.VertexConstraints) (driver.Collection, error) + func (_m *GraphEdgeCollections) CreateEdgeCollectionWithOptions(ctx context.Context, collection string, constraints driver.VertexConstraints, ...) (driver.Collection, error) + func (_m *GraphEdgeCollections) EdgeCollection(ctx context.Context, name string) (driver.Collection, driver.VertexConstraints, error) + func (_m *GraphEdgeCollections) EdgeCollectionExists(ctx context.Context, name string) (bool, error) + func (_m *GraphEdgeCollections) EdgeCollections(ctx context.Context) ([]driver.Collection, []driver.VertexConstraints, error) + func (_m *GraphEdgeCollections) SetVertexConstraints(ctx context.Context, collection string, constraints driver.VertexConstraints) error + type GraphVertexCollections struct + func NewGraphVertexCollections(t mockConstructorTestingTNewGraphVertexCollections) *GraphVertexCollections + func (_m *GraphVertexCollections) CreateVertexCollection(ctx context.Context, collection string) (driver.Collection, error) + func (_m *GraphVertexCollections) CreateVertexCollectionWithOptions(ctx context.Context, collection string, ...) (driver.Collection, error) + func (_m *GraphVertexCollections) VertexCollection(ctx context.Context, name string) (driver.Collection, error) + func (_m *GraphVertexCollections) VertexCollectionExists(ctx context.Context, name string) (bool, error) + func (_m *GraphVertexCollections) VertexCollections(ctx context.Context) ([]driver.Collection, error) + type Index struct + func NewIndex(t mockConstructorTestingTNewIndex) *Index + func (_m *Index) Deduplicate() bool + func (_m *Index) Estimates() bool + func (_m *Index) ExpireAfter() int + func (_m *Index) Fields() []string + func (_m *Index) GeoJSON() bool + func (_m *Index) ID() string + func (_m *Index) InBackground() bool + func (_m *Index) MinLength() int + func (_m *Index) Name() string + func (_m *Index) Remove(ctx context.Context) error + func (_m *Index) Sparse() bool + func (_m *Index) Type() driver.IndexType + func (_m *Index) Unique() bool + func (_m *Index) UserName() string + type KeyChanger struct + func NewKeyChanger(t mockConstructorTestingTNewKeyChanger) *KeyChanger + func (_m *KeyChanger) GetKey() string + func (_m *KeyChanger) GetNew() interface{} + func (_m *KeyChanger) GetOperation() string + func (_m *KeyChanger) GetTTL() time.Duration + func (_m *KeyChanger) GetURL() string + func (_m *KeyChanger) GetVal() interface{} + type KeyConditioner struct + func NewKeyConditioner(t mockConstructorTestingTNewKeyConditioner) *KeyConditioner + func (_m *KeyConditioner) GetName() string + func (_m *KeyConditioner) GetValue() interface{} + type Lock struct + func NewLock(t mockConstructorTestingTNewLock) *Lock + func (_m *Lock) IsLocked() bool + func (_m *Lock) Lock(ctx context.Context) error + func (_m *Lock) Unlock(ctx context.Context) error + type Logger struct + func NewLogger(t mockConstructorTestingTNewLogger) *Logger + func (_m *Logger) Errorf(msg string, args ...interface{}) + type QueryExtra struct + func NewQueryExtra(t mockConstructorTestingTNewQueryExtra) *QueryExtra + func (_m *QueryExtra) GetPlanRaw() ([]byte, bool, error) + func (_m *QueryExtra) GetProfileRaw() ([]byte, bool, error) + func (_m *QueryExtra) GetStatistics() driver.QueryStatistics + type QueryStatistics struct + func NewQueryStatistics(t mockConstructorTestingTNewQueryStatistics) *QueryStatistics + func (_m *QueryStatistics) ExecutionTime() time.Duration + func (_m *QueryStatistics) Filtered() int64 + func (_m *QueryStatistics) FullCount() int64 + func (_m *QueryStatistics) ScannedFull() int64 + func (_m *QueryStatistics) ScannedIndex() int64 + func (_m *QueryStatistics) WritesExecuted() int64 + func (_m *QueryStatistics) WritesIgnored() int64 + type Replication struct + func NewReplication(t mockConstructorTestingTNewReplication) *Replication + func (_m *Replication) CreateBatch(ctx context.Context, db driver.Database, serverID int64, ttl time.Duration) (driver.Batch, error) + func (_m *Replication) DatabaseInventory(ctx context.Context, db driver.Database) (driver.DatabaseInventory, error) + func (_m *Replication) GetRevisionDocuments(ctx context.Context, db driver.Database, batchId string, collection string, ...) ([]map[string]interface{}, error) + func (_m *Replication) GetRevisionTree(ctx context.Context, db driver.Database, batchId string, collection string) (driver.RevisionTree, error) + func (_m *Replication) GetRevisionsByRanges(ctx context.Context, db driver.Database, batchId string, collection string, ...) (driver.RevisionRanges, error) + type Request struct + func NewRequest(t mockConstructorTestingTNewRequest) *Request + func (_m *Request) Clone() driver.Request + func (_m *Request) Method() string + func (_m *Request) Path() string + func (_m *Request) SetBody(body ...interface{}) (driver.Request, error) + func (_m *Request) SetBodyArray(bodyArray interface{}, mergeArray []map[string]interface{}) (driver.Request, error) + func (_m *Request) SetBodyImportArray(bodyArray interface{}) (driver.Request, error) + func (_m *Request) SetHeader(key string, value string) driver.Request + func (_m *Request) SetQuery(key string, value string) driver.Request + func (_m *Request) Written() bool + type RequestRepeater struct + func NewRequestRepeater(t mockConstructorTestingTNewRequestRepeater) *RequestRepeater + func (_m *RequestRepeater) Repeat(conn driver.Connection, resp driver.Response, err error) bool + type Response struct + func NewResponse(t mockConstructorTestingTNewResponse) *Response + func (_m *Response) CheckStatus(validStatusCodes ...int) error + func (_m *Response) Endpoint() string + func (_m *Response) Header(key string) string + func (_m *Response) ParseArrayBody() ([]driver.Response, error) + func (_m *Response) ParseBody(field string, result interface{}) error + func (_m *Response) StatusCode() int + type ServerConnectionBuilder struct + func NewServerConnectionBuilder(t mockConstructorTestingTNewServerConnectionBuilder) *ServerConnectionBuilder + func (_m *ServerConnectionBuilder) Execute(endpoint string) (driver.Connection, error) + type User struct + func NewUser(t mockConstructorTestingTNewUser) *User + func (_m *User) AccessibleDatabases(ctx context.Context) ([]driver.Database, error) + func (_m *User) Extra(result interface{}) error + func (_m *User) GetCollectionAccess(ctx context.Context, col driver.AccessTarget) (driver.Grant, error) + func (_m *User) GetDatabaseAccess(ctx context.Context, db driver.Database) (driver.Grant, error) + func (_m *User) GrantReadWriteAccess(ctx context.Context, db driver.Database) error + func (_m *User) IsActive() bool + func (_m *User) IsPasswordChangeNeeded() bool + func (_m *User) Name() string + func (_m *User) Remove(ctx context.Context) error + func (_m *User) RemoveCollectionAccess(ctx context.Context, col driver.AccessTarget) error + func (_m *User) RemoveDatabaseAccess(ctx context.Context, db driver.Database) error + func (_m *User) Replace(ctx context.Context, options driver.UserOptions) error + func (_m *User) RevokeAccess(ctx context.Context, db driver.Database) error + func (_m *User) SetCollectionAccess(ctx context.Context, col driver.AccessTarget, access driver.Grant) error + func (_m *User) SetDatabaseAccess(ctx context.Context, db driver.Database, access driver.Grant) error + func (_m *User) Update(ctx context.Context, options driver.UserOptions) error + type View struct + func NewView(t mockConstructorTestingTNewView) *View + func (_m *View) ArangoSearchView() (driver.ArangoSearchView, error) + func (_m *View) Database() driver.Database + func (_m *View) Name() string + func (_m *View) Remove(ctx context.Context) error + func (_m *View) Type() driver.ViewType