代码拉取完成,页面将自动刷新
package management
import (
"context"
"github.com/rancher/rancher/pkg/clustermanager"
"github.com/rancher/rancher/pkg/controllers/management/auth"
"github.com/rancher/rancher/pkg/controllers/management/catalog"
"github.com/rancher/rancher/pkg/controllers/management/clusterdeploy"
"github.com/rancher/rancher/pkg/controllers/management/clusterevents"
"github.com/rancher/rancher/pkg/controllers/management/clustergc"
"github.com/rancher/rancher/pkg/controllers/management/clusterprovisioner"
"github.com/rancher/rancher/pkg/controllers/management/clusterstats"
"github.com/rancher/rancher/pkg/controllers/management/compose"
"github.com/rancher/rancher/pkg/controllers/management/node"
"github.com/rancher/rancher/pkg/controllers/management/nodedriver"
"github.com/rancher/rancher/pkg/controllers/management/nodepool"
"github.com/rancher/rancher/pkg/controllers/management/podsecuritypolicy"
"github.com/rancher/rancher/pkg/controllers/management/usercontrollers"
"github.com/rancher/types/config"
)
func Register(ctx context.Context, management *config.ManagementContext, manager *clustermanager.Manager) {
// auth handlers need to run early to create namespaces that back clusters and projects
// also, these handlers are purely in the mgmt plane, so they are lightweight compared to those that interact with machines and clusters
auth.RegisterEarly(ctx, management)
// a-z
catalog.Register(ctx, management)
clusterdeploy.Register(management, manager)
clusterevents.Register(ctx, management)
clustergc.Register(management)
clusterprovisioner.Register(management)
clusterstats.Register(management, manager)
compose.Register(management, manager)
nodedriver.Register(management)
nodepool.Register(management)
node.Register(management)
usercontrollers.Register(ctx, management, manager)
podsecuritypolicy.Register(management)
// Register last
auth.RegisterLate(ctx, management)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。