Skip to content

network.v1.egressNetworkPolicyPeer

"EgressNetworkPolicyPeer specifies a target to apply egress network policy to"

Index

Fields

fn withCidrSelector

withCidrSelector(cidrSelector)

"cidrSelector is the CIDR range to allow/deny traffic to. If this is set, dnsName must be unset"

fn withDnsName

withDnsName(dnsName)

"dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector must be unset"