Documentation ¶
Index ¶
- func NetworkAddressValue(value string) (string, bool)
- func ScanIngressObject(objDataBuf []byte, servicesToExpose common.ServicesToExpose) error
- func ScanK8sConfigmapObject(objDataBuf []byte) (*common.CfgMap, error)
- func ScanK8sServiceObject(objDataBuf []byte) (*common.Service, error)
- func ScanK8sWorkloadObject(kind string, objDataBuf []byte) (*common.Resource, error)
- func ScanOCRouteObject(objDataBuf []byte, servicesToExpose common.ServicesToExpose) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetworkAddressValue ¶ added in v1.8.0
NetworkAddressValue tries to extract a network address from the given string. This is a critical step in identifying which service talks to which, because it decides if the given string is an evidence for a potentially required connectivity. If it succeeds, a "cleaned" network address is returned as a string, together with the value true. Otherwise (there does not seem to be a network address in "value"), it returns "" with the value false.
func ScanIngressObject ¶ added in v1.8.0
func ScanIngressObject(objDataBuf []byte, servicesToExpose common.ServicesToExpose) error
Scan an Ingress object and mark the services it uses to be exposed inside the cluster
func ScanK8sConfigmapObject ¶
func ScanK8sServiceObject ¶
Create a common.Service object from a k8s Service object
func ScanK8sWorkloadObject ¶ added in v1.3.0
Create a common.Resource object from a k8s Workload object
func ScanOCRouteObject ¶ added in v1.8.0
func ScanOCRouteObject(objDataBuf []byte, servicesToExpose common.ServicesToExpose) error
Scan an OpenShift Route object and mark the services it uses to be exposed inside the cluster
Types ¶
This section is empty.