MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

↓ 4 callersMethodSubResource
(subResource string)
internal/manager/client.go:49
↓ 4 callersFunctionSyncConfigObjectStatus
SyncConfigObjectStatus sets status.updateStatus and status.reason of a config-kind object after its own reconcile. Parents also update the status whe
internal/controller/operator/factory/reconcile/status.go:360
↓ 4 callersMethodVLAgentName
VLAgentName returns the name of the VLAgent for zone.
api/operator/v1alpha1/vldistributed_types.go:139
↓ 4 callersMethodVLClusterName
VLClusterName return cluster name for zone
api/operator/v1alpha1/vldistributed_types.go:151
↓ 4 callersMethodVLSingleName
VLSingleName returns single name for zone
api/operator/v1alpha1/vldistributed_types.go:163
↓ 4 callersMethodVMAuthName
VMAuthName returns the name of the VMAuth resource to be created/managed.
api/operator/v1alpha1/vmdistributed_types.go:428
↓ 4 callersMethodValidate
()
api/operator/v1beta1/vmalertmanagerconfig_types.go:218
↓ 4 callersMethodValidate
()
api/operator/v1beta1/vmauth_types.go:450
↓ 4 callersMethodValidate
Validate performs syntax
api/operator/v1/common.go:126
↓ 4 callersMethodaccessScheme
()
api/operator/v1beta1/vmalertmanager_types.go:487
↓ 4 callersFunctionaddSelectorToRelabelingFor
(relabelings []yaml.MapSlice, typeName string, selector metav1.LabelSelector, mustSkipAdd bool)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:426
↓ 4 callersMethodappendForbiddenProperties
(props []string)
api/operator/v1beta1/vmextra_types.go:1170
↓ 4 callersFunctionappendIfNotEmpty
(src []string, key string, origin yaml.MapSlice)
internal/controller/operator/factory/vmauth/vmusers_config.go:453
↓ 4 callersFunctionbuildVMAuthLB
(cr *vmv1alpha1.VLDistributed, zs *zones, excludeIds ...int)
internal/controller/operator/factory/vldistributed/vmauth.go:33
↓ 4 callersFunctioncheckRelabelConfigs
(src []*RelabelConfig)
api/operator/v1beta1/vmagent_types.go:744
↓ 4 callersFunctioncreateOrUpdateScrapeConfig
createOrUpdateScrapeConfig reconciles the main scrape config.
internal/controller/operator/factory/vmsingle/vmsingle.go:806
↓ 4 callersFunctiondeleteOrphaned
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAgent, baseConf *config.BaseOperatorConf)
internal/controller/operator/factory/vmagent/vmagent.go:1252
↓ 4 callersFunctiondeleteOrphaned
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMSingle, baseConf *config.BaseOperatorConf)
internal/controller/operator/factory/vmsingle/vmsingle.go:702
↓ 4 callersFunctiongenerateK8SSDConfig
(ac *build.AssetsCache, opts ...generateK8SSDConfigOptions)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:256
↓ 4 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMSingle)
internal/controller/operator/factory/vmsingle/vmsingle.go:775
↓ 4 callersFunctiongetEnvOpts
()
internal/config/config.go:59
↓ 4 callersFunctiongetZones
getZones builds desired zones
internal/controller/operator/factory/vmdistributed/zone.go:104
↓ 4 callersFunctiongetZones
getZones builds desired zones
internal/controller/operator/factory/vldistributed/zone.go:103
↓ 4 callersFunctionhashBytes
(data []byte)
cmd/config-reloader/content_hash.go:35
↓ 4 callersFunctionlistObjectsByListProto
(namespace string, listProto client.ObjectList)
test/e2e/watchnamespace/utils_test.go:99
↓ 4 callersFunctionmergeMaps
(existingMap, newMap, prevMap map[string]string)
internal/controller/operator/factory/reconcile/reconcile.go:54
↓ 4 callersFunctionmustGetFirstPod
nolint:dupl,lll
test/e2e/utils_test.go:262
↓ 4 callersFunctionnewPodSpec
(cr *vmv1beta1.VMAgent, ac *build.AssetsCache, extraConfigSecretCount int)
internal/controller/operator/factory/vmagent/vmagent.go:532
↓ 4 callersMethodobserve
(key string, hash uint32)
cmd/config-reloader/content_hash.go:29
↓ 4 callersFunctionparseRange
(s string)
api/operator/v1beta1/vmalertmanagerconfig_types.go:2038
↓ 4 callersFunctionsanitizeLabelName
(name string)
internal/controller/operator/factory/vmscrapes/vmscrapes.go:80
↓ 4 callersFunctionselectUsers
selects vmusers for given vmauth.
internal/controller/operator/factory/vmauth/vmusers_config.go:1018
↓ 4 callersFunctionvalidateURLPrefix
(urlPrefixStr string)
api/operator/v1beta1/vmauth_types.go:269
↓ 4 callersFunctionwriteNewContent
(data []byte)
cmd/config-reloader/main.go:396
↓ 3 callersMethodAsKey
AsKey returns unique key for object
api/operator/v1beta1/vmrule_types.go:161
↓ 3 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1beta1/vmagent_types.go:498
↓ 3 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vmdistributed_types.go:438
↓ 3 callersMethodAsOwner
AsOwner returns owner references with current object as owner
api/operator/v1alpha1/vldistributed_types.go:402
↓ 3 callersFunctionAssertConfigReloaderWatchTargetDirs
AssertConfigReloaderWatchTargetDirs asserts the "config-reloader" container's --watched-dir/--target-dir flags pair up exactly as want maps them (empt
internal/controller/operator/factory/k8stools/test_helpers.go:207
↓ 3 callersMethodBuildScrapeJobsConfig
BuildScrapeJobsConfig returns the global config section (without scrape_configs) and the flat list of individual scrape job configs. Callers that need
internal/controller/operator/factory/vmscrapes/objects.go:383
↓ 3 callersFunctionCreateOrUpdate
CreateOrUpdate performs an update for vlsingle resource
internal/controller/operator/factory/vlsingle/vlsingle.go:70
↓ 3 callersFunctionCreateOrUpdate
CreateOrUpdate creates deployment for vlagent and configures it waits for healthy state
internal/controller/operator/factory/vlagent/vlagent.go:89
↓ 3 callersFunctionCreateOrUpdate
CreateOrUpdate creates statefulset for vtagent and configures it waits for healthy state
internal/controller/operator/factory/vtagent/vtagent.go:86
↓ 3 callersMethodCtx
Ctx returns the manager's context.
internal/podutil/util.go:102
↓ 3 callersFunctionDaemonSet
DaemonSet performs an update or create operator for daemonset and waits until it finishes update rollout
internal/controller/operator/factory/reconcile/daemonset.go:21
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAgent.
api/operator/v1beta1/zz_generated.deepcopy.go:4700
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAlert.
api/operator/v1beta1/zz_generated.deepcopy.go:5056
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMAuth.
api/operator/v1beta1/zz_generated.deepcopy.go:5759
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSingle.
api/operator/v1beta1/zz_generated.deepcopy.go:7411
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VLSingle.
api/operator/v1/zz_generated.deepcopy.go:834
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VTSingle.
api/operator/v1/zz_generated.deepcopy.go:2048
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMDistributed.
api/operator/v1alpha1/zz_generated.deepcopy.go:398
↓ 3 callersMethodDefaultStatusFields
(ST)
internal/controller/operator/factory/reconcile/status.go:456
↓ 3 callersMethodDelete
Delete cancels and removes id.
internal/podutil/util.go:139
↓ 3 callersFunctionExtraConfigSecretName
ExtraConfigSecretName returns the name of the Nth overflow secret for cr.
internal/controller/operator/factory/vmscrapes/extra_config.go:24
↓ 3 callersFunctionFetchChartDefaults
FetchChartDefaults fetches chart's default values.yaml at its latest released version.
internal/converter/converter.go:761
↓ 3 callersFunctionGetInterceptorsWithObjects
GetInterceptorsWithObjects returns interceptors for objects
internal/controller/operator/factory/k8stools/interceptors.go:70
↓ 3 callersMethodGetMinReplicas
GetMinReplicas returns default minReplicas value
api/operator/v1beta1/vmextra_types.go:537
↓ 3 callersMethodIDs
IDs returns the list of currently tracked IDs.
internal/podutil/util.go:164
↓ 3 callersFunctionInitOperatorProcess
InitOperatorProcess prepares operator process for usage, must be called once
test/e2e/suite/suite.go:182
↓ 3 callersMethodKeepNetworkPolicy
KeepNetworkPolicy adds given NetworkPolicy's name to a map of resource names to be excluded from deletion
internal/controller/operator/factory/finalize/cluster.go:201
↓ 3 callersFunctionNewActionRecordingInterceptor
NewActionRecordingInterceptor returns an interceptor that records actions to the provided slice pointer. It wraps an existing interceptorFuncs if prov
internal/controller/operator/factory/k8stools/interceptors.go:99
↓ 3 callersFunctionNewManager
NewManager creates a Manager that is a child of ctx.
internal/podutil/util.go:92
↓ 3 callersFunctionOnVMAgentDelete
OnVMAgentDelete deletes all vmagent related resources
internal/controller/operator/factory/finalize/vmagent.go:21
↓ 3 callersFunctionOnVMSingleDelete
OnVMSingleDelete deletes all vmsingle related resources
internal/controller/operator/factory/finalize/vmsingle.go:19
↓ 3 callersFunctionPodMonitor
PodMonitor create VMPodScrape from PodMonitor
internal/controller/operator/factory/converter/apis.go:385
↓ 3 callersMethodPort
Port returns port for accessing alertmanager
api/operator/v1beta1/vmalertmanager_types.go:399
↓ 3 callersFunctionRemoveOrphanedDeployments
RemoveOrphanedDeployments removes Deployments detached from given object
internal/controller/operator/factory/finalize/orphaned.go:19
↓ 3 callersFunctionRun
Run executes the provided command within this context
test/utils/utils.go:38
↓ 3 callersMethodSelectorLabels
()
api/operator/v1beta1/vmalert_types.go:427
↓ 3 callersFunctionShutdownOperatorProcess
ShutdownOperatorProcess stops operator process and cleanup resources
test/e2e/suite/suite.go:205
↓ 3 callersFunctionUpdateObjectStatus
UpdateStatus reconcile provided object status with given actualStatus status
internal/controller/operator/factory/reconcile/status.go:465
↓ 3 callersMethodUseTLS
UseTLS returns true if TLS is enabled
api/operator/v1/vlagent_types.go:465
↓ 3 callersMethodVLAuthName
VLAuthName returns the name of the VMAuth resource to be created/managed.
api/operator/v1alpha1/vldistributed_types.go:392
↓ 3 callersMethodValidate
Validate performs semantic validation of object
api/operator/v1beta1/vmrule_types.go:166
↓ 3 callersMethodValidateArbitraryFSAccess
()
api/operator/v1beta1/vmuser_types.go:325
↓ 3 callersFunctionWaitForConfigReloadHash
WaitForConfigReloadHash verifies that every ready replica's config-reloader sidecar has confirmed applying content matching hash, an exact CRC32 match
internal/controller/operator/factory/reconcile/config_reload.go:45
↓ 3 callersMethodaddLabel
(name string, value string)
test/e2e/suite/allure/result.go:72
↓ 3 callersMethodaddPrefix
(string)
internal/controller/operator/factory/vmanomaly/config/models.go:68
↓ 3 callersMethodasSpec
asSpec merges the flat tls* keys into TLSConfig, unless it was already set explicitly.
internal/converter/converter.go:648
↓ 3 callersFunctionassertStrictSecurity
(podSpec corev1.PodSpec)
test/e2e/vmcluster_test.go:1962
↓ 3 callersFunctionbuildCRPrefixedName
(cr *vmv1beta1.VMAlertmanagerConfig, name string)
internal/controller/operator/factory/vmalertmanager/config.go:385
↓ 3 callersMethodbuildConfig
builds vmauth config.
internal/controller/operator/factory/vmauth/vmusers_config.go:69
↓ 3 callersFunctionbuildRB
buildRB builds the RoleBinding for ns. The subject always points to the vmagent service account in cr.Namespace. An owner reference is set only in cr'
internal/controller/operator/factory/vmagent/rbac.go:226
↓ 3 callersFunctionbuildRB
(cr *vmv1beta1.VMSingle, ns string)
internal/controller/operator/factory/vmsingle/rbac.go:211
↓ 3 callersFunctionbuildRemoteWriteArgs
(cr *vmv1beta1.VMAgent, ac *build.AssetsCache)
internal/controller/operator/factory/vmagent/vmagent.go:1001
↓ 3 callersFunctionbuildRole
buildRole builds the Role for ns. In cr's own namespace: includes the scoped secrets rule (for config-reloader) plus SD rules, with an owner reference
internal/controller/operator/factory/vmagent/rbac.go:205
↓ 3 callersFunctionbuildRole
(cr *vmv1beta1.VMSingle, ns string)
internal/controller/operator/factory/vmsingle/rbac.go:192
↓ 3 callersMethodconfirmReload
confirmReload publishes every pending hash as confirmed. Called only after a successful (HTTP 200/204) /-/reload call.
cmd/config-reloader/content_hash.go:41
↓ 3 callersFunctionconvertBearerToken
(src *corev1.SecretKeySelector)
internal/controller/operator/factory/converter/apis.go:196
↓ 3 callersFunctionconvertSecretOrConfigmap
(promSCM promv1.SecretOrConfigMap)
internal/controller/operator/factory/converter/apis.go:297
↓ 3 callersFunctioncreateOrUpdateConfig
createOrUpdateConfig reconcile configuration for vmanomaly and returns configuration consistent hash
internal/controller/operator/factory/vmanomaly/config.go:33
↓ 3 callersFunctioncreateOrUpdateRelabelConfigsAssets
createOrUpdateRelabelConfigsAssets builds relabeling configs for vmagent at separate configmap, serialized as yaml.
internal/controller/operator/factory/vmagent/vmagent.go:893
↓ 3 callersFunctioncreateOrUpdateStreamAggrConfig
createOrUpdateStreamAggrConfig builds stream aggregation configs for vmagent at separate configmap, serialized as yaml.
internal/controller/operator/factory/vmagent/vmagent.go:968
↓ 3 callersFunctiondiffDeepInternal
diffDeepInternal is similar to diffDeep except that unset fields in desired are ignored (not compared). This allows us to focus on the fields that mat
internal/controller/operator/factory/reconcile/diff.go:132
↓ 3 callersFunctionexpectHTTPRequestToSucceed
(ctx context.Context, opts httpRequestOpts)
test/e2e/utils_test.go:134
↓ 3 callersFunctionfetchLatestChartVersion
fetchLatestChartVersion fetches the latest version of chart from the helm-charts repository.
internal/converter/converter.go:730
↓ 3 callersFunctiongetAssetsCache
(ctx context.Context, rclient client.Client, cr *vmv1beta1.VMAlert)
internal/controller/operator/factory/vmalert/vmalert.go:90
↓ 3 callersFunctiongetNamespacesFromNamespaceSelector
getNamespacesFromNamespaceSelector gets a list of namespaces to select based on the given namespace selector, the given default namespace, and whether
internal/controller/operator/factory/vmscrapes/vmscrapes.go:232
↓ 3 callersFunctiongetTimestampMsFromTime
(t time.Time)
test/e2e/suite/allure/misc.go:29
← previousnext →301–400 of 4,346, ranked by callers