Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/banzaicloud/prometheus-jmx-exporter-operator
/ functions
Functions
53 in github.com/banzaicloud/prometheus-jmx-exporter-operator
⨍
Functions
53
◇
Types & classes
8
↓ 7 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:12
↓ 4 callers
Function
execCommand
execCommand executes the given command inside the specified container remotely
pkg/stub/exec.go:48
↓ 3 callers
Function
annotatePod
annotatePod annotates pod with the given annotations
pkg/stub/handler.go:367
↓ 2 callers
Function
copyToPod
copyToPod uploads the content of srcDir to destDir on given container of the pod identified by podName in namespace
pkg/stub/copy.go:16
↓ 2 callers
Function
createMetricEndpoint
(pod *v1.Pod)
pkg/stub/handler.go:578
↓ 2 callers
Function
createPrometheusJmxExporterStatus
createPrometheusJmxExporterStatus collects the endpoints through which prometheus can scrape metrics published by the prometheus jmx exporter
pkg/stub/handler.go:520
↓ 2 callers
Function
getConfig
getConfig returns the content of the config data stored under configMapKey
pkg/stub/handler.go:192
↓ 2 callers
Function
isVerified
isVerified returns true of the pod was already processed and verified
pkg/stub/handler.go:284
↓ 2 callers
Function
processPod
processPod loads prometheus jmx exporter agent into the pod
pkg/stub/handler.go:291
↓ 2 callers
Function
queryPrometheusJmxExporters
queryPrometheusJmxExporters returns PrometheusJmxExporterList from given namespace
pkg/stub/handler.go:171
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusJmxExporter.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:38
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusJmxExporterList.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:263
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:28
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:57
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:162
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:248
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:282
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:306
↓ 1 callers
Method
Equals
equals returns true if a equals b otherwise false
pkg/apis/banzaicloud/v1alpha1/types.go:69
↓ 1 callers
Method
Handle
(ctx types.Context, event types.Event)
pkg/stub/handler.go:31
↓ 1 callers
Function
annotateForPrometheus
annotateForPrometheus places annotation on the pod that provide
pkg/stub/handler.go:509
↓ 1 callers
Function
checkPrometheusJmxExporterConflict
checkPrometheusJmxExporterConflict verifies whether beside prometheusJmxExporter there are any other PrometheusJmxExporters that matches the pods in p
pkg/stub/handler.go:626
↓ 1 callers
Function
checkSourceDir
checkSourceDir verifies if path exists and it's not an empty directory
pkg/stub/copy.go:56
↓ 1 callers
Function
copyJmxPrometheusExporterJars
copyJmxPrometheusExporterJars copies the jars of prometheus jmx exporter to pod
pkg/stub/handler.go:454
↓ 1 callers
Function
copyPrometheusJmxExporterConfToPod
copyPrometheusJmxExporterConfToPod creates config file from the configContent and copies it to the pod container
pkg/stub/handler.go:418
↓ 1 callers
Function
createDestDirIfNotExists
createDestDirIfNotExists creates the directory dirPath if not exists on the target pod container
pkg/stub/copy.go:79
↓ 1 callers
Function
exposeContainerPort
exposeContainerPort exposes portNumber on container
pkg/stub/handler.go:466
↓ 1 callers
Function
findExporterForPod
findExporterForPod searches through prometheusJmxExporterList and returns PrometheusJmxExporter of which pod label selector matches the labels of pod
pkg/stub/handler.go:594
↓ 1 callers
Function
formatSimplePods
formatSimplePods returns the name of the pods delimited by comma surrounded by parenthesis.
pkg/stub/handler.go:663
↓ 1 callers
Function
formatSimplePrometheusJmxExporters
formatSimplePrometheusJmxExporters returns the name of the prometheusjmxexporters delimited by comma surrounded by parenthesis.
pkg/stub/handler.go:680
↓ 1 callers
Function
loadPrometheusJmxExporterAgent
loadPrometheusJmxExporterAgent loads prometheus jmx exporter agent into the process with pid running inside container
pkg/stub/handler.go:484
↓ 1 callers
Function
makeTar
makeTar tars the files and subdirectories of srcDir into tarDestDir (root directory within the tar file) than writes the created tar file to writer
pkg/stub/copy.go:90
↓ 1 callers
Function
makeTarRec
makeTarRec tars recursively the content of srcDirPath
pkg/stub/copy.go:101
↓ 1 callers
Function
podVerified
podVerified updates the pod annotations to mark it as verified.
pkg/stub/handler.go:358
↓ 1 callers
Function
podVerifiedFailed
podVerified updates the pod annotations to mark it as verified.
pkg/stub/handler.go:350
↓ 1 callers
Function
printVersion
()
cmd/prometheus-jmx-exporter-operator/main.go:15
↓ 1 callers
Function
processPods
processPods loads prometheus jmx exporter agent into each pod
pkg/stub/handler.go:264
↓ 1 callers
Function
queryJavaProcesses
queryJavaProcesses inspects container for running java processes
pkg/stub/handler.go:386
↓ 1 callers
Function
queryPods
queryPods returns list of pods according to the labelSelector
pkg/stub/handler.go:231
↓ 1 callers
Function
removePrometheusJmxExporterEndpoint
removePrometheusJmxExporterEndpoint removes the endpoint entry from prometheusJmxExporter.Status.MetricsEndpoints that corresponds to pod
pkg/stub/handler.go:562
↓ 1 callers
Function
updatePrometheusJmxExporterEndpoints
updatePrometheusJmxExporterEndpoints adds prometheus endpoint published by pod to the metrics endpoints of prometheusJmxExporter. If the pod doesn't e
pkg/stub/handler.go:538
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsEndpoint.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:18
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusJmxExporterConfig.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:152
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusJmxExporterConfigRules.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:238
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusJmxExporterSpec.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:296
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusJmxExporterStatus.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:324
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:48
Method
DeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
pkg/apis/banzaicloud/v1alpha1/zz_generated.deepcopy.go:273
Function
NewHandler
()
pkg/stub/handler.go:23
Function
addKnownTypes
addKnownTypes adds the set of types defined in this package to the supplied scheme.
pkg/apis/banzaicloud/v1alpha1/register.go:28
Function
init
()
pkg/apis/banzaicloud/v1alpha1/register.go:23
Function
init
()
pkg/stub/exec.go:23
Function
main
()
cmd/prometheus-jmx-exporter-operator/main.go:21