detector

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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.Snapshot) (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.Snapshot) (v1alpha2.MeshSlice, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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