Lines Matching defs:compiler

121 type compiler struct {  struct
122 serviceName string
123 evaluateInNamespace string
124 evaluateInDatacenter string
125 evaluateInTrustDomain string
126 useInDatacenter string
127 overrideMeshGateway structs.MeshGatewayConfig
128 overrideProtocol string
129 overrideConnectTimeout time.Duration
134 entries *structs.DiscoveryChainConfigEntries
138 resolvers map[structs.ServiceID]*structs.ServiceResolverConfigEntry
141 splitterNodes map[string]*structs.DiscoveryGraphNode
142 resolveNodes map[string]*structs.DiscoveryGraphNode
146 usesAdvancedRoutingFeatures bool
149 disableAdvancedRoutingFeatures bool
155 customizedBy customizationMarkers
161 protocol string
166 startNode string
171 nodes map[string]*structs.DiscoveryGraphNode
174 loadedTargets map[string]*structs.DiscoveryTarget
175 retainedTargets map[string]struct{}
196 func (c *compiler) recordNode(node *structs.DiscoveryGraphNode) {
212 func (c *compiler) recordServiceProtocol(sid structs.ServiceID) error {
232 func (c *compiler) recordProtocol(fromService structs.ServiceID, protocol string) error {
253 func (c *compiler) compile() (*structs.CompiledDiscoveryChain, error) {
334 func (c *compiler) detectCircularReferences() error {
389 func (c *compiler) flattenAdjacentSplitterNodes() {
435 func (c *compiler) removeUnusedNodes() error {
500 func (c *compiler) assembleChain() error {
619 …ompiler) newTarget(service, serviceSubset, namespace, datacenter string) *structs.DiscoveryTarget {
647 …s.DiscoveryTarget, service, serviceSubset, namespace, datacenter string) *structs.DiscoveryTarget {
673 …) getSplitterOrResolverNode(target *structs.DiscoveryTarget) (*structs.DiscoveryGraphNode, error) {
683 func (c *compiler) getSplitterNode(sid structs.ServiceID) (*structs.DiscoveryGraphNode, error) {
764 …e(target *structs.DiscoveryTarget, recursedForFailover bool) (*structs.DiscoveryGraphNode, error) {