dataplane_sdk/core/model/control_plane.rs
1// Copyright (c) 2026 Metaform Systems, Inc
2//
3// This program and the accompanying materials are made available under the
4// terms of the Apache License, Version 2.0 which is available at
5// https://www.apache.org/licenses/LICENSE-2.0
6//
7// SPDX-License-Identifier: Apache-2.0
8//
9// Contributors:
10// Metaform Systems, Inc. - initial API and implementation
11//
12
13use bon::Builder;
14
15/// A control plane that a data flow reports back to. The `url` is the base
16/// address used to build control-plane notification callbacks. Data flows
17/// reference a control plane by its `id` (see `DataFlow::control_plane_id`).
18#[derive(Debug, Clone, PartialEq, Builder)]
19#[builder(on(String, into))]
20pub struct ControlPlane {
21 pub id: String,
22 pub url: String,
23}