Documentation
¶
Index ¶
Constants ¶
View Source
const ( NPLAnnotationKey = "nodeportlocal.antrea.io" NPLEnabledAnnotationKey = "nodeportlocal.antrea.io/enabled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NPLAnnotation ¶
type NPLAnnotation struct {
PodPort int `json:"podPort"`
NodeIP string `json:"nodeIP"`
NodePort int `json:"nodePort"`
Protocol string `json:"protocol"`
Protocols []string `json:"protocols"` // deprecated, array with a single member which is equal to the Protocol field
}
NPLAnnotation is the structure used for setting NodePortLocal annotation on the Pods.
Click to show internal directories.
Click to hide internal directories.