Documentation
¶
Overview ¶
Code generated mechanically from wrappers.go (interfaces only) - DO NOT EDIT.
Code generated by tools/surfacegen (wrappers) - DO NOT EDIT.
Index ¶
- Variables
- func CallFromSignature(cc client.AnySdkClientConfigurator, runtimeCtx dto.RuntimeCtx, ...) (client.AnySdkResponse, error)
- func GetDescribeHeader(extended bool) []string
- func GetResourcesHeader(extended bool) []string
- func GetServicesHeader(extended bool) []string
- func NewAnySdkOpStoreDesignation(method OperationStore) client.AnySdkDesignation
- func NewMethodAnalysisInput(method OperationStore, service Service, isNilResponseAllowed bool, ...) anysdk.MethodAnalysisInput
- type ActionInsertPayload
- type ActionInsertResult
- type AddressSpace
- type AddressSpaceExpansionConfig
- type AddressSpaceFormulator
- type AddressSpaceGrammar
- type Addressable
- type AnySdkClientConfigurator
- type AnySdkResponse
- type ArmouryGenerator
- type AuthContexts
- type AuthCtx
- type AuthDTO
- type AuthMetadata
- type AuthUtility
- type Column
- type ColumnDescriptor
- type ControlAttributes
- type DataFlowCfg
- type ExecContext
- type ExecPayload
- type ExecutionResponse
- type Executor
- type ExpectedRequest
- type ExpectedResponse
- type GQLReader
- type GraphQL
- type HTTPArmoury
- type HTTPArmouryParameters
- type HTTPElement
- type HTTPHTTPElement
- type HTTPPreparator
- type HTTPPreparatorConfig
- type HttpParameters
- type HttpPreparatorStream
- type IDiscoveryAdapter
- type IDiscoveryStore
- type ITable
- type InsertPreparator
- type Invoker
- type ItemisationResult
- type MapReader
- type MapStream
- type MapStreamCollection
- type MethodAnalysisOutput
- type MethodAnalyzer
- type MethodSet
- type Methods
- type MethodsKV
- type NameMangler
- type NamespaceCfg
- type OpenAPIService
- type OperationInverse
- type OperationStore
- type OutputPacket
- type PersistenceSystem
- type PgTLSCfg
- type ProcessedOperationResponse
- type Provider
- type ProviderDescription
- type ProviderService
- type RegistryAPI
- type RegistryConfig
- type Relation
- type Resource
- type ResourceRegister
- type Response
- type RuntimeCtx
- type SQLBackendCfg
- type SQLEngine
- type SQLExternalColumn
- type SQLExternalTable
- type Schema
- type Schemas
- type Service
- type SessionContext
- type StandardOperationStore
- type StreamTransformer
- type StreamTransformerFactory
- type Tabulation
- type TokenSemantic
- type TokenTransformer
- type Transform
- type TxnCoordinatorCfg
- type View
Constants ¶
This section is empty.
Variables ¶
var AnonymousColumnName = anysdk.AnonymousColumnName
var DefaultLinkHeaderTransformer = anysdk.DefaultLinkHeaderTransformer
var NewAnySdkClientConfigurator = anysdk.NewAnySdkClientConfigurator
Functions ¶
func CallFromSignature ¶
func CallFromSignature( cc client.AnySdkClientConfigurator, runtimeCtx dto.RuntimeCtx, authCtx *dto.AuthCtx, authTypeRequested string, enforceRevokeFirst bool, outErrFile io.Writer, prov Provider, designation client.AnySdkDesignation, argList client.AnySdkArgList, ) (client.AnySdkResponse, error)
func GetDescribeHeader ¶
func GetResourcesHeader ¶
func GetServicesHeader ¶
func NewAnySdkOpStoreDesignation ¶
func NewAnySdkOpStoreDesignation(method OperationStore) client.AnySdkDesignation
func NewMethodAnalysisInput ¶
func NewMethodAnalysisInput( method OperationStore, service Service, isNilResponseAllowed bool, columns []ColumnDescriptor, isAwait bool, ) anysdk.MethodAnalysisInput
Types ¶
type ActionInsertPayload ¶
type ActionInsertPayload interface {
GetItemisationResult() ItemisationResult
GetParamsUsed() map[string]interface{}
GetReqEncoding() string
GetTableName() string
IsHousekeepingDone() bool
}
ActionInsertPayload mirrors methods on ActionInsertPayload
type ActionInsertResult ¶
ActionInsertResult mirrors methods on ActionInsertResult
type AddressSpace ¶
type AddressSpace interface {
GetGlobalSelectSchemas() map[string]Schema
DereferenceAddress(address string) (any, bool)
WriteToAddress(address string, val any) error
ReadFromAddress(address string) (any, bool)
ResolveSignature(map[string]any) (bool, map[string]any)
Invoke(...any) error
ToMap(AddressSpaceExpansionConfig) (map[string]any, error)
ToRelation(AddressSpaceExpansionConfig) (Relation, error)
// contains filtered or unexported methods
}
type AddressSpaceExpansionConfig ¶
type AddressSpaceExpansionConfig interface {
IsAsync() bool
IsLegacy() bool
IsAllowNilResponse() bool
// contains filtered or unexported methods
}
AddressSpace mirrors methods on AddressSpace
func NewStandardAddressSpaceExpansionConfig ¶
func NewStandardAddressSpaceExpansionConfig( isAsync bool, isLegacy bool, isAllowNilResponse bool, ) AddressSpaceExpansionConfig
type AddressSpaceFormulator ¶
type AddressSpaceFormulator interface {
Formulate() error
GetAddressSpace() AddressSpace
}
AddressSpaceFormulator mirrors methods on AddressSpaceFormulator
func NewAddressSpaceFormulator ¶
func NewAddressSpaceFormulator( grammar AddressSpaceGrammar, provider Provider, service Service, resource Resource, method StandardOperationStore, aliasedUnionSelectKeys map[string]string, isAwait bool, ) AddressSpaceFormulator
type AddressSpaceGrammar ¶
type AddressSpaceGrammar radix_tree_address_space.AddressSpaceGrammar
AddressSpaceGrammar defines the search DSL
type Addressable ¶
type Addressable interface {
ConditionIsValid(lhs string, rhs interface{}) bool
GetName() string
GetType() string
}
func DeprecatedNewAddressable ¶
func DeprecatedNewAddressable(inner anysdk.Addressable) Addressable
type AnySdkClientConfigurator ¶
type AnySdkClientConfigurator interface {
Auth(authCtx *AuthCtx, authTypeRequested string, enforceRevokeFirst bool) (client.AnySdkClient, error)
}
AnySdkClientConfigurator mirrors methods on AnySdkClientConfigurator
type AnySdkResponse ¶
AnySdkResponse mirrors methods on AnySdkResponse
type ArmouryGenerator ¶
type ArmouryGenerator interface {
GetHTTPArmoury() (anysdk.HTTPArmoury, error)
}
type AuthContexts ¶
type AuthContexts interface {
Clone() AuthContexts
}
AuthContexts mirrors methods on AuthContexts
type AuthCtx ¶
type AuthCtx struct {
// contains filtered or unexported fields
}
func (*AuthCtx) GetCredentialsBytes ¶
func (*AuthCtx) GetCredentialsSourceDescriptorString ¶
func (*AuthCtx) GetSQLCfg ¶
func (w *AuthCtx) GetSQLCfg() (SQLBackendCfg, bool)
type AuthDTO ¶
type AuthDTO interface {
GetAccountID() string
GetAccountIDEnvVar() string
GetAuthStyle() int
GetClientID() string
GetClientIDEnvVar() string
GetClientSecret() string
GetClientSecretEnvVar() string
GetEnvVarAPIKeyStr() string
GetEnvVarAPISecretStr() string
GetEnvVarPassword() string
GetEnvVarUsername() string
GetGrantType() string
GetInlineBasicCredentials() string
GetKeyEnvVar() string
GetKeyFilePath() string
GetKeyFilePathEnvVar() string
GetKeyID() string
GetKeyIDEnvVar() string
GetLocation() string
GetName() string
GetScopes() []string
GetSubject() string
GetSuccessor() (AuthDTO, bool)
GetTokenURL() string
GetType() string
GetValuePrefix() string
GetValues() url.Values
}
AuthDTO mirrors methods on AuthDTO
type AuthMetadata ¶
type AuthMetadata struct {
Principal string `json:"principal"`
Type string `json:"type"`
Source string `json:"source"`
}
func (*AuthMetadata) GetHeaders ¶
func (am *AuthMetadata) GetHeaders() []string
func (*AuthMetadata) ToMap ¶
func (am *AuthMetadata) ToMap() map[string]interface{}
type AuthUtility ¶
type AuthUtility interface {
ActivateAuth(authCtx *AuthCtx, principal string, authType string)
ApiTokenAuth(authCtx *AuthCtx, httpContext netutils.HTTPContext, enforceBearer bool) (*http.Client, error)
AuthRevoke(authCtx *AuthCtx) error
AwsSigningAuth(authCtx *AuthCtx, httpContext netutils.HTTPContext) (*http.Client, error)
AzureDefaultAuth(authCtx *AuthCtx, httpContext netutils.HTTPContext) (*http.Client, error)
BasicAuth(authCtx *AuthCtx, httpContext netutils.HTTPContext) (*http.Client, error)
CustomAuth(authCtx *AuthCtx, httpContext netutils.HTTPContext) (*http.Client, error)
GCloudOAuth(runtimeCtx RuntimeCtx, authCtx *AuthCtx, enforceRevokeFirst bool) (*http.Client, error)
GenericOauthClientCredentials(authCtx *AuthCtx, scopes []string, httpContext netutils.HTTPContext) (*http.Client, error)
GetCurrentGCloudOauthUser() ([]byte, error)
GoogleOauthServiceAccount(provider string, authCtx *AuthCtx, scopes []string, httpContext netutils.HTTPContext) (*http.Client, error)
ParseServiceAccountFile(ac *AuthCtx) (any, error)
}
AuthUtility mirrors methods on AuthUtility
type ColumnDescriptor ¶
type ControlAttributes ¶
type ControlAttributes interface {
GetControlGCStatusColumnName() string
GetControlGenIDColumnName() string
GetControlInsIDColumnName() string
GetControlInsertEncodedIDColumnName() string
GetControlLatestUpdateColumnName() string
GetControlMaxTxnColumnName() string
GetControlSsnIDColumnName() string
GetControlTxnIDColumnName() string
}
ControlAttributes mirrors methods on ControlAttributes
type DataFlowCfg ¶
type DataFlowCfg interface {
GetMaxDependencies() int
}
DataFlowCfg mirrors methods on DataFlowCfg
type ExecContext ¶
type ExecContext interface {
GetExecPayload() internaldto.ExecPayload
GetResource() Resource
// contains filtered or unexported methods
}
type ExecPayload ¶
type ExecPayload interface {
GetPayloadMap() map[string]interface{}
}
ExecPayload mirrors methods on ExecPayload
type ExecutionResponse ¶
type ExecutionResponse interface {
GetStdErr() (*bytes.Buffer, bool)
GetStdOut() (*bytes.Buffer, bool)
}
ExecutionResponse mirrors methods on ExecutionResponse
type Executor ¶
type Executor interface {
Execute(p0 map[string]any) (ExecutionResponse, error)
}
Executor mirrors methods on Executor
type ExpectedRequest ¶
type ExpectedRequest interface {
GetBodyMediaType() string
}
ExpectedRequest mirrors methods on ExpectedRequest
type ExpectedResponse ¶
type ExpectedResponse interface {
GetObjectKey() string
GetTransform() (Transform, bool)
// contains filtered or unexported methods
}
ExpectedResponse mirrors methods on ExpectedResponse
type GraphQL ¶
type GraphQL interface {
GetCursorJSONPath() (string, bool)
GetQuery() string
GetResponseJSONPath() (string, bool)
// contains filtered or unexported methods
}
GraphQL mirrors methods on GraphQL
type HTTPArmoury ¶
type HTTPArmoury interface {
GetRequestParams() []HTTPArmouryParameters
SetRequestParams(p0 []HTTPArmouryParameters)
}
HTTPArmoury mirrors methods on HTTPArmoury
type HTTPArmouryParameters ¶
type HTTPArmouryParameters interface {
Encode() string
GetArgList() client.AnySdkArgList
GetParameters() HttpParameters
GetQuery() url.Values
GetRequest() *http.Request
SetNextPage(ops OperationStore, token string, tokenKey HTTPElement) (*http.Request, error)
SetRawQuery(p0 string)
ToFlatMap() (map[string]interface{}, error)
}
HTTPArmouryParameters mirrors methods on HTTPArmouryParameters
type HTTPElement ¶
type HTTPElement interface {
GetName() string
GetType() internaldto.HTTPElementType
SetTransformer(transformer func(interface{}) (interface{}, error))
IsTransformerPresent() bool
Transformer(t interface{}) (interface{}, error)
}
HTTPElement mirrors methods on HTTPElement (internaldto-backed)
type HTTPHTTPElement ¶
type HTTPHTTPElement interface {
GetName() string
GetLocation() httpelement.HTTPElementLocation
}
HTTPHTTPElement mirrors methods on HTTPHTTPElement (httpelement-backed)
type HTTPPreparator ¶
type HTTPPreparator interface {
BuildHTTPRequestCtx(p0 anysdk.HTTPPreparatorConfig) (HTTPArmoury, error)
}
HTTPPreparator mirrors methods on HTTPPreparator
func NewHTTPPreparator ¶
func NewHTTPPreparator( prov Provider, svc Service, m OperationStore, paramMap map[int]map[string]interface{}, parameters streaming.MapStream, execContext ExecContext, logger *logrus.Logger, ) HTTPPreparator
type HTTPPreparatorConfig ¶
type HTTPPreparatorConfig interface {
IsFromAnnotation() bool
// contains filtered or unexported methods
}
func NewHTTPPreparatorConfig ¶
func NewHTTPPreparatorConfig(isFromAnnotation bool) HTTPPreparatorConfig
type HttpParameters ¶
type HttpParameters interface {
GetInlineParameterFlatMap() (map[string]interface{}, error)
ToFlatMap() (map[string]interface{}, error)
}
HttpParameters mirrors methods on HttpParameters
type HttpPreparatorStream ¶
type HttpPreparatorStream interface {
Next() (HTTPPreparator, bool)
Write(p0 HTTPPreparator) error
}
HttpPreparatorStream mirrors methods on HttpPreparatorStream
type IDiscoveryAdapter ¶
type IDiscoveryAdapter interface {
GetProvider(providerKey string) (Provider, error)
GetResourcesMap(prov Provider, serviceKey string) (map[string]Resource, error)
GetServiceHandlesMap(prov Provider) (map[string]ProviderService, error)
GetServiceShard(prov Provider, serviceKey string, resourceKey string) (Service, error)
PersistStaticExternalSQLDataSource(prov Provider) error
// contains filtered or unexported methods
}
IDiscoveryAdapter mirrors methods on IDiscoveryAdapter
func NewBasicDiscoveryAdapter ¶
func NewBasicDiscoveryAdapter( alias string, apiDiscoveryDocURL string, discoveryStore IDiscoveryStore, runtimeCtx *dto.RuntimeCtx, registry RegistryAPI, persistenceSystem PersistenceSystem, ) IDiscoveryAdapter
type IDiscoveryStore ¶
type IDiscoveryStore interface {
ProcessProviderDiscoveryDoc(string, string) (Provider, error)
// processResourcesDiscoveryDoc(
// Provider,
// ProviderService,
// string) (ResourceRegister, error)
PersistServiceShard(Provider, ProviderService, string) (Service, error)
// contains filtered or unexported methods
}
func NewTTLDiscoveryStore ¶
func NewTTLDiscoveryStore( persistenceSystem persistence.PersistenceSystem, registry anysdk.RegistryAPI, runtimeCtx dto.RuntimeCtx, ) IDiscoveryStore
type ITable ¶
type ITable interface {
GetKey(p0 string) (interface{}, error)
GetKeyAsSqlVal(p0 string) (sqltypes.Value, error)
GetName() string
KeyExists(p0 string) bool
}
ITable mirrors methods on ITable
type InsertPreparator ¶
type InsertPreparator interface {
ActionInsertPreparation(payload ActionInsertPayload) ActionInsertResult
}
InsertPreparator mirrors methods on InsertPreparator
type Invoker ¶
type Invoker interface {
Invoke(ctx context.Context, req providerinvoker.Request) (providerinvoker.Result, error)
}
Invoker mirrors methods on Invoker
type ItemisationResult ¶
type ItemisationResult interface {
GetItems() (interface{}, bool)
}
ItemisationResult mirrors methods on ItemisationResult
type MapStreamCollection ¶
MapStreamCollection mirrors methods on MapStreamCollection
type MethodAnalysisOutput ¶
type MethodAnalysisOutput interface {
GetInsertTabulation() Tabulation
GetItemSchema() (Schema, bool)
GetOrderedStarColumnsNames() ([]string, error)
GetSelectTabulation() Tabulation
IsAwait() bool
IsNilResponseAllowed() bool
}
MethodAnalysisOutput mirrors methods on MethodAnalysisOutput
type MethodAnalyzer ¶
type MethodAnalyzer interface {
AnalyzeUnaryAction(p0 anysdk.MethodAnalysisInput) (MethodAnalysisOutput, error)
// contains filtered or unexported methods
}
MethodAnalyzer mirrors methods on MethodAnalyzer
func NewMethodAnalyzer ¶
func NewMethodAnalyzer() MethodAnalyzer
type MethodSet ¶
type MethodSet interface {
GetFirstMatch(params map[string]interface{}) (StandardOperationStore, map[string]interface{}, bool)
GetFirstNamespaceMatch(params map[string]any) (StandardOperationStore, map[string]any, bool)
GetFirst() (StandardOperationStore, string, bool)
Size() int
}
type Methods ¶
type Methods interface {
OrderMethods() ([]StandardOperationStore, error)
List() []MethodsKV
Put(k string, v StandardOperationStore) error
// contains filtered or unexported methods
}
Methods mirrors methods on Methods
func EmptyMethods ¶
func EmptyMethods() Methods
type MethodsKV ¶
type MethodsKV interface {
GetKey() string
GetValue() StandardOperationStore
}
type NameMangler ¶
NameMangler mirrors methods on NameMangler
type NamespaceCfg ¶
type NamespaceCfg interface {
GetRegex() (*regexp.Regexp, error)
GetTemplate() (*template.Template, error)
}
NamespaceCfg mirrors methods on NamespaceCfg
type OpenAPIService ¶
type OpenAPIService interface {
Service
// contains filtered or unexported methods
}
type OperationInverse ¶
type OperationInverse interface {
GetOperationStore() (StandardOperationStore, bool)
}
OperationInverse mirrors methods on OperationInverse
type OperationStore ¶
type OperationStore interface {
DeprecatedProcessResponse(response *http.Response) (map[string]interface{}, error)
GetName() string
GetNonBodyParameters() map[string]Addressable
GetPaginationRequestTokenSemantic() (TokenSemantic, bool)
GetPaginationResponseTokenSemantic() (TokenSemantic, bool)
GetParameter(paramKey string) (Addressable, bool)
GetRequestBodySchema() (Schema, error)
GetRequiredNonBodyParameters() map[string]Addressable
GetRequiredParameters() map[string]Addressable
GetResource() Resource
GetResponseBodySchemaAndMediaType() (Schema, string, error)
GetSelectItemsKey() string
GetService() OpenAPIService
IsRequestBodyAttributeRenamed(p0 string) bool
IsRequiredRequestBodyProperty(key string) bool
ProcessResponse(p0 *http.Response) (ProcessedOperationResponse, error)
RenameRequestBodyAttribute(p0 string) (string, error)
RevertRequestBodyAttributeRename(p0 string) (string, error)
GetProjections() map[string]string
GetAddressSpace() (AddressSpace, bool)
GetGraphQL() GraphQL
IsAwaitable() bool
GetSelectSchemaAndObjectPath() (Schema, string, error)
GetResponse() (ExpectedResponse, bool)
GetOptionalParameters() map[string]Addressable
// contains filtered or unexported methods
}
OperationStore mirrors methods on OperationStore
type OutputPacket ¶
type OutputPacket interface {
GetColumnNames() []string
GetColumnOIDs() []oid.Oid
GetRawRows() map[int]map[int]interface{}
GetRows() map[string]map[string]interface{}
}
OutputPacket mirrors methods on OutputPacket
type PersistenceSystem ¶
type PersistenceSystem interface {
GetSystemName() string
HandleExternalTables(providerName string, externalTables map[string]SQLExternalTable) error
HandleViewCollection([]View) error
CacheStoreGet(key string) ([]byte, error)
CacheStorePut(key string, value []byte, expiration string, ttl int) error
}
func NewSQLPersistenceSystem ¶
func NewSQLPersistenceSystem(systemType string, sqlEngine sqlengine.SQLEngine) (PersistenceSystem, error)
type PgTLSCfg ¶
type PgTLSCfg interface {
GetKeyPair() (tls.Certificate, error)
}
PgTLSCfg mirrors methods on PgTLSCfg
type ProcessedOperationResponse ¶
type ProcessedOperationResponse interface {
GetResponse() (Response, bool)
GetReversal() (HTTPPreparator, bool)
}
ProcessedOperationResponse mirrors methods on ProcessedOperationResponse
type Provider ¶
type Provider interface {
GetAuth() (AuthDTO, bool)
GetDeleteItemsKey() string
GetMinStackQLVersion() string
GetName() string
GetProtocolType() (client.ClientProtocolType, error)
// contains filtered or unexported methods
}
Provider mirrors methods on Provider
type ProviderDescription ¶
ProviderDescription mirrors methods on ProviderDescription
type ProviderService ¶
type ProviderService interface {
ITable
GetDescription() string
GetID() string
GetName() string
GetTitle() string
GetVersion() string
IsPreferred() bool
// contains filtered or unexported methods
}
ProviderService mirrors methods on ProviderService
type RegistryAPI ¶
type RegistryAPI interface {
ClearProviderCache(p0 string) error
GetLatestPublishedVersion(p0 string) (string, error)
ListAllAvailableProviders() (map[string]ProviderDescription, error)
ListAllProviderVersions(p0 string) (map[string]ProviderDescription, error)
ListLocallyAvailableProviders() map[string]ProviderDescription
LoadProviderByName(p0 string, p1 string) (Provider, error)
PullAndPersistProviderArchive(p0 string, p1 string) error
RemoveProviderVersion(p0 string, p1 string) error
// contains filtered or unexported methods
}
RegistryAPI mirrors methods on RegistryAPI
func NewRegistry ¶
func NewRegistry(registryCfg RegistryConfig, transport http.RoundTripper) (RegistryAPI, error)
type RegistryConfig ¶
type RegistryConfig struct {
RegistryURL string `json:"url" yaml:"url"`
SrcPrefix *string `json:"srcPrefix" yaml:"srcPrefix"`
DistPrefix *string `json:"distPrefix" yaml:"distPrefix"`
AllowSrcDownload bool `json:"allowSrcDownload" yaml:"allowSrcDownload"`
LocalDocRoot string `json:"localDocRoot" yaml:"localDocRoot"`
VerifyConfig *edcrypto.VerifierConfig `json:"verifyConfig" yaml:"verifyConfig"`
}
type Relation ¶
type Relation interface {
GetColumnDescriptors() []ColumnDescriptor
GetColumns() []Column
}
Relation mirrors methods on Relation
type Resource ¶
type Resource interface {
ITable
FindMethod(key string) (StandardOperationStore, error)
GetFirstMethodFromSQLVerb(sqlVerb string) (StandardOperationStore, string, bool)
GetFirstNamespaceMethodMatchFromSQLVerb(sqlVerb string, parameters map[string]interface{}) (StandardOperationStore, map[string]interface{}, bool)
GetID() string
GetMethodsMatched() Methods
GetName() string
GetViewsForSqlDialect(sqlDialect string) ([]View, bool)
ToMap(extended bool) map[string]interface{}
// contains filtered or unexported methods
}
Resource mirrors methods on Resource
type ResourceRegister ¶
type Response ¶
type Response interface {
Error() string
ExtractElement(e HTTPHTTPElement) (interface{}, error)
GetHttpResponse() *http.Response
GetProcessedBody() interface{}
HasError() bool
}
Response mirrors methods on Response
type RuntimeCtx ¶
type RuntimeCtx interface {
Copy() RuntimeCtx
}
RuntimeCtx mirrors methods on RuntimeCtx
type SQLBackendCfg ¶
type SQLBackendCfg interface {
GetDatabaseName() (string, error)
GetIntelViewSchemaName() string
GetOpsViewSchemaName() string
GetSQLDialect() string
GetSchemaType() string
GetTableSchemaName() string
}
SQLBackendCfg mirrors methods on SQLBackendCfg
type SQLEngine ¶
type SQLEngine interface {
CacheStoreGet(p0 string) ([]byte, error)
CacheStorePut(p0 string, p1 []byte, p2 string, p3 int) error
Exec(p0 string, p1 ...interface{}) (sql.Result, error)
ExecInTxn(queries []string) error
GetCurrentDiscoveryGenerationID(discoveryID string) (int, error)
GetCurrentGenerationID() (int, error)
GetDB() (*sql.DB, error)
GetNextDiscoveryGenerationID(discoveryID string) (int, error)
GetNextGenerationID() (int, error)
GetNextSessionID(p0 int) (int, error)
GetTx() (*sql.Tx, error)
Query(p0 string, p1 ...interface{}) (*sql.Rows, error)
QueryRow(query string, args ...any) *sql.Row
}
SQLEngine mirrors methods on SQLEngine
type SQLExternalColumn ¶
type SQLExternalColumn interface {
GetName() string
GetOid() uint32
GetPrecision() int
GetType() string
GetWidth() int
}
SQLExternalColumn mirrors methods on SQLExternalColumn
type SQLExternalTable ¶
type SQLExternalTable interface {
GetCatalogName() string
GetColumns() []SQLExternalColumn
GetName() string
GetSchemaName() string
// contains filtered or unexported methods
}
SQLExternalTable mirrors methods on SQLExternalTable
type Schema ¶
type Schema interface {
FindByPath(path string, visited map[string]bool) Schema
GetAdditionalProperties() (Schema, bool)
GetAllColumns(p0 string) []string
GetItemsSchema() (Schema, error)
GetName() string
GetProperties() (Schemas, error)
GetProperty(propertyKey string) (Schema, bool)
GetPropertySchema(key string) (Schema, error)
GetSelectSchema(itemsKey string, mediaType string) (Schema, string, error)
GetSelectionName() string
GetTitle() string
GetType() string
IsBoolean() bool
IsFloat() bool
IsIntegral() bool
IsReadOnly() bool
IsRequired(key string) bool
SetKey(p0 string)
Tabulate(p0 bool, p1 string) Tabulation
ToDescriptionMap(extended bool) map[string]interface{}
// contains filtered or unexported methods
}
Schema mirrors methods on Schema
func NewStringSchema ¶
func NewStringSchema(svc OpenAPIService, key string, path string) Schema
type Service ¶
type Service interface {
GetResource(resourceName string) (Resource, error)
GetSchema(key string) (Schema, error)
GetServers() (openapi3.Servers, bool)
// contains filtered or unexported methods
}
Service mirrors methods on Service
type SessionContext ¶
type SessionContext interface {
GetIsolationLevel() constants.IsolationLevel
GetRollbackType() constants.RollbackType
UpdateIsolationLevel(p0 string) error
}
SessionContext mirrors methods on SessionContext
type StandardOperationStore ¶
type StandardOperationStore interface {
OperationStore
ITable
GetServers() (openapi3.Servers, bool)
ToPresentationMap(extended bool) map[string]interface{}
GetColumnOrder(extended bool) []string
// contains filtered or unexported methods
}
StandardOperationStore mirrors methods on StandardOperationStore
type StreamTransformer ¶
StreamTransformer mirrors methods on StreamTransformer
type StreamTransformerFactory ¶
type StreamTransformerFactory interface {
GetTransformer(input string) (StreamTransformer, error)
IsTransformable() bool
}
StreamTransformerFactory mirrors methods on StreamTransformerFactory
type Tabulation ¶
type Tabulation interface {
GetColumns() []ColumnDescriptor
PushBackColumn(col ColumnDescriptor)
RenameColumnsToXml() Tabulation
}
Tabulation mirrors methods on Tabulation
type TokenSemantic ¶
type TokenSemantic interface {
GetKey() string
GetLocation() string
GetTransformer() (TokenTransformer, error)
}
TokenSemantic mirrors methods on TokenSemantic
type TokenTransformer ¶
type TokenTransformer func(interface{}) (interface{}, error)
type TxnCoordinatorCfg ¶
type TxnCoordinatorCfg interface {
GetMaxTxnDepth() int
}
TxnCoordinatorCfg mirrors methods on TxnCoordinatorCfg