advisor

package
v0.11.0-rc Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkPolicyAdvisor

type NetworkPolicyAdvisor struct {
	Events []types.Event

	LabelsToIgnore map[string]struct{}

	Policies []networkingv1.NetworkPolicy
}

func NewAdvisor

func NewAdvisor() *NetworkPolicyAdvisor

func (*NetworkPolicyAdvisor) FormatPolicies

func (a *NetworkPolicyAdvisor) FormatPolicies() (out string)

func (*NetworkPolicyAdvisor) GeneratePolicies

func (a *NetworkPolicyAdvisor) GeneratePolicies()

func (*NetworkPolicyAdvisor) LoadBuffer

func (a *NetworkPolicyAdvisor) LoadBuffer(buf []byte) error

func (*NetworkPolicyAdvisor) LoadFile

func (a *NetworkPolicyAdvisor) LoadFile(filename string) error

Jump to

Keyboard shortcuts

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