package
2.0.2+incompatible
Repository: https://github.com/romana/core.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DetectPolicyTargetType identifies given endpoint as one of valid policy target types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakePolicyRule translates common.Rule into iptsave.IPrule.
No description provided by the author
MakeRomanaPolicyName returns the name of iptables chain that hosts policy related rules.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeRuleDefaultWithBody is a convinience function that returns a simple iptsave.IPrule with one match and one default (e.g.
MakeRuleWithBody is a convinience function that returns a simple iptsave.IPrule with one match and one action.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
New creates a new PolicyIterator.
Validate validates the policy and returns an Unprocessable Entity (422) HttpError if the policy is invalid.

# Constants

No description provided by the author
OperatorPolicyIngressTarget represents a policy that applied to traffic traveling from pods to the host.
OperatorPolicyTarget represents a policy that applied to all traffic going towards pods, including traffic from host.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TenantSegmentPolicyTarget represents a policy that targets sepcific segment withing a tenant.
TenantWidePolicyTarget represents a policy that targets entire tenant.
No description provided by the author

# Variables

No description provided by the author

# Structs

PolicyIterator provides a way to iterate over every combination of a target * peer * rule in a list of policies.
No description provided by the author

# Type aliases

PolicyPeerType represents type of api.Policy.AppliedTo.
PolicyTargetType represents type of api.Policy.AppliedTo.