Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KumaResource is the type URL of the KumaResource protobuf.
KumaResource = googleApis + "kuma.mesh.v1alpha1.KumaResource"
MetadataFieldConfig = "config"
MetadataFieldVersion = "version"
MetadataFeatures = "features"
)
View Source
const FeatureZoneToken string = "zone-token"
FeatureZoneToken means that the zone control plane can handle incoming Zone Token from global control plane.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Features ¶ added in v1.8.1
type Features map[string]bool
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 ¶ added in v1.8.1
func (f Features) HasFeature(feature string) bool
Click to show internal directories.
Click to hide internal directories.