Documentation ¶
Index ¶
Constants ¶
View Source
const (
IpPortIndexerName = "ip_port"
)
Variables ¶
This section is empty.
Functions ¶
func NewIpPortIndexer ¶
func NewIpPortIndexer(_ common.Config, genMeta kubernetes.GenMeta) (kubernetes.Indexer, error)
Types ¶
type IpPortIndexer ¶
type IpPortIndexer struct {
// contains filtered or unexported fields
}
IpPortIndexer indexes pods based on all their host:port combinations
func (*IpPortIndexer) GetIndexes ¶
func (h *IpPortIndexer) GetIndexes(pod *kubernetes.Pod) []string
func (*IpPortIndexer) GetMetadata ¶
func (h *IpPortIndexer) GetMetadata(pod *kubernetes.Pod) []kubernetes.MetadataIndex
Click to show internal directories.
Click to hide internal directories.