NO-ISSUE: Remove unused GarbageCollectors interface
@@ -10,7 +10,6 @@ import (
"github.com/openshift/assisted-service/internal/infraenv"
"github.com/openshift/assisted-service/pkg/leader"
"github.com/openshift/assisted-service/pkg/s3wrapper"
- "github.com/openshift/assisted-service/restapi/operations/installer"
"github.com/sirupsen/logrus"
"gorm.io/gorm"
)
@@ -23,11 +22,6 @@ type Config struct {
MaxGCInfraEnvsPerInterval int `envconfig:"MAX_GC_INFRAENVS_PER_INTERVAL" default:"100"`
}
-type GarbageCollectors interface {
- PermanentClustersDeletion(ctx context.Context, olderThan strfmt.DateTime, objectHandler s3wrapper.API) error
- DeregisterClusterInternal(ctx context.Context, params installer.V2DeregisterClusterParams) error
-}
-
func NewGarbageCollectors(
Config Config,
db *gorm.DB,
