add_kubernetes_metadata

package
v6.1.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

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