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.38
ROOT
/
cli
/
cli.go
Search
History
1040 lines
|
ISO-8859-1
|
34 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
GlobalConfigDirName
GlobalConfigFileName
LastUpdateCheckFileName
DefaultMigrationsDirectory
DefaultMetadataDirectory
DefaultSeedsDirectory
XHasuraAdminSecret
XHasuraAccessKey
TelemetryNotice
ConfigVersion
IsValid
()
:
bool
V1
:
ConfigVersion
V2
V3
MetadataMode
MetadataModeDirectory
:
MetadataMode
MetadataModeJSON
MetadataModeYAML
ServerAPIPaths
V1Query
:
string
V2Query
:
string
V1Metadata
:
string
GraphQL
:
string
Config
:
string
PGDump
:
string
Version
:
string
GetQueryParams
()
:
url.Values
ErrInvalidConfigVersion
:
error
NewConfigVersionValue
(val ConfigVersion, p *ConfigVersion)
:
*ConfigVersion
ServerConfig
Endpoint
:
string
AccessKey
:
string
AdminSecret
:
string
AdminSecrets
:
[]string
APIPaths
:
*ServerAPIPaths
InsecureSkipTLSVerify
:
bool
CAPath
:
string
ParsedEndpoint
:
*url.URL
HTTPClient
:
*httpc.Client
HasuraServerInternalConfig
:
HasuraServerInternalConfig
HasuraServerInternalConfig
ConsoleAssetsDir
:
string
Config
Version
:
ConfigVersion
DisableInteractive
:
bool
ServerConfig
MetadataDirectory
:
string
MetadataFile
:
string
MigrationsDirectory
:
string
SeedsDirectory
:
string
ActionConfig
:
*types.ActionExecutionConfig
ExecutionContext
CMDName
:
string
Stderr
:
io.Writer
Stdout
:
io.Writer
ID
:
string
ServerUUID
:
string
Spinner
:
*spinner.Spinner
Logger
:
*logrus.Logger
ExecutionDirectory
:
string
Envfile
:
string
MigrationDir
:
string
MetadataDir
:
string
MetadataFile
:
string
SeedsDirectory
:
string
ConfigFile
:
string
HGEHeaders
:
map[string]string
Config
:
*Config
GlobalConfigDir
:
string
GlobalConfigFile
:
string
GlobalConfig
:
*GlobalConfig
IsStableRelease
:
bool
Version
:
*version.Version
Viper
:
*viper.Viper
LogLevel
:
string
NoColor
:
bool
Telemetry
:
*telemetry.Data
LastUpdateCheckFile
:
string
SkipUpdateCheck
:
bool
PluginsConfig
:
*plugins.Config
CodegenAssetsRepo
:
*util.GitUtil
InitTemplatesRepo
:
*util.GitUtil
IsTerminal
:
bool
APIClient
:
*hasura.Client
Source
:
Source
HasMetadataV3
:
bool
AllDatabases
:
bool
DisableAutoStateMigration
:
bool
CliExtDestinationDir
:
string
CliExtDestinationBinPath
:
string
CliExtSourceBinPath
:
string
proPluginVersionValidated
:
bool
MetadataMode
:
MetadataMode
requestHeaders
:
map[string]string
Source
Name
:
string
Kind
:
hasura.SourceKind
NewExecutionContext
()
:
*ExecutionContext
DefaultAPIPath
GetAdminSecretHeaderName
(v *version.Version)
:
string
GetCommonMetadataOps
(ec *ExecutionContext)
:
hasura.CommonMetadataOperations
GetMigrationsStateStore
(ec *ExecutionContext)
:
statestore.MigrationsStateStore
GetSettingsStateStore
(ec *ExecutionContext, databaseName string)
:
statestore.SettingsStateStore
*ConfigVersion
Set
(s string)
:
error
Type
()
:
string
String
()
:
string
*ServerConfig
GetAdminSecret
()
:
string
GetHasuraInternalServerConfig
(client *httpc.Client)
:
error
GetVersionEndpoint
()
:
string
GetV1QueryEndpoint
()
:
string
GetV2QueryEndpoint
()
:
string
GetPGDumpEndpoint
()
:
string
GetV1GraphqlEndpoint
()
:
string
GetV1MetadataEndpoint
()
:
string
getConfigEndpoint
()
:
string
ParseEndpoint
()
:
error
*ExecutionContext
AddRequestHeaders
(headers map[string]string)
Prepare
()
:
error
SetupPlugins
()
:
error
validateProPluginVersion
()
SetupCodegenAssetsRepo
()
:
error
Validate
()
:
error
checkServerVersion
()
:
error
WriteConfig
(config *Config)
:
error
readConfig
()
:
error
setupSpinner
()
Spin
(message string)
loadEnvfile
()
:
error
setupLogger
()
setVersion
()
All occurrences
Please wait...
Page is in error, reload to recover