MCPcopy Create free account

hub / github.com/deusdat/arangomigo / functions

Functions87 in github.com/deusdat/arangomigo

↓ 61 callersFunctione
(err error)
impls.go:202
↓ 14 callersMethodCollection
(ctx context.Context, name string)
impl_test.go:12
↓ 13 callersMethodDatabase
An empty implementation of ArangoSearchView.View.Database().
impls_view_test.go:70
↓ 13 callersMethodRemove
Implements View.Remove.
impls_view_test.go:35
↓ 7 callersFunctiondropIndex
(ctx context.Context, cl driver.Collection, name string)
impls.go:740
↓ 6 callersMethodMigrate
The impls_view contains all the implementation code for create, modifying and deleting an Arango Search View.
impls_view.go:47
↓ 6 callersFunctionloadConf
Reads in a yaml file at the confLoc and returns the Config instance.
arangomigo.go:43
↓ 5 callersFunctionTriggerMigration
(configAt string)
arangomigo.go:16
↓ 5 callersFunctionclient
Create the client used to talk to ArangoDB
impls.go:183
↓ 5 callersFunctiongetInt
(unk interface{})
impls_view.go:206
↓ 5 callersFunctionnearlyLexical
nearlyLexical sorts the paths based on near lexical sorting. Chomps the description of the migration off. Uses just the version information.
migrations.go:337
↓ 4 callersMethodProperties
Implements ArangoSearchView.Properties()
impls_view_test.go:55
↓ 4 callersMethodView
Implements Database.View() to get a View or return an error as the test expects.
impls_view_test.go:95
↓ 3 callersMethodMigrate
(ctx context.Context, driver driver.Database, extras map[string]interface{})
impls.go:23
↓ 3 callersMethodName
()
impl_test.go:23
↓ 3 callersFunctiondirectReplace
directReplace attempts to use the key value to find a lookup in the map. if one exists, it returns the values; otherwise returns the key.
impls.go:245
↓ 2 callersMethodFileName
()
impls.go:24
↓ 2 callersMethodName
Implements View.Name() and used in testing.
impls_view_test.go:19
↓ 2 callersMethodSetCheckSum
(sum string)
impls.go:27
↓ 2 callersMethodSetFileName
(name string)
impls.go:25
↓ 2 callersMethodSetProperties
Implements ArangoSearchView.SetProperties()
impls_view_test.go:85
↓ 2 callersFunctionbuildViewProperties
(searchView SearchView)
impls_view.go:86
↓ 2 callersFunctionloadFrom
Loads a set of migrations from a given directory.
migrations.go:377
↓ 2 callersFunctionlpadToLength
(s string, l int)
migrations.go:315
↓ 2 callersFunctionopen
Opens the path into a byte slice. Returns the bytes, the file's checksum, and an error.
migrations.go:405
↓ 2 callersFunctionperform
Entry point in actually executing the migrations
impls.go:65
↓ 2 callersFunctionversion
(s string)
migrations.go:321
↓ 1 callersMethodArangoSearchAliasIndexes
()
impls_view.go:37
↓ 1 callersMethodArangoSearchView
Implements View.ArangoSearchView() to get an ArangoSearchView or return an error as the test expects.
impls_view_test.go:24
↓ 1 callersMethodArangoSearchViewAlias
An empty implementation of ArangoSearchView.View.ArangoSearchViewAlias().
impls_view_test.go:65
↓ 1 callersMethodCheckSum
()
impls.go:26
↓ 1 callersMethodCreateArangoSearchView
Implements Database.CreateArangoSearchView()
impls_view_test.go:90
↓ 1 callersFunctionGetEnv
(key string, fallback string)
perform_test.go:9
↓ 1 callersMethodInvertedIndexFields
()
migrations.go:156
↓ 1 callersFunctionPerformMigrations
End Common operation implementations
impls.go:52
↓ 1 callersFunctionbuildFields
(properties SearchElementProperties)
impls_view.go:132
↓ 1 callersFunctionbuildSearchConsolidationPolicy
(consolidationPolicy *ConsolidationPolicy)
impls_view.go:161
↓ 1 callersFunctionbuildSortField
(field SortField)
impls_view.go:119
↓ 1 callersFunctiongetFloat
(unk interface{})
impls_view.go:200
↓ 1 callersFunctionloadDb
( ctx context.Context, conf Config, cl driver.Client, pm *[]PairedMigrations, extras map[string]interface
impls.go:131
↓ 1 callersFunctionmigrate
TODO remember that having replayable migrations need to be possible too. Have branch those into running at the end.
arangomigo.go:31
↓ 1 callersFunctionmigrateNow
( ctx context.Context, db driver.Database, pms []PairedMigrations, extras map[string]interface{}, )
impls.go:81
↓ 1 callersFunctionmigrations
Pairs migrations together. Returns an error if unable to find migrations.
migrations.go:297
↓ 1 callersFunctionpickT
Reads the migration contents to pick the proper type.
migrations.go:416
↓ 1 callersFunctionpointyBool
(bool2 bool)
impls.go:127
↓ 1 callersFunctiontoStruct
* Converts a path to the proper underlying types specified in the childPath. */
migrations.go:456
MethodArangoSearchView
An empty implementation of ArangoSearchView.View.ArangoSearchView().
impls_view_test.go:60
MethodCheckSum
CheckSum gets the checksum for the migration's file
impls.go:41
MethodFileName
FileName gets the filename of the migrations configuration.
impls.go:31
MethodMigrate
(ctx context.Context, db driver.Database, extras map[string]interface{})
impls.go:206
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:252
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:324
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:444
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:478
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:513
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:550
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:585
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:618
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:655
MethodMigrate
(ctx context.Context, db driver.Database, _ map[string]interface{})
impls.go:677
MethodMigrate
(ctx context.Context, db driver.Database, extras map[string]interface{})
impls.go:717
MethodMigrate
(ctx context.Context, db driver.Database, extras map[string]interface{})
impls_view.go:12
MethodName
Implements ArangoSearchView.Name()
impls_view_test.go:45
MethodRemove
An empty implementation of ArangoSearchView.View.Remove().
impls_view_test.go:80
MethodRename
An empty implementation of ArangoSearchView.View.Rename().
impls_view_test.go:75
MethodSetCheckSum
SetCheckSum sets the checksum of the file, in hex.
impls.go:46
MethodSetFileName
SetFileName updates the filename of the migration
impls.go:36
FunctionTestConfigLoad
(t *testing.T)
arangomigo_test.go:13
FunctionTestDateAndDescription
(t *testing.T)
migrations_test.go:33
FunctionTestDecNumericVersions
(t *testing.T)
migrations_test.go:60
FunctionTestFullMigration
(t *testing.T)
arangomigo_test.go:24
FunctionTestKeyGeneratorType
(t *testing.T)
arangomigo_test.go:192
FunctionTestLoadFromPath
(t *testing.T)
migrations_test.go:10
FunctionTestMultiPathMigration
(t *testing.T)
arangomigo_test.go:107
FunctionTestNumericVersions
(t *testing.T)
migrations_test.go:50
FunctionTestPerform
(t *testing.T)
perform_test.go:17
FunctionTestSimpleDataVersion
(t *testing.T)
migrations_test.go:18
FunctionTestSkipSSLVerify
(t *testing.T)
arangomigo_test.go:157
FunctionTestViewCreateError
Test the error is handled during creating a view.
impls_view_test.go:106
FunctionTestViewDeleteErrorGetting
Test the error is handled when getting a view for delete.
impls_view_test.go:121
FunctionTestViewDeleteErrorRemove
Test the error is handled during deleting a view.
impls_view_test.go:135
FunctionTestViewModifyErrorGetSearchView
Test the error is handled when getting the ArangoSearchView from a view.
impls_view_test.go:163
FunctionTestViewModifyErrorGetting
Test the error is handled when getting a view to update.
impls_view_test.go:149
FunctionTestViewModifyErrorSetProperties
Test the error is handled when updating the ArangoSearchView's properties.
impls_view_test.go:177
MethodType
Implements ArangoSearchView.Type()
impls_view_test.go:50
MethodUnmarshalYAML
(unmarshal func(interface{}) error)
arangomigo.go:73
Functionmain
()
cmd/arangomigo/main.go:13