Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DubboResource is the type URL of the DubboResource protobuf. DubboResource = googleApis + "dubbo.mesh.v1alpha1.DubboResource" MetadataFieldConfig = "config" MetadataFieldVersion = "version" MetadataFeatures = "features" MetadataControlPlaneId = "control-plane-id" )
View Source
const FeatureHashSuffix string = "hash-suffix"
View Source
const FeatureZonePingHealth string = "zone-ping-health"
FeatureZonePingHealth means that the zone control plane sends pings to the global control plane to indicate it's still running.
View Source
const FeatureZoneToken string = "zone-token"
FeatureZoneToken means that the zone control plane can handle incoming Zone Token from global control plane.
View Source
const FeaturesMetadataKey string = "features"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Features ¶
Features is a set of available features for the control plane. If by any chance we get into a situation that we need to execute a logic conditionally on capabilities of control plane, instead of defining conditions on version which is fragile, we can define a condition based on features.
func (Features) HasFeature ¶
Click to show internal directories.
Click to hide internal directories.