kubernetes

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeClient

type KubeClient struct {
	// contains filtered or unexported fields
}

func NewKubeClient

func NewKubeClient(inCluster bool) *KubeClient

func (*KubeClient) GetAllNamespaces

func (c *KubeClient) GetAllNamespaces() (namespaces *v1.NamespaceList, err error)

func (*KubeClient) GetAllServices

func (c *KubeClient) GetAllServices(namespaces *v1.NamespaceList) (services []Service, err error)

func (*KubeClient) UpdateLabelsToDataDogFormat added in v0.1.0

func (c *KubeClient) UpdateLabelsToDataDogFormat(elbTags []Label, service Service) Service

type Label

type Label struct {
	Key   string
	Value string
}

type Service

type Service struct {
	KubeName            string
	KubeNameSpace       string
	KubernetesCluster   string
	LoadBalancerIngress string
	Name                string
	Labels              []Label
}

Jump to

Keyboard shortcuts

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