Documentation ¶
Index ¶
- func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
- type ComplexityRoot
- type Config
- type DirectiveRoot
- type MutationResolver
- type MutationResolverImpl
- func (r MutationResolverImpl) AsyncReadDataFromContainer(ctx context.Context, connectionID string, contextID string, ...) (*model.AsyncTaskInfo, error)
- func (r MutationResolverImpl) AsyncSQLExecuteQuery(ctx context.Context, connectionID string, contextID string, sql string, ...) (*model.AsyncTaskInfo, error)
- func (r MutationResolverImpl) AsyncSQLExecuteResults(ctx context.Context, taskID string) (*model.SQLExecuteInfo, error)
- func (r MutationResolverImpl) AsyncSQLExplainExecutionPlan(ctx context.Context, connectionID string, contextID string, query string, ...) (*model.AsyncTaskInfo, error)
- func (r MutationResolverImpl) AsyncSQLExplainExecutionPlanResult(ctx context.Context, taskID string) (*model.SQLExecutionPlan, error)
- func (r MutationResolverImpl) AsyncTaskCancel(ctx context.Context, id string) (*bool, error)
- func (r MutationResolverImpl) AsyncTaskInfo(ctx context.Context, id string, removeOnFinish bool) (*model.AsyncTaskInfo, error)
- func (r MutationResolverImpl) AsyncTaskStatus(ctx context.Context, id string) (*model.AsyncTaskInfo, error)
- func (r MutationResolverImpl) ChangeSessionLanguage(ctx context.Context, locale *string) (*bool, error)
- func (r MutationResolverImpl) CloseConnection(ctx context.Context, id string) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) CloseSession(ctx context.Context) (*bool, error)
- func (r MutationResolverImpl) CopyConnectionFromNode(ctx context.Context, nodePath string, config *model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) CreateConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) CreateConnectionFolder(ctx context.Context, parentFolderPath *string, folderName string) (*model.ConnectionFolderInfo, error)
- func (r MutationResolverImpl) CreateConnectionFromTemplate(ctx context.Context, templateID string, connectionName *string) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) DeleteConnection(ctx context.Context, id string) (bool, error)
- func (r MutationResolverImpl) DeleteConnectionFolder(ctx context.Context, folderPath string) (bool, error)
- func (r MutationResolverImpl) InitConnection(ctx context.Context, id string, credentials interface{}, ...) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) NavDeleteNodes(ctx context.Context, nodePaths []string) (*int, error)
- func (r MutationResolverImpl) NavMoveNodesToFolder(ctx context.Context, nodePaths []string, folderPath string) (*bool, error)
- func (r MutationResolverImpl) NavRenameNode(ctx context.Context, nodePath string, newName string) (*string, error)
- func (r MutationResolverImpl) OpenConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) OpenSession(ctx context.Context, defaultLocale *string) (*model.SessionInfo, error)
- func (r MutationResolverImpl) ReadLobValue(ctx context.Context, connectionID string, contextID string, resultsID string, ...) (string, error)
- func (r MutationResolverImpl) RefreshSessionConnections(ctx context.Context) (*bool, error)
- func (r MutationResolverImpl) RmCreateResource(ctx context.Context, projectID string, resourcePath string, isFolder bool) (string, error)
- func (r MutationResolverImpl) RmDeleteResource(ctx context.Context, projectID string, resourcePath string, recursive bool) (*bool, error)
- func (r MutationResolverImpl) RmMoveResource(ctx context.Context, projectID string, oldResourcePath string, ...) (string, error)
- func (r MutationResolverImpl) RmWriteResourceStringContent(ctx context.Context, projectID string, resourcePath string, data string) (string, error)
- func (r MutationResolverImpl) SQLContextCreate(ctx context.Context, connectionID string, defaultCatalog *string, ...) (*model.SQLContextInfo, error)
- func (r MutationResolverImpl) SQLContextDestroy(ctx context.Context, connectionID string, contextID string) (bool, error)
- func (r MutationResolverImpl) SQLContextSetDefaults(ctx context.Context, connectionID string, contextID string, ...) (bool, error)
- func (r MutationResolverImpl) SQLResultClose(ctx context.Context, connectionID string, contextID string, resultID string) (bool, error)
- func (r MutationResolverImpl) SetConnectionNavigatorSettings(ctx context.Context, id string, settings model.NavigatorSettingsInput) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) SetUserConfigurationParameter(ctx context.Context, name string, value interface{}) (bool, error)
- func (r MutationResolverImpl) TestConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) TestNetworkHandler(ctx context.Context, config model.NetworkHandlerConfigInput) (*model.NetworkEndpointInfo, error)
- func (r MutationResolverImpl) TouchSession(ctx context.Context) (*bool, error)
- func (r MutationResolverImpl) UpdateConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r MutationResolverImpl) UpdateResultsDataBatch(ctx context.Context, connectionID string, contextID string, resultsID string, ...) (*model.SQLExecuteInfo, error)
- func (r MutationResolverImpl) UpdateResultsDataBatchScript(ctx context.Context, connectionID string, contextID string, resultsID string, ...) (string, error)
- type QueryResolver
- type QueryResolverImpl
- func (r QueryResolverImpl) ActiveUser(ctx context.Context) (*model.UserInfo, error)
- func (r QueryResolverImpl) AllConnections(ctx context.Context, id *string) ([]*model.ConnectionInfo, error)
- func (r QueryResolverImpl) AuthChangeLocalPassword(ctx context.Context, oldPassword string, newPassword string) (bool, error)
- func (r QueryResolverImpl) AuthLogin(ctx context.Context, provider string, configuration *string, ...) (*model.AuthInfo, error)
- func (r QueryResolverImpl) AuthLogout(ctx context.Context, provider *string, configuration *string) (*bool, error)
- func (r QueryResolverImpl) AuthModels(ctx context.Context) ([]*model.DatabaseAuthModel, error)
- func (r QueryResolverImpl) AuthProviders(ctx context.Context) ([]*model.AuthProviderInfo, error)
- func (r QueryResolverImpl) AuthUpdateStatus(ctx context.Context, authID string, linkUser *bool) (*model.AuthInfo, error)
- func (r QueryResolverImpl) ConfigureServer(ctx context.Context, configuration model.ServerConfigInput) (bool, error)
- func (r QueryResolverImpl) ConnectionFolders(ctx context.Context, path *string) ([]*model.ConnectionFolderInfo, error)
- func (r QueryResolverImpl) ConnectionInfo(ctx context.Context, id string) (*model.ConnectionInfo, error)
- func (r QueryResolverImpl) ConnectionState(ctx context.Context, id string) (*model.ConnectionInfo, error)
- func (r QueryResolverImpl) CopyConnectionConfiguration(ctx context.Context, nodePath string, config *model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r QueryResolverImpl) CreateConnectionConfiguration(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r QueryResolverImpl) CreateRole(ctx context.Context, roleID string, roleName *string, description *string) (*model.AdminRoleInfo, error)
- func (r QueryResolverImpl) CreateUser(ctx context.Context, userID string) (*model.AdminUserInfo, error)
- func (r QueryResolverImpl) DataTransferAvailableStreamProcessors(ctx context.Context) ([]*model.DataTransferProcessorInfo, error)
- func (r QueryResolverImpl) DataTransferExportDataFromContainer(ctx context.Context, connectionID string, containerNodePath string, ...) (*model.AsyncTaskInfo, error)
- func (r QueryResolverImpl) DataTransferExportDataFromResults(ctx context.Context, connectionID string, contextID string, resultsID string, ...) (*model.AsyncTaskInfo, error)
- func (r QueryResolverImpl) DataTransferRemoveDataFile(ctx context.Context, dataFileID string) (*bool, error)
- func (r QueryResolverImpl) DeleteAuthProviderConfiguration(ctx context.Context, id string) (bool, error)
- func (r QueryResolverImpl) DeleteConnectionConfiguration(ctx context.Context, id string) (*bool, error)
- func (r QueryResolverImpl) DeleteRole(ctx context.Context, roleID string) (*bool, error)
- func (r QueryResolverImpl) DeleteUser(ctx context.Context, userID string) (*bool, error)
- func (r QueryResolverImpl) DeleteUserMetaParameter(ctx context.Context, id string) (bool, error)
- func (r QueryResolverImpl) DriverList(ctx context.Context, id *string) ([]*model.DriverInfo, error)
- func (r QueryResolverImpl) EnableUser(ctx context.Context, userID string, enabled bool) (*bool, error)
- func (r QueryResolverImpl) GetConnectionSubjectAccess(ctx context.Context, connectionID *string) ([]*model.AdminConnectionGrantInfo, error)
- func (r QueryResolverImpl) GetSubjectConnectionAccess(ctx context.Context, subjectID *string) ([]*model.AdminConnectionGrantInfo, error)
- func (r QueryResolverImpl) GrantUserRole(ctx context.Context, userID string, roleID string) (*bool, error)
- func (r QueryResolverImpl) ListAuthProviderConfigurationParameters(ctx context.Context, providerID string) ([]*model.ObjectPropertyInfo, error)
- func (r QueryResolverImpl) ListAuthProviderConfigurations(ctx context.Context, providerID *string) ([]*model.AdminAuthProviderConfiguration, error)
- func (r QueryResolverImpl) ListFeatureSets(ctx context.Context) ([]*model.WebFeatureSet, error)
- func (r QueryResolverImpl) ListPermissions(ctx context.Context) ([]*model.AdminPermissionInfo, error)
- func (r QueryResolverImpl) ListRoles(ctx context.Context, roleID *string) ([]*model.AdminRoleInfo, error)
- func (r QueryResolverImpl) ListUserProfileProperties(ctx context.Context) ([]*model.ObjectPropertyInfo, error)
- func (r QueryResolverImpl) ListUsers(ctx context.Context, userID *string) ([]*model.AdminUserInfo, error)
- func (r QueryResolverImpl) MetadataGetNodeDdl(ctx context.Context, nodeID string, options interface{}) (*string, error)
- func (r QueryResolverImpl) NavGetStructContainers(ctx context.Context, connectionID string, contextID *string, catalog *string) (*model.DatabaseStructContainers, error)
- func (r QueryResolverImpl) NavNodeChildren(ctx context.Context, parentPath string, offset *int, limit *int, ...) ([]*model.NavigatorNodeInfo, error)
- func (r QueryResolverImpl) NavNodeInfo(ctx context.Context, nodePath string) (*model.NavigatorNodeInfo, error)
- func (r QueryResolverImpl) NavNodeParents(ctx context.Context, nodePath string) ([]*model.NavigatorNodeInfo, error)
- func (r QueryResolverImpl) NavRefreshNode(ctx context.Context, nodePath string) (*bool, error)
- func (r QueryResolverImpl) NetworkHandlers(ctx context.Context) ([]*model.NetworkHandlerDescriptor, error)
- func (r QueryResolverImpl) ReadSessionLog(ctx context.Context, maxEntries *int, clearEntries *bool) ([]*model.LogEntry, error)
- func (r QueryResolverImpl) RevokeUserRole(ctx context.Context, userID string, roleID string) (*bool, error)
- func (r QueryResolverImpl) RmListProjects(ctx context.Context) ([]*model.RMProject, error)
- func (r QueryResolverImpl) RmListResources(ctx context.Context, projectID string, folder *string, nameMask *string, ...) ([]*model.RMResource, error)
- func (r QueryResolverImpl) RmReadResourceAsString(ctx context.Context, projectID string, resourcePath string) (string, error)
- func (r QueryResolverImpl) SQLCompletionProposals(ctx context.Context, connectionID string, contextID string, query string, ...) ([]*model.SQLCompletionProposal, error)
- func (r QueryResolverImpl) SQLDialectInfo(ctx context.Context, connectionID string) (*model.SQLDialectInfo, error)
- func (r QueryResolverImpl) SQLEntityQueryGenerators(ctx context.Context, nodePathList []string) ([]*model.SQLQueryGenerator, error)
- func (r QueryResolverImpl) SQLFormatQuery(ctx context.Context, connectionID string, contextID string, query string) (string, error)
- func (r QueryResolverImpl) SQLGenerateEntityQuery(ctx context.Context, generatorID string, options interface{}, ...) (string, error)
- func (r QueryResolverImpl) SQLListContexts(ctx context.Context, connectionID *string, contextID *string) ([]*model.SQLContextInfo, error)
- func (r QueryResolverImpl) SQLParseQuery(ctx context.Context, connectionID string, script string, position int) (*model.SQLScriptQuery, error)
- func (r QueryResolverImpl) SQLParseScript(ctx context.Context, connectionID string, script string) (*model.SQLScriptInfo, error)
- func (r QueryResolverImpl) SQLSupportedOperations(ctx context.Context, connectionID string, contextID string, resultsID string, ...) ([]*model.DataTypeLogicalOperation, error)
- func (r QueryResolverImpl) SaveAuthProviderConfiguration(ctx context.Context, providerID string, id string, displayName *string, ...) (*model.AdminAuthProviderConfiguration, error)
- func (r QueryResolverImpl) SaveUserMetaParameter(ctx context.Context, id string, displayName string, description *string, ...) (*model.ObjectPropertyInfo, error)
- func (r QueryResolverImpl) SearchConnections(ctx context.Context, hostNames []string) ([]*model.AdminConnectionSearchInfo, error)
- func (r QueryResolverImpl) ServerConfig(ctx context.Context) (*model.ServerConfig, error)
- func (r QueryResolverImpl) SessionPermissions(ctx context.Context) ([]*string, error)
- func (r QueryResolverImpl) SessionState(ctx context.Context) (*model.SessionInfo, error)
- func (r QueryResolverImpl) SetConnectionSubjectAccess(ctx context.Context, connectionID string, subjects []string) (*bool, error)
- func (r QueryResolverImpl) SetDefaultNavigatorSettings(ctx context.Context, settings model.NavigatorSettingsInput) (bool, error)
- func (r QueryResolverImpl) SetSubjectConnectionAccess(ctx context.Context, subjectID string, connections []string) (*bool, error)
- func (r QueryResolverImpl) SetSubjectPermissions(ctx context.Context, roleID string, permissions []string) ([]*model.AdminPermissionInfo, error)
- func (r QueryResolverImpl) SetUserCredentials(ctx context.Context, userID string, providerID string, credentials interface{}) (*bool, error)
- func (r QueryResolverImpl) SetUserMetaParameterValues(ctx context.Context, userID string, parameters interface{}) (bool, error)
- func (r QueryResolverImpl) TemplateConnections(ctx context.Context) ([]*model.ConnectionInfo, error)
- func (r QueryResolverImpl) UpdateConnectionConfiguration(ctx context.Context, id string, config model.ConnectionConfig) (*model.ConnectionInfo, error)
- func (r QueryResolverImpl) UpdateRole(ctx context.Context, roleID string, roleName *string, description *string) (*model.AdminRoleInfo, error)
- func (r QueryResolverImpl) UserConnections(ctx context.Context, id *string) ([]*model.ConnectionInfo, error)
- type Resolver
- type ResolverRoot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { AdminAuthProviderConfiguration struct { Description func(childComplexity int) int Disabled func(childComplexity int) int DisplayName func(childComplexity int) int ID func(childComplexity int) int IconURL func(childComplexity int) int MetadataLink func(childComplexity int) int Parameters func(childComplexity int) int ProviderID func(childComplexity int) int RedirectLink func(childComplexity int) int SignInLink func(childComplexity int) int SignOutLink func(childComplexity int) int } AdminConnectionGrantInfo struct { ConnectionID func(childComplexity int) int DataSourceID func(childComplexity int) int SubjectID func(childComplexity int) int SubjectType func(childComplexity int) int } AdminConnectionSearchInfo struct { DefaultDriver func(childComplexity int) int DisplayName func(childComplexity int) int Host func(childComplexity int) int Port func(childComplexity int) int PossibleDrivers func(childComplexity int) int } AdminPermissionInfo struct { Category func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Label func(childComplexity int) int Provider func(childComplexity int) int } AdminRoleInfo struct { Description func(childComplexity int) int GrantedConnections func(childComplexity int) int GrantedUsers func(childComplexity int) int RoleID func(childComplexity int) int RoleName func(childComplexity int) int RolePermissions func(childComplexity int) int } AdminUserInfo struct { ConfigurationParameters func(childComplexity int) int Enabled func(childComplexity int) int GrantedConnections func(childComplexity int) int GrantedRoles func(childComplexity int) int LinkedAuthProviders func(childComplexity int) int MetaParameters func(childComplexity int) int Origins func(childComplexity int) int UserID func(childComplexity int) int } AsyncTaskInfo struct { Error func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int Result func(childComplexity int) int Running func(childComplexity int) int Status func(childComplexity int) int TaskResult func(childComplexity int) int } AuthCredentialInfo struct { Admin func(childComplexity int) int Description func(childComplexity int) int DisplayName func(childComplexity int) int Encryption func(childComplexity int) int ID func(childComplexity int) int Identifying func(childComplexity int) int PossibleValues func(childComplexity int) int User func(childComplexity int) int } AuthInfo struct { AuthID func(childComplexity int) int AuthStatus func(childComplexity int) int RedirectLink func(childComplexity int) int UserTokens func(childComplexity int) int } AuthProviderConfiguration struct { Description func(childComplexity int) int Disabled func(childComplexity int) int DisplayName func(childComplexity int) int ID func(childComplexity int) int IconURL func(childComplexity int) int MetadataLink func(childComplexity int) int SignInLink func(childComplexity int) int SignOutLink func(childComplexity int) int } AuthProviderCredentialsProfile struct { CredentialParameters func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Label func(childComplexity int) int } AuthProviderInfo struct { Configurable func(childComplexity int) int Configurations func(childComplexity int) int CredentialProfiles func(childComplexity int) int DefaultProvider func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int) int Label func(childComplexity int) int RequiredFeatures func(childComplexity int) int } ConnectionFolderInfo struct { Description func(childComplexity int) int ID func(childComplexity int) int } ConnectionInfo struct { AuthModel func(childComplexity int) int AuthNeeded func(childComplexity int) int AuthProperties func(childComplexity int) int ClientVersion func(childComplexity int) int ConnectTime func(childComplexity int) int Connected func(childComplexity int) int ConnectionError func(childComplexity int) int DatabaseName func(childComplexity int) int Description func(childComplexity int) int DriverID func(childComplexity int) int Features func(childComplexity int) int Folder func(childComplexity int) int Host func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int NavigatorSettings func(childComplexity int) int NetworkHandlersConfig func(childComplexity int) int NodePath func(childComplexity int) int Origin func(childComplexity int) int Port func(childComplexity int) int Properties func(childComplexity int) int Provided func(childComplexity int) int ProviderProperties func(childComplexity int) int ReadOnly func(childComplexity int) int SaveCredentials func(childComplexity int) int ServerName func(childComplexity int) int ServerVersion func(childComplexity int) int SupportedDataFormats func(childComplexity int) int Template func(childComplexity int) int URL func(childComplexity int) int UseURL func(childComplexity int) int } DataTransferProcessorInfo struct { AppFileExtension func(childComplexity int) int AppName func(childComplexity int) int Description func(childComplexity int) int FileExtension func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int) int IsBinary func(childComplexity int) int IsHTML func(childComplexity int) int Name func(childComplexity int) int Order func(childComplexity int) int Properties func(childComplexity int) int } DataTypeLogicalOperation struct { ArgumentCount func(childComplexity int) int Expression func(childComplexity int) int ID func(childComplexity int) int } DatabaseAuthModel struct { Description func(childComplexity int) int DisplayName func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int) int Properties func(childComplexity int) int RequiresLocalConfiguration func(childComplexity int) int } DatabaseCatalog struct { Catalog func(childComplexity int) int SchemaList func(childComplexity int) int } DatabaseDocument struct { ContentType func(childComplexity int) int Data func(childComplexity int) int ID func(childComplexity int) int Properties func(childComplexity int) int } DatabaseObjectInfo struct { Description func(childComplexity int) int Editors func(childComplexity int) int Features func(childComplexity int) int FullyQualifiedName func(childComplexity int) int Name func(childComplexity int) int OrdinalPosition func(childComplexity int) int OverloadedName func(childComplexity int) int Properties func(childComplexity int, filter *model.ObjectPropertyFilter) int State func(childComplexity int) int Type func(childComplexity int) int UniqueName func(childComplexity int) int } DatabaseStructContainers struct { CatalogList func(childComplexity int) int SchemaList func(childComplexity int) int SupportsCatalogChange func(childComplexity int) int SupportsSchemaChange func(childComplexity int) int } DriverInfo struct { AllowsEmptyPassword func(childComplexity int) int AnonymousAccess func(childComplexity int) int ApplicableAuthModels func(childComplexity int) int ApplicableNetworkHandlers func(childComplexity int) int Custom func(childComplexity int) int DefaultAuthModel func(childComplexity int) int DefaultDatabase func(childComplexity int) int DefaultHost func(childComplexity int) int DefaultPort func(childComplexity int) int DefaultServer func(childComplexity int) int DefaultUser func(childComplexity int) int Description func(childComplexity int) int DriverClassName func(childComplexity int) int DriverInfoURL func(childComplexity int) int DriverParameters func(childComplexity int) int DriverProperties func(childComplexity int) int DriverPropertiesURL func(childComplexity int) int Embedded func(childComplexity int) int Enabled func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int) int IconBig func(childComplexity int) int License func(childComplexity int) int LicenseRequired func(childComplexity int) int Name func(childComplexity int) int PromotedScore func(childComplexity int) int ProviderID func(childComplexity int) int ProviderProperties func(childComplexity int) int RequiresServerName func(childComplexity int) int SampleURL func(childComplexity int) int } LogEntry struct { Message func(childComplexity int) int StackTrace func(childComplexity int) int Time func(childComplexity int) int Type func(childComplexity int) int } Mutation struct { AsyncReadDataFromContainer func(childComplexity int, connectionID string, contextID string, containerNodePath string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) int AsyncSQLExecuteQuery func(childComplexity int, connectionID string, contextID string, sql string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) int AsyncSQLExecuteResults func(childComplexity int, taskID string) int AsyncSQLExplainExecutionPlan func(childComplexity int, connectionID string, contextID string, query string, configuration interface{}) int AsyncSQLExplainExecutionPlanResult func(childComplexity int, taskID string) int AsyncTaskCancel func(childComplexity int, id string) int AsyncTaskInfo func(childComplexity int, id string, removeOnFinish bool) int AsyncTaskStatus func(childComplexity int, id string) int ChangeSessionLanguage func(childComplexity int, locale *string) int CloseConnection func(childComplexity int, id string) int CloseSession func(childComplexity int) int CopyConnectionFromNode func(childComplexity int, nodePath string, config *model.ConnectionConfig) int CreateConnection func(childComplexity int, config model.ConnectionConfig) int CreateConnectionFolder func(childComplexity int, parentFolderPath *string, folderName string) int CreateConnectionFromTemplate func(childComplexity int, templateID string, connectionName *string) int DeleteConnection func(childComplexity int, id string) int DeleteConnectionFolder func(childComplexity int, folderPath string) int InitConnection func(childComplexity int, id string, credentials interface{}, networkCredentials []*model.NetworkHandlerConfigInput, saveCredentials *bool) int NavDeleteNodes func(childComplexity int, nodePaths []string) int NavMoveNodesToFolder func(childComplexity int, nodePaths []string, folderPath string) int NavRenameNode func(childComplexity int, nodePath string, newName string) int OpenConnection func(childComplexity int, config model.ConnectionConfig) int OpenSession func(childComplexity int, defaultLocale *string) int ReadLobValue func(childComplexity int, connectionID string, contextID string, resultsID string, lobColumnIndex int, row []*model.SQLResultRow) int RefreshSessionConnections func(childComplexity int) int RmCreateResource func(childComplexity int, projectID string, resourcePath string, isFolder bool) int RmDeleteResource func(childComplexity int, projectID string, resourcePath string, recursive bool) int RmMoveResource func(childComplexity int, projectID string, oldResourcePath string, newResourcePath *string) int RmWriteResourceStringContent func(childComplexity int, projectID string, resourcePath string, data string) int SQLContextCreate func(childComplexity int, connectionID string, defaultCatalog *string, defaultSchema *string) int SQLContextDestroy func(childComplexity int, connectionID string, contextID string) int SQLContextSetDefaults func(childComplexity int, connectionID string, contextID string, defaultCatalog *string, defaultSchema *string) int SQLResultClose func(childComplexity int, connectionID string, contextID string, resultID string) int SetConnectionNavigatorSettings func(childComplexity int, id string, settings model.NavigatorSettingsInput) int SetUserConfigurationParameter func(childComplexity int, name string, value interface{}) int TestConnection func(childComplexity int, config model.ConnectionConfig) int TestNetworkHandler func(childComplexity int, config model.NetworkHandlerConfigInput) int TouchSession func(childComplexity int) int UpdateConnection func(childComplexity int, config model.ConnectionConfig) int UpdateResultsDataBatch func(childComplexity int, connectionID string, contextID string, resultsID string, updatedRows []*model.SQLResultRow, deletedRows []*model.SQLResultRow, addedRows []*model.SQLResultRow) int UpdateResultsDataBatchScript func(childComplexity int, connectionID string, contextID string, resultsID string, updatedRows []*model.SQLResultRow, deletedRows []*model.SQLResultRow, addedRows []*model.SQLResultRow) int } Description func(childComplexity int) int Features func(childComplexity int) int Folder func(childComplexity int) int FullName func(childComplexity int) int HasChildren func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int) int Inline func(childComplexity int) int Name func(childComplexity int) int Navigable func(childComplexity int) int NodeDetails func(childComplexity int) int NodeType func(childComplexity int) int Object func(childComplexity int) int } HideFolders func(childComplexity int) int HideSchemas func(childComplexity int) int HideVirtualModel func(childComplexity int) int MergeEntities func(childComplexity int) int ShowOnlyEntities func(childComplexity int) int ShowSystemObjects func(childComplexity int) int ShowUtilityObjects func(childComplexity int) int } NetworkEndpointInfo struct { ClientVersion func(childComplexity int) int Message func(childComplexity int) int ServerVersion func(childComplexity int) int } NetworkHandlerConfig struct { AuthType func(childComplexity int) int Enabled func(childComplexity int) int ID func(childComplexity int) int Key func(childComplexity int) int Password func(childComplexity int) int Properties func(childComplexity int) int SavePassword func(childComplexity int) int UserName func(childComplexity int) int } NetworkHandlerDescriptor struct { CodeName func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Label func(childComplexity int) int Properties func(childComplexity int) int Secured func(childComplexity int) int Type func(childComplexity int) int } ObjectDescriptor struct { Description func(childComplexity int) int DisplayName func(childComplexity int) int FullName func(childComplexity int) int ID func(childComplexity int) int UniqueName func(childComplexity int) int Value func(childComplexity int) int } ObjectDetails struct { Description func(childComplexity int) int DisplayName func(childComplexity int) int ID func(childComplexity int) int Value func(childComplexity int) int } ObjectOrigin struct { Configuration func(childComplexity int) int Details func(childComplexity int) int DisplayName func(childComplexity int) int Icon func(childComplexity int) int SubType func(childComplexity int) int Type func(childComplexity int) int } ObjectPropertyInfo struct { Category func(childComplexity int) int DataType func(childComplexity int) int DefaultValue func(childComplexity int) int Description func(childComplexity int) int DisplayName func(childComplexity int) int Features func(childComplexity int) int ID func(childComplexity int) int Length func(childComplexity int) int Order func(childComplexity int) int ValidValues func(childComplexity int) int Value func(childComplexity int) int } ProductInfo struct { BuildTime func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int LatestVersionInfo func(childComplexity int) int LicenseInfo func(childComplexity int) int Name func(childComplexity int) int ReleaseTime func(childComplexity int) int Version func(childComplexity int) int } Query struct { ActiveUser func(childComplexity int) int AllConnections func(childComplexity int, id *string) int AuthChangeLocalPassword func(childComplexity int, oldPassword string, newPassword string) int AuthLogin func(childComplexity int, provider string, configuration *string, credentials interface{}, linkUser *bool) int AuthLogout func(childComplexity int, provider *string, configuration *string) int AuthModels func(childComplexity int) int AuthProviders func(childComplexity int) int AuthUpdateStatus func(childComplexity int, authID string, linkUser *bool) int ConfigureServer func(childComplexity int, configuration model.ServerConfigInput) int ConnectionFolders func(childComplexity int, path *string) int ConnectionInfo func(childComplexity int, id string) int ConnectionState func(childComplexity int, id string) int CopyConnectionConfiguration func(childComplexity int, nodePath string, config *model.ConnectionConfig) int CreateConnectionConfiguration func(childComplexity int, config model.ConnectionConfig) int CreateRole func(childComplexity int, roleID string, roleName *string, description *string) int CreateUser func(childComplexity int, userID string) int DataTransferAvailableStreamProcessors func(childComplexity int) int DataTransferExportDataFromContainer func(childComplexity int, connectionID string, containerNodePath string, parameters model.DataTransferParameters) int DataTransferExportDataFromResults func(childComplexity int, connectionID string, contextID string, resultsID string, parameters model.DataTransferParameters) int DataTransferRemoveDataFile func(childComplexity int, dataFileID string) int DeleteAuthProviderConfiguration func(childComplexity int, id string) int DeleteConnectionConfiguration func(childComplexity int, id string) int DeleteRole func(childComplexity int, roleID string) int DeleteUser func(childComplexity int, userID string) int DeleteUserMetaParameter func(childComplexity int, id string) int DriverList func(childComplexity int, id *string) int EnableUser func(childComplexity int, userID string, enabled bool) int GetConnectionSubjectAccess func(childComplexity int, connectionID *string) int GetSubjectConnectionAccess func(childComplexity int, subjectID *string) int GrantUserRole func(childComplexity int, userID string, roleID string) int ListAuthProviderConfigurationParameters func(childComplexity int, providerID string) int ListAuthProviderConfigurations func(childComplexity int, providerID *string) int ListFeatureSets func(childComplexity int) int ListPermissions func(childComplexity int) int ListRoles func(childComplexity int, roleID *string) int ListUserProfileProperties func(childComplexity int) int ListUsers func(childComplexity int, userID *string) int MetadataGetNodeDdl func(childComplexity int, nodeID string, options interface{}) int NavGetStructContainers func(childComplexity int, connectionID string, contextID *string, catalog *string) int NavNodeChildren func(childComplexity int, parentPath string, offset *int, limit *int, onlyFolders *bool) int NavNodeInfo func(childComplexity int, nodePath string) int NavNodeParents func(childComplexity int, nodePath string) int NavRefreshNode func(childComplexity int, nodePath string) int NetworkHandlers func(childComplexity int) int ReadSessionLog func(childComplexity int, maxEntries *int, clearEntries *bool) int RevokeUserRole func(childComplexity int, userID string, roleID string) int RmListProjects func(childComplexity int) int RmListResources func(childComplexity int, projectID string, folder *string, nameMask *string, readProperties *bool, readHistory *bool) int RmReadResourceAsString func(childComplexity int, projectID string, resourcePath string) int SQLCompletionProposals func(childComplexity int, connectionID string, contextID string, query string, position int, maxResults *int, simpleMode *bool) int SQLDialectInfo func(childComplexity int, connectionID string) int SQLEntityQueryGenerators func(childComplexity int, nodePathList []string) int SQLFormatQuery func(childComplexity int, connectionID string, contextID string, query string) int SQLGenerateEntityQuery func(childComplexity int, generatorID string, options interface{}, nodePathList []string) int SQLListContexts func(childComplexity int, connectionID *string, contextID *string) int SQLParseQuery func(childComplexity int, connectionID string, script string, position int) int SQLParseScript func(childComplexity int, connectionID string, script string) int SQLSupportedOperations func(childComplexity int, connectionID string, contextID string, resultsID string, attributeIndex int) int SaveAuthProviderConfiguration func(childComplexity int, providerID string, id string, displayName *string, disabled *bool, iconURL *string, description *string, parameters interface{}) int SaveUserMetaParameter func(childComplexity int, id string, displayName string, description *string, required bool) int SearchConnections func(childComplexity int, hostNames []string) int ServerConfig func(childComplexity int) int SessionPermissions func(childComplexity int) int SessionState func(childComplexity int) int SetConnectionSubjectAccess func(childComplexity int, connectionID string, subjects []string) int SetDefaultNavigatorSettings func(childComplexity int, settings model.NavigatorSettingsInput) int SetSubjectConnectionAccess func(childComplexity int, subjectID string, connections []string) int SetSubjectPermissions func(childComplexity int, roleID string, permissions []string) int SetUserCredentials func(childComplexity int, userID string, providerID string, credentials interface{}) int SetUserMetaParameterValues func(childComplexity int, userID string, parameters interface{}) int TemplateConnections func(childComplexity int) int UpdateConnectionConfiguration func(childComplexity int, id string, config model.ConnectionConfig) int UpdateRole func(childComplexity int, roleID string, roleName *string, description *string) int UserConnections func(childComplexity int, id *string) int } RMProject struct { CreateTime func(childComplexity int) int Creator func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int Shared func(childComplexity int) int } RMResource struct { Folder func(childComplexity int) int Length func(childComplexity int) int Name func(childComplexity int) int } SQLCompletionProposal struct { CursorPosition func(childComplexity int) int DisplayString func(childComplexity int) int Icon func(childComplexity int) int NodePath func(childComplexity int) int ReplacementLength func(childComplexity int) int ReplacementOffset func(childComplexity int) int ReplacementString func(childComplexity int) int Score func(childComplexity int) int Type func(childComplexity int) int } SQLContextInfo struct { ConnectionID func(childComplexity int) int DefaultCatalog func(childComplexity int) int DefaultSchema func(childComplexity int) int ID func(childComplexity int) int } SQLDialectInfo struct { CatalogSeparator func(childComplexity int) int DataTypes func(childComplexity int) int Functions func(childComplexity int) int MultiLineComments func(childComplexity int) int Name func(childComplexity int) int QuoteStrings func(childComplexity int) int ReservedWords func(childComplexity int) int ScriptDelimiter func(childComplexity int) int SingleLineComments func(childComplexity int) int StructSeparator func(childComplexity int) int SupportsExplainExecutionPlan func(childComplexity int) int } SQLExecuteInfo struct { Duration func(childComplexity int) int FilterText func(childComplexity int) int Results func(childComplexity int) int StatusMessage func(childComplexity int) int } SQLExecutionPlan struct { Nodes func(childComplexity int) int Query func(childComplexity int) int } SQLExecutionPlanNode struct { Condition func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Kind func(childComplexity int) int Name func(childComplexity int) int ParentID func(childComplexity int) int Properties func(childComplexity int) int Type func(childComplexity int) int } SQLQueryGenerator struct { Description func(childComplexity int) int ID func(childComplexity int) int Label func(childComplexity int) int MultiObject func(childComplexity int) int Order func(childComplexity int) int } SQLQueryResults struct { DataFormat func(childComplexity int) int ResultSet func(childComplexity int) int SourceQuery func(childComplexity int) int Title func(childComplexity int) int UpdateRowCount func(childComplexity int) int } SQLResultColumn struct { DataKind func(childComplexity int) int EntityName func(childComplexity int) int FullTypeName func(childComplexity int) int Icon func(childComplexity int) int Label func(childComplexity int) int MaxLength func(childComplexity int) int Name func(childComplexity int) int Position func(childComplexity int) int Precision func(childComplexity int) int ReadOnly func(childComplexity int) int ReadOnlyStatus func(childComplexity int) int Required func(childComplexity int) int Scale func(childComplexity int) int SupportedOperations func(childComplexity int) int TypeName func(childComplexity int) int } SQLResultSet struct { Columns func(childComplexity int) int HasMoreData func(childComplexity int) int HasRowIdentifier func(childComplexity int) int ID func(childComplexity int) int Rows func(childComplexity int) int SingleEntity func(childComplexity int) int } SQLScriptInfo struct { Queries func(childComplexity int) int } SQLScriptQuery struct { End func(childComplexity int) int Start func(childComplexity int) int } ServerConfig struct { AdminCredentialsSaveEnabled func(childComplexity int) int AnonymousAccessEnabled func(childComplexity int) int AuthenticationEnabled func(childComplexity int) int ConfigurationMode func(childComplexity int) int DefaultNavigatorSettings func(childComplexity int) int DevelopmentMode func(childComplexity int) int DisabledDrivers func(childComplexity int) int EnabledAuthProviders func(childComplexity int) int EnabledFeatures func(childComplexity int) int HostName func(childComplexity int) int LicenseRequired func(childComplexity int) int LicenseValid func(childComplexity int) int LocalHostAddress func(childComplexity int) int Name func(childComplexity int) int ProductConfiguration func(childComplexity int) int ProductInfo func(childComplexity int) int PublicCredentialsSaveEnabled func(childComplexity int) int RedirectOnFederatedAuth func(childComplexity int) int ResourceManagerEnabled func(childComplexity int) int ResourceQuotas func(childComplexity int) int RootURI func(childComplexity int) int ServerURL func(childComplexity int) int Services func(childComplexity int) int SessionExpireTime func(childComplexity int) int SupportedLanguages func(childComplexity int) int SupportsConnectionBrowser func(childComplexity int) int SupportsCustomConnections func(childComplexity int) int SupportsWorkspaces func(childComplexity int) int Version func(childComplexity int) int WorkspaceID func(childComplexity int) int } ServerError struct { CausedBy func(childComplexity int) int ErrorCode func(childComplexity int) int ErrorType func(childComplexity int) int Message func(childComplexity int) int StackTrace func(childComplexity int) int } ServerLanguage struct { DisplayName func(childComplexity int) int IsoCode func(childComplexity int) int NativeName func(childComplexity int) int } ServerMessage struct { Message func(childComplexity int) int Time func(childComplexity int) int } SessionInfo struct { ActionParameters func(childComplexity int) int CacheExpired func(childComplexity int) int Connections func(childComplexity int) int CreateTime func(childComplexity int) int LastAccessTime func(childComplexity int) int Locale func(childComplexity int) int ServerMessages func(childComplexity int) int } UserAuthToken struct { AuthConfiguration func(childComplexity int) int AuthProvider func(childComplexity int) int DisplayName func(childComplexity int) int LoginTime func(childComplexity int) int Message func(childComplexity int) int Origin func(childComplexity int) int UserID func(childComplexity int) int } UserInfo struct { AuthTokens func(childComplexity int) int ConfigurationParameters func(childComplexity int) int DisplayName func(childComplexity int) int LinkedAuthProviders func(childComplexity int) int MetaParameters func(childComplexity int) int UserID func(childComplexity int) int } WebFeatureSet struct { Description func(childComplexity int) int Enabled func(childComplexity int) int ID func(childComplexity int) int Icon func(childComplexity int) int Label func(childComplexity int) int } WebServiceConfig struct { BundleVersion func(childComplexity int) int Description func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type MutationResolver interface { SetUserConfigurationParameter(ctx context.Context, name string, value interface{}) (bool, error) OpenSession(ctx context.Context, defaultLocale *string) (*model.SessionInfo, error) CloseSession(ctx context.Context) (*bool, error) TouchSession(ctx context.Context) (*bool, error) RefreshSessionConnections(ctx context.Context) (*bool, error) ChangeSessionLanguage(ctx context.Context, locale *string) (*bool, error) CreateConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error) UpdateConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error) DeleteConnection(ctx context.Context, id string) (bool, error) CreateConnectionFromTemplate(ctx context.Context, templateID string, connectionName *string) (*model.ConnectionInfo, error) CreateConnectionFolder(ctx context.Context, parentFolderPath *string, folderName string) (*model.ConnectionFolderInfo, error) DeleteConnectionFolder(ctx context.Context, folderPath string) (bool, error) CopyConnectionFromNode(ctx context.Context, nodePath string, config *model.ConnectionConfig) (*model.ConnectionInfo, error) TestConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error) TestNetworkHandler(ctx context.Context, config model.NetworkHandlerConfigInput) (*model.NetworkEndpointInfo, error) InitConnection(ctx context.Context, id string, credentials interface{}, networkCredentials []*model.NetworkHandlerConfigInput, saveCredentials *bool) (*model.ConnectionInfo, error) CloseConnection(ctx context.Context, id string) (*model.ConnectionInfo, error) AsyncTaskCancel(ctx context.Context, id string) (*bool, error) AsyncTaskInfo(ctx context.Context, id string, removeOnFinish bool) (*model.AsyncTaskInfo, error) OpenConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error) AsyncTaskStatus(ctx context.Context, id string) (*model.AsyncTaskInfo, error) RmCreateResource(ctx context.Context, projectID string, resourcePath string, isFolder bool) (string, error) RmMoveResource(ctx context.Context, projectID string, oldResourcePath string, newResourcePath *string) (string, error) RmDeleteResource(ctx context.Context, projectID string, resourcePath string, recursive bool) (*bool, error) RmWriteResourceStringContent(ctx context.Context, projectID string, resourcePath string, data string) (string, error) SQLContextCreate(ctx context.Context, connectionID string, defaultCatalog *string, defaultSchema *string) (*model.SQLContextInfo, error) SQLContextSetDefaults(ctx context.Context, connectionID string, contextID string, defaultCatalog *string, defaultSchema *string) (bool, error) SQLContextDestroy(ctx context.Context, connectionID string, contextID string) (bool, error) AsyncSQLExecuteQuery(ctx context.Context, connectionID string, contextID string, sql string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) (*model.AsyncTaskInfo, error) AsyncReadDataFromContainer(ctx context.Context, connectionID string, contextID string, containerNodePath string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) (*model.AsyncTaskInfo, error) SQLResultClose(ctx context.Context, connectionID string, contextID string, resultID string) (bool, error) UpdateResultsDataBatch(ctx context.Context, connectionID string, contextID string, resultsID string, updatedRows []*model.SQLResultRow, deletedRows []*model.SQLResultRow, addedRows []*model.SQLResultRow) (*model.SQLExecuteInfo, error) UpdateResultsDataBatchScript(ctx context.Context, connectionID string, contextID string, resultsID string, updatedRows []*model.SQLResultRow, deletedRows []*model.SQLResultRow, addedRows []*model.SQLResultRow) (string, error) ReadLobValue(ctx context.Context, connectionID string, contextID string, resultsID string, lobColumnIndex int, row []*model.SQLResultRow) (string, error) AsyncSQLExecuteResults(ctx context.Context, taskID string) (*model.SQLExecuteInfo, error) AsyncSQLExplainExecutionPlan(ctx context.Context, connectionID string, contextID string, query string, configuration interface{}) (*model.AsyncTaskInfo, error) AsyncSQLExplainExecutionPlanResult(ctx context.Context, taskID string) (*model.SQLExecutionPlan, error) }
type MutationResolverImpl ¶
type MutationResolverImpl struct {
// contains filtered or unexported fields
}
func (MutationResolverImpl) AsyncReadDataFromContainer ¶
func (r MutationResolverImpl) AsyncReadDataFromContainer(ctx context.Context, connectionID string, contextID string, containerNodePath string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) (*model.AsyncTaskInfo, error)
AsyncReadDataFromContainer is the resolver for the asyncReadDataFromContainer field.
func (MutationResolverImpl) AsyncSQLExecuteQuery ¶
func (r MutationResolverImpl) AsyncSQLExecuteQuery(ctx context.Context, connectionID string, contextID string, sql string, resultID *string, filter *model.SQLDataFilter, dataFormat *model.ResultDataFormat) (*model.AsyncTaskInfo, error)
AsyncSQLExecuteQuery is the resolver for the asyncSqlExecuteQuery field.
func (MutationResolverImpl) AsyncSQLExecuteResults ¶
func (r MutationResolverImpl) AsyncSQLExecuteResults(ctx context.Context, taskID string) (*model.SQLExecuteInfo, error)
AsyncSQLExecuteResults is the resolver for the asyncSqlExecuteResults field.
func (MutationResolverImpl) AsyncSQLExplainExecutionPlan ¶
func (r MutationResolverImpl) AsyncSQLExplainExecutionPlan(ctx context.Context, connectionID string, contextID string, query string, configuration interface{}) (*model.AsyncTaskInfo, error)
AsyncSQLExplainExecutionPlan is the resolver for the asyncSqlExplainExecutionPlan field.
func (MutationResolverImpl) AsyncSQLExplainExecutionPlanResult ¶
func (r MutationResolverImpl) AsyncSQLExplainExecutionPlanResult(ctx context.Context, taskID string) (*model.SQLExecutionPlan, error)
AsyncSQLExplainExecutionPlanResult is the resolver for the asyncSqlExplainExecutionPlanResult field.
func (MutationResolverImpl) AsyncTaskCancel ¶
AsyncTaskCancel is the resolver for the asyncTaskCancel field.
func (MutationResolverImpl) AsyncTaskInfo ¶
func (r MutationResolverImpl) AsyncTaskInfo(ctx context.Context, id string, removeOnFinish bool) (*model.AsyncTaskInfo, error)
AsyncTaskInfo is the resolver for the asyncTaskInfo field.
func (MutationResolverImpl) AsyncTaskStatus ¶
func (r MutationResolverImpl) AsyncTaskStatus(ctx context.Context, id string) (*model.AsyncTaskInfo, error)
AsyncTaskStatus is the resolver for the asyncTaskStatus field.
func (MutationResolverImpl) ChangeSessionLanguage ¶
func (r MutationResolverImpl) ChangeSessionLanguage(ctx context.Context, locale *string) (*bool, error)
ChangeSessionLanguage is the resolver for the changeSessionLanguage field.
func (MutationResolverImpl) CloseConnection ¶
func (r MutationResolverImpl) CloseConnection(ctx context.Context, id string) (*model.ConnectionInfo, error)
CloseConnection is the resolver for the closeConnection field.
func (MutationResolverImpl) CloseSession ¶
CloseSession is the resolver for the closeSession field.
func (MutationResolverImpl) CopyConnectionFromNode ¶
func (r MutationResolverImpl) CopyConnectionFromNode(ctx context.Context, nodePath string, config *model.ConnectionConfig) (*model.ConnectionInfo, error)
CopyConnectionFromNode is the resolver for the copyConnectionFromNode field.
func (MutationResolverImpl) CreateConnection ¶
func (r MutationResolverImpl) CreateConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
CreateConnection is the resolver for the createConnection field.
func (MutationResolverImpl) CreateConnectionFolder ¶
func (r MutationResolverImpl) CreateConnectionFolder(ctx context.Context, parentFolderPath *string, folderName string) (*model.ConnectionFolderInfo, error)
CreateConnectionFolder is the resolver for the createConnectionFolder field.
func (MutationResolverImpl) CreateConnectionFromTemplate ¶
func (r MutationResolverImpl) CreateConnectionFromTemplate(ctx context.Context, templateID string, connectionName *string) (*model.ConnectionInfo, error)
CreateConnectionFromTemplate is the resolver for the createConnectionFromTemplate field.
func (MutationResolverImpl) DeleteConnection ¶
DeleteConnection is the resolver for the deleteConnection field.
func (MutationResolverImpl) DeleteConnectionFolder ¶
func (r MutationResolverImpl) DeleteConnectionFolder(ctx context.Context, folderPath string) (bool, error)
DeleteConnectionFolder is the resolver for the deleteConnectionFolder field.
func (MutationResolverImpl) InitConnection ¶
func (r MutationResolverImpl) InitConnection(ctx context.Context, id string, credentials interface{}, networkCredentials []*model.NetworkHandlerConfigInput, saveCredentials *bool) (*model.ConnectionInfo, error)
InitConnection is the resolver for the initConnection field.
func (MutationResolverImpl) NavDeleteNodes ¶
NavDeleteNodes is the resolver for the navDeleteNodes field.
func (MutationResolverImpl) NavMoveNodesToFolder ¶
func (r MutationResolverImpl) NavMoveNodesToFolder(ctx context.Context, nodePaths []string, folderPath string) (*bool, error)
NavMoveNodesToFolder is the resolver for the navMoveNodesToFolder field.
func (MutationResolverImpl) NavRenameNode ¶
func (r MutationResolverImpl) NavRenameNode(ctx context.Context, nodePath string, newName string) (*string, error)
NavRenameNode is the resolver for the navRenameNode field.
func (MutationResolverImpl) OpenConnection ¶
func (r MutationResolverImpl) OpenConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
OpenConnection is the resolver for the openConnection field.
func (MutationResolverImpl) OpenSession ¶
func (r MutationResolverImpl) OpenSession(ctx context.Context, defaultLocale *string) (*model.SessionInfo, error)
OpenSession is the resolver for the openSession field.
func (MutationResolverImpl) ReadLobValue ¶
func (r MutationResolverImpl) ReadLobValue(ctx context.Context, connectionID string, contextID string, resultsID string, lobColumnIndex int, row []*model.SQLResultRow) (string, error)
ReadLobValue is the resolver for the readLobValue field.
func (MutationResolverImpl) RefreshSessionConnections ¶
RefreshSessionConnections is the resolver for the refreshSessionConnections field.
func (MutationResolverImpl) RmCreateResource ¶
func (r MutationResolverImpl) RmCreateResource(ctx context.Context, projectID string, resourcePath string, isFolder bool) (string, error)
RmCreateResource is the resolver for the rmCreateResource field.
func (MutationResolverImpl) RmDeleteResource ¶
func (r MutationResolverImpl) RmDeleteResource(ctx context.Context, projectID string, resourcePath string, recursive bool) (*bool, error)
RmDeleteResource is the resolver for the rmDeleteResource field.
func (MutationResolverImpl) RmMoveResource ¶
func (r MutationResolverImpl) RmMoveResource(ctx context.Context, projectID string, oldResourcePath string, newResourcePath *string) (string, error)
RmMoveResource is the resolver for the rmMoveResource field.
func (MutationResolverImpl) RmWriteResourceStringContent ¶
func (r MutationResolverImpl) RmWriteResourceStringContent(ctx context.Context, projectID string, resourcePath string, data string) (string, error)
RmWriteResourceStringContent is the resolver for the rmWriteResourceStringContent field.
func (MutationResolverImpl) SQLContextCreate ¶
func (r MutationResolverImpl) SQLContextCreate(ctx context.Context, connectionID string, defaultCatalog *string, defaultSchema *string) (*model.SQLContextInfo, error)
SQLContextCreate is the resolver for the sqlContextCreate field.
func (MutationResolverImpl) SQLContextDestroy ¶
func (r MutationResolverImpl) SQLContextDestroy(ctx context.Context, connectionID string, contextID string) (bool, error)
SQLContextDestroy is the resolver for the sqlContextDestroy field.
func (MutationResolverImpl) SQLContextSetDefaults ¶
func (r MutationResolverImpl) SQLContextSetDefaults(ctx context.Context, connectionID string, contextID string, defaultCatalog *string, defaultSchema *string) (bool, error)
SQLContextSetDefaults is the resolver for the sqlContextSetDefaults field.
func (MutationResolverImpl) SQLResultClose ¶
func (r MutationResolverImpl) SQLResultClose(ctx context.Context, connectionID string, contextID string, resultID string) (bool, error)
SQLResultClose is the resolver for the sqlResultClose field.
func (MutationResolverImpl) SetConnectionNavigatorSettings ¶
func (r MutationResolverImpl) SetConnectionNavigatorSettings(ctx context.Context, id string, settings model.NavigatorSettingsInput) (*model.ConnectionInfo, error)
SetConnectionNavigatorSettings is the resolver for the setConnectionNavigatorSettings field.
func (MutationResolverImpl) SetUserConfigurationParameter ¶
func (r MutationResolverImpl) SetUserConfigurationParameter(ctx context.Context, name string, value interface{}) (bool, error)
SetUserConfigurationParameter is the resolver for the setUserConfigurationParameter field.
func (MutationResolverImpl) TestConnection ¶
func (r MutationResolverImpl) TestConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
TestConnection is the resolver for the testConnection field.
func (MutationResolverImpl) TestNetworkHandler ¶
func (r MutationResolverImpl) TestNetworkHandler(ctx context.Context, config model.NetworkHandlerConfigInput) (*model.NetworkEndpointInfo, error)
TestNetworkHandler is the resolver for the testNetworkHandler field.
func (MutationResolverImpl) TouchSession ¶
TouchSession is the resolver for the touchSession field.
func (MutationResolverImpl) UpdateConnection ¶
func (r MutationResolverImpl) UpdateConnection(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
UpdateConnection is the resolver for the updateConnection field.
func (MutationResolverImpl) UpdateResultsDataBatch ¶
func (r MutationResolverImpl) UpdateResultsDataBatch(ctx context.Context, connectionID string, contextID string, resultsID string, updatedRows []*model.SQLResultRow, deletedRows []*model.SQLResultRow, addedRows []*model.SQLResultRow) (*model.SQLExecuteInfo, error)
UpdateResultsDataBatch is the resolver for the updateResultsDataBatch field.
func (MutationResolverImpl) UpdateResultsDataBatchScript ¶
func (r MutationResolverImpl) UpdateResultsDataBatchScript(ctx context.Context, connectionID string, contextID string, resultsID string, updatedRows []*model.SQLResultRow, deletedRows []*model.SQLResultRow, addedRows []*model.SQLResultRow) (string, error)
UpdateResultsDataBatchScript is the resolver for the updateResultsDataBatchScript field.
type QueryResolver ¶
type QueryResolver interface { ListUsers(ctx context.Context, userID *string) ([]*model.AdminUserInfo, error) ListRoles(ctx context.Context, roleID *string) ([]*model.AdminRoleInfo, error) ListPermissions(ctx context.Context) ([]*model.AdminPermissionInfo, error) CreateUser(ctx context.Context, userID string) (*model.AdminUserInfo, error) DeleteUser(ctx context.Context, userID string) (*bool, error) CreateRole(ctx context.Context, roleID string, roleName *string, description *string) (*model.AdminRoleInfo, error) UpdateRole(ctx context.Context, roleID string, roleName *string, description *string) (*model.AdminRoleInfo, error) DeleteRole(ctx context.Context, roleID string) (*bool, error) GrantUserRole(ctx context.Context, userID string, roleID string) (*bool, error) RevokeUserRole(ctx context.Context, userID string, roleID string) (*bool, error) SetSubjectPermissions(ctx context.Context, roleID string, permissions []string) ([]*model.AdminPermissionInfo, error) SetUserCredentials(ctx context.Context, userID string, providerID string, credentials interface{}) (*bool, error) EnableUser(ctx context.Context, userID string, enabled bool) (*bool, error) AllConnections(ctx context.Context, id *string) ([]*model.ConnectionInfo, error) SearchConnections(ctx context.Context, hostNames []string) ([]*model.AdminConnectionSearchInfo, error) CreateConnectionConfiguration(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error) CopyConnectionConfiguration(ctx context.Context, nodePath string, config *model.ConnectionConfig) (*model.ConnectionInfo, error) UpdateConnectionConfiguration(ctx context.Context, id string, config model.ConnectionConfig) (*model.ConnectionInfo, error) DeleteConnectionConfiguration(ctx context.Context, id string) (*bool, error) GetConnectionSubjectAccess(ctx context.Context, connectionID *string) ([]*model.AdminConnectionGrantInfo, error) SetConnectionSubjectAccess(ctx context.Context, connectionID string, subjects []string) (*bool, error) GetSubjectConnectionAccess(ctx context.Context, subjectID *string) ([]*model.AdminConnectionGrantInfo, error) SetSubjectConnectionAccess(ctx context.Context, subjectID string, connections []string) (*bool, error) ListFeatureSets(ctx context.Context) ([]*model.WebFeatureSet, error) ListAuthProviderConfigurationParameters(ctx context.Context, providerID string) ([]*model.ObjectPropertyInfo, error) ListAuthProviderConfigurations(ctx context.Context, providerID *string) ([]*model.AdminAuthProviderConfiguration, error) SaveAuthProviderConfiguration(ctx context.Context, providerID string, id string, displayName *string, disabled *bool, iconURL *string, description *string, parameters interface{}) (*model.AdminAuthProviderConfiguration, error) DeleteAuthProviderConfiguration(ctx context.Context, id string) (bool, error) SaveUserMetaParameter(ctx context.Context, id string, displayName string, description *string, required bool) (*model.ObjectPropertyInfo, error) DeleteUserMetaParameter(ctx context.Context, id string) (bool, error) SetUserMetaParameterValues(ctx context.Context, userID string, parameters interface{}) (bool, error) ConfigureServer(ctx context.Context, configuration model.ServerConfigInput) (bool, error) AuthLogin(ctx context.Context, provider string, configuration *string, credentials interface{}, linkUser *bool) (*model.AuthInfo, error) AuthUpdateStatus(ctx context.Context, authID string, linkUser *bool) (*model.AuthInfo, error) AuthLogout(ctx context.Context, provider *string, configuration *string) (*bool, error) ActiveUser(ctx context.Context) (*model.UserInfo, error) AuthProviders(ctx context.Context) ([]*model.AuthProviderInfo, error) AuthChangeLocalPassword(ctx context.Context, oldPassword string, newPassword string) (bool, error) ListUserProfileProperties(ctx context.Context) ([]*model.ObjectPropertyInfo, error) ServerConfig(ctx context.Context) (*model.ServerConfig, error) SessionState(ctx context.Context) (*model.SessionInfo, error) SessionPermissions(ctx context.Context) ([]*string, error) DriverList(ctx context.Context, id *string) ([]*model.DriverInfo, error) AuthModels(ctx context.Context) ([]*model.DatabaseAuthModel, error) NetworkHandlers(ctx context.Context) ([]*model.NetworkHandlerDescriptor, error) UserConnections(ctx context.Context, id *string) ([]*model.ConnectionInfo, error) TemplateConnections(ctx context.Context) ([]*model.ConnectionInfo, error) ConnectionFolders(ctx context.Context, path *string) ([]*model.ConnectionFolderInfo, error) ConnectionState(ctx context.Context, id string) (*model.ConnectionInfo, error) ConnectionInfo(ctx context.Context, id string) (*model.ConnectionInfo, error) ReadSessionLog(ctx context.Context, maxEntries *int, clearEntries *bool) ([]*model.LogEntry, error) DataTransferAvailableStreamProcessors(ctx context.Context) ([]*model.DataTransferProcessorInfo, error) DataTransferExportDataFromContainer(ctx context.Context, connectionID string, containerNodePath string, parameters model.DataTransferParameters) (*model.AsyncTaskInfo, error) DataTransferExportDataFromResults(ctx context.Context, connectionID string, contextID string, resultsID string, parameters model.DataTransferParameters) (*model.AsyncTaskInfo, error) DataTransferRemoveDataFile(ctx context.Context, dataFileID string) (*bool, error) MetadataGetNodeDdl(ctx context.Context, nodeID string, options interface{}) (*string, error) RmListProjects(ctx context.Context) ([]*model.RMProject, error) RmListResources(ctx context.Context, projectID string, folder *string, nameMask *string, readProperties *bool, readHistory *bool) ([]*model.RMResource, error) RmReadResourceAsString(ctx context.Context, projectID string, resourcePath string) (string, error) SQLDialectInfo(ctx context.Context, connectionID string) (*model.SQLDialectInfo, error) SQLListContexts(ctx context.Context, connectionID *string, contextID *string) ([]*model.SQLContextInfo, error) SQLCompletionProposals(ctx context.Context, connectionID string, contextID string, query string, position int, maxResults *int, simpleMode *bool) ([]*model.SQLCompletionProposal, error) SQLFormatQuery(ctx context.Context, connectionID string, contextID string, query string) (string, error) SQLSupportedOperations(ctx context.Context, connectionID string, contextID string, resultsID string, attributeIndex int) ([]*model.DataTypeLogicalOperation, error) SQLEntityQueryGenerators(ctx context.Context, nodePathList []string) ([]*model.SQLQueryGenerator, error) SQLGenerateEntityQuery(ctx context.Context, generatorID string, options interface{}, nodePathList []string) (string, error) SQLParseScript(ctx context.Context, connectionID string, script string) (*model.SQLScriptInfo, error) SQLParseQuery(ctx context.Context, connectionID string, script string, position int) (*model.SQLScriptQuery, error) }
type QueryResolverImpl ¶
type QueryResolverImpl struct {
// contains filtered or unexported fields
}
func (QueryResolverImpl) ActiveUser ¶
ActiveUser is the resolver for the activeUser field.
func (QueryResolverImpl) AllConnections ¶
func (r QueryResolverImpl) AllConnections(ctx context.Context, id *string) ([]*model.ConnectionInfo, error)
AllConnections is the resolver for the allConnections field.
func (QueryResolverImpl) AuthChangeLocalPassword ¶
func (r QueryResolverImpl) AuthChangeLocalPassword(ctx context.Context, oldPassword string, newPassword string) (bool, error)
AuthChangeLocalPassword is the resolver for the authChangeLocalPassword field.
func (QueryResolverImpl) AuthLogin ¶
func (r QueryResolverImpl) AuthLogin(ctx context.Context, provider string, configuration *string, credentials interface{}, linkUser *bool) (*model.AuthInfo, error)
AuthLogin is the resolver for the authLogin field.
func (QueryResolverImpl) AuthLogout ¶
func (r QueryResolverImpl) AuthLogout(ctx context.Context, provider *string, configuration *string) (*bool, error)
AuthLogout is the resolver for the authLogout field.
func (QueryResolverImpl) AuthModels ¶
func (r QueryResolverImpl) AuthModels(ctx context.Context) ([]*model.DatabaseAuthModel, error)
AuthModels is the resolver for the authModels field.
func (QueryResolverImpl) AuthProviders ¶
func (r QueryResolverImpl) AuthProviders(ctx context.Context) ([]*model.AuthProviderInfo, error)
AuthProviders is the resolver for the authProviders field.
func (QueryResolverImpl) AuthUpdateStatus ¶
func (r QueryResolverImpl) AuthUpdateStatus(ctx context.Context, authID string, linkUser *bool) (*model.AuthInfo, error)
AuthUpdateStatus is the resolver for the authUpdateStatus field.
func (QueryResolverImpl) ConfigureServer ¶
func (r QueryResolverImpl) ConfigureServer(ctx context.Context, configuration model.ServerConfigInput) (bool, error)
ConfigureServer is the resolver for the configureServer field.
func (QueryResolverImpl) ConnectionFolders ¶
func (r QueryResolverImpl) ConnectionFolders(ctx context.Context, path *string) ([]*model.ConnectionFolderInfo, error)
ConnectionFolders is the resolver for the connectionFolders field.
func (QueryResolverImpl) ConnectionInfo ¶
func (r QueryResolverImpl) ConnectionInfo(ctx context.Context, id string) (*model.ConnectionInfo, error)
ConnectionInfo is the resolver for the connectionInfo field.
func (QueryResolverImpl) ConnectionState ¶
func (r QueryResolverImpl) ConnectionState(ctx context.Context, id string) (*model.ConnectionInfo, error)
ConnectionState is the resolver for the connectionState field.
func (QueryResolverImpl) CopyConnectionConfiguration ¶
func (r QueryResolverImpl) CopyConnectionConfiguration(ctx context.Context, nodePath string, config *model.ConnectionConfig) (*model.ConnectionInfo, error)
CopyConnectionConfiguration is the resolver for the copyConnectionConfiguration field.
func (QueryResolverImpl) CreateConnectionConfiguration ¶
func (r QueryResolverImpl) CreateConnectionConfiguration(ctx context.Context, config model.ConnectionConfig) (*model.ConnectionInfo, error)
CreateConnectionConfiguration is the resolver for the createConnectionConfiguration field.
func (QueryResolverImpl) CreateRole ¶
func (r QueryResolverImpl) CreateRole(ctx context.Context, roleID string, roleName *string, description *string) (*model.AdminRoleInfo, error)
CreateRole is the resolver for the createRole field.
func (QueryResolverImpl) CreateUser ¶
func (r QueryResolverImpl) CreateUser(ctx context.Context, userID string) (*model.AdminUserInfo, error)
CreateUser is the resolver for the createUser field.
func (QueryResolverImpl) DataTransferAvailableStreamProcessors ¶
func (r QueryResolverImpl) DataTransferAvailableStreamProcessors(ctx context.Context) ([]*model.DataTransferProcessorInfo, error)
DataTransferAvailableStreamProcessors is the resolver for the dataTransferAvailableStreamProcessors field.
func (QueryResolverImpl) DataTransferExportDataFromContainer ¶
func (r QueryResolverImpl) DataTransferExportDataFromContainer(ctx context.Context, connectionID string, containerNodePath string, parameters model.DataTransferParameters) (*model.AsyncTaskInfo, error)
DataTransferExportDataFromContainer is the resolver for the dataTransferExportDataFromContainer field.
func (QueryResolverImpl) DataTransferExportDataFromResults ¶
func (r QueryResolverImpl) DataTransferExportDataFromResults(ctx context.Context, connectionID string, contextID string, resultsID string, parameters model.DataTransferParameters) (*model.AsyncTaskInfo, error)
DataTransferExportDataFromResults is the resolver for the dataTransferExportDataFromResults field.
func (QueryResolverImpl) DataTransferRemoveDataFile ¶
func (r QueryResolverImpl) DataTransferRemoveDataFile(ctx context.Context, dataFileID string) (*bool, error)
DataTransferRemoveDataFile is the resolver for the dataTransferRemoveDataFile field.
func (QueryResolverImpl) DeleteAuthProviderConfiguration ¶
func (r QueryResolverImpl) DeleteAuthProviderConfiguration(ctx context.Context, id string) (bool, error)
DeleteAuthProviderConfiguration is the resolver for the deleteAuthProviderConfiguration field.
func (QueryResolverImpl) DeleteConnectionConfiguration ¶
func (r QueryResolverImpl) DeleteConnectionConfiguration(ctx context.Context, id string) (*bool, error)
DeleteConnectionConfiguration is the resolver for the deleteConnectionConfiguration field.
func (QueryResolverImpl) DeleteRole ¶
DeleteRole is the resolver for the deleteRole field.
func (QueryResolverImpl) DeleteUser ¶
DeleteUser is the resolver for the deleteUser field.
func (QueryResolverImpl) DeleteUserMetaParameter ¶
DeleteUserMetaParameter is the resolver for the deleteUserMetaParameter field.
func (QueryResolverImpl) DriverList ¶
DriverList is the resolver for the driverList field.
func (QueryResolverImpl) EnableUser ¶
func (r QueryResolverImpl) EnableUser(ctx context.Context, userID string, enabled bool) (*bool, error)
EnableUser is the resolver for the enableUser field.
func (QueryResolverImpl) GetConnectionSubjectAccess ¶
func (r QueryResolverImpl) GetConnectionSubjectAccess(ctx context.Context, connectionID *string) ([]*model.AdminConnectionGrantInfo, error)
GetConnectionSubjectAccess is the resolver for the getConnectionSubjectAccess field.
func (QueryResolverImpl) GetSubjectConnectionAccess ¶
func (r QueryResolverImpl) GetSubjectConnectionAccess(ctx context.Context, subjectID *string) ([]*model.AdminConnectionGrantInfo, error)
GetSubjectConnectionAccess is the resolver for the getSubjectConnectionAccess field.
func (QueryResolverImpl) GrantUserRole ¶
func (r QueryResolverImpl) GrantUserRole(ctx context.Context, userID string, roleID string) (*bool, error)
GrantUserRole is the resolver for the grantUserRole field.
func (QueryResolverImpl) ListAuthProviderConfigurationParameters ¶
func (r QueryResolverImpl) ListAuthProviderConfigurationParameters(ctx context.Context, providerID string) ([]*model.ObjectPropertyInfo, error)
ListAuthProviderConfigurationParameters is the resolver for the listAuthProviderConfigurationParameters field.
func (QueryResolverImpl) ListAuthProviderConfigurations ¶
func (r QueryResolverImpl) ListAuthProviderConfigurations(ctx context.Context, providerID *string) ([]*model.AdminAuthProviderConfiguration, error)
ListAuthProviderConfigurations is the resolver for the listAuthProviderConfigurations field.
func (QueryResolverImpl) ListFeatureSets ¶
func (r QueryResolverImpl) ListFeatureSets(ctx context.Context) ([]*model.WebFeatureSet, error)
ListFeatureSets is the resolver for the listFeatureSets field.
func (QueryResolverImpl) ListPermissions ¶
func (r QueryResolverImpl) ListPermissions(ctx context.Context) ([]*model.AdminPermissionInfo, error)
ListPermissions is the resolver for the listPermissions field.
func (QueryResolverImpl) ListRoles ¶
func (r QueryResolverImpl) ListRoles(ctx context.Context, roleID *string) ([]*model.AdminRoleInfo, error)
ListRoles is the resolver for the listRoles field.
func (QueryResolverImpl) ListUserProfileProperties ¶
func (r QueryResolverImpl) ListUserProfileProperties(ctx context.Context) ([]*model.ObjectPropertyInfo, error)
ListUserProfileProperties is the resolver for the listUserProfileProperties field.
func (QueryResolverImpl) ListUsers ¶
func (r QueryResolverImpl) ListUsers(ctx context.Context, userID *string) ([]*model.AdminUserInfo, error)
ListUsers is the resolver for the listUsers field.
func (QueryResolverImpl) MetadataGetNodeDdl ¶
func (r QueryResolverImpl) MetadataGetNodeDdl(ctx context.Context, nodeID string, options interface{}) (*string, error)
MetadataGetNodeDdl is the resolver for the metadataGetNodeDDL field.
func (QueryResolverImpl) NavGetStructContainers ¶
func (r QueryResolverImpl) NavGetStructContainers(ctx context.Context, connectionID string, contextID *string, catalog *string) (*model.DatabaseStructContainers, error)
NavGetStructContainers is the resolver for the navGetStructContainers field.
func (QueryResolverImpl) NavNodeChildren ¶
func (r QueryResolverImpl) NavNodeChildren(ctx context.Context, parentPath string, offset *int, limit *int, onlyFolders *bool) ([]*model.NavigatorNodeInfo, error)
NavNodeChildren is the resolver for the navNodeChildren field.
func (QueryResolverImpl) NavNodeInfo ¶
func (r QueryResolverImpl) NavNodeInfo(ctx context.Context, nodePath string) (*model.NavigatorNodeInfo, error)
NavNodeInfo is the resolver for the navNodeInfo field.
func (QueryResolverImpl) NavNodeParents ¶
func (r QueryResolverImpl) NavNodeParents(ctx context.Context, nodePath string) ([]*model.NavigatorNodeInfo, error)
NavNodeParents is the resolver for the navNodeParents field.
func (QueryResolverImpl) NavRefreshNode ¶
NavRefreshNode is the resolver for the navRefreshNode field.
func (QueryResolverImpl) NetworkHandlers ¶
func (r QueryResolverImpl) NetworkHandlers(ctx context.Context) ([]*model.NetworkHandlerDescriptor, error)
NetworkHandlers is the resolver for the networkHandlers field.
func (QueryResolverImpl) ReadSessionLog ¶
func (r QueryResolverImpl) ReadSessionLog(ctx context.Context, maxEntries *int, clearEntries *bool) ([]*model.LogEntry, error)
ReadSessionLog is the resolver for the readSessionLog field.
func (QueryResolverImpl) RevokeUserRole ¶
func (r QueryResolverImpl) RevokeUserRole(ctx context.Context, userID string, roleID string) (*bool, error)
RevokeUserRole is the resolver for the revokeUserRole field.
func (QueryResolverImpl) RmListProjects ¶
RmListProjects is the resolver for the rmListProjects field.
func (QueryResolverImpl) RmListResources ¶
func (r QueryResolverImpl) RmListResources(ctx context.Context, projectID string, folder *string, nameMask *string, readProperties *bool, readHistory *bool) ([]*model.RMResource, error)
RmListResources is the resolver for the rmListResources field.
func (QueryResolverImpl) RmReadResourceAsString ¶
func (r QueryResolverImpl) RmReadResourceAsString(ctx context.Context, projectID string, resourcePath string) (string, error)
RmReadResourceAsString is the resolver for the rmReadResourceAsString field.
func (QueryResolverImpl) SQLCompletionProposals ¶
func (r QueryResolverImpl) SQLCompletionProposals(ctx context.Context, connectionID string, contextID string, query string, position int, maxResults *int, simpleMode *bool) ([]*model.SQLCompletionProposal, error)
SQLCompletionProposals is the resolver for the sqlCompletionProposals field.
func (QueryResolverImpl) SQLDialectInfo ¶
func (r QueryResolverImpl) SQLDialectInfo(ctx context.Context, connectionID string) (*model.SQLDialectInfo, error)
SQLDialectInfo is the resolver for the sqlDialectInfo field.
func (QueryResolverImpl) SQLEntityQueryGenerators ¶
func (r QueryResolverImpl) SQLEntityQueryGenerators(ctx context.Context, nodePathList []string) ([]*model.SQLQueryGenerator, error)
SQLEntityQueryGenerators is the resolver for the sqlEntityQueryGenerators field.
func (QueryResolverImpl) SQLFormatQuery ¶
func (r QueryResolverImpl) SQLFormatQuery(ctx context.Context, connectionID string, contextID string, query string) (string, error)
SQLFormatQuery is the resolver for the sqlFormatQuery field.
func (QueryResolverImpl) SQLGenerateEntityQuery ¶
func (r QueryResolverImpl) SQLGenerateEntityQuery(ctx context.Context, generatorID string, options interface{}, nodePathList []string) (string, error)
SQLGenerateEntityQuery is the resolver for the sqlGenerateEntityQuery field.
func (QueryResolverImpl) SQLListContexts ¶
func (r QueryResolverImpl) SQLListContexts(ctx context.Context, connectionID *string, contextID *string) ([]*model.SQLContextInfo, error)
SQLListContexts is the resolver for the sqlListContexts field.
func (QueryResolverImpl) SQLParseQuery ¶
func (r QueryResolverImpl) SQLParseQuery(ctx context.Context, connectionID string, script string, position int) (*model.SQLScriptQuery, error)
SQLParseQuery is the resolver for the sqlParseQuery field.
func (QueryResolverImpl) SQLParseScript ¶
func (r QueryResolverImpl) SQLParseScript(ctx context.Context, connectionID string, script string) (*model.SQLScriptInfo, error)
SQLParseScript is the resolver for the sqlParseScript field.
func (QueryResolverImpl) SQLSupportedOperations ¶
func (r QueryResolverImpl) SQLSupportedOperations(ctx context.Context, connectionID string, contextID string, resultsID string, attributeIndex int) ([]*model.DataTypeLogicalOperation, error)
SQLSupportedOperations is the resolver for the sqlSupportedOperations field.
func (QueryResolverImpl) SaveAuthProviderConfiguration ¶
func (r QueryResolverImpl) SaveAuthProviderConfiguration(ctx context.Context, providerID string, id string, displayName *string, disabled *bool, iconURL *string, description *string, parameters interface{}) (*model.AdminAuthProviderConfiguration, error)
SaveAuthProviderConfiguration is the resolver for the saveAuthProviderConfiguration field.
func (QueryResolverImpl) SaveUserMetaParameter ¶
func (r QueryResolverImpl) SaveUserMetaParameter(ctx context.Context, id string, displayName string, description *string, required bool) (*model.ObjectPropertyInfo, error)
SaveUserMetaParameter is the resolver for the saveUserMetaParameter field.
func (QueryResolverImpl) SearchConnections ¶
func (r QueryResolverImpl) SearchConnections(ctx context.Context, hostNames []string) ([]*model.AdminConnectionSearchInfo, error)
SearchConnections is the resolver for the searchConnections field.
func (QueryResolverImpl) ServerConfig ¶
func (r QueryResolverImpl) ServerConfig(ctx context.Context) (*model.ServerConfig, error)
ServerConfig is the resolver for the serverConfig field.
func (QueryResolverImpl) SessionPermissions ¶
SessionPermissions is the resolver for the sessionPermissions field.
func (QueryResolverImpl) SessionState ¶
func (r QueryResolverImpl) SessionState(ctx context.Context) (*model.SessionInfo, error)
SessionState is the resolver for the sessionState field.
func (QueryResolverImpl) SetConnectionSubjectAccess ¶
func (r QueryResolverImpl) SetConnectionSubjectAccess(ctx context.Context, connectionID string, subjects []string) (*bool, error)
SetConnectionSubjectAccess is the resolver for the setConnectionSubjectAccess field.
func (QueryResolverImpl) SetDefaultNavigatorSettings ¶
func (r QueryResolverImpl) SetDefaultNavigatorSettings(ctx context.Context, settings model.NavigatorSettingsInput) (bool, error)
SetDefaultNavigatorSettings is the resolver for the setDefaultNavigatorSettings field.
func (QueryResolverImpl) SetSubjectConnectionAccess ¶
func (r QueryResolverImpl) SetSubjectConnectionAccess(ctx context.Context, subjectID string, connections []string) (*bool, error)
SetSubjectConnectionAccess is the resolver for the setSubjectConnectionAccess field.
func (QueryResolverImpl) SetSubjectPermissions ¶
func (r QueryResolverImpl) SetSubjectPermissions(ctx context.Context, roleID string, permissions []string) ([]*model.AdminPermissionInfo, error)
SetSubjectPermissions is the resolver for the setSubjectPermissions field.
func (QueryResolverImpl) SetUserCredentials ¶
func (r QueryResolverImpl) SetUserCredentials(ctx context.Context, userID string, providerID string, credentials interface{}) (*bool, error)
SetUserCredentials is the resolver for the setUserCredentials field.
func (QueryResolverImpl) SetUserMetaParameterValues ¶
func (r QueryResolverImpl) SetUserMetaParameterValues(ctx context.Context, userID string, parameters interface{}) (bool, error)
SetUserMetaParameterValues is the resolver for the setUserMetaParameterValues field.
func (QueryResolverImpl) TemplateConnections ¶
func (r QueryResolverImpl) TemplateConnections(ctx context.Context) ([]*model.ConnectionInfo, error)
TemplateConnections is the resolver for the templateConnections field.
func (QueryResolverImpl) UpdateConnectionConfiguration ¶
func (r QueryResolverImpl) UpdateConnectionConfiguration(ctx context.Context, id string, config model.ConnectionConfig) (*model.ConnectionInfo, error)
UpdateConnectionConfiguration is the resolver for the updateConnectionConfiguration field.
func (QueryResolverImpl) UpdateRole ¶
func (r QueryResolverImpl) UpdateRole(ctx context.Context, roleID string, roleName *string, description *string) (*model.AdminRoleInfo, error)
UpdateRole is the resolver for the updateRole field.
func (QueryResolverImpl) UserConnections ¶
func (r QueryResolverImpl) UserConnections(ctx context.Context, id *string) ([]*model.ConnectionInfo, error)
UserConnections is the resolver for the userConnections field.
type Resolver ¶
type Resolver struct{}
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() MutationResolver
Mutation returns MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() QueryResolver
Query returns QueryResolver implementation.
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }