Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressSpace ¶
type AddressSpace interface {
GetServer() *openapi3.Server
GetServerVars() map[string]string
GetRequestBodyParams() map[string]anysdk.Addressable
GetSimpleSelectKey() string
GetSimpleSelectSchema() anysdk.Schema
GetUnionSelectSchemas() map[string]anysdk.Schema
GetGlobalSelectSchemas() map[string]anysdk.Schema
DereferenceAddress(address string) (any, bool)
WriteToAddress(address string, val any) error
ReadFromAddress(address string) (any, bool)
Analyze() error
GetRequest() (*http.Request, bool)
ResolveSignature(params map[string]any) bool
Expand(...any) error
Invoke(...any) error
ToMap() (map[string]any, error)
}
type AddressSpaceAnalyzer ¶
type AddressSpaceAnalyzer interface {
Analyze() error
GetAddressSpace() AddressSpace
}
func NewAddressSpaceAnalyzer ¶
func NewAddressSpaceAnalyzer( grammar AddressSpaceGrammar, provider anysdk.Provider, service anysdk.Service, resource anysdk.Resource, method anysdk.StandardOperationStore, aliasedUnionSelectKeys map[string]string, ) AddressSpaceAnalyzer
type AddressSpaceGrammar ¶
AddressSpaceGrammar defines the search DSL
func NewAddressSpaceGrammar ¶
func NewAddressSpaceGrammar() AddressSpaceGrammar
func (asg *standardAddressSpaceGrammar) Dereference(address string) (any, bool) {
return nil, false
}
type AliasMap ¶
type AliasMap interface {
Put(string, string)
Peek(string) (string, bool)
Pop(string) (string, bool)
Copy() AliasMap
GetAliasToPrefixMap() map[string]string
}
func NewAliasMap ¶
type AnalyzedInput ¶
type PartiallyAssignedInput ¶
Click to show internal directories.
Click to hide internal directories.