package approute

import (
	"github.com/tidbcloud/infra-provider/pkg/deploy"
	"github.com/tidbcloud/infra-provider/regional-server/pkg/controllers/approute/task"
	"github.com/tidbcloud/infra-provider/regional-server/pkg/controllers/approute/task/common"
)

func GetAPPRouteTasks(r *APPRouteReconciler, c *task.Context) []deploy.Task {
	tasks := []deploy.Task{
		common.NewGuardian(c),
		common.NewCluster(c),
		common.NewO11y(c),
		common.NewUpdateSecondarySubnets(c),
	}
	return tasks
}
