Discover Packages
github.com/praetorian-inc/snowcat
pkg
xds
package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Oct 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Client wraps Envoy XDS and exposes methods to query data.
NewClient creates an XDS client given a GRPC address.
Close closes the underlying gRPC connection if present.
List queries the XDS server for a given GroupVersionKind
(e.g. security.istio.io/v1beta1/AuthorizationPolicy) and
returns these resources as Kubernetes runtime.Objects.
Resources queries all Istio resources from the client.
Version queries the XDS server and retrieves its version.
{
"Component": "istiod",
"ID": "istiod-568d797f55-vlxmt",
"Info": {
"version": "1.10.3",
"revision": "61313778e0b785e401c696f5e92f47af069f96d0",
"golang_version": "go1.16.6",
"status": "Clean",
"tag": "1.10.3"
}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.