types

package
v1.8.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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