kds

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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