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
/
projectmetadata
/
handler.go
Search
History
341 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Handler
objects
:
metadataobject.Objects
v1MetadataOps
:
hasura.CommonMetadataOperations
v2MetadataOps
:
hasura.V2CommonMetadataOperations
logger
:
*logrus.Logger
NewHandler
(objects metadataobject.Objects, v1MetadataOps hasura.CommonMetadataOperations, v2MetadataOps hasura.V2CommonMetadataOperations, logger *logrus.Logger)
:
*Handler
NewHandlerFromEC
(ec *cli.ExecutionContext)
:
*Handler
InconsistentMetadataObject
Definition
Reason
Type
GetType
()
:
string
GetName
()
:
string
GetDescription
()
:
string
GetReason
()
:
string
Metadata
Version
Sources
Tables
Functions
Actions
CustomTypes
RemoteSchemas
QueryCollections
AllowList
CronTriggers
Network
APILimits
RestEndpoints
InheritedRoles
GraphQLSchemaIntrospection
JSON
()
:
([]byte, error)
YAML
()
:
([]byte, error)
GenMetadataFromMap
(metadata map[string]interface{})
:
(*Metadata, error)
*Handler
SetMetadataObjects
(objects metadataobject.Objects)
WriteMetadata
(files map[string][]byte)
:
error
ExportMetadata
()
:
(map[string][]byte, error)
ResetMetadata
()
:
error
ReloadMetadata
()
:
(io.Reader, error)
buildMetadataMap
()
:
(map[string]interface{}, error)
buildMetadata
()
:
(*Metadata, error)
BuildYAMLMetadata
()
:
([]byte, error)
BuildJSONMetadata
()
:
([]byte, error)
V1ApplyMetadata
()
:
(io.Reader, error)
V2ApplyMetadata
()
:
(*hasura.V2ReplaceMetadataResponse, error)
GetInconsistentMetadata
()
:
(bool, []InconsistentMetadataObject, error)
DropInconsistentMetadata
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover