kubernetes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeKubernetesServiceDiscovery

func InvokeKubernetesServiceDiscovery(in FxIn) error

InvokeKubernetesServiceDiscovery creates a Kubernetes service discovery.

Types

type FxIn

type FxIn struct {
	fx.In
	Unmarshaller     config.Unmarshaller
	Lifecycle        fx.Lifecycle
	StatusRegistry   status.Registry
	KubernetesClient k8s.K8sClient
	EntityTrackers   notifiers.Trackers `name:"entity_trackers"`
}

FxIn describes parameters passed to k8s discovery constructor.

type KubernetesDiscovery

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

KubernetesDiscovery is a collector that collects Kubernetes information periodically.

type KubernetesDiscoveryConfig

type KubernetesDiscoveryConfig struct {
	// NodeName is the name of the k8s node the agent should be monitoring
	NodeName         string `json:"node_name"`
	PodName          string `json:"pod_name"`
	DiscoveryEnabled bool   `json:"discovery_enabled" default:"true"`
}

KubernetesDiscoveryConfig for Kubernetes service discovery. swagger:model

Jump to

Keyboard shortcuts

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