Documentation
¶
Index ¶
- Constants
- func SetClusterLabels(labels map[string]string)
- type ADXClusterSchema
- type AdxReconciler
- func (r *AdxReconciler) CheckStatus(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
- func (r *AdxReconciler) CreateCluster(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
- func (r *AdxReconciler) FederateClusters(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
- func (r *AdxReconciler) HeartbeatFederatedClusters(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
- func (r *AdxReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *AdxReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *AdxReconciler) UpdateCluster(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
- type AlerterReconciler
- func (r *AlerterReconciler) CreateAlerter(ctx context.Context, alerter *adxmonv1.Alerter) (ctrl.Result, error)
- func (r *AlerterReconciler) IsReady(ctx context.Context, alerter *adxmonv1.Alerter) (ctrl.Result, error)
- func (r *AlerterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *AlerterReconciler) ReconcileComponent(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *AlerterReconciler) SetupWithManager(mgr ctrl.Manager) error
- type CollectorReconciler
- func (r *CollectorReconciler) CreateCollector(ctx context.Context, collector *adxmonv1.Collector) (ctrl.Result, error)
- func (r *CollectorReconciler) IsReady(ctx context.Context, collector *adxmonv1.Collector) (ctrl.Result, error)
- func (r *CollectorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CollectorReconciler) ReconcileComponent(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CollectorReconciler) SetupWithManager(mgr ctrl.Manager) error
- type DatabaseExistsRec
- type DatabaseRec
- type DatabaseSchemaRec
- type FederationState
- type FunctionKind
- type FunctionRec
- type FunctionSchemaRec
- type HeartbeatRow
- type IngestorReconciler
- func (r *IngestorReconciler) CreateIngestor(ctx context.Context, ingestor *adxmonv1.Ingestor) (ctrl.Result, error)
- func (r *IngestorReconciler) IsReady(ctx context.Context, ingestor *adxmonv1.Ingestor) (ctrl.Result, error)
- func (r *IngestorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *IngestorReconciler) ReconcileComponent(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *IngestorReconciler) SetupWithManager(mgr ctrl.Manager) error
- type OutputColumn
- type TableExists
- type TableRec
Constants ¶
View Source
const ( // ADXClusterCreatingReason denotes a cluster that is being configured. ADXClusterCreatingReason = "Creating" // ADXClusterWaitingReason denotes a cluster that is fully configured and is waiting to become available. ADXClusterWaitingReason = "Waiting" )
Variables ¶
This section is empty.
Functions ¶
func SetClusterLabels ¶
SetClusterLabels configures cluster labels that gate reconciliation for operator-managed resources. The provided map is cloned to avoid accidental mutation by callers.
Types ¶
type ADXClusterSchema ¶
type AdxReconciler ¶
func (*AdxReconciler) CheckStatus ¶
func (r *AdxReconciler) CheckStatus(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
func (*AdxReconciler) CreateCluster ¶
func (r *AdxReconciler) CreateCluster(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
func (*AdxReconciler) FederateClusters ¶
func (r *AdxReconciler) FederateClusters(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
func (*AdxReconciler) HeartbeatFederatedClusters ¶
func (r *AdxReconciler) HeartbeatFederatedClusters(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
func (*AdxReconciler) SetupWithManager ¶
func (r *AdxReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*AdxReconciler) UpdateCluster ¶
func (r *AdxReconciler) UpdateCluster(ctx context.Context, cluster *adxmonv1.ADXCluster) (ctrl.Result, error)
type AlerterReconciler ¶
type AlerterReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
AlerterReconciler reconciles Alerter CRDs and manages the Alerter deployment and AlertRule CRD installation.
func (*AlerterReconciler) CreateAlerter ¶
func (*AlerterReconciler) ReconcileComponent ¶
func (*AlerterReconciler) SetupWithManager ¶
func (r *AlerterReconciler) SetupWithManager(mgr ctrl.Manager) error
type CollectorReconciler ¶
type CollectorReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
func (*CollectorReconciler) CreateCollector ¶
func (*CollectorReconciler) ReconcileComponent ¶
func (*CollectorReconciler) SetupWithManager ¶
func (r *CollectorReconciler) SetupWithManager(mgr ctrl.Manager) error
type DatabaseExistsRec ¶
type DatabaseExistsRec struct {
Count int64 `kusto:"Count"`
}
type DatabaseRec ¶
type DatabaseRec struct {
DatabaseName string `json:"DatabaseName"`
}
type DatabaseSchemaRec ¶
type FederationState ¶
type FederationState struct {
// DBSet contains unique databases discovered from all endpoints
DBSet map[string]struct{}
// DBTableEndpoints maps database -> table/view -> list of endpoints
DBTableEndpoints map[string]map[string][]string
// SpokeDBEndpoints maps database -> list of endpoints (for entity group generation)
SpokeDBEndpoints map[string][]string
// EndpointCount is the number of successfully processed endpoints
EndpointCount int
// ParseErrors collects non-fatal schema parsing errors
ParseErrors []string
}
FederationState accumulates derived data during streaming processing of heartbeat rows. This avoids holding all raw schema JSON in memory at once.
func NewFederationState ¶
func NewFederationState() *FederationState
NewFederationState creates an initialized FederationState
type FunctionKind ¶
type FunctionKind struct {
Kind string `kusto:"FunctionKind"`
}
type FunctionRec ¶
type FunctionSchemaRec ¶
type FunctionSchemaRec struct {
Kind string `kusto:"FunctionKind"`
OutputColumns json.RawMessage `kusto:"OutputColumns"`
}
type HeartbeatRow ¶
type HeartbeatRow struct {
Timestamp time.Time `kusto:"Timestamp"`
ClusterEndpoint string `kusto:"ClusterEndpoint"`
Schema json.RawMessage `kusto:"Schema"`
}
HeartbeatRow represents a row in the heartbeat table Schema: Timestamp: datetime, ClusterEndpoint: string, Schema: dynamic, PartitionMetadata: dynamic
type IngestorReconciler ¶
type IngestorReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
func (*IngestorReconciler) CreateIngestor ¶
func (*IngestorReconciler) ReconcileComponent ¶
func (*IngestorReconciler) SetupWithManager ¶
func (r *IngestorReconciler) SetupWithManager(mgr ctrl.Manager) error
type OutputColumn ¶
type TableExists ¶
type TableExists struct {
Count int64 `kusto:"Count"`
}
Click to show internal directories.
Click to hide internal directories.