diff --git a/pkg/neg/types/types.go b/pkg/neg/types/types.go index ded5284364..9aaa4c99ad 100644 --- a/pkg/neg/types/types.go +++ b/pkg/neg/types/types.go @@ -366,3 +366,15 @@ func NodePredicateForNetworkEndpointType(negType NetworkEndpointType) utils.Node } return utils.CandidateNodesPredicate } + +// PodLabelPropagationConfig contains a list of configurations for labels to be propagated to GCE network endpoints. +type PodLabelPropagationConfig struct { + Labels []Label +} + +// Label contains configuration for a label to be propagated to GCE network endpoints. +type Label struct { + Key string + ShortKey string + MaxLabelSizeBytes int +}