Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNetworkPolicy ¶
func GenerateNetworkPolicy(nn *softwarecomposition.NetworkNeighborhood, knownServers []softwarecomposition.KnownServer, timeProvider metav1.Time) (softwarecomposition.GeneratedNetworkPolicy, error)
func IsAvailable ¶
func IsAvailable(nn *softwarecomposition.NetworkNeighborhood) bool
Types ¶
type PortProtocolKey ¶ added in v0.0.105
func NewPortProtocolKey ¶ added in v0.0.105
func NewPortProtocolKey(port softwarecomposition.NetworkPolicyPort) PortProtocolKey
NewPortProtocolKey creates a new PortProtocolKey from a softwarecomposition.NetworkPolicyPort It ensures nil values are handled correctly (i.e. 0 for port and TCP for protocol)
Click to show internal directories.
Click to hide internal directories.