package
0.47.1
Repository: https://github.com/victoriametrics/operator.git
Documentation: pkg.go.dev

# Functions

AddFinalizer adds finalizer to instance if needed.
FreeIfNeeded checks if resource must be freed from finalizer and garbage collected by kubernetes.
HPADelete handles case, when user wants to remove HPA configuration from cluster config.
OnVLogsDelete deletes all vlogs related resources.
OnVMAgentDelete deletes all vmagent related resources.
OnVMAlertDelete deletes all vmalert related resources.
OnVMAlertManagerDelete deletes all alertmanager related resources.
OnVMAuthDelete deletes all vmauth related resources.
OnVMClusterDelete deletes all vmcluster related resources.
OnVMSingleDelete deletes all vmsingle related resources.
OnVMUserDelete deletes all vmuser related resources.
RemoveFinalizer removes finalizer from instance if needed.
RemoveOrphanedDeployments removes deployments detached from given object.
RemoveOrphanedServices removes services that no longer belongs to given crd by its args.
RemoveOrphanedSTSs removes deployments detached from given object.
SafeDelete removes object, ignores notfound error.
VMAuthIngressDelete handles case, when user wants to remove spec.Ingress from vmauth config.

# Structs

RemoveSvcArgs defines interface for service deletion.