crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.11
ROOT
/
cli
/
internal
/
statestore
/
statestore.go
Search
History
152 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Version
Version
:
int64
Dirty
:
bool
MigrationsStateStore
InsertVersion
(database string, version int64)
:
error
RemoveVersion
(database string, version int64)
:
error
SetVersion
(database string, version int64, dirty bool)
:
error
GetVersions
(database string)
:
(map[uint64]bool, error)
SetVersions
(database string, versions []Version)
:
error
PrepareMigrationsStateStore
(database string)
:
error
SettingsStateStore
GetSetting
(name string)
:
(value string, err error)
UpdateSetting
(name string, value string)
:
error
GetAllSettings
()
:
(map[string]string, error)
PrepareSettingsDriver
()
:
error
CLICatalogState
client
:
hasura.CatalogStateOperations
NewCLICatalogState
(client hasura.CatalogStateOperations)
:
*CLICatalogState
MigrationsState
CLIState
Migrations
:
MigrationsState
Settings
:
map[string]string
IsStateCopyCompleted
:
bool
CopyMigrationState
(src, dest MigrationsStateStore, srcdatabase, destdatabase string)
:
error
CopySettingsState
(src, dest SettingsStateStore)
:
error
*CLICatalogState
Get
()
:
(*CLIState, error)
Set
(state CLIState)
:
(io.Reader, error)
*CLIState
Init
()
SetMigration
(database, key string, value bool)
UnsetMigration
(database, key string)
GetMigrationsByDatabase
(database string)
:
map[string]bool
GetMigrations
()
:
*MigrationsState
SetSetting
(key, value string)
GetSetting
(key string)
:
string
GetSettings
()
:
map[string]string
All occurrences
Please wait...
Page is in error, reload to recover