Documentation ¶
Overview ¶
+kubebuilder:validation:Optional
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvokeKubernetesServiceDiscovery ¶
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 *entitycache.EntityTrackers }
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 +kubebuilder:object:generate=true
func (*KubernetesDiscoveryConfig) DeepCopy ¶ added in v0.1.2
func (in *KubernetesDiscoveryConfig) DeepCopy() *KubernetesDiscoveryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesDiscoveryConfig.
func (*KubernetesDiscoveryConfig) DeepCopyInto ¶ added in v0.1.2
func (in *KubernetesDiscoveryConfig) DeepCopyInto(out *KubernetesDiscoveryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.