# README
How it works
- execute Kiali's config validator as a library and get the results (in
validation_kiali.go
)- If the file paths are provided as command line arguments, then we pass them so that we can locally test these yamls against the live cluster before actually applying.
- execute
istioctl analyze
directly, and parse the outputted results (invalidation_istio.go
)- If the file paths are provided as command line arguments, then we pass them so that we can locally test these yamls against the live cluster before actually applying.
- Parsing the
istioctl analyze
's stdout directly is a little hacky (SeeparseIstioctlAnalyzeResult
function invalidation_istio.go
). After Kiali's upgrade of client-go, we should use istioctl's analysis as a library (See #44).
- print the results
# Functions
InitConfigValidator initialize the ConfigValidator struct.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ConfigValidator is general structure for validating istio config preset in current live-cluster.
No description provided by the author