Documentation ¶
Index ¶
Constants ¶
View Source
const ( Default = iota // (not verbose) Show ports and their results DetailMatching // (-v) Show all ports and the network policies that match both pods DetailNotMatching // (-vv) Show all ports and all network policies )
Variables ¶
This section is empty.
Functions ¶
func RenderCheckAccess ¶
func RenderCheckAccess(v ConsoleView, portResults []eval.PortResult, source, dest eval.ConnectionSide) error
func RenderNetPolMatch ¶
func RenderNetPolMatch(matches []nwv1.NetworkPolicy)
Types ¶
type ConsoleView ¶
func NewConsoleView ¶
func NewConsoleView(v int) ConsoleView
func (ConsoleView) Flush ¶
func (c ConsoleView) Flush()
Click to show internal directories.
Click to hide internal directories.