type LeaderMigrator … // NewLeaderMigrator creates a LeaderMigrator with given config for the given component. component // indicates which controller manager is requesting this leader migration, and it should be consistent // with the component field of ControllerLeaderConfiguration. func NewLeaderMigrator(config *internal.LeaderMigrationConfiguration, component string) *LeaderMigrator { … }