networkpolicy

package
v0.0.105 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type PortProtocolKey added in v0.0.105

type PortProtocolKey struct {
	Port     int32
	Protocol v1.Protocol
}

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)

Jump to

Keyboard shortcuts

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