Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Explanation ¶
type Explanation struct { Target *ExplanationTarget Ingress []*ExplanationIngress Egress []*ExplanationEgress IsIngress bool IsEgress bool }
func ExplainPolicy ¶
func ExplainPolicy(policy *networkingv1.NetworkPolicy) *Explanation
func (*Explanation) PrettyPrint ¶
func (e *Explanation) PrettyPrint() string
type ExplanationEgress ¶
type ExplanationEgress struct { Ports []string Rules []*ExplanationRule }
func ExplainEgress ¶
func ExplainEgress(policy *networkingv1.NetworkPolicy) []*ExplanationEgress
func (*ExplanationEgress) PrettyPrint ¶
func (ee *ExplanationEgress) PrettyPrint() string
func (*ExplanationEgress) PrettyPrintPorts ¶
func (ee *ExplanationEgress) PrettyPrintPorts() string
func (*ExplanationEgress) PrettyPrintRules ¶
func (ee *ExplanationEgress) PrettyPrintRules() string
type ExplanationIngress ¶
type ExplanationIngress struct { Ports []string Rules []*ExplanationRule }
func ExplainIngress ¶
func ExplainIngress(policy *networkingv1.NetworkPolicy) []*ExplanationIngress
func (*ExplanationIngress) PrettyPrint ¶
func (ei *ExplanationIngress) PrettyPrint() string
func (*ExplanationIngress) PrettyPrintPorts ¶
func (ei *ExplanationIngress) PrettyPrintPorts() string
func (*ExplanationIngress) PrettyPrintRules ¶
func (ei *ExplanationIngress) PrettyPrintRules() string
type ExplanationRule ¶
type ExplanationTarget ¶
Click to show internal directories.
Click to hide internal directories.