# Functions

NetpolListFromNetpolSlice converts a slice of Kubernetes NetworkPolicies to a Kubernetes NetworkPolicyList containing all the policies in the slice.
NewDefaultLogger creates an instance of DefaultLogger with the highest verbosity.
NewDefaultLoggerWithVerbosity creates an instance of DefaultLogger with a user-defined verbosity.
NewPoliciesSynthesizer creates a new instance of PoliciesSynthesizer, and applies the provided functional options.
No description provided by the author
WithLogger is a functional option which sets the logger for a PoliciesSynthesizer to use.
WithStopOnError is a functional option which directs PoliciesSynthesizer to stop any processing after the first severe error.
WithWalkFn is a functional option, allowing user to provide their own dir-scanning function.

# Constants

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

No description provided by the author
No description provided by the author
DefaultLogger is the package's built-in logger.
No description provided by the author
No description provided by the author
No description provided by the author
FileProcessingError holds all information about a single error/warning that occurred during the discovery and processing of the connectivity of a given K8s-app.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A PoliciesSynthesizer provides API to recursively scan a directory for Kubernetes resources and extract the required connectivity between the workloads of the K8s application managed in this directory.

# Interfaces

The Logger interface defines the API for loggers in this package.

# Type aliases

PoliciesSynthesizerOption is the type for specifying options for PoliciesSynthesizer, using Golang's Options Pattern (https://golang.cafe/blog/golang-functional-options-pattern.html).
Verbosity is an enumerated type for defining the level of verbosity.
Walk function is a function for recursively scanning a directory, in the spirit of Go's native filepath.WalkDir() See https://pkg.go.dev/path/filepath#WalkDir for full description on how such a function should work.