analyzer

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NetworkAddressValue added in v1.8.0

func NetworkAddressValue(value string) (string, bool)

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 ScanK8sConfigmapObject(objDataBuf []byte) (*common.CfgMap, error)

func ScanK8sServiceObject

func ScanK8sServiceObject(objDataBuf []byte) (*common.Service, error)

Create a common.Service object from a k8s Service object

func ScanK8sWorkloadObject added in v1.3.0

func ScanK8sWorkloadObject(kind string, objDataBuf []byte) (*common.Resource, error)

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.

Jump to

Keyboard shortcuts

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