connector

package
v0.0.0-...-c0c550b Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCountConnectors

func GenerateCountConnectors() map[string]any

func GenerateRoutingConnectorForBridgesTenantPipeline

func GenerateRoutingConnectorForBridgesTenantPipeline(tenantName string, pipeline *otelv1beta1.Pipeline, bridges []v1alpha1.Bridge)

Types

type CountConnectorAttributeConfig

type CountConnectorAttributeConfig struct {
	Key          string `json:"key,omitempty"`
	DefaultValue string `json:"default_value,omitempty"`
}

type CountConnectorMetricInfo

type CountConnectorMetricInfo struct {
	Description        string                          `json:"description,omitempty"`
	Conditions         []string                        `json:"conditions,omitempty"`
	Attributes         []CountConnectorAttributeConfig `json:"attributes,omitempty"`
	ResourceAttributes []CountConnectorAttributeConfig `json:"resource_attributes,omitempty"`
}

type RoutingConnector

type RoutingConnector struct {
	Name             string                      `json:"-"`
	DefaultPipelines []string                    `json:"default_pipelines,omitempty"`
	ErrorMode        components.ErrorMode        `json:"error_mode,omitempty"`
	MatchOnce        bool                        `json:"match_once,omitempty"`
	Table            []RoutingConnectorTableItem `json:"table"`
}

func GenerateRoutingConnectorForBridge

func GenerateRoutingConnectorForBridge(bridge v1alpha1.Bridge) RoutingConnector

func GenerateRoutingConnectorForSubscriptionsOutputs

func GenerateRoutingConnectorForSubscriptionsOutputs(subscriptionRef v1alpha1.NamespacedName, outputNames []v1alpha1.NamespacedName) RoutingConnector

func GenerateRoutingConnectorForTenantsSubscriptions

func GenerateRoutingConnectorForTenantsSubscriptions(tenantName string, tenantRouteConfig v1alpha1.RouteConfig, subscriptionNames []v1alpha1.NamespacedName, subscriptions map[v1alpha1.NamespacedName]v1alpha1.Subscription) RoutingConnector

type RoutingConnectorTableItem

type RoutingConnectorTableItem struct {
	Condition string   `json:"condition,omitempty"`
	Pipelines []string `json:"pipelines,omitempty"`
}

Jump to

Keyboard shortcuts

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