Documentation ¶
Index ¶
- type NetworkService
- func (n *NetworkService) ReconcileDNSRule(nn ktypes.NamespacedName, rule v1alpha1.DNSRule) (*types.ValidationRuleResult, error)
- func (n *NetworkService) ReconcileICMPRule(nn ktypes.NamespacedName, rule v1alpha1.ICMPRule) (*types.ValidationRuleResult, error)
- func (n *NetworkService) ReconcileIPRangeRule(nn ktypes.NamespacedName, rule v1alpha1.IPRangeRule) (*types.ValidationRuleResult, error)
- func (n *NetworkService) ReconcileMTURule(nn ktypes.NamespacedName, rule v1alpha1.MTURule) (*types.ValidationRuleResult, error)
- func (n *NetworkService) ReconcileTCPConnRule(nn ktypes.NamespacedName, rule v1alpha1.TCPConnRule) (*types.ValidationRuleResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkService ¶
type NetworkService struct {
// contains filtered or unexported fields
}
func NewNetworkService ¶
func NewNetworkService(log logr.Logger) *NetworkService
func (*NetworkService) ReconcileDNSRule ¶
func (n *NetworkService) ReconcileDNSRule(nn ktypes.NamespacedName, rule v1alpha1.DNSRule) (*types.ValidationRuleResult, error)
ReconcileDNSRule reconciles a DNS rule from a NetworkValidator config
func (*NetworkService) ReconcileICMPRule ¶
func (n *NetworkService) ReconcileICMPRule(nn ktypes.NamespacedName, rule v1alpha1.ICMPRule) (*types.ValidationRuleResult, error)
ReconcileICMPRule reconciles a ICMP rule from a NetworkValidator config
func (*NetworkService) ReconcileIPRangeRule ¶
func (n *NetworkService) ReconcileIPRangeRule(nn ktypes.NamespacedName, rule v1alpha1.IPRangeRule) (*types.ValidationRuleResult, error)
ReconcileIPRangeRule reconciles an IP range rule from a NetworkValidator config
func (*NetworkService) ReconcileMTURule ¶
func (n *NetworkService) ReconcileMTURule(nn ktypes.NamespacedName, rule v1alpha1.MTURule) (*types.ValidationRuleResult, error)
ReconcileMTURule reconciles an MTU rule from a NetworkValidator config
func (*NetworkService) ReconcileTCPConnRule ¶
func (n *NetworkService) ReconcileTCPConnRule(nn ktypes.NamespacedName, rule v1alpha1.TCPConnRule) (*types.ValidationRuleResult, error)
ReconcileTCPConnRule reconciles a TCP connection rule from a NetworkValidator config
Click to show internal directories.
Click to hide internal directories.