MCPcopy Create free account

hub / github.com/VictoriaMetrics/operator / functions

Functions4,346 in github.com/VictoriaMetrics/operator

FunctionTestStatefulsetReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/statefulset_test.go:969
FunctionTestStatefulsetReconcile_ExistingObjNotStaleAfterNotFoundRetry
(t *testing.T)
internal/controller/operator/factory/reconcile/statefulset_test.go:1617
FunctionTestStatefulsetReconcile_NewObjNotStaleAcrossRetries
(t *testing.T)
internal/controller/operator/factory/reconcile/statefulset_test.go:1685
FunctionTestStatusForChildObject_FastPathDoesNotReleaseSiblings
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:185
FunctionTestStatusForChildObjects_FailedReleaseIsRetriedNextCall
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:232
FunctionTestStatusForChildObjects_FallsBackWithoutIndexedClient
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:274
FunctionTestStatusForChildObjects_KeepsOwnControllerFailure
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:83
FunctionTestStatusForChildObjects_ReleaseIsStatelessAcrossCalls
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:208
FunctionTestStatusForChildObjects_ReleasesDroppedChildren
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:153
FunctionTestStringOrArrayMarshal
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:86
FunctionTestStringOrArrayUnMarshal
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:108
FunctionTestSyncConfigObjectStatus_SkipsNewerGeneration
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:133
FunctionTestSyncConfigObjectStatus_SkipsRecreatedObject
(t *testing.T)
internal/controller/operator/factory/reconcile/status_test.go:114
FunctionTestSyslogServerSpec_Validate
(t *testing.T)
api/operator/v1/common_test.go:63
FunctionTestTLSAssetsHash
(t *testing.T)
internal/controller/operator/factory/vmauth/vmauth_test.go:30
FunctionTestTLSServerConfig_Validate
(t *testing.T)
api/operator/v1/common_test.go:27
FunctionTestUnmarshalValuesLegacyVMAlertValuesTakePrecedence
Like the chart's mergeOverwrite: a set legacy value wins, an empty one does not clobber, and header maps merge by name. (The chart fails to render on
internal/converter/converter_test.go:1867
FunctionTestUnmarshalValuesSecurityContextPodLevelTakesPrecedence
TestUnmarshalValuesSecurityContextPodLevelTakesPrecedence ensures an explicit podSecurityContext value is not clobbered by the promoted container-leve
internal/converter/converter_test.go:180
FunctionTestUnmarshalValuesSecurityContextPromotesSELinuxAndWindowsOptions
TestUnmarshalValuesSecurityContextPromotesSELinuxAndWindowsOptions guards against mergePodSecurityContext silently dropping these two fields, which th
internal/converter/converter_test.go:155
FunctionTestUnmarshalValuesSupportsEnvAliasFields
(t *testing.T)
internal/converter/converter_test.go:51
FunctionTestUnmarshalValuesSupportsFullSecurityContext
TestUnmarshalValuesSupportsFullSecurityContext reproduces #2391: the operator's CRD only exposes runAsNonRoot/runAsUser/seccompProfile via spec.securi
internal/converter/converter_test.go:118
FunctionTestUnmarshalValuesSupportsLegacyVMAlertValues
Legacy aliases the chart still resolves via vmalert.fromLegacyArgs must not be dropped. See #2601.
internal/converter/converter_test.go:1799
FunctionTestUnmarshalValuesSupportsQuotedResourceQuantities
(t *testing.T)
internal/converter/converter_test.go:30
FunctionTestUnmarshalValuesSupportsRemoteWriteTLS
TestUnmarshalValuesSupportsRemoteWriteTLS reproduces #2390: the helm charts expose TLS settings for remoteWrite entries as flat tlsCAFile/tlsCertFile/
internal/converter/converter_test.go:201
FunctionTestUnmarshalValuesSupportsRemoteWriteTLSForVLAgent
TestUnmarshalValuesSupportsRemoteWriteTLSForVLAgent covers the vlagent/vlcollector charts, which use the v1 API's own TLSConfig type.
internal/converter/converter_test.go:230
FunctionTestUnmarshalValuesSupportsRemoteWriteTLSForVMAlert
TestUnmarshalValuesSupportsRemoteWriteTLSForVMAlert covers vmalert's singular remoteWrite entry.
internal/converter/converter_test.go:252
FunctionTestUnmarshalValuesSupportsStorageClassName
TestUnmarshalValuesSupportsStorageClassName reproduces #2389: the helm charts use persistentVolume.storageClassName (not storageClass), and must go th
internal/converter/converter_test.go:73
FunctionTestUnmarshalValuesSupportsStorageClassNameForVLCluster
TestUnmarshalValuesSupportsStorageClassNameForVLCluster covers #2389's exact CR path: spec.vlstorage.storage.volumeClaimTemplate.
internal/converter/converter_test.go:97
FunctionTestUnmarshalValuesSupportsVMAuthConfig
TestUnmarshalValuesSupportsVMAuthConfig reproduces #2397, end-to-end from raw YAML: the chart's `config.users`/`config.unauthorized_user` must become
internal/converter/converter_test.go:1468
FunctionTestUnmarshalValuesVMAlertLicense
(t *testing.T)
internal/converter/converter_test.go:2010
FunctionTestUnmarshalValuesVMAlertNotifierShapes
A notifier without a url (the chart's `notifier: {}` default) is omitted rather than emitted as an empty spec.notifier, which the operator webhook rej
internal/converter/converter_test.go:1916
FunctionTestUnmarshalValuesVMAlertRemoteWriteAuth
The chart's flat remoteWrite auth keys must produce a Secret reference like the other blocks.
internal/converter/converter_test.go:1988
FunctionTestUpgrade
(t *testing.T)
test/e2e/upgrade/suite_test.go:15
FunctionTestUseProxyProtocol
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:130
FunctionTestV130ModelValidation
(t *testing.T)
internal/controller/operator/factory/vmanomaly/config/models_test.go:105
FunctionTestVLAgent_PrefixedName
(t *testing.T)
api/operator/v1/cluster_types_test.go:143
FunctionTestVLBackendTargetRef
(t *testing.T)
internal/controller/operator/factory/vldistributed/vmauth_test.go:26
FunctionTestVLCluster_AvailableStorageNodeIDs
nolint:dupl
api/operator/v1/cluster_types_test.go:49
FunctionTestVLCluster_PrefixedName
(t *testing.T)
api/operator/v1/cluster_types_test.go:167
FunctionTestVLCluster_StorageNodeIDsUnderMaintenance
(t *testing.T)
api/operator/v1/cluster_types_test.go:101
FunctionTestVLSingle_PrefixedName
(t *testing.T)
api/operator/v1/cluster_types_test.go:119
FunctionTestVLogs_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmextra_types_test.go:350
FunctionTestVMAgentReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/vmagent_test.go:18
FunctionTestVMAgent_DefaultStatusFields
(t *testing.T)
api/operator/v1beta1/vmagent_types_test.go:130
FunctionTestVMAgent_IsUnmanaged
TestVMAgent_IsUnmanaged is the VMAgent counterpart of TestVMAlert_IsUnmanaged.
api/operator/v1beta1/vmagent_types_test.go:168
FunctionTestVMAgent_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmagent_types_test.go:155
FunctionTestVMAgent_Reconcile_AgentSync_Managed
(t *testing.T)
internal/controller/operator/vmagent_controller_test.go:95
FunctionTestVMAgent_Reconcile_AgentSync_Unmanaged
(t *testing.T)
internal/controller/operator/vmagent_controller_test.go:142
FunctionTestVMAgent_Reconcile_CreatesRBACAtWatchedNamespaces
In multi-namespace mode scrape objects are selected from every watched namespace, regardless of the configured namespace selectors, see k8stools.Visit
internal/controller/operator/vmagent_controller_test.go:183
FunctionTestVMAgent_Reconcile_UsesReconcilerWatchNamespaces
(t *testing.T)
internal/controller/operator/vmagent_controller_test.go:231
FunctionTestVMAgent_Validate
(t *testing.T)
api/operator/v1beta1/vmagent_types_test.go:10
FunctionTestVMAlertSecretName_LongNameTruncated
(t *testing.T)
internal/converter/converter_test.go:827
FunctionTestVMAlert_IsUnmanaged
TestVMAlert_IsUnmanaged: an unknown-fields-only ParsingSpecError (the operator's strict-unmarshal warning that every other ParsingSpecError check in t
api/operator/v1beta1/vmalert_types_test.go:129
FunctionTestVMAlert_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmalert_types_test.go:113
FunctionTestVMAlert_Reconcile_AgentSync_Managed
(t *testing.T)
internal/controller/operator/vmalert_controller_test.go:90
FunctionTestVMAlert_Reconcile_AgentSync_Unmanaged
(t *testing.T)
internal/controller/operator/vmalert_controller_test.go:135
FunctionTestVMAlert_ValidateFail
(t *testing.T)
api/operator/v1beta1/vmalert_types_test.go:57
FunctionTestVMAlert_ValidateOk
(t *testing.T)
api/operator/v1beta1/vmalert_types_test.go:11
FunctionTestVMAlertmanagerValidate
(t *testing.T)
api/operator/v1beta1/vmalertmanager_types_test.go:11
FunctionTestVMAlertmanager_IsUnmanaged
TestVMAlertmanager_IsUnmanaged is the VMAlertmanager counterpart of TestVMAlert_IsUnmanaged.
api/operator/v1beta1/vmalertmanager_types_test.go:125
FunctionTestVMAlertmanager_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmalertmanager_types_test.go:112
FunctionTestVMAlertmanager_Reconcile_AgentSync_Managed
(t *testing.T)
internal/controller/operator/vmalertmanager_controller_test.go:90
FunctionTestVMAlertmanager_Reconcile_AgentSync_Unmanaged
(t *testing.T)
internal/controller/operator/vmalertmanager_controller_test.go:135
FunctionTestVMAnomaly_DefaultStatusFields
(t *testing.T)
api/operator/v1/vmanomaly_types_test.go:10
FunctionTestVMAnomaly_PrefixedName
(t *testing.T)
api/operator/v1/cluster_types_test.go:155
FunctionTestVMAuthReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/vmauth_test.go:18
FunctionTestVMAuthValidate
(t *testing.T)
api/operator/v1beta1/vmauth_types_test.go:10
FunctionTestVMAuth_IsUnmanaged
TestVMAuth_IsUnmanaged is the VMAuth counterpart of TestVMAlert_IsUnmanaged.
api/operator/v1beta1/vmauth_types_test.go:146
FunctionTestVMAuth_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmauth_types_test.go:133
FunctionTestVMAuth_Reconcile_AgentSync_Managed
(t *testing.T)
internal/controller/operator/vmauth_controller_test.go:90
FunctionTestVMAuth_Reconcile_AgentSync_Unmanaged
(t *testing.T)
internal/controller/operator/vmauth_controller_test.go:135
FunctionTestVMBackendTargetRef
(t *testing.T)
internal/controller/operator/factory/vmdistributed/vmauth_test.go:25
FunctionTestVMBackup_SnapshotCreatePathWithFlags
(t *testing.T)
api/operator/v1beta1/vmcluster_types_test.go:51
FunctionTestVMBackup_SnapshotDeletePathWithFlags
(t *testing.T)
api/operator/v1beta1/vmcluster_types_test.go:13
FunctionTestVMClusterDiscoveryArgs
(t *testing.T)
internal/controller/operator/factory/vmcluster/vmcluster_test.go:1804
FunctionTestVMClusterReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/vmcluster_test.go:17
FunctionTestVMClusterRemainsExpandingDuringPVCResize
TestVMClusterRemainsExpandingDuringPVCResize verifies that a VMCluster stays in Expanding status when PVC resize is still in progress (waitForPVCReady
internal/controller/operator/reconcile_and_track_status_test.go:226
FunctionTestVMCluster_AvailableStorageNodeIDs
(t *testing.T)
api/operator/v1beta1/vmcluster_types_test.go:94
FunctionTestVMCluster_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmcluster_types_test.go:569
FunctionTestVMCluster_StorageNodeIDsUnderMaintenance
(t *testing.T)
api/operator/v1beta1/vmcluster_types_test.go:128
FunctionTestVMCluster_Validate
(t *testing.T)
api/operator/v1beta1/vmcluster_types_test.go:196
FunctionTestVMPodScrape
(t *testing.T)
internal/controller/operator/factory/reconcile/vmpodscrape_test.go:17
FunctionTestVMRuleGroupsStrategicMergePatch
TestVMRuleGroupsStrategicMergePatch verifies that Groups (which carry struct-tag patchStrategy/patchMergeKey) are correctly merged by name under tradi
api/operator/v1beta1/vmrule_types_test.go:398
FunctionTestVMRuleRuleListMapKeyFieldNames
TestVMRuleRuleListMapKeyFieldNames verifies that the Rule struct exposes JSON fields named "record" and "alert", matching the +listMapKey declarations
api/operator/v1beta1/vmrule_types_test.go:302
FunctionTestVMRuleRulesCompositeKeyDistinctness
TestVMRuleRulesCompositeKeyDistinctness verifies that the (record, alert) composite key correctly distinguishes rules across all relevant combinations
api/operator/v1beta1/vmrule_types_test.go:320
FunctionTestVMRuleRulesRoundTripAndValidate
(t *testing.T)
api/operator/v1beta1/vmrule_types_test.go:225
FunctionTestVMRuleRulesSSAStyleMerge
TestVMRuleRulesSSAStyleMerge simulates the Server Side Apply merge semantics enabled by +listType=map +listMapKey=record +listMapKey=alert: patch rule
api/operator/v1beta1/vmrule_types_test.go:455
FunctionTestVMRuleValidate
(t *testing.T)
api/operator/v1beta1/vmrule_types_test.go:16
FunctionTestVMRuleValidateDuplicateGroupNames
(t *testing.T)
api/operator/v1beta1/vmrule_types_test.go:277
FunctionTestVMServiceScrape
(t *testing.T)
internal/controller/operator/factory/reconcile/vmservicescrape_test.go:17
FunctionTestVMSingle_IsUnmanaged
TestVMSingle_IsUnmanaged is the VMSingle counterpart of TestVMAlert_IsUnmanaged.
api/operator/v1beta1/vmsingle_types_test.go:233
FunctionTestVMSingle_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmsingle_types_test.go:217
FunctionTestVMSingle_Reconcile_UsesReconcilerWatchNamespaces
(t *testing.T)
internal/controller/operator/vmsingle_controller_test.go:94
FunctionTestVMSingle_Validate
(t *testing.T)
api/operator/v1beta1/vmsingle_types_test.go:12
FunctionTestVMUser_AsKey
(t *testing.T)
api/operator/v1beta1/vmuser_types_test.go:115
FunctionTestVMUser_PrefixedName
(t *testing.T)
api/operator/v1beta1/vmuser_types_test.go:156
FunctionTestVMUser_Validate
(t *testing.T)
api/operator/v1beta1/vmuser_types_test.go:12
FunctionTestVPAReconcile
(t *testing.T)
internal/controller/operator/factory/reconcile/vpa_test.go:18
FunctionTestVTCluster_AvailableStorageNodeIDs
nolint:dupl
api/operator/v1/cluster_types_test.go:14
FunctionTestVTCluster_PrefixedName
(t *testing.T)
api/operator/v1/cluster_types_test.go:186
← previousnext →3,501–3,600 of 4,346, ranked by callers