Documentation ¶
Overview ¶
Package vetter contains interfaces which vetters should implement. All vetter(s) packages must export
func NewVetter(factory vetter.ResourceListGetter) *newVetter
where newVetter implements the Vetter interface described below.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceListGetter ¶
type ResourceListGetter interface { K8s() informers.SharedInformerFactory Istio() externalversions.SharedInformerFactory }
ResourceListGetter is used by vetters to register for and list resources they are interested in. This currently exposes the Informer interface, but that should not be used. Only the "Lister()" interfaces should be considered public.
type Vetter ¶
type Vetter interface { // Vet returns the list of notes generated by a vetter. // It takes kubernetes client interface as the argument. Vet() ([]*apiv1.Note, error) // Info returns information like name, version about the vetter. Info() *apiv1.Info }
Vetter interface is implemented by vetters.
Directories ¶
Path | Synopsis |
---|---|
Package applabel vets the labels defined for the pods in the mesh and generates notes if the label `app` is missing on any pod.
|
Package applabel vets the labels defined for the pods in the mesh and generates notes if the label `app` is missing on any pod. |
Package danglingroutedestinationhost vets if HTTP route destination host in any VirtualService resource points to services which don't exist in the cluster.
|
Package danglingroutedestinationhost vets if HTTP route destination host in any VirtualService resource points to services which don't exist in the cluster. |
Package meshversion vets the versions of Istio components, Sidecar proxy and generates notes on version mismatch.
|
Package meshversion vets the versions of Istio components, Sidecar proxy and generates notes on version mismatch. |
Package podsinmesh generates informational notes on system and user Pods in the mesh.
|
Package podsinmesh generates informational notes on system and user Pods in the mesh. |
Package serviceassociation vets multiple service associations of pods in the mesh.
|
Package serviceassociation vets multiple service associations of pods in the mesh. |
Package serviceportprefix vets the port names of the services in the mesh and generates notes if they are missing Istio recognized port protocol prefixes.
|
Package serviceportprefix vets the port names of the services in the mesh and generates notes if they are missing Istio recognized port protocol prefixes. |
Package util provides common constants and helper functions for vetters.
|
Package util provides common constants and helper functions for vetters. |
Click to show internal directories.
Click to hide internal directories.