Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeshDetector ¶
type MeshDetector interface {
DetectMeshes(in input.DiscoveryInputSnapshot, settings *settingsv1alpha2.DiscoverySettings) (v1alpha2.MeshSlice, error)
}
a MeshDetector detects Mesh control plane instances (e.g. Pilot) in a snapshot of discovery resources. If detection fails, an error is returned If no mesh is detected, an empty list is returned Separate Detectors are implemented for different Mesh types / versions.
type MeshDetectors ¶
type MeshDetectors []MeshDetector
wrapper for multiple mesh detectors. returns all detected meshes
func (MeshDetectors) DetectMeshes ¶
func (d MeshDetectors) DetectMeshes(in input.DiscoveryInputSnapshot, settings *settingsv1alpha2.DiscoverySettings) (v1alpha2.MeshSlice, error)
Click to show internal directories.
Click to hide internal directories.