radix_tree_address_space

package
v0.2.2-beta05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStandardAddressSpaceExpansionConfig

func NewStandardAddressSpaceExpansionConfig(
	isAsync bool,
	isLegacy bool,
	isAllowNilResponse bool,
) anysdk.AddressSpaceExpansionConfig

func TrimSelectItemsKey

func TrimSelectItemsKey(selectItemsKey string) string

Types

type AddressSpaceAnalysisPassManager

type AddressSpaceAnalysisPassManager interface {
	ApplyPasses() error
	GetAddressSpace() (anysdk.AddressSpace, bool)
}

func NewAddressSpaceAnalysisPassManager

func NewAddressSpaceAnalysisPassManager(formulator AddressSpaceFormulator) AddressSpaceAnalysisPassManager

type AddressSpaceExpander

type AddressSpaceExpander interface {
	Expand() error
}

func NewResourceAddressSpaceExpander

func NewResourceAddressSpaceExpander(
	provider anysdk.Provider,
	service anysdk.Service,
	resource anysdk.Resource,
) AddressSpaceExpander

type AddressSpaceFormulator

type AddressSpaceFormulator interface {
	Formulate() error
	GetAddressSpace() anysdk.AddressSpace
}

func NewAddressSpaceFormulator

func NewAddressSpaceFormulator(
	grammar AddressSpaceGrammar,
	provider anysdk.Provider,
	service anysdk.Service,
	resource anysdk.Resource,
	method anysdk.StandardOperationStore,
	aliasedUnionSelectKeys map[string]string,
	isAwait bool,
) AddressSpaceFormulator

type AddressSpaceGrammar

type AddressSpaceGrammar interface {
	ExtractSubPath(string, pathType) (string, bool)
}

AddressSpaceGrammar defines the search DSL

func NewAddressSpaceGrammar

func NewAddressSpaceGrammar() AddressSpaceGrammar

type AliasMap

type AliasMap interface {
	Put(string, string)
	Peek(string) (string, bool)
	Pop(string) (string, bool)
	Copy() AliasMap
	GetAliasToPrefixMap() map[string]string
}

func NewAliasMap

func NewAliasMap(aliasToPrefixMap map[string]string) AliasMap

type AnalyzedInput

type AnalyzedInput interface {
	GetQueryParams() map[string]any
	GetHeaderParam(string) (string, bool)
	GetPathParam(string) (string, bool)
	GetServerVars() map[string]any
	GetRequestBody() any
}

type RadixTree

type RadixTree interface {
	Insert(path string, address any) error
	Find(path string) (any, bool)
	Delete(path string) error
	ToFlatMap(prefix string) map[string]any
	Copy() RadixTree
}

func NewRadixTree

func NewRadixTree() RadixTree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL